sass.dart.js 4.8 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524
  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.5.2.
  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 lazy(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. if (holder[name] === uninitializedSentinel) {
  218. holder[name] = initializer();
  219. }
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. return holder[name];
  224. };
  225. }
  226. function lazyFinal(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel) {
  231. var value = initializer();
  232. if (holder[name] !== uninitializedSentinel) {
  233. A.throwLateFieldADI(name);
  234. }
  235. holder[name] = value;
  236. }
  237. var finalValue = holder[name];
  238. holder[getterName] = function() {
  239. return finalValue;
  240. };
  241. return finalValue;
  242. };
  243. }
  244. function makeConstList(list) {
  245. list.immutable$list = Array;
  246. list.fixed$length = Array;
  247. return list;
  248. }
  249. function convertToFastObject(properties) {
  250. function t() {
  251. }
  252. t.prototype = properties;
  253. new t();
  254. return properties;
  255. }
  256. function convertAllToFastObject(arrayOfObjects) {
  257. for (var i = 0; i < arrayOfObjects.length; ++i) {
  258. convertToFastObject(arrayOfObjects[i]);
  259. }
  260. }
  261. var functionCounter = 0;
  262. function instanceTearOffGetter(isIntercepted, parameters) {
  263. var cache = null;
  264. return isIntercepted ? function(receiver) {
  265. if (cache === null)
  266. cache = A.closureFromTearOff(parameters);
  267. return new cache(receiver, this);
  268. } : function() {
  269. if (cache === null)
  270. cache = A.closureFromTearOff(parameters);
  271. return new cache(this, null);
  272. };
  273. }
  274. function staticTearOffGetter(parameters) {
  275. var cache = null;
  276. return function() {
  277. if (cache === null)
  278. cache = A.closureFromTearOff(parameters).prototype;
  279. return cache;
  280. };
  281. }
  282. var typesOffset = 0;
  283. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  284. if (typeof funType == "number") {
  285. funType += typesOffset;
  286. }
  287. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  288. }
  289. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  290. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  291. var getterFunction = staticTearOffGetter(parameters);
  292. holder[getterName] = getterFunction;
  293. }
  294. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  295. isIntercepted = !!isIntercepted;
  296. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  297. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  298. prototype[getterName] = getterFunction;
  299. }
  300. function setOrUpdateInterceptorsByTag(newTags) {
  301. var tags = init.interceptorsByTag;
  302. if (!tags) {
  303. init.interceptorsByTag = newTags;
  304. return;
  305. }
  306. copyProperties(newTags, tags);
  307. }
  308. function setOrUpdateLeafTags(newTags) {
  309. var tags = init.leafTags;
  310. if (!tags) {
  311. init.leafTags = newTags;
  312. return;
  313. }
  314. copyProperties(newTags, tags);
  315. }
  316. function updateTypes(newTypes) {
  317. var types = init.types;
  318. var length = types.length;
  319. types.push.apply(types, newTypes);
  320. return length;
  321. }
  322. function updateHolder(holder, newHolder) {
  323. copyProperties(newHolder, holder);
  324. return holder;
  325. }
  326. var hunkHelpers = function() {
  327. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  328. return function(container, getterName, name, funType) {
  329. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  330. };
  331. },
  332. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  333. return function(container, getterName, name, funType) {
  334. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  335. };
  336. };
  337. 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, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};
  338. }();
  339. function initializeDeferredHunk(hunk) {
  340. typesOffset = init.types.length;
  341. hunk(hunkHelpers, init, holders, $);
  342. }
  343. var J = {
  344. makeDispatchRecord(interceptor, proto, extension, indexability) {
  345. return {i: interceptor, p: proto, e: extension, x: indexability};
  346. },
  347. getNativeInterceptor(object) {
  348. var proto, objectProto, $constructor, interceptor, t1,
  349. record = object[init.dispatchPropertyName];
  350. if (record == null)
  351. if ($.initNativeDispatchFlag == null) {
  352. A.initNativeDispatch();
  353. record = object[init.dispatchPropertyName];
  354. }
  355. if (record != null) {
  356. proto = record.p;
  357. if (false === proto)
  358. return record.i;
  359. if (true === proto)
  360. return object;
  361. objectProto = Object.getPrototypeOf(object);
  362. if (proto === objectProto)
  363. return record.i;
  364. if (record.e === objectProto)
  365. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  366. }
  367. $constructor = object.constructor;
  368. if ($constructor == null)
  369. interceptor = null;
  370. else {
  371. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  372. if (t1 == null)
  373. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  374. interceptor = $constructor[t1];
  375. }
  376. if (interceptor != null)
  377. return interceptor;
  378. interceptor = A.lookupAndCacheInterceptor(object);
  379. if (interceptor != null)
  380. return interceptor;
  381. if (typeof object == "function")
  382. return B.JavaScriptFunction_methods;
  383. proto = Object.getPrototypeOf(object);
  384. if (proto == null)
  385. return B.PlainJavaScriptObject_methods;
  386. if (proto === Object.prototype)
  387. return B.PlainJavaScriptObject_methods;
  388. if (typeof $constructor == "function") {
  389. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  390. if (t1 == null)
  391. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  392. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  393. return B.UnknownJavaScriptObject_methods;
  394. }
  395. return B.UnknownJavaScriptObject_methods;
  396. },
  397. JSArray_JSArray$fixed($length, $E) {
  398. if ($length < 0 || $length > 4294967295)
  399. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  400. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  401. },
  402. JSArray_JSArray$allocateFixed($length, $E) {
  403. if ($length > 4294967295)
  404. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  405. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  406. },
  407. JSArray_JSArray$growable($length, $E) {
  408. if ($length < 0)
  409. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  410. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  411. },
  412. JSArray_JSArray$allocateGrowable($length, $E) {
  413. if ($length < 0)
  414. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  415. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  416. },
  417. JSArray_JSArray$markFixed(allocation, $E) {
  418. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  419. },
  420. JSArray_markFixedList(list) {
  421. list.fixed$length = Array;
  422. return list;
  423. },
  424. JSArray_markUnmodifiableList(list) {
  425. list.fixed$length = Array;
  426. list.immutable$list = Array;
  427. return list;
  428. },
  429. JSArray__compareAny(a, b) {
  430. return J.compareTo$1$ns(a, b);
  431. },
  432. JSString__isWhitespace(codeUnit) {
  433. if (codeUnit < 256)
  434. switch (codeUnit) {
  435. case 9:
  436. case 10:
  437. case 11:
  438. case 12:
  439. case 13:
  440. case 32:
  441. case 133:
  442. case 160:
  443. return true;
  444. default:
  445. return false;
  446. }
  447. switch (codeUnit) {
  448. case 5760:
  449. case 8192:
  450. case 8193:
  451. case 8194:
  452. case 8195:
  453. case 8196:
  454. case 8197:
  455. case 8198:
  456. case 8199:
  457. case 8200:
  458. case 8201:
  459. case 8202:
  460. case 8232:
  461. case 8233:
  462. case 8239:
  463. case 8287:
  464. case 12288:
  465. case 65279:
  466. return true;
  467. default:
  468. return false;
  469. }
  470. },
  471. JSString__skipLeadingWhitespace(string, index) {
  472. var t1, codeUnit;
  473. for (t1 = string.length; index < t1;) {
  474. codeUnit = string.charCodeAt(index);
  475. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  476. break;
  477. ++index;
  478. }
  479. return index;
  480. },
  481. JSString__skipTrailingWhitespace(string, index) {
  482. var index0, codeUnit;
  483. for (; index > 0; index = index0) {
  484. index0 = index - 1;
  485. codeUnit = string.charCodeAt(index0);
  486. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  487. break;
  488. }
  489. return index;
  490. },
  491. getInterceptor$(receiver) {
  492. if (typeof receiver == "number") {
  493. if (Math.floor(receiver) == receiver)
  494. return J.JSInt.prototype;
  495. return J.JSNumNotInt.prototype;
  496. }
  497. if (typeof receiver == "string")
  498. return J.JSString.prototype;
  499. if (receiver == null)
  500. return J.JSNull.prototype;
  501. if (typeof receiver == "boolean")
  502. return J.JSBool.prototype;
  503. if (Array.isArray(receiver))
  504. return J.JSArray.prototype;
  505. if (typeof receiver != "object") {
  506. if (typeof receiver == "function")
  507. return J.JavaScriptFunction.prototype;
  508. if (typeof receiver == "symbol")
  509. return J.JavaScriptSymbol.prototype;
  510. if (typeof receiver == "bigint")
  511. return J.JavaScriptBigInt.prototype;
  512. return receiver;
  513. }
  514. if (receiver instanceof A.Object)
  515. return receiver;
  516. return J.getNativeInterceptor(receiver);
  517. },
  518. getInterceptor$ansx(receiver) {
  519. if (typeof receiver == "number")
  520. return J.JSNumber.prototype;
  521. if (typeof receiver == "string")
  522. return J.JSString.prototype;
  523. if (receiver == null)
  524. return receiver;
  525. if (Array.isArray(receiver))
  526. return J.JSArray.prototype;
  527. if (typeof receiver != "object") {
  528. if (typeof receiver == "function")
  529. return J.JavaScriptFunction.prototype;
  530. if (typeof receiver == "symbol")
  531. return J.JavaScriptSymbol.prototype;
  532. if (typeof receiver == "bigint")
  533. return J.JavaScriptBigInt.prototype;
  534. return receiver;
  535. }
  536. if (receiver instanceof A.Object)
  537. return receiver;
  538. return J.getNativeInterceptor(receiver);
  539. },
  540. getInterceptor$asx(receiver) {
  541. if (typeof receiver == "string")
  542. return J.JSString.prototype;
  543. if (receiver == null)
  544. return receiver;
  545. if (Array.isArray(receiver))
  546. return J.JSArray.prototype;
  547. if (typeof receiver != "object") {
  548. if (typeof receiver == "function")
  549. return J.JavaScriptFunction.prototype;
  550. if (typeof receiver == "symbol")
  551. return J.JavaScriptSymbol.prototype;
  552. if (typeof receiver == "bigint")
  553. return J.JavaScriptBigInt.prototype;
  554. return receiver;
  555. }
  556. if (receiver instanceof A.Object)
  557. return receiver;
  558. return J.getNativeInterceptor(receiver);
  559. },
  560. getInterceptor$ax(receiver) {
  561. if (receiver == null)
  562. return receiver;
  563. if (Array.isArray(receiver))
  564. return J.JSArray.prototype;
  565. if (typeof receiver != "object") {
  566. if (typeof receiver == "function")
  567. return J.JavaScriptFunction.prototype;
  568. if (typeof receiver == "symbol")
  569. return J.JavaScriptSymbol.prototype;
  570. if (typeof receiver == "bigint")
  571. return J.JavaScriptBigInt.prototype;
  572. return receiver;
  573. }
  574. if (receiver instanceof A.Object)
  575. return receiver;
  576. return J.getNativeInterceptor(receiver);
  577. },
  578. getInterceptor$in(receiver) {
  579. if (typeof receiver == "number") {
  580. if (Math.floor(receiver) == receiver)
  581. return J.JSInt.prototype;
  582. return J.JSNumNotInt.prototype;
  583. }
  584. if (receiver == null)
  585. return receiver;
  586. if (!(receiver instanceof A.Object))
  587. return J.UnknownJavaScriptObject.prototype;
  588. return receiver;
  589. },
  590. getInterceptor$n(receiver) {
  591. if (typeof receiver == "number")
  592. return J.JSNumber.prototype;
  593. if (receiver == null)
  594. return receiver;
  595. if (!(receiver instanceof A.Object))
  596. return J.UnknownJavaScriptObject.prototype;
  597. return receiver;
  598. },
  599. getInterceptor$ns(receiver) {
  600. if (typeof receiver == "number")
  601. return J.JSNumber.prototype;
  602. if (typeof receiver == "string")
  603. return J.JSString.prototype;
  604. if (receiver == null)
  605. return receiver;
  606. if (!(receiver instanceof A.Object))
  607. return J.UnknownJavaScriptObject.prototype;
  608. return receiver;
  609. },
  610. getInterceptor$s(receiver) {
  611. if (typeof receiver == "string")
  612. return J.JSString.prototype;
  613. if (receiver == null)
  614. return receiver;
  615. if (!(receiver instanceof A.Object))
  616. return J.UnknownJavaScriptObject.prototype;
  617. return receiver;
  618. },
  619. getInterceptor$x(receiver) {
  620. if (receiver == null)
  621. return receiver;
  622. if (typeof receiver != "object") {
  623. if (typeof receiver == "function")
  624. return J.JavaScriptFunction.prototype;
  625. if (typeof receiver == "symbol")
  626. return J.JavaScriptSymbol.prototype;
  627. if (typeof receiver == "bigint")
  628. return J.JavaScriptBigInt.prototype;
  629. return receiver;
  630. }
  631. if (receiver instanceof A.Object)
  632. return receiver;
  633. return J.getNativeInterceptor(receiver);
  634. },
  635. getInterceptor$z(receiver) {
  636. if (receiver == null)
  637. return receiver;
  638. if (!(receiver instanceof A.Object))
  639. return J.UnknownJavaScriptObject.prototype;
  640. return receiver;
  641. },
  642. set$AsyncCompiler$x(receiver, value) {
  643. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  644. },
  645. set$CalculationInterpolation$x(receiver, value) {
  646. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  647. },
  648. set$CalculationOperation$x(receiver, value) {
  649. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  650. },
  651. set$Compiler$x(receiver, value) {
  652. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  653. },
  654. set$Exception$x(receiver, value) {
  655. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  656. },
  657. set$FALSE$x(receiver, value) {
  658. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  659. },
  660. set$Logger$x(receiver, value) {
  661. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  662. },
  663. set$NULL$x(receiver, value) {
  664. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  665. },
  666. set$NodePackageImporter$x(receiver, value) {
  667. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  668. },
  669. set$SassArgumentList$x(receiver, value) {
  670. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  671. },
  672. set$SassBoolean$x(receiver, value) {
  673. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  674. },
  675. set$SassCalculation$x(receiver, value) {
  676. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  677. },
  678. set$SassColor$x(receiver, value) {
  679. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  680. },
  681. set$SassFunction$x(receiver, value) {
  682. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  683. },
  684. set$SassList$x(receiver, value) {
  685. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  686. },
  687. set$SassMap$x(receiver, value) {
  688. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  689. },
  690. set$SassMixin$x(receiver, value) {
  691. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  692. },
  693. set$SassNumber$x(receiver, value) {
  694. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  695. },
  696. set$SassString$x(receiver, value) {
  697. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  698. },
  699. set$TRUE$x(receiver, value) {
  700. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  701. },
  702. set$Value$x(receiver, value) {
  703. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  704. },
  705. set$Version$x(receiver, value) {
  706. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  707. },
  708. set$cli_pkg_main_0_$x(receiver, value) {
  709. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  710. },
  711. set$compile$x(receiver, value) {
  712. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  713. },
  714. set$compileAsync$x(receiver, value) {
  715. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  716. },
  717. set$compileString$x(receiver, value) {
  718. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  719. },
  720. set$compileStringAsync$x(receiver, value) {
  721. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  722. },
  723. set$context$x(receiver, value) {
  724. return J.getInterceptor$x(receiver).set$context(receiver, value);
  725. },
  726. set$dartValue$x(receiver, value) {
  727. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  728. },
  729. set$deprecations$x(receiver, value) {
  730. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  731. },
  732. set$exitCode$x(receiver, value) {
  733. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  734. },
  735. set$info$x(receiver, value) {
  736. return J.getInterceptor$x(receiver).set$info(receiver, value);
  737. },
  738. set$initAsyncCompiler$x(receiver, value) {
  739. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  740. },
  741. set$initCompiler$x(receiver, value) {
  742. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  743. },
  744. set$length$asx(receiver, value) {
  745. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  746. },
  747. set$loadParserExports_$x(receiver, value) {
  748. return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
  749. },
  750. set$render$x(receiver, value) {
  751. return J.getInterceptor$x(receiver).set$render(receiver, value);
  752. },
  753. set$renderSync$x(receiver, value) {
  754. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  755. },
  756. set$sassFalse$x(receiver, value) {
  757. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  758. },
  759. set$sassNull$x(receiver, value) {
  760. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  761. },
  762. set$sassTrue$x(receiver, value) {
  763. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  764. },
  765. set$types$x(receiver, value) {
  766. return J.getInterceptor$x(receiver).set$types(receiver, value);
  767. },
  768. get$$prototype$x(receiver) {
  769. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  770. },
  771. get$_dartException$x(receiver) {
  772. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  773. },
  774. get$alertAscii$x(receiver) {
  775. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  776. },
  777. get$alertColor$x(receiver) {
  778. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  779. },
  780. get$argv$x(receiver) {
  781. return J.getInterceptor$x(receiver).get$argv(receiver);
  782. },
  783. get$blue$x(receiver) {
  784. return J.getInterceptor$x(receiver).get$blue(receiver);
  785. },
  786. get$brackets$x(receiver) {
  787. return J.getInterceptor$x(receiver).get$brackets(receiver);
  788. },
  789. get$charset$x(receiver) {
  790. return J.getInterceptor$x(receiver).get$charset(receiver);
  791. },
  792. get$code$x(receiver) {
  793. return J.getInterceptor$x(receiver).get$code(receiver);
  794. },
  795. get$current$x(receiver) {
  796. return J.getInterceptor$x(receiver).get$current(receiver);
  797. },
  798. get$dartValue$x(receiver) {
  799. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  800. },
  801. get$debug$x(receiver) {
  802. return J.getInterceptor$x(receiver).get$debug(receiver);
  803. },
  804. get$denominatorUnits$x(receiver) {
  805. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  806. },
  807. get$end$z(receiver) {
  808. return J.getInterceptor$z(receiver).get$end(receiver);
  809. },
  810. get$env$x(receiver) {
  811. return J.getInterceptor$x(receiver).get$env(receiver);
  812. },
  813. get$exitCode$x(receiver) {
  814. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  815. },
  816. get$fatalDeprecations$x(receiver) {
  817. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  818. },
  819. get$fiber$x(receiver) {
  820. return J.getInterceptor$x(receiver).get$fiber(receiver);
  821. },
  822. get$file$x(receiver) {
  823. return J.getInterceptor$x(receiver).get$file(receiver);
  824. },
  825. get$filename$x(receiver) {
  826. return J.getInterceptor$x(receiver).get$filename(receiver);
  827. },
  828. get$first$ax(receiver) {
  829. return J.getInterceptor$ax(receiver).get$first(receiver);
  830. },
  831. get$functions$x(receiver) {
  832. return J.getInterceptor$x(receiver).get$functions(receiver);
  833. },
  834. get$futureDeprecations$x(receiver) {
  835. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  836. },
  837. get$green$x(receiver) {
  838. return J.getInterceptor$x(receiver).get$green(receiver);
  839. },
  840. get$hashCode$(receiver) {
  841. return J.getInterceptor$(receiver).get$hashCode(receiver);
  842. },
  843. get$id$x(receiver) {
  844. return J.getInterceptor$x(receiver).get$id(receiver);
  845. },
  846. get$importer$x(receiver) {
  847. return J.getInterceptor$x(receiver).get$importer(receiver);
  848. },
  849. get$importers$x(receiver) {
  850. return J.getInterceptor$x(receiver).get$importers(receiver);
  851. },
  852. get$isEmpty$asx(receiver) {
  853. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  854. },
  855. get$isNotEmpty$asx(receiver) {
  856. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  857. },
  858. get$isTTY$x(receiver) {
  859. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  860. },
  861. get$iterator$ax(receiver) {
  862. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  863. },
  864. get$keys$z(receiver) {
  865. return J.getInterceptor$z(receiver).get$keys(receiver);
  866. },
  867. get$last$ax(receiver) {
  868. return J.getInterceptor$ax(receiver).get$last(receiver);
  869. },
  870. get$length$asx(receiver) {
  871. return J.getInterceptor$asx(receiver).get$length(receiver);
  872. },
  873. get$loadPaths$x(receiver) {
  874. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  875. },
  876. get$logger$x(receiver) {
  877. return J.getInterceptor$x(receiver).get$logger(receiver);
  878. },
  879. get$message$x(receiver) {
  880. return J.getInterceptor$x(receiver).get$message(receiver);
  881. },
  882. get$mtime$x(receiver) {
  883. return J.getInterceptor$x(receiver).get$mtime(receiver);
  884. },
  885. get$name$x(receiver) {
  886. return J.getInterceptor$x(receiver).get$name(receiver);
  887. },
  888. get$numeratorUnits$x(receiver) {
  889. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  890. },
  891. get$options$x(receiver) {
  892. return J.getInterceptor$x(receiver).get$options(receiver);
  893. },
  894. get$parent$z(receiver) {
  895. return J.getInterceptor$z(receiver).get$parent(receiver);
  896. },
  897. get$path$x(receiver) {
  898. return J.getInterceptor$x(receiver).get$path(receiver);
  899. },
  900. get$platform$x(receiver) {
  901. return J.getInterceptor$x(receiver).get$platform(receiver);
  902. },
  903. get$quietDeps$x(receiver) {
  904. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  905. },
  906. get$quotes$x(receiver) {
  907. return J.getInterceptor$x(receiver).get$quotes(receiver);
  908. },
  909. get$red$x(receiver) {
  910. return J.getInterceptor$x(receiver).get$red(receiver);
  911. },
  912. get$release$x(receiver) {
  913. return J.getInterceptor$x(receiver).get$release(receiver);
  914. },
  915. get$reversed$ax(receiver) {
  916. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  917. },
  918. get$runtimeType$(receiver) {
  919. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  920. },
  921. get$separator$x(receiver) {
  922. return J.getInterceptor$x(receiver).get$separator(receiver);
  923. },
  924. get$sign$in(receiver) {
  925. if (typeof receiver === "number")
  926. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  927. return J.getInterceptor$in(receiver).get$sign(receiver);
  928. },
  929. get$silenceDeprecations$x(receiver) {
  930. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  931. },
  932. get$single$ax(receiver) {
  933. return J.getInterceptor$ax(receiver).get$single(receiver);
  934. },
  935. get$sourceMap$x(receiver) {
  936. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  937. },
  938. get$sourceMapIncludeSources$x(receiver) {
  939. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  940. },
  941. get$span$z(receiver) {
  942. return J.getInterceptor$z(receiver).get$span(receiver);
  943. },
  944. get$stderr$x(receiver) {
  945. return J.getInterceptor$x(receiver).get$stderr(receiver);
  946. },
  947. get$stdout$x(receiver) {
  948. return J.getInterceptor$x(receiver).get$stdout(receiver);
  949. },
  950. get$style$x(receiver) {
  951. return J.getInterceptor$x(receiver).get$style(receiver);
  952. },
  953. get$syntax$x(receiver) {
  954. return J.getInterceptor$x(receiver).get$syntax(receiver);
  955. },
  956. get$trace$z(receiver) {
  957. return J.getInterceptor$z(receiver).get$trace(receiver);
  958. },
  959. get$url$x(receiver) {
  960. return J.getInterceptor$x(receiver).get$url(receiver);
  961. },
  962. get$verbose$x(receiver) {
  963. return J.getInterceptor$x(receiver).get$verbose(receiver);
  964. },
  965. get$warn$x(receiver) {
  966. return J.getInterceptor$x(receiver).get$warn(receiver);
  967. },
  968. $add$ansx(receiver, a0) {
  969. if (typeof receiver == "number" && typeof a0 == "number")
  970. return receiver + a0;
  971. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  972. },
  973. $eq$(receiver, a0) {
  974. if (receiver == null)
  975. return a0 == null;
  976. if (typeof receiver != "object")
  977. return a0 != null && receiver === a0;
  978. return J.getInterceptor$(receiver).$eq(receiver, a0);
  979. },
  980. $index$asx(receiver, a0) {
  981. if (typeof a0 === "number")
  982. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  983. if (a0 >>> 0 === a0 && a0 < receiver.length)
  984. return receiver[a0];
  985. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  986. },
  987. $indexSet$ax(receiver, a0, a1) {
  988. if (typeof a0 === "number")
  989. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  990. return receiver[a0] = a1;
  991. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  992. },
  993. $set$2$x(receiver, a0, a1) {
  994. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  995. },
  996. add$1$ax(receiver, a0) {
  997. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  998. },
  999. addAll$1$ax(receiver, a0) {
  1000. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  1001. },
  1002. allMatches$1$s(receiver, a0) {
  1003. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  1004. },
  1005. allMatches$2$s(receiver, a0, a1) {
  1006. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  1007. },
  1008. any$1$ax(receiver, a0) {
  1009. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  1010. },
  1011. apply$2$x(receiver, a0, a1) {
  1012. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  1013. },
  1014. asImmutable$0$x(receiver) {
  1015. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  1016. },
  1017. asMutable$0$x(receiver) {
  1018. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1019. },
  1020. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1021. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1022. },
  1023. cast$1$0$ax(receiver, $T1) {
  1024. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1025. },
  1026. close$0$x(receiver) {
  1027. return J.getInterceptor$x(receiver).close$0(receiver);
  1028. },
  1029. codeUnitAt$1$s(receiver, a0) {
  1030. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1031. },
  1032. compareTo$1$ns(receiver, a0) {
  1033. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1034. },
  1035. contains$1$asx(receiver, a0) {
  1036. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1037. },
  1038. createInterface$1$x(receiver, a0) {
  1039. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1040. },
  1041. createRequire$1$x(receiver, a0) {
  1042. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1043. },
  1044. elementAt$1$ax(receiver, a0) {
  1045. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1046. },
  1047. endsWith$1$s(receiver, a0) {
  1048. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1049. },
  1050. error$1$x(receiver, a0) {
  1051. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1052. },
  1053. every$1$ax(receiver, a0) {
  1054. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1055. },
  1056. existsSync$1$x(receiver, a0) {
  1057. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1058. },
  1059. expand$1$1$ax(receiver, a0, $T1) {
  1060. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1061. },
  1062. fillRange$3$ax(receiver, a0, a1, a2) {
  1063. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1064. },
  1065. fold$2$ax(receiver, a0, a1) {
  1066. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1067. },
  1068. forEach$1$ax(receiver, a0) {
  1069. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1070. },
  1071. getRange$2$ax(receiver, a0, a1) {
  1072. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1073. },
  1074. getTime$0$x(receiver) {
  1075. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1076. },
  1077. isDirectory$0$x(receiver) {
  1078. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1079. },
  1080. isFile$0$x(receiver) {
  1081. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1082. },
  1083. join$1$ax(receiver, a0) {
  1084. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1085. },
  1086. listen$1$z(receiver, a0) {
  1087. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1088. },
  1089. log$1$x(receiver, a0) {
  1090. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1091. },
  1092. map$1$1$ax(receiver, a0, $T1) {
  1093. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1094. },
  1095. matchAsPrefix$2$s(receiver, a0, a1) {
  1096. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1097. },
  1098. mkdirSync$1$x(receiver, a0) {
  1099. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1100. },
  1101. noSuchMethod$1$(receiver, a0) {
  1102. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1103. },
  1104. on$2$x(receiver, a0, a1) {
  1105. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1106. },
  1107. parse$0$z(receiver) {
  1108. return J.getInterceptor$z(receiver).parse$0(receiver);
  1109. },
  1110. readFileSync$2$x(receiver, a0, a1) {
  1111. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1112. },
  1113. readdirSync$1$x(receiver, a0) {
  1114. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1115. },
  1116. remove$1$z(receiver, a0) {
  1117. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1118. },
  1119. removeRange$2$ax(receiver, a0, a1) {
  1120. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1121. },
  1122. replaceFirst$2$s(receiver, a0, a1) {
  1123. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1124. },
  1125. resolve$1$x(receiver, a0) {
  1126. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1127. },
  1128. run$0$x(receiver) {
  1129. return J.getInterceptor$x(receiver).run$0(receiver);
  1130. },
  1131. run$1$x(receiver, a0) {
  1132. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1133. },
  1134. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1135. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1136. },
  1137. skip$1$ax(receiver, a0) {
  1138. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1139. },
  1140. sort$1$ax(receiver, a0) {
  1141. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1142. },
  1143. startsWith$1$s(receiver, a0) {
  1144. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1145. },
  1146. statSync$1$x(receiver, a0) {
  1147. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1148. },
  1149. sublist$1$ax(receiver, a0) {
  1150. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1151. },
  1152. substring$1$s(receiver, a0) {
  1153. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  1154. },
  1155. substring$2$s(receiver, a0, a1) {
  1156. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1157. },
  1158. take$1$ax(receiver, a0) {
  1159. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1160. },
  1161. then$1$1$x(receiver, a0, $T1) {
  1162. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  1163. },
  1164. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1165. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1166. },
  1167. then$2$x(receiver, a0, a1) {
  1168. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1169. },
  1170. toArray$0$x(receiver) {
  1171. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1172. },
  1173. toList$0$ax(receiver) {
  1174. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1175. },
  1176. toList$1$growable$ax(receiver, a0) {
  1177. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1178. },
  1179. toRadixString$1$n(receiver, a0) {
  1180. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  1181. },
  1182. toSet$0$ax(receiver) {
  1183. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1184. },
  1185. toString$0$(receiver) {
  1186. return J.getInterceptor$(receiver).toString$0(receiver);
  1187. },
  1188. toString$1$color$(receiver, a0) {
  1189. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1190. },
  1191. trim$0$s(receiver) {
  1192. return J.getInterceptor$s(receiver).trim$0(receiver);
  1193. },
  1194. unlinkSync$1$x(receiver, a0) {
  1195. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1196. },
  1197. visitAtRootRule$1$x(receiver, a0) {
  1198. return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
  1199. },
  1200. visitAtRule$1$x(receiver, a0) {
  1201. return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
  1202. },
  1203. visitBinaryOperationExpression$1$x(receiver, a0) {
  1204. return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
  1205. },
  1206. visitBooleanExpression$1$x(receiver, a0) {
  1207. return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
  1208. },
  1209. visitColorExpression$1$x(receiver, a0) {
  1210. return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
  1211. },
  1212. visitContentBlock$1$x(receiver, a0) {
  1213. return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
  1214. },
  1215. visitContentRule$1$x(receiver, a0) {
  1216. return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
  1217. },
  1218. visitDebugRule$1$x(receiver, a0) {
  1219. return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
  1220. },
  1221. visitDeclaration$1$x(receiver, a0) {
  1222. return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
  1223. },
  1224. visitEachRule$1$x(receiver, a0) {
  1225. return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
  1226. },
  1227. visitErrorRule$1$x(receiver, a0) {
  1228. return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
  1229. },
  1230. visitExtendRule$1$x(receiver, a0) {
  1231. return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
  1232. },
  1233. visitForRule$1$x(receiver, a0) {
  1234. return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
  1235. },
  1236. visitForwardRule$1$x(receiver, a0) {
  1237. return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
  1238. },
  1239. visitFunctionExpression$1$x(receiver, a0) {
  1240. return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
  1241. },
  1242. visitFunctionRule$1$x(receiver, a0) {
  1243. return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
  1244. },
  1245. visitIfExpression$1$x(receiver, a0) {
  1246. return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
  1247. },
  1248. visitIfRule$1$x(receiver, a0) {
  1249. return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
  1250. },
  1251. visitImportRule$1$x(receiver, a0) {
  1252. return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
  1253. },
  1254. visitIncludeRule$1$x(receiver, a0) {
  1255. return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
  1256. },
  1257. visitInterpolatedFunctionExpression$1$x(receiver, a0) {
  1258. return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
  1259. },
  1260. visitListExpression$1$x(receiver, a0) {
  1261. return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
  1262. },
  1263. visitLoudComment$1$x(receiver, a0) {
  1264. return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
  1265. },
  1266. visitMapExpression$1$x(receiver, a0) {
  1267. return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
  1268. },
  1269. visitMediaRule$1$x(receiver, a0) {
  1270. return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
  1271. },
  1272. visitMixinRule$1$x(receiver, a0) {
  1273. return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
  1274. },
  1275. visitNullExpression$1$x(receiver, a0) {
  1276. return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
  1277. },
  1278. visitNumberExpression$1$x(receiver, a0) {
  1279. return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
  1280. },
  1281. visitParenthesizedExpression$1$x(receiver, a0) {
  1282. return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
  1283. },
  1284. visitReturnRule$1$x(receiver, a0) {
  1285. return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
  1286. },
  1287. visitSelectorExpression$1$x(receiver, a0) {
  1288. return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
  1289. },
  1290. visitSilentComment$1$x(receiver, a0) {
  1291. return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
  1292. },
  1293. visitStringExpression$1$x(receiver, a0) {
  1294. return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
  1295. },
  1296. visitStyleRule$1$x(receiver, a0) {
  1297. return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
  1298. },
  1299. visitStylesheet$1$x(receiver, a0) {
  1300. return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
  1301. },
  1302. visitSupportsExpression$1$x(receiver, a0) {
  1303. return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
  1304. },
  1305. visitSupportsRule$1$x(receiver, a0) {
  1306. return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
  1307. },
  1308. visitUnaryOperationExpression$1$x(receiver, a0) {
  1309. return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
  1310. },
  1311. visitUseRule$1$x(receiver, a0) {
  1312. return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
  1313. },
  1314. visitValueExpression$1$x(receiver, a0) {
  1315. return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
  1316. },
  1317. visitVariableDeclaration$1$x(receiver, a0) {
  1318. return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
  1319. },
  1320. visitVariableExpression$1$x(receiver, a0) {
  1321. return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
  1322. },
  1323. visitWarnRule$1$x(receiver, a0) {
  1324. return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
  1325. },
  1326. visitWhileRule$1$x(receiver, a0) {
  1327. return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
  1328. },
  1329. watch$2$x(receiver, a0, a1) {
  1330. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1331. },
  1332. where$1$ax(receiver, a0) {
  1333. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1334. },
  1335. write$1$x(receiver, a0) {
  1336. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1337. },
  1338. writeFileSync$2$x(receiver, a0, a1) {
  1339. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1340. },
  1341. yield$0$x(receiver) {
  1342. return J.getInterceptor$x(receiver).yield$0(receiver);
  1343. },
  1344. Interceptor: function Interceptor() {
  1345. },
  1346. JSBool: function JSBool() {
  1347. },
  1348. JSNull: function JSNull() {
  1349. },
  1350. JavaScriptObject: function JavaScriptObject() {
  1351. },
  1352. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1353. },
  1354. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1355. },
  1356. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1357. },
  1358. JavaScriptFunction: function JavaScriptFunction() {
  1359. },
  1360. JavaScriptBigInt: function JavaScriptBigInt() {
  1361. },
  1362. JavaScriptSymbol: function JavaScriptSymbol() {
  1363. },
  1364. JSArray: function JSArray(t0) {
  1365. this.$ti = t0;
  1366. },
  1367. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1368. this.$ti = t0;
  1369. },
  1370. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1371. var _ = this;
  1372. _._iterable = t0;
  1373. _._length = t1;
  1374. _._index = 0;
  1375. _._current = null;
  1376. _.$ti = t2;
  1377. },
  1378. JSNumber: function JSNumber() {
  1379. },
  1380. JSInt: function JSInt() {
  1381. },
  1382. JSNumNotInt: function JSNumNotInt() {
  1383. },
  1384. JSString: function JSString() {
  1385. }
  1386. },
  1387. A = {JS_CONST: function JS_CONST() {
  1388. },
  1389. CastIterable_CastIterable(source, $S, $T) {
  1390. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  1391. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1392. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1393. },
  1394. LateError$localNI(localName) {
  1395. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1396. },
  1397. ReachabilityError$(_message) {
  1398. return new A.ReachabilityError(_message);
  1399. },
  1400. hexDigitValue(char) {
  1401. var letter,
  1402. digit = char ^ 48;
  1403. if (digit <= 9)
  1404. return digit;
  1405. letter = char | 32;
  1406. if (97 <= letter && letter <= 102)
  1407. return letter - 87;
  1408. return -1;
  1409. },
  1410. SystemHash_combine(hash, value) {
  1411. hash = hash + value & 536870911;
  1412. hash = hash + ((hash & 524287) << 10) & 536870911;
  1413. return hash ^ hash >>> 6;
  1414. },
  1415. SystemHash_finish(hash) {
  1416. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1417. hash ^= hash >>> 11;
  1418. return hash + ((hash & 16383) << 15) & 536870911;
  1419. },
  1420. checkNotNullable(value, $name, $T) {
  1421. return value;
  1422. },
  1423. isToStringVisiting(object) {
  1424. var t1, i;
  1425. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1426. if (object === $.toStringVisiting[i])
  1427. return true;
  1428. return false;
  1429. },
  1430. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1431. A.RangeError_checkNotNegative(_start, "start");
  1432. if (_endOrLength != null) {
  1433. A.RangeError_checkNotNegative(_endOrLength, "end");
  1434. if (_start > _endOrLength)
  1435. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1436. }
  1437. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1438. },
  1439. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1440. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1441. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1442. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1443. },
  1444. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1445. var _s9_ = "takeCount";
  1446. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1447. A.RangeError_checkNotNegative(takeCount, _s9_);
  1448. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1449. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1450. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1451. },
  1452. SkipIterable_SkipIterable(iterable, count, $E) {
  1453. var _s5_ = "count";
  1454. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1455. A.ArgumentError_checkNotNull(count, _s5_);
  1456. A.RangeError_checkNotNegative(count, _s5_);
  1457. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1458. }
  1459. A.ArgumentError_checkNotNull(count, _s5_);
  1460. A.RangeError_checkNotNegative(count, _s5_);
  1461. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1462. },
  1463. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1464. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  1465. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1466. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1467. },
  1468. IterableElementError_noElement() {
  1469. return new A.StateError("No element");
  1470. },
  1471. IterableElementError_tooMany() {
  1472. return new A.StateError("Too many elements");
  1473. },
  1474. IterableElementError_tooFew() {
  1475. return new A.StateError("Too few elements");
  1476. },
  1477. Sort__doSort(a, left, right, compare) {
  1478. if (right - left <= 32)
  1479. A.Sort__insertionSort(a, left, right, compare);
  1480. else
  1481. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1482. },
  1483. Sort__insertionSort(a, left, right, compare) {
  1484. var i, t1, el, j, j0;
  1485. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1486. el = t1.$index(a, i);
  1487. j = i;
  1488. while (true) {
  1489. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1490. break;
  1491. j0 = j - 1;
  1492. t1.$indexSet(a, j, t1.$index(a, j0));
  1493. j = j0;
  1494. }
  1495. t1.$indexSet(a, j, el);
  1496. }
  1497. },
  1498. Sort__dualPivotQuicksort(a, left, right, compare) {
  1499. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1500. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1501. index1 = left + sixth,
  1502. index5 = right - sixth,
  1503. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1504. index2 = index3 - sixth,
  1505. index4 = index3 + sixth,
  1506. t1 = J.getInterceptor$asx(a),
  1507. el1 = t1.$index(a, index1),
  1508. el2 = t1.$index(a, index2),
  1509. el3 = t1.$index(a, index3),
  1510. el4 = t1.$index(a, index4),
  1511. el5 = t1.$index(a, index5);
  1512. if (compare.call$2(el1, el2) > 0) {
  1513. t0 = el2;
  1514. el2 = el1;
  1515. el1 = t0;
  1516. }
  1517. if (compare.call$2(el4, el5) > 0) {
  1518. t0 = el5;
  1519. el5 = el4;
  1520. el4 = t0;
  1521. }
  1522. if (compare.call$2(el1, el3) > 0) {
  1523. t0 = el3;
  1524. el3 = el1;
  1525. el1 = t0;
  1526. }
  1527. if (compare.call$2(el2, el3) > 0) {
  1528. t0 = el3;
  1529. el3 = el2;
  1530. el2 = t0;
  1531. }
  1532. if (compare.call$2(el1, el4) > 0) {
  1533. t0 = el4;
  1534. el4 = el1;
  1535. el1 = t0;
  1536. }
  1537. if (compare.call$2(el3, el4) > 0) {
  1538. t0 = el4;
  1539. el4 = el3;
  1540. el3 = t0;
  1541. }
  1542. if (compare.call$2(el2, el5) > 0) {
  1543. t0 = el5;
  1544. el5 = el2;
  1545. el2 = t0;
  1546. }
  1547. if (compare.call$2(el2, el3) > 0) {
  1548. t0 = el3;
  1549. el3 = el2;
  1550. el2 = t0;
  1551. }
  1552. if (compare.call$2(el4, el5) > 0) {
  1553. t0 = el5;
  1554. el5 = el4;
  1555. el4 = t0;
  1556. }
  1557. t1.$indexSet(a, index1, el1);
  1558. t1.$indexSet(a, index3, el3);
  1559. t1.$indexSet(a, index5, el5);
  1560. t1.$indexSet(a, index2, t1.$index(a, left));
  1561. t1.$indexSet(a, index4, t1.$index(a, right));
  1562. less = left + 1;
  1563. great = right - 1;
  1564. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1565. if (pivots_are_equal)
  1566. for (k = less; k <= great; ++k) {
  1567. ak = t1.$index(a, k);
  1568. comp = compare.call$2(ak, el2);
  1569. if (comp === 0)
  1570. continue;
  1571. if (comp < 0) {
  1572. if (k !== less) {
  1573. t1.$indexSet(a, k, t1.$index(a, less));
  1574. t1.$indexSet(a, less, ak);
  1575. }
  1576. ++less;
  1577. } else
  1578. for (; true;) {
  1579. comp = compare.call$2(t1.$index(a, great), el2);
  1580. if (comp > 0) {
  1581. --great;
  1582. continue;
  1583. } else {
  1584. great0 = great - 1;
  1585. if (comp < 0) {
  1586. t1.$indexSet(a, k, t1.$index(a, less));
  1587. less0 = less + 1;
  1588. t1.$indexSet(a, less, t1.$index(a, great));
  1589. t1.$indexSet(a, great, ak);
  1590. great = great0;
  1591. less = less0;
  1592. break;
  1593. } else {
  1594. t1.$indexSet(a, k, t1.$index(a, great));
  1595. t1.$indexSet(a, great, ak);
  1596. great = great0;
  1597. break;
  1598. }
  1599. }
  1600. }
  1601. }
  1602. else
  1603. for (k = less; k <= great; ++k) {
  1604. ak = t1.$index(a, k);
  1605. if (compare.call$2(ak, el2) < 0) {
  1606. if (k !== less) {
  1607. t1.$indexSet(a, k, t1.$index(a, less));
  1608. t1.$indexSet(a, less, ak);
  1609. }
  1610. ++less;
  1611. } else if (compare.call$2(ak, el4) > 0)
  1612. for (; true;)
  1613. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1614. --great;
  1615. if (great < k)
  1616. break;
  1617. continue;
  1618. } else {
  1619. great0 = great - 1;
  1620. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1621. t1.$indexSet(a, k, t1.$index(a, less));
  1622. less0 = less + 1;
  1623. t1.$indexSet(a, less, t1.$index(a, great));
  1624. t1.$indexSet(a, great, ak);
  1625. less = less0;
  1626. } else {
  1627. t1.$indexSet(a, k, t1.$index(a, great));
  1628. t1.$indexSet(a, great, ak);
  1629. }
  1630. great = great0;
  1631. break;
  1632. }
  1633. }
  1634. t2 = less - 1;
  1635. t1.$indexSet(a, left, t1.$index(a, t2));
  1636. t1.$indexSet(a, t2, el2);
  1637. t2 = great + 1;
  1638. t1.$indexSet(a, right, t1.$index(a, t2));
  1639. t1.$indexSet(a, t2, el4);
  1640. A.Sort__doSort(a, left, less - 2, compare);
  1641. A.Sort__doSort(a, great + 2, right, compare);
  1642. if (pivots_are_equal)
  1643. return;
  1644. if (less < index1 && great > index5) {
  1645. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1646. ++less;
  1647. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1648. --great;
  1649. for (k = less; k <= great; ++k) {
  1650. ak = t1.$index(a, k);
  1651. if (compare.call$2(ak, el2) === 0) {
  1652. if (k !== less) {
  1653. t1.$indexSet(a, k, t1.$index(a, less));
  1654. t1.$indexSet(a, less, ak);
  1655. }
  1656. ++less;
  1657. } else if (compare.call$2(ak, el4) === 0)
  1658. for (; true;)
  1659. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1660. --great;
  1661. if (great < k)
  1662. break;
  1663. continue;
  1664. } else {
  1665. great0 = great - 1;
  1666. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1667. t1.$indexSet(a, k, t1.$index(a, less));
  1668. less0 = less + 1;
  1669. t1.$indexSet(a, less, t1.$index(a, great));
  1670. t1.$indexSet(a, great, ak);
  1671. less = less0;
  1672. } else {
  1673. t1.$indexSet(a, k, t1.$index(a, great));
  1674. t1.$indexSet(a, great, ak);
  1675. }
  1676. great = great0;
  1677. break;
  1678. }
  1679. }
  1680. A.Sort__doSort(a, less, great, compare);
  1681. } else
  1682. A.Sort__doSort(a, less, great, compare);
  1683. },
  1684. _CastIterableBase: function _CastIterableBase() {
  1685. },
  1686. CastIterator: function CastIterator(t0, t1) {
  1687. this._source = t0;
  1688. this.$ti = t1;
  1689. },
  1690. CastIterable: function CastIterable(t0, t1) {
  1691. this._source = t0;
  1692. this.$ti = t1;
  1693. },
  1694. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1695. this._source = t0;
  1696. this.$ti = t1;
  1697. },
  1698. _CastListBase: function _CastListBase() {
  1699. },
  1700. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1701. this.$this = t0;
  1702. this.compare = t1;
  1703. },
  1704. CastList: function CastList(t0, t1) {
  1705. this._source = t0;
  1706. this.$ti = t1;
  1707. },
  1708. CastSet: function CastSet(t0, t1, t2) {
  1709. this._source = t0;
  1710. this._emptySet = t1;
  1711. this.$ti = t2;
  1712. },
  1713. CastMap: function CastMap(t0, t1) {
  1714. this._source = t0;
  1715. this.$ti = t1;
  1716. },
  1717. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1718. this.$this = t0;
  1719. this.f = t1;
  1720. },
  1721. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1722. this.$this = t0;
  1723. },
  1724. LateError: function LateError(t0) {
  1725. this._message = t0;
  1726. },
  1727. ReachabilityError: function ReachabilityError(t0) {
  1728. this._message = t0;
  1729. },
  1730. CodeUnits: function CodeUnits(t0) {
  1731. this._string = t0;
  1732. },
  1733. nullFuture_closure: function nullFuture_closure() {
  1734. },
  1735. SentinelValue: function SentinelValue() {
  1736. },
  1737. EfficientLengthIterable: function EfficientLengthIterable() {
  1738. },
  1739. ListIterable: function ListIterable() {
  1740. },
  1741. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1742. var _ = this;
  1743. _.__internal$_iterable = t0;
  1744. _._start = t1;
  1745. _._endOrLength = t2;
  1746. _.$ti = t3;
  1747. },
  1748. ListIterator: function ListIterator(t0, t1, t2) {
  1749. var _ = this;
  1750. _.__internal$_iterable = t0;
  1751. _.__internal$_length = t1;
  1752. _.__internal$_index = 0;
  1753. _.__internal$_current = null;
  1754. _.$ti = t2;
  1755. },
  1756. MappedIterable: function MappedIterable(t0, t1, t2) {
  1757. this.__internal$_iterable = t0;
  1758. this._f = t1;
  1759. this.$ti = t2;
  1760. },
  1761. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1762. this.__internal$_iterable = t0;
  1763. this._f = t1;
  1764. this.$ti = t2;
  1765. },
  1766. MappedIterator: function MappedIterator(t0, t1, t2) {
  1767. var _ = this;
  1768. _.__internal$_current = null;
  1769. _._iterator = t0;
  1770. _._f = t1;
  1771. _.$ti = t2;
  1772. },
  1773. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1774. this._source = t0;
  1775. this._f = t1;
  1776. this.$ti = t2;
  1777. },
  1778. WhereIterable: function WhereIterable(t0, t1, t2) {
  1779. this.__internal$_iterable = t0;
  1780. this._f = t1;
  1781. this.$ti = t2;
  1782. },
  1783. WhereIterator: function WhereIterator(t0, t1) {
  1784. this._iterator = t0;
  1785. this._f = t1;
  1786. },
  1787. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1788. this.__internal$_iterable = t0;
  1789. this._f = t1;
  1790. this.$ti = t2;
  1791. },
  1792. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1793. var _ = this;
  1794. _._iterator = t0;
  1795. _._f = t1;
  1796. _._currentExpansion = t2;
  1797. _.__internal$_current = null;
  1798. _.$ti = t3;
  1799. },
  1800. TakeIterable: function TakeIterable(t0, t1, t2) {
  1801. this.__internal$_iterable = t0;
  1802. this._takeCount = t1;
  1803. this.$ti = t2;
  1804. },
  1805. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1806. this.__internal$_iterable = t0;
  1807. this._takeCount = t1;
  1808. this.$ti = t2;
  1809. },
  1810. TakeIterator: function TakeIterator(t0, t1, t2) {
  1811. this._iterator = t0;
  1812. this._remaining = t1;
  1813. this.$ti = t2;
  1814. },
  1815. SkipIterable: function SkipIterable(t0, t1, t2) {
  1816. this.__internal$_iterable = t0;
  1817. this._skipCount = t1;
  1818. this.$ti = t2;
  1819. },
  1820. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1821. this.__internal$_iterable = t0;
  1822. this._skipCount = t1;
  1823. this.$ti = t2;
  1824. },
  1825. SkipIterator: function SkipIterator(t0, t1) {
  1826. this._iterator = t0;
  1827. this._skipCount = t1;
  1828. },
  1829. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1830. this.__internal$_iterable = t0;
  1831. this._f = t1;
  1832. this.$ti = t2;
  1833. },
  1834. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1835. this._iterator = t0;
  1836. this._f = t1;
  1837. this._hasSkipped = false;
  1838. },
  1839. EmptyIterable: function EmptyIterable(t0) {
  1840. this.$ti = t0;
  1841. },
  1842. EmptyIterator: function EmptyIterator() {
  1843. },
  1844. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1845. this.__internal$_first = t0;
  1846. this._second = t1;
  1847. this.$ti = t2;
  1848. },
  1849. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1850. this.__internal$_first = t0;
  1851. this._second = t1;
  1852. this.$ti = t2;
  1853. },
  1854. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1855. this._currentIterator = t0;
  1856. this._nextIterable = t1;
  1857. },
  1858. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1859. this._source = t0;
  1860. this.$ti = t1;
  1861. },
  1862. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1863. this._source = t0;
  1864. this.$ti = t1;
  1865. },
  1866. NonNullsIterable: function NonNullsIterable(t0, t1) {
  1867. this._source = t0;
  1868. this.$ti = t1;
  1869. },
  1870. NonNullsIterator: function NonNullsIterator(t0) {
  1871. this._source = t0;
  1872. this.__internal$_current = null;
  1873. },
  1874. FixedLengthListMixin: function FixedLengthListMixin() {
  1875. },
  1876. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1877. },
  1878. UnmodifiableListBase: function UnmodifiableListBase() {
  1879. },
  1880. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1881. this._source = t0;
  1882. this.$ti = t1;
  1883. },
  1884. Symbol: function Symbol(t0) {
  1885. this.__internal$_name = t0;
  1886. },
  1887. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1888. },
  1889. ConstantMap_ConstantMap$from(other, $K, $V) {
  1890. var allStrings, k, object, index, index0, map,
  1891. keys = A.List_List$from(other.get$keys(other), true, $K),
  1892. t1 = keys.length,
  1893. _i = 0;
  1894. while (true) {
  1895. if (!(_i < t1)) {
  1896. allStrings = true;
  1897. break;
  1898. }
  1899. k = keys[_i];
  1900. if (typeof k != "string" || "__proto__" === k) {
  1901. allStrings = false;
  1902. break;
  1903. }
  1904. ++_i;
  1905. }
  1906. if (allStrings) {
  1907. object = {};
  1908. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1909. k = keys[_i];
  1910. other.$index(0, k);
  1911. index0 = index + 1;
  1912. object[k] = index;
  1913. }
  1914. 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>"));
  1915. map.$keys = keys;
  1916. return map;
  1917. }
  1918. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1919. },
  1920. ConstantMap__throwUnmodifiable() {
  1921. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1922. },
  1923. ConstantSet__throwUnmodifiable() {
  1924. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1925. },
  1926. instantiate1(f, T1) {
  1927. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1928. t1.Instantiation$1(f);
  1929. return t1;
  1930. },
  1931. unminifyOrTag(rawClassName) {
  1932. var preserved = init.mangledGlobalNames[rawClassName];
  1933. if (preserved != null)
  1934. return preserved;
  1935. return rawClassName;
  1936. },
  1937. isJsIndexable(object, record) {
  1938. var result;
  1939. if (record != null) {
  1940. result = record.x;
  1941. if (result != null)
  1942. return result;
  1943. }
  1944. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1945. },
  1946. S(value) {
  1947. var result;
  1948. if (typeof value == "string")
  1949. return value;
  1950. if (typeof value == "number") {
  1951. if (value !== 0)
  1952. return "" + value;
  1953. } else if (true === value)
  1954. return "true";
  1955. else if (false === value)
  1956. return "false";
  1957. else if (value == null)
  1958. return "null";
  1959. result = J.toString$0$(value);
  1960. return result;
  1961. },
  1962. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1963. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1964. },
  1965. Primitives_objectHashCode(object) {
  1966. var hash,
  1967. property = $.Primitives__identityHashCodeProperty;
  1968. if (property == null)
  1969. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1970. hash = object[property];
  1971. if (hash == null) {
  1972. hash = Math.random() * 0x3fffffff | 0;
  1973. object[property] = hash;
  1974. }
  1975. return hash;
  1976. },
  1977. Primitives_parseInt(source, radix) {
  1978. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1979. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1980. if (match == null)
  1981. return _null;
  1982. decimalMatch = match[3];
  1983. if (radix == null) {
  1984. if (decimalMatch != null)
  1985. return parseInt(source, 10);
  1986. if (match[2] != null)
  1987. return parseInt(source, 16);
  1988. return _null;
  1989. }
  1990. if (radix < 2 || radix > 36)
  1991. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1992. if (radix === 10 && decimalMatch != null)
  1993. return parseInt(source, 10);
  1994. if (radix < 10 || decimalMatch == null) {
  1995. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1996. digitsPart = match[1];
  1997. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1998. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1999. return _null;
  2000. }
  2001. return parseInt(source, radix);
  2002. },
  2003. Primitives_parseDouble(source) {
  2004. var result, trimmed;
  2005. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  2006. return null;
  2007. result = parseFloat(source);
  2008. if (isNaN(result)) {
  2009. trimmed = B.JSString_methods.trim$0(source);
  2010. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  2011. return result;
  2012. return null;
  2013. }
  2014. return result;
  2015. },
  2016. Primitives_objectTypeName(object) {
  2017. return A.Primitives__objectTypeNameNewRti(object);
  2018. },
  2019. Primitives__objectTypeNameNewRti(object) {
  2020. var interceptor, dispatchName, $constructor, constructorName;
  2021. if (object instanceof A.Object)
  2022. return A._rtiToString(A.instanceType(object), null);
  2023. interceptor = J.getInterceptor$(object);
  2024. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  2025. dispatchName = B.C_JS_CONST(object);
  2026. if (dispatchName !== "Object" && dispatchName !== "")
  2027. return dispatchName;
  2028. $constructor = object.constructor;
  2029. if (typeof $constructor == "function") {
  2030. constructorName = $constructor.name;
  2031. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  2032. return constructorName;
  2033. }
  2034. }
  2035. return A._rtiToString(A.instanceType(object), null);
  2036. },
  2037. Primitives_safeToString(object) {
  2038. if (object == null || typeof object == "number" || A._isBool(object))
  2039. return J.toString$0$(object);
  2040. if (typeof object == "string")
  2041. return JSON.stringify(object);
  2042. if (object instanceof A.Closure)
  2043. return object.toString$0(0);
  2044. if (object instanceof A._Record)
  2045. return object._toString$1(true);
  2046. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  2047. },
  2048. Primitives_currentUri() {
  2049. if (!!self.location)
  2050. return self.location.href;
  2051. return null;
  2052. },
  2053. Primitives__fromCharCodeApply(array) {
  2054. var result, i, i0, chunkEnd,
  2055. end = array.length;
  2056. if (end <= 500)
  2057. return String.fromCharCode.apply(null, array);
  2058. for (result = "", i = 0; i < end; i = i0) {
  2059. i0 = i + 500;
  2060. chunkEnd = i0 < end ? i0 : end;
  2061. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  2062. }
  2063. return result;
  2064. },
  2065. Primitives_stringFromCodePoints(codePoints) {
  2066. var t1, _i, i,
  2067. a = A._setArrayType([], type$.JSArray_int);
  2068. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  2069. i = codePoints[_i];
  2070. if (!A._isInt(i))
  2071. throw A.wrapException(A.argumentErrorValue(i));
  2072. if (i <= 65535)
  2073. a.push(i);
  2074. else if (i <= 1114111) {
  2075. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  2076. a.push(56320 + (i & 1023));
  2077. } else
  2078. throw A.wrapException(A.argumentErrorValue(i));
  2079. }
  2080. return A.Primitives__fromCharCodeApply(a);
  2081. },
  2082. Primitives_stringFromCharCodes(charCodes) {
  2083. var t1, _i, i;
  2084. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  2085. i = charCodes[_i];
  2086. if (!A._isInt(i))
  2087. throw A.wrapException(A.argumentErrorValue(i));
  2088. if (i < 0)
  2089. throw A.wrapException(A.argumentErrorValue(i));
  2090. if (i > 65535)
  2091. return A.Primitives_stringFromCodePoints(charCodes);
  2092. }
  2093. return A.Primitives__fromCharCodeApply(charCodes);
  2094. },
  2095. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  2096. var i, result, i0, chunkEnd;
  2097. if (end <= 500 && start === 0 && end === charCodes.length)
  2098. return String.fromCharCode.apply(null, charCodes);
  2099. for (i = start, result = ""; i < end; i = i0) {
  2100. i0 = i + 500;
  2101. chunkEnd = i0 < end ? i0 : end;
  2102. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  2103. }
  2104. return result;
  2105. },
  2106. Primitives_stringFromCharCode(charCode) {
  2107. var bits;
  2108. if (0 <= charCode) {
  2109. if (charCode <= 65535)
  2110. return String.fromCharCode(charCode);
  2111. if (charCode <= 1114111) {
  2112. bits = charCode - 65536;
  2113. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  2114. }
  2115. }
  2116. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  2117. },
  2118. Primitives_lazyAsJsDate(receiver) {
  2119. if (receiver.date === void 0)
  2120. receiver.date = new Date(receiver._value);
  2121. return receiver.date;
  2122. },
  2123. Primitives_getYear(receiver) {
  2124. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  2125. return t1;
  2126. },
  2127. Primitives_getMonth(receiver) {
  2128. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  2129. return t1;
  2130. },
  2131. Primitives_getDay(receiver) {
  2132. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  2133. return t1;
  2134. },
  2135. Primitives_getHours(receiver) {
  2136. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2137. return t1;
  2138. },
  2139. Primitives_getMinutes(receiver) {
  2140. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2141. return t1;
  2142. },
  2143. Primitives_getSeconds(receiver) {
  2144. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2145. return t1;
  2146. },
  2147. Primitives_getMilliseconds(receiver) {
  2148. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2149. return t1;
  2150. },
  2151. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2152. var $arguments, namedArgumentList, t1 = {};
  2153. t1.argumentCount = 0;
  2154. $arguments = [];
  2155. namedArgumentList = [];
  2156. t1.argumentCount = positionalArguments.length;
  2157. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2158. t1.names = "";
  2159. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2160. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2161. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2162. },
  2163. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2164. var t1, argumentCount, jsStub;
  2165. if (Array.isArray(positionalArguments))
  2166. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2167. else
  2168. t1 = false;
  2169. if (t1) {
  2170. argumentCount = positionalArguments.length;
  2171. if (argumentCount === 0) {
  2172. if (!!$function.call$0)
  2173. return $function.call$0();
  2174. } else if (argumentCount === 1) {
  2175. if (!!$function.call$1)
  2176. return $function.call$1(positionalArguments[0]);
  2177. } else if (argumentCount === 2) {
  2178. if (!!$function.call$2)
  2179. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2180. } else if (argumentCount === 3) {
  2181. if (!!$function.call$3)
  2182. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2183. } else if (argumentCount === 4) {
  2184. if (!!$function.call$4)
  2185. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2186. } else if (argumentCount === 5)
  2187. if (!!$function.call$5)
  2188. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2189. jsStub = $function["call" + "$" + argumentCount];
  2190. if (jsStub != null)
  2191. return jsStub.apply($function, positionalArguments);
  2192. }
  2193. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2194. },
  2195. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2196. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  2197. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  2198. argumentCount = $arguments.length,
  2199. requiredParameterCount = $function.$requiredArgCount;
  2200. if (argumentCount < requiredParameterCount)
  2201. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2202. defaultValuesClosure = $function.$defaultValues;
  2203. t1 = defaultValuesClosure == null;
  2204. defaultValues = !t1 ? defaultValuesClosure() : null;
  2205. interceptor = J.getInterceptor$($function);
  2206. jsFunction = interceptor["call*"];
  2207. if (typeof jsFunction == "string")
  2208. jsFunction = interceptor[jsFunction];
  2209. if (t1) {
  2210. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2211. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2212. if (argumentCount === requiredParameterCount)
  2213. return jsFunction.apply($function, $arguments);
  2214. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2215. }
  2216. if (Array.isArray(defaultValues)) {
  2217. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2218. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2219. maxArguments = requiredParameterCount + defaultValues.length;
  2220. if (argumentCount > maxArguments)
  2221. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2222. if (argumentCount < maxArguments) {
  2223. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2224. if ($arguments === positionalArguments)
  2225. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2226. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2227. }
  2228. return jsFunction.apply($function, $arguments);
  2229. } else {
  2230. if (argumentCount > requiredParameterCount)
  2231. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2232. if ($arguments === positionalArguments)
  2233. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2234. keys = Object.keys(defaultValues);
  2235. if (namedArguments == null)
  2236. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2237. defaultValue = defaultValues[keys[_i]];
  2238. if (B.C__Required === defaultValue)
  2239. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2240. B.JSArray_methods.add$1($arguments, defaultValue);
  2241. }
  2242. else {
  2243. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2244. t2 = keys[_i];
  2245. if (namedArguments.containsKey$1(t2)) {
  2246. ++used;
  2247. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2248. } else {
  2249. defaultValue = defaultValues[t2];
  2250. if (B.C__Required === defaultValue)
  2251. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2252. B.JSArray_methods.add$1($arguments, defaultValue);
  2253. }
  2254. }
  2255. if (used !== namedArguments.__js_helper$_length)
  2256. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2257. }
  2258. return jsFunction.apply($function, $arguments);
  2259. }
  2260. },
  2261. Primitives_extractStackTrace(error) {
  2262. var jsError = error.$thrownJsError;
  2263. if (jsError == null)
  2264. return null;
  2265. return A.getTraceFromException(jsError);
  2266. },
  2267. diagnoseIndexError(indexable, index) {
  2268. var $length, _s5_ = "index";
  2269. if (!A._isInt(index))
  2270. return new A.ArgumentError(true, index, _s5_, null);
  2271. $length = J.get$length$asx(indexable);
  2272. if (index < 0 || index >= $length)
  2273. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2274. return A.RangeError$value(index, _s5_, null);
  2275. },
  2276. diagnoseRangeError(start, end, $length) {
  2277. if (start < 0 || start > $length)
  2278. return A.RangeError$range(start, 0, $length, "start", null);
  2279. if (end != null)
  2280. if (end < start || end > $length)
  2281. return A.RangeError$range(end, start, $length, "end", null);
  2282. return new A.ArgumentError(true, end, "end", null);
  2283. },
  2284. argumentErrorValue(object) {
  2285. return new A.ArgumentError(true, object, null, null);
  2286. },
  2287. checkNum(value) {
  2288. return value;
  2289. },
  2290. wrapException(ex) {
  2291. return A.initializeExceptionWrapper(new Error(), ex);
  2292. },
  2293. initializeExceptionWrapper(wrapper, ex) {
  2294. var t1;
  2295. if (ex == null)
  2296. ex = new A.TypeError();
  2297. wrapper.dartException = ex;
  2298. t1 = A.toStringWrapper;
  2299. if ("defineProperty" in Object) {
  2300. Object.defineProperty(wrapper, "message", {get: t1});
  2301. wrapper.name = "";
  2302. } else
  2303. wrapper.toString = t1;
  2304. return wrapper;
  2305. },
  2306. toStringWrapper() {
  2307. return J.toString$0$(this.dartException);
  2308. },
  2309. throwExpression(ex) {
  2310. throw A.wrapException(ex);
  2311. },
  2312. throwExpressionWithWrapper(ex, wrapper) {
  2313. throw A.initializeExceptionWrapper(wrapper, ex);
  2314. },
  2315. throwConcurrentModificationError(collection) {
  2316. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2317. },
  2318. TypeErrorDecoder_extractPattern(message) {
  2319. var match, $arguments, argumentsExpr, expr, method, receiver;
  2320. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2321. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2322. if (match == null)
  2323. match = A._setArrayType([], type$.JSArray_String);
  2324. $arguments = match.indexOf("\\$arguments\\$");
  2325. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2326. expr = match.indexOf("\\$expr\\$");
  2327. method = match.indexOf("\\$method\\$");
  2328. receiver = match.indexOf("\\$receiver\\$");
  2329. 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);
  2330. },
  2331. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2332. return function($expr$) {
  2333. var $argumentsExpr$ = "$arguments$";
  2334. try {
  2335. $expr$.$method$($argumentsExpr$);
  2336. } catch (e) {
  2337. return e.message;
  2338. }
  2339. }(expression);
  2340. },
  2341. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2342. return function($expr$) {
  2343. try {
  2344. $expr$.$method$;
  2345. } catch (e) {
  2346. return e.message;
  2347. }
  2348. }(expression);
  2349. },
  2350. JsNoSuchMethodError$(_message, match) {
  2351. var t1 = match == null,
  2352. t2 = t1 ? null : match.method;
  2353. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2354. },
  2355. unwrapException(ex) {
  2356. if (ex == null)
  2357. return new A.NullThrownFromJavaScriptException(ex);
  2358. if (ex instanceof A.ExceptionAndStackTrace)
  2359. return A.saveStackTrace(ex, ex.dartException);
  2360. if (typeof ex !== "object")
  2361. return ex;
  2362. if ("dartException" in ex)
  2363. return A.saveStackTrace(ex, ex.dartException);
  2364. return A._unwrapNonDartException(ex);
  2365. },
  2366. saveStackTrace(ex, error) {
  2367. if (type$.Error._is(error))
  2368. if (error.$thrownJsError == null)
  2369. error.$thrownJsError = ex;
  2370. return error;
  2371. },
  2372. _unwrapNonDartException(ex) {
  2373. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2374. if (!("message" in ex))
  2375. return ex;
  2376. message = ex.message;
  2377. if ("number" in ex && typeof ex.number == "number") {
  2378. number = ex.number;
  2379. ieErrorCode = number & 65535;
  2380. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2381. switch (ieErrorCode) {
  2382. case 438:
  2383. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2384. case 445:
  2385. case 5007:
  2386. A.S(message);
  2387. return A.saveStackTrace(ex, new A.NullError());
  2388. }
  2389. }
  2390. if (ex instanceof TypeError) {
  2391. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2392. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2393. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2394. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2395. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2396. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2397. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2398. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2399. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2400. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2401. match = nsme.matchTypeError$1(message);
  2402. if (match != null)
  2403. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2404. else {
  2405. match = notClosure.matchTypeError$1(message);
  2406. if (match != null) {
  2407. match.method = "call";
  2408. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2409. } 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)
  2410. return A.saveStackTrace(ex, new A.NullError());
  2411. }
  2412. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2413. }
  2414. if (ex instanceof RangeError) {
  2415. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2416. return new A.StackOverflowError();
  2417. message = function(ex) {
  2418. try {
  2419. return String(ex);
  2420. } catch (e) {
  2421. }
  2422. return null;
  2423. }(ex);
  2424. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2425. }
  2426. if (typeof InternalError == "function" && ex instanceof InternalError)
  2427. if (typeof message == "string" && message === "too much recursion")
  2428. return new A.StackOverflowError();
  2429. return ex;
  2430. },
  2431. getTraceFromException(exception) {
  2432. var trace;
  2433. if (exception instanceof A.ExceptionAndStackTrace)
  2434. return exception.stackTrace;
  2435. if (exception == null)
  2436. return new A._StackTrace(exception);
  2437. trace = exception.$cachedTrace;
  2438. if (trace != null)
  2439. return trace;
  2440. trace = new A._StackTrace(exception);
  2441. if (typeof exception === "object")
  2442. exception.$cachedTrace = trace;
  2443. return trace;
  2444. },
  2445. objectHashCode(object) {
  2446. if (object == null)
  2447. return J.get$hashCode$(object);
  2448. if (typeof object == "object")
  2449. return A.Primitives_objectHashCode(object);
  2450. return J.get$hashCode$(object);
  2451. },
  2452. constantHashCode(key) {
  2453. if (typeof key == "number")
  2454. return B.JSNumber_methods.get$hashCode(key);
  2455. if (key instanceof A._Type)
  2456. return A.Primitives_objectHashCode(key);
  2457. if (key instanceof A._Record)
  2458. return key.get$hashCode(key);
  2459. if (key instanceof A.Symbol)
  2460. return key.get$hashCode(0);
  2461. return A.objectHashCode(key);
  2462. },
  2463. fillLiteralMap(keyValuePairs, result) {
  2464. var index, index0, index1,
  2465. $length = keyValuePairs.length;
  2466. for (index = 0; index < $length; index = index1) {
  2467. index0 = index + 1;
  2468. index1 = index0 + 1;
  2469. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2470. }
  2471. return result;
  2472. },
  2473. fillLiteralSet(values, result) {
  2474. var index,
  2475. $length = values.length;
  2476. for (index = 0; index < $length; ++index)
  2477. result.add$1(0, values[index]);
  2478. return result;
  2479. },
  2480. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2481. switch (numberOfArguments) {
  2482. case 0:
  2483. return closure.call$0();
  2484. case 1:
  2485. return closure.call$1(arg1);
  2486. case 2:
  2487. return closure.call$2(arg1, arg2);
  2488. case 3:
  2489. return closure.call$3(arg1, arg2, arg3);
  2490. case 4:
  2491. return closure.call$4(arg1, arg2, arg3, arg4);
  2492. }
  2493. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2494. },
  2495. convertDartClosureToJS(closure, arity) {
  2496. var $function;
  2497. if (closure == null)
  2498. return null;
  2499. $function = closure.$identity;
  2500. if (!!$function)
  2501. return $function;
  2502. $function = A.convertDartClosureToJSUncached(closure, arity);
  2503. closure.$identity = $function;
  2504. return $function;
  2505. },
  2506. convertDartClosureToJSUncached(closure, arity) {
  2507. var entry;
  2508. switch (arity) {
  2509. case 0:
  2510. entry = closure.call$0;
  2511. break;
  2512. case 1:
  2513. entry = closure.call$1;
  2514. break;
  2515. case 2:
  2516. entry = closure.call$2;
  2517. break;
  2518. case 3:
  2519. entry = closure.call$3;
  2520. break;
  2521. case 4:
  2522. entry = closure.call$4;
  2523. break;
  2524. default:
  2525. entry = null;
  2526. }
  2527. if (entry != null)
  2528. return entry.bind(closure);
  2529. return function(closure, arity, invoke) {
  2530. return function(a1, a2, a3, a4) {
  2531. return invoke(closure, arity, a1, a2, a3, a4);
  2532. };
  2533. }(closure, arity, A._invokeClosure);
  2534. },
  2535. Closure_fromTearOff(parameters) {
  2536. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2537. container = parameters.co,
  2538. isStatic = parameters.iS,
  2539. isIntercepted = parameters.iI,
  2540. needsDirectAccess = parameters.nDA,
  2541. applyTrampolineIndex = parameters.aI,
  2542. funsOrNames = parameters.fs,
  2543. callNames = parameters.cs,
  2544. $name = funsOrNames[0],
  2545. callName = callNames[0],
  2546. $function = container[$name],
  2547. t1 = parameters.fT;
  2548. t1.toString;
  2549. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2550. $prototype.$initialize = $prototype.constructor;
  2551. $constructor = isStatic ? function static_tear_off() {
  2552. this.$initialize();
  2553. } : function tear_off(a, b) {
  2554. this.$initialize(a, b);
  2555. };
  2556. $prototype.constructor = $constructor;
  2557. $constructor.prototype = $prototype;
  2558. $prototype.$_name = $name;
  2559. $prototype.$_target = $function;
  2560. t2 = !isStatic;
  2561. if (t2)
  2562. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2563. else {
  2564. $prototype.$static_name = $name;
  2565. trampoline = $function;
  2566. }
  2567. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  2568. $prototype[callName] = trampoline;
  2569. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2570. stub = funsOrNames[i];
  2571. if (typeof stub == "string") {
  2572. stub0 = container[stub];
  2573. stubName = stub;
  2574. stub = stub0;
  2575. } else
  2576. stubName = "";
  2577. stubCallName = callNames[i];
  2578. if (stubCallName != null) {
  2579. if (t2)
  2580. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2581. $prototype[stubCallName] = stub;
  2582. }
  2583. if (i === applyTrampolineIndex)
  2584. applyTrampoline = stub;
  2585. }
  2586. $prototype["call*"] = applyTrampoline;
  2587. $prototype.$requiredArgCount = parameters.rC;
  2588. $prototype.$defaultValues = parameters.dV;
  2589. return $constructor;
  2590. },
  2591. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  2592. if (typeof functionType == "number")
  2593. return functionType;
  2594. if (typeof functionType == "string") {
  2595. if (isStatic)
  2596. throw A.wrapException("Cannot compute signature for static tearoff.");
  2597. return function(recipe, evalOnReceiver) {
  2598. return function() {
  2599. return evalOnReceiver(this, recipe);
  2600. };
  2601. }(functionType, A.BoundClosure_evalRecipe);
  2602. }
  2603. throw A.wrapException("Error in functionType of tearoff");
  2604. },
  2605. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2606. var getReceiver = A.BoundClosure_receiverOf;
  2607. switch (needsDirectAccess ? -1 : arity) {
  2608. case 0:
  2609. return function(entry, receiverOf) {
  2610. return function() {
  2611. return receiverOf(this)[entry]();
  2612. };
  2613. }(stubName, getReceiver);
  2614. case 1:
  2615. return function(entry, receiverOf) {
  2616. return function(a) {
  2617. return receiverOf(this)[entry](a);
  2618. };
  2619. }(stubName, getReceiver);
  2620. case 2:
  2621. return function(entry, receiverOf) {
  2622. return function(a, b) {
  2623. return receiverOf(this)[entry](a, b);
  2624. };
  2625. }(stubName, getReceiver);
  2626. case 3:
  2627. return function(entry, receiverOf) {
  2628. return function(a, b, c) {
  2629. return receiverOf(this)[entry](a, b, c);
  2630. };
  2631. }(stubName, getReceiver);
  2632. case 4:
  2633. return function(entry, receiverOf) {
  2634. return function(a, b, c, d) {
  2635. return receiverOf(this)[entry](a, b, c, d);
  2636. };
  2637. }(stubName, getReceiver);
  2638. case 5:
  2639. return function(entry, receiverOf) {
  2640. return function(a, b, c, d, e) {
  2641. return receiverOf(this)[entry](a, b, c, d, e);
  2642. };
  2643. }(stubName, getReceiver);
  2644. default:
  2645. return function(f, receiverOf) {
  2646. return function() {
  2647. return f.apply(receiverOf(this), arguments);
  2648. };
  2649. }($function, getReceiver);
  2650. }
  2651. },
  2652. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2653. if (isIntercepted)
  2654. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2655. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2656. },
  2657. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2658. var getReceiver = A.BoundClosure_receiverOf,
  2659. getInterceptor = A.BoundClosure_interceptorOf;
  2660. switch (needsDirectAccess ? -1 : arity) {
  2661. case 0:
  2662. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2663. case 1:
  2664. return function(entry, interceptorOf, receiverOf) {
  2665. return function() {
  2666. return interceptorOf(this)[entry](receiverOf(this));
  2667. };
  2668. }(stubName, getInterceptor, getReceiver);
  2669. case 2:
  2670. return function(entry, interceptorOf, receiverOf) {
  2671. return function(a) {
  2672. return interceptorOf(this)[entry](receiverOf(this), a);
  2673. };
  2674. }(stubName, getInterceptor, getReceiver);
  2675. case 3:
  2676. return function(entry, interceptorOf, receiverOf) {
  2677. return function(a, b) {
  2678. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2679. };
  2680. }(stubName, getInterceptor, getReceiver);
  2681. case 4:
  2682. return function(entry, interceptorOf, receiverOf) {
  2683. return function(a, b, c) {
  2684. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2685. };
  2686. }(stubName, getInterceptor, getReceiver);
  2687. case 5:
  2688. return function(entry, interceptorOf, receiverOf) {
  2689. return function(a, b, c, d) {
  2690. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2691. };
  2692. }(stubName, getInterceptor, getReceiver);
  2693. case 6:
  2694. return function(entry, interceptorOf, receiverOf) {
  2695. return function(a, b, c, d, e) {
  2696. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2697. };
  2698. }(stubName, getInterceptor, getReceiver);
  2699. default:
  2700. return function(f, interceptorOf, receiverOf) {
  2701. return function() {
  2702. var a = [receiverOf(this)];
  2703. Array.prototype.push.apply(a, arguments);
  2704. return f.apply(interceptorOf(this), a);
  2705. };
  2706. }($function, getInterceptor, getReceiver);
  2707. }
  2708. },
  2709. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2710. var arity, t1;
  2711. if ($.BoundClosure__interceptorFieldNameCache == null)
  2712. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2713. if ($.BoundClosure__receiverFieldNameCache == null)
  2714. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2715. arity = $function.length;
  2716. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2717. return t1;
  2718. },
  2719. closureFromTearOff(parameters) {
  2720. return A.Closure_fromTearOff(parameters);
  2721. },
  2722. BoundClosure_evalRecipe(closure, recipe) {
  2723. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2724. },
  2725. BoundClosure_receiverOf(closure) {
  2726. return closure._receiver;
  2727. },
  2728. BoundClosure_interceptorOf(closure) {
  2729. return closure._interceptor;
  2730. },
  2731. BoundClosure__computeFieldNamed(fieldName) {
  2732. var t1, i, $name,
  2733. template = new A.BoundClosure("receiver", "interceptor"),
  2734. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  2735. for (t1 = names.length, i = 0; i < t1; ++i) {
  2736. $name = names[i];
  2737. if (template[$name] === fieldName)
  2738. return $name;
  2739. }
  2740. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2741. },
  2742. throwCyclicInit(staticName) {
  2743. throw A.wrapException(new A._CyclicInitializationError(staticName));
  2744. },
  2745. getIsolateAffinityTag($name) {
  2746. return init.getIsolateTag($name);
  2747. },
  2748. LinkedHashMapKeyIterator$(_map, _modifications) {
  2749. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  2750. t1.__js_helper$_cell = _map.__js_helper$_first;
  2751. return t1;
  2752. },
  2753. defineProperty(obj, property, value) {
  2754. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2755. },
  2756. lookupAndCacheInterceptor(obj) {
  2757. var interceptor, interceptorClass, altTag, mark, t1,
  2758. tag = $.getTagFunction.call$1(obj),
  2759. record = $.dispatchRecordsForInstanceTags[tag];
  2760. if (record != null) {
  2761. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2762. return record.i;
  2763. }
  2764. interceptor = $.interceptorsForUncacheableTags[tag];
  2765. if (interceptor != null)
  2766. return interceptor;
  2767. interceptorClass = init.interceptorsByTag[tag];
  2768. if (interceptorClass == null) {
  2769. altTag = $.alternateTagFunction.call$2(obj, tag);
  2770. if (altTag != null) {
  2771. record = $.dispatchRecordsForInstanceTags[altTag];
  2772. if (record != null) {
  2773. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2774. return record.i;
  2775. }
  2776. interceptor = $.interceptorsForUncacheableTags[altTag];
  2777. if (interceptor != null)
  2778. return interceptor;
  2779. interceptorClass = init.interceptorsByTag[altTag];
  2780. tag = altTag;
  2781. }
  2782. }
  2783. if (interceptorClass == null)
  2784. return null;
  2785. interceptor = interceptorClass.prototype;
  2786. mark = tag[0];
  2787. if (mark === "!") {
  2788. record = A.makeLeafDispatchRecord(interceptor);
  2789. $.dispatchRecordsForInstanceTags[tag] = record;
  2790. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2791. return record.i;
  2792. }
  2793. if (mark === "~") {
  2794. $.interceptorsForUncacheableTags[tag] = interceptor;
  2795. return interceptor;
  2796. }
  2797. if (mark === "-") {
  2798. t1 = A.makeLeafDispatchRecord(interceptor);
  2799. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2800. return t1.i;
  2801. }
  2802. if (mark === "+")
  2803. return A.patchInteriorProto(obj, interceptor);
  2804. if (mark === "*")
  2805. throw A.wrapException(A.UnimplementedError$(tag));
  2806. if (init.leafTags[tag] === true) {
  2807. t1 = A.makeLeafDispatchRecord(interceptor);
  2808. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2809. return t1.i;
  2810. } else
  2811. return A.patchInteriorProto(obj, interceptor);
  2812. },
  2813. patchInteriorProto(obj, interceptor) {
  2814. var proto = Object.getPrototypeOf(obj);
  2815. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2816. return interceptor;
  2817. },
  2818. makeLeafDispatchRecord(interceptor) {
  2819. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2820. },
  2821. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2822. var interceptor = interceptorClass.prototype;
  2823. if (init.leafTags[tag] === true)
  2824. return A.makeLeafDispatchRecord(interceptor);
  2825. else
  2826. return J.makeDispatchRecord(interceptor, proto, null, null);
  2827. },
  2828. initNativeDispatch() {
  2829. if (true === $.initNativeDispatchFlag)
  2830. return;
  2831. $.initNativeDispatchFlag = true;
  2832. A.initNativeDispatchContinue();
  2833. },
  2834. initNativeDispatchContinue() {
  2835. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2836. $.dispatchRecordsForInstanceTags = Object.create(null);
  2837. $.interceptorsForUncacheableTags = Object.create(null);
  2838. A.initHooks();
  2839. map = init.interceptorsByTag;
  2840. tags = Object.getOwnPropertyNames(map);
  2841. if (typeof window != "undefined") {
  2842. window;
  2843. fun = function() {
  2844. };
  2845. for (i = 0; i < tags.length; ++i) {
  2846. tag = tags[i];
  2847. proto = $.prototypeForTagFunction.call$1(tag);
  2848. if (proto != null) {
  2849. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2850. if (record != null) {
  2851. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2852. fun.prototype = proto;
  2853. }
  2854. }
  2855. }
  2856. }
  2857. for (i = 0; i < tags.length; ++i) {
  2858. tag = tags[i];
  2859. if (/^[A-Za-z_]/.test(tag)) {
  2860. interceptorClass = map[tag];
  2861. map["!" + tag] = interceptorClass;
  2862. map["~" + tag] = interceptorClass;
  2863. map["-" + tag] = interceptorClass;
  2864. map["+" + tag] = interceptorClass;
  2865. map["*" + tag] = interceptorClass;
  2866. }
  2867. }
  2868. },
  2869. initHooks() {
  2870. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2871. hooks = B.C_JS_CONST0();
  2872. 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)))))));
  2873. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2874. transformers = dartNativeDispatchHooksTransformer;
  2875. if (typeof transformers == "function")
  2876. transformers = [transformers];
  2877. if (Array.isArray(transformers))
  2878. for (i = 0; i < transformers.length; ++i) {
  2879. transformer = transformers[i];
  2880. if (typeof transformer == "function")
  2881. hooks = transformer(hooks) || hooks;
  2882. }
  2883. }
  2884. getTag = hooks.getTag;
  2885. getUnknownTag = hooks.getUnknownTag;
  2886. prototypeForTag = hooks.prototypeForTag;
  2887. $.getTagFunction = new A.initHooks_closure(getTag);
  2888. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2889. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2890. },
  2891. applyHooksTransformer(transformer, hooks) {
  2892. return transformer(hooks) || hooks;
  2893. },
  2894. _RecordN__equalValues(a, b) {
  2895. var i;
  2896. for (i = 0; i < a.length; ++i)
  2897. if (!J.$eq$(a[i], b[i]))
  2898. return false;
  2899. return true;
  2900. },
  2901. createRecordTypePredicate(shape, fieldRtis) {
  2902. var $length = fieldRtis.length,
  2903. $function = init.rttc["" + $length + ";" + shape];
  2904. if ($function == null)
  2905. return null;
  2906. if ($length === 0)
  2907. return $function;
  2908. if ($length === $function.length)
  2909. return $function.apply(null, fieldRtis);
  2910. return $function(fieldRtis);
  2911. },
  2912. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  2913. var m = multiLine ? "m" : "",
  2914. i = caseSensitive ? "" : "i",
  2915. u = unicode ? "u" : "",
  2916. s = dotAll ? "s" : "",
  2917. g = global ? "g" : "",
  2918. regexp = function(source, modifiers) {
  2919. try {
  2920. return new RegExp(source, modifiers);
  2921. } catch (e) {
  2922. return e;
  2923. }
  2924. }(source, m + i + u + s + g);
  2925. if (regexp instanceof RegExp)
  2926. return regexp;
  2927. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2928. },
  2929. stringContainsUnchecked(receiver, other, startIndex) {
  2930. var t1;
  2931. if (typeof other == "string")
  2932. return receiver.indexOf(other, startIndex) >= 0;
  2933. else if (other instanceof A.JSSyntaxRegExp) {
  2934. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2935. return other._nativeRegExp.test(t1);
  2936. } else
  2937. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2938. },
  2939. escapeReplacement(replacement) {
  2940. if (replacement.indexOf("$", 0) >= 0)
  2941. return replacement.replace(/\$/g, "$$$$");
  2942. return replacement;
  2943. },
  2944. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2945. var match = regexp._execGlobal$2(receiver, startIndex);
  2946. if (match == null)
  2947. return receiver;
  2948. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2949. },
  2950. quoteStringForRegExp(string) {
  2951. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2952. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2953. return string;
  2954. },
  2955. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2956. var nativeRegexp;
  2957. if (typeof pattern == "string")
  2958. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2959. if (pattern instanceof A.JSSyntaxRegExp) {
  2960. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2961. nativeRegexp.lastIndex = 0;
  2962. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2963. }
  2964. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2965. },
  2966. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2967. var t1, startIndex, t2, match;
  2968. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2969. match = t1.get$current(t1);
  2970. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2971. startIndex = match.get$end(match);
  2972. }
  2973. t1 = t2 + receiver.substring(startIndex);
  2974. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2975. },
  2976. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2977. var $length, t1, i;
  2978. if (pattern === "") {
  2979. if (receiver === "")
  2980. return replacement;
  2981. $length = receiver.length;
  2982. t1 = "" + replacement;
  2983. for (i = 0; i < $length; ++i)
  2984. t1 = t1 + receiver[i] + replacement;
  2985. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2986. }
  2987. if (receiver.indexOf(pattern, 0) < 0)
  2988. return receiver;
  2989. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  2990. return receiver.split(pattern).join(replacement);
  2991. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  2992. },
  2993. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  2994. var index, t1, matches, match;
  2995. if (typeof pattern == "string") {
  2996. index = receiver.indexOf(pattern, startIndex);
  2997. if (index < 0)
  2998. return receiver;
  2999. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  3000. }
  3001. if (pattern instanceof A.JSSyntaxRegExp)
  3002. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  3003. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  3004. matches = t1.get$iterator(t1);
  3005. if (!matches.moveNext$0())
  3006. return receiver;
  3007. match = matches.get$current(matches);
  3008. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  3009. },
  3010. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  3011. return receiver.substring(0, start) + replacement + receiver.substring(end);
  3012. },
  3013. _Record_1: function _Record_1(t0) {
  3014. this._0 = t0;
  3015. },
  3016. _Record_2: function _Record_2(t0, t1) {
  3017. this._0 = t0;
  3018. this._1 = t1;
  3019. },
  3020. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  3021. this._0 = t0;
  3022. this._1 = t1;
  3023. },
  3024. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  3025. this._0 = t0;
  3026. this._1 = t1;
  3027. },
  3028. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  3029. this._0 = t0;
  3030. this._1 = t1;
  3031. },
  3032. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  3033. this._0 = t0;
  3034. this._1 = t1;
  3035. },
  3036. _Record_3: function _Record_3(t0, t1, t2) {
  3037. this._0 = t0;
  3038. this._1 = t1;
  3039. this._2 = t2;
  3040. },
  3041. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  3042. this._0 = t0;
  3043. this._1 = t1;
  3044. this._2 = t2;
  3045. },
  3046. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  3047. this._0 = t0;
  3048. this._1 = t1;
  3049. this._2 = t2;
  3050. },
  3051. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  3052. this._0 = t0;
  3053. this._1 = t1;
  3054. this._2 = t2;
  3055. },
  3056. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  3057. this._values = t0;
  3058. },
  3059. ConstantMapView: function ConstantMapView(t0, t1) {
  3060. this._map = t0;
  3061. this.$ti = t1;
  3062. },
  3063. ConstantMap: function ConstantMap() {
  3064. },
  3065. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  3066. this._jsIndex = t0;
  3067. this._values = t1;
  3068. this.$ti = t2;
  3069. },
  3070. _KeysOrValues: function _KeysOrValues(t0, t1) {
  3071. this._elements = t0;
  3072. this.$ti = t1;
  3073. },
  3074. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  3075. var _ = this;
  3076. _._elements = t0;
  3077. _.__js_helper$_length = t1;
  3078. _.__js_helper$_index = 0;
  3079. _.__js_helper$_current = null;
  3080. _.$ti = t2;
  3081. },
  3082. ConstantSet: function ConstantSet() {
  3083. },
  3084. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  3085. this._jsIndex = t0;
  3086. this.__js_helper$_length = t1;
  3087. this.$ti = t2;
  3088. },
  3089. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  3090. this._elements = t0;
  3091. this.$ti = t1;
  3092. },
  3093. Instantiation: function Instantiation() {
  3094. },
  3095. Instantiation1: function Instantiation1(t0, t1) {
  3096. this._genericClosure = t0;
  3097. this.$ti = t1;
  3098. },
  3099. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  3100. var _ = this;
  3101. _.__js_helper$_memberName = t0;
  3102. _.__js_helper$_kind = t1;
  3103. _._arguments = t2;
  3104. _._namedArgumentNames = t3;
  3105. _._typeArgumentCount = t4;
  3106. },
  3107. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  3108. this._box_0 = t0;
  3109. this.namedArgumentList = t1;
  3110. this.$arguments = t2;
  3111. },
  3112. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  3113. var _ = this;
  3114. _._pattern = t0;
  3115. _._arguments = t1;
  3116. _._argumentsExpr = t2;
  3117. _._expr = t3;
  3118. _._method = t4;
  3119. _._receiver = t5;
  3120. },
  3121. NullError: function NullError() {
  3122. },
  3123. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  3124. this.__js_helper$_message = t0;
  3125. this._method = t1;
  3126. this._receiver = t2;
  3127. },
  3128. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  3129. this.__js_helper$_message = t0;
  3130. },
  3131. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  3132. this._irritant = t0;
  3133. },
  3134. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  3135. this.dartException = t0;
  3136. this.stackTrace = t1;
  3137. },
  3138. _StackTrace: function _StackTrace(t0) {
  3139. this._exception = t0;
  3140. this._trace = null;
  3141. },
  3142. Closure: function Closure() {
  3143. },
  3144. Closure0Args: function Closure0Args() {
  3145. },
  3146. Closure2Args: function Closure2Args() {
  3147. },
  3148. TearOffClosure: function TearOffClosure() {
  3149. },
  3150. StaticClosure: function StaticClosure() {
  3151. },
  3152. BoundClosure: function BoundClosure(t0, t1) {
  3153. this._receiver = t0;
  3154. this._interceptor = t1;
  3155. },
  3156. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  3157. this.variableName = t0;
  3158. },
  3159. RuntimeError: function RuntimeError(t0) {
  3160. this.message = t0;
  3161. },
  3162. _Required: function _Required() {
  3163. },
  3164. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3165. var _ = this;
  3166. _.__js_helper$_length = 0;
  3167. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3168. _.__js_helper$_modifications = 0;
  3169. _.$ti = t0;
  3170. },
  3171. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  3172. this.$this = t0;
  3173. },
  3174. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3175. this.$this = t0;
  3176. },
  3177. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3178. var _ = this;
  3179. _.hashMapCellKey = t0;
  3180. _.hashMapCellValue = t1;
  3181. _.__js_helper$_previous = _.__js_helper$_next = null;
  3182. },
  3183. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  3184. this.__js_helper$_map = t0;
  3185. this.$ti = t1;
  3186. },
  3187. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  3188. var _ = this;
  3189. _.__js_helper$_map = t0;
  3190. _.__js_helper$_modifications = t1;
  3191. _.__js_helper$_current = _.__js_helper$_cell = null;
  3192. },
  3193. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3194. var _ = this;
  3195. _.__js_helper$_length = 0;
  3196. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3197. _.__js_helper$_modifications = 0;
  3198. _.$ti = t0;
  3199. },
  3200. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3201. var _ = this;
  3202. _.__js_helper$_length = 0;
  3203. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3204. _.__js_helper$_modifications = 0;
  3205. _.$ti = t0;
  3206. },
  3207. initHooks_closure: function initHooks_closure(t0) {
  3208. this.getTag = t0;
  3209. },
  3210. initHooks_closure0: function initHooks_closure0(t0) {
  3211. this.getUnknownTag = t0;
  3212. },
  3213. initHooks_closure1: function initHooks_closure1(t0) {
  3214. this.prototypeForTag = t0;
  3215. },
  3216. _Record: function _Record() {
  3217. },
  3218. _Record2: function _Record2() {
  3219. },
  3220. _Record1: function _Record1() {
  3221. },
  3222. _Record3: function _Record3() {
  3223. },
  3224. _RecordN: function _RecordN() {
  3225. },
  3226. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3227. var _ = this;
  3228. _.pattern = t0;
  3229. _._nativeRegExp = t1;
  3230. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3231. },
  3232. _MatchImplementation: function _MatchImplementation(t0) {
  3233. this._match = t0;
  3234. },
  3235. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3236. this._re = t0;
  3237. this.__js_helper$_string = t1;
  3238. this.__js_helper$_start = t2;
  3239. },
  3240. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3241. var _ = this;
  3242. _._regExp = t0;
  3243. _.__js_helper$_string = t1;
  3244. _._nextIndex = t2;
  3245. _.__js_helper$_current = null;
  3246. },
  3247. StringMatch: function StringMatch(t0, t1) {
  3248. this.start = t0;
  3249. this.pattern = t1;
  3250. },
  3251. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3252. this._input = t0;
  3253. this._pattern = t1;
  3254. this.__js_helper$_index = t2;
  3255. },
  3256. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3257. var _ = this;
  3258. _._input = t0;
  3259. _._pattern = t1;
  3260. _.__js_helper$_index = t2;
  3261. _.__js_helper$_current = null;
  3262. },
  3263. throwLateFieldADI(fieldName) {
  3264. A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error());
  3265. },
  3266. throwUnnamedLateFieldNI() {
  3267. A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error());
  3268. },
  3269. throwUnnamedLateFieldAI() {
  3270. A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error());
  3271. },
  3272. throwUnnamedLateFieldADI() {
  3273. A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), new Error());
  3274. },
  3275. _Cell$() {
  3276. var t1 = new A._Cell();
  3277. return t1.__late_helper$_value = t1;
  3278. },
  3279. _Cell: function _Cell() {
  3280. this.__late_helper$_value = null;
  3281. },
  3282. _ensureNativeList(list) {
  3283. return list;
  3284. },
  3285. NativeInt8List__create1(arg) {
  3286. return new Int8Array(arg);
  3287. },
  3288. NativeUint8List_NativeUint8List($length) {
  3289. return new Uint8Array($length);
  3290. },
  3291. _checkValidIndex(index, list, $length) {
  3292. if (index >>> 0 !== index || index >= $length)
  3293. throw A.wrapException(A.diagnoseIndexError(list, index));
  3294. },
  3295. _checkValidRange(start, end, $length) {
  3296. var t1;
  3297. if (!(start >>> 0 !== start))
  3298. if (end == null)
  3299. t1 = start > $length;
  3300. else
  3301. t1 = end >>> 0 !== end || start > end || end > $length;
  3302. else
  3303. t1 = true;
  3304. if (t1)
  3305. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3306. if (end == null)
  3307. return $length;
  3308. return end;
  3309. },
  3310. NativeByteBuffer: function NativeByteBuffer() {
  3311. },
  3312. NativeTypedData: function NativeTypedData() {
  3313. },
  3314. NativeByteData: function NativeByteData() {
  3315. },
  3316. NativeTypedArray: function NativeTypedArray() {
  3317. },
  3318. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3319. },
  3320. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3321. },
  3322. NativeFloat32List: function NativeFloat32List() {
  3323. },
  3324. NativeFloat64List: function NativeFloat64List() {
  3325. },
  3326. NativeInt16List: function NativeInt16List() {
  3327. },
  3328. NativeInt32List: function NativeInt32List() {
  3329. },
  3330. NativeInt8List: function NativeInt8List() {
  3331. },
  3332. NativeUint16List: function NativeUint16List() {
  3333. },
  3334. NativeUint32List: function NativeUint32List() {
  3335. },
  3336. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3337. },
  3338. NativeUint8List: function NativeUint8List() {
  3339. },
  3340. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3341. },
  3342. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3343. },
  3344. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3345. },
  3346. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3347. },
  3348. Rti__getQuestionFromStar(universe, rti) {
  3349. var question = rti._precomputed1;
  3350. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  3351. },
  3352. Rti__getFutureFromFutureOr(universe, rti) {
  3353. var future = rti._precomputed1;
  3354. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3355. },
  3356. Rti__isUnionOfFunctionType(rti) {
  3357. var kind = rti._kind;
  3358. if (kind === 6 || kind === 7 || kind === 8)
  3359. return A.Rti__isUnionOfFunctionType(rti._primary);
  3360. return kind === 12 || kind === 13;
  3361. },
  3362. Rti__getCanonicalRecipe(rti) {
  3363. return rti._canonicalRecipe;
  3364. },
  3365. pairwiseIsTest(fieldRtis, values) {
  3366. var i,
  3367. $length = values.length;
  3368. for (i = 0; i < $length; ++i)
  3369. if (!fieldRtis[i]._is(values[i]))
  3370. return false;
  3371. return true;
  3372. },
  3373. findType(recipe) {
  3374. return A._Universe_eval(init.typeUniverse, recipe, false);
  3375. },
  3376. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3377. var t1, cache, key, probe, rti;
  3378. if (genericFunctionRti == null)
  3379. return null;
  3380. t1 = instantiationRti._rest;
  3381. cache = genericFunctionRti._bindCache;
  3382. if (cache == null)
  3383. cache = genericFunctionRti._bindCache = new Map();
  3384. key = instantiationRti._canonicalRecipe;
  3385. probe = cache.get(key);
  3386. if (probe != null)
  3387. return probe;
  3388. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3389. cache.set(key, rti);
  3390. return rti;
  3391. },
  3392. _substitute(universe, rti, typeArguments, depth) {
  3393. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3394. kind = rti._kind;
  3395. switch (kind) {
  3396. case 5:
  3397. case 1:
  3398. case 2:
  3399. case 3:
  3400. case 4:
  3401. return rti;
  3402. case 6:
  3403. baseType = rti._primary;
  3404. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3405. if (substitutedBaseType === baseType)
  3406. return rti;
  3407. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  3408. case 7:
  3409. baseType = rti._primary;
  3410. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3411. if (substitutedBaseType === baseType)
  3412. return rti;
  3413. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3414. case 8:
  3415. baseType = rti._primary;
  3416. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3417. if (substitutedBaseType === baseType)
  3418. return rti;
  3419. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3420. case 9:
  3421. interfaceTypeArguments = rti._rest;
  3422. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3423. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3424. return rti;
  3425. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3426. case 10:
  3427. base = rti._primary;
  3428. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3429. $arguments = rti._rest;
  3430. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3431. if (substitutedBase === base && substitutedArguments === $arguments)
  3432. return rti;
  3433. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3434. case 11:
  3435. t1 = rti._primary;
  3436. fields = rti._rest;
  3437. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3438. if (substitutedFields === fields)
  3439. return rti;
  3440. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3441. case 12:
  3442. returnType = rti._primary;
  3443. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3444. functionParameters = rti._rest;
  3445. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3446. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3447. return rti;
  3448. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3449. case 13:
  3450. bounds = rti._rest;
  3451. depth += bounds.length;
  3452. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3453. base = rti._primary;
  3454. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3455. if (substitutedBounds === bounds && substitutedBase === base)
  3456. return rti;
  3457. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3458. case 14:
  3459. index = rti._primary;
  3460. if (index < depth)
  3461. return rti;
  3462. argument = typeArguments[index - depth];
  3463. if (argument == null)
  3464. return rti;
  3465. return argument;
  3466. default:
  3467. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3468. }
  3469. },
  3470. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3471. var changed, i, rti, substitutedRti,
  3472. $length = rtiArray.length,
  3473. result = A._Utils_newArrayOrEmpty($length);
  3474. for (changed = false, i = 0; i < $length; ++i) {
  3475. rti = rtiArray[i];
  3476. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3477. if (substitutedRti !== rti)
  3478. changed = true;
  3479. result[i] = substitutedRti;
  3480. }
  3481. return changed ? result : rtiArray;
  3482. },
  3483. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3484. var changed, i, t1, t2, rti, substitutedRti,
  3485. $length = namedArray.length,
  3486. result = A._Utils_newArrayOrEmpty($length);
  3487. for (changed = false, i = 0; i < $length; i += 3) {
  3488. t1 = namedArray[i];
  3489. t2 = namedArray[i + 1];
  3490. rti = namedArray[i + 2];
  3491. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3492. if (substitutedRti !== rti)
  3493. changed = true;
  3494. result.splice(i, 3, t1, t2, substitutedRti);
  3495. }
  3496. return changed ? result : namedArray;
  3497. },
  3498. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3499. var result,
  3500. requiredPositional = functionParameters._requiredPositional,
  3501. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3502. optionalPositional = functionParameters._optionalPositional,
  3503. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3504. named = functionParameters._named,
  3505. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3506. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3507. return functionParameters;
  3508. result = new A._FunctionParameters();
  3509. result._requiredPositional = substitutedRequiredPositional;
  3510. result._optionalPositional = substitutedOptionalPositional;
  3511. result._named = substitutedNamed;
  3512. return result;
  3513. },
  3514. _setArrayType(target, rti) {
  3515. target[init.arrayRti] = rti;
  3516. return target;
  3517. },
  3518. closureFunctionType(closure) {
  3519. var signature = closure.$signature;
  3520. if (signature != null) {
  3521. if (typeof signature == "number")
  3522. return A.getTypeFromTypesTable(signature);
  3523. return closure.$signature();
  3524. }
  3525. return null;
  3526. },
  3527. instanceOrFunctionType(object, testRti) {
  3528. var rti;
  3529. if (A.Rti__isUnionOfFunctionType(testRti))
  3530. if (object instanceof A.Closure) {
  3531. rti = A.closureFunctionType(object);
  3532. if (rti != null)
  3533. return rti;
  3534. }
  3535. return A.instanceType(object);
  3536. },
  3537. instanceType(object) {
  3538. if (object instanceof A.Object)
  3539. return A._instanceType(object);
  3540. if (Array.isArray(object))
  3541. return A._arrayInstanceType(object);
  3542. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3543. },
  3544. _arrayInstanceType(object) {
  3545. var rti = object[init.arrayRti],
  3546. defaultRti = type$.JSArray_dynamic;
  3547. if (rti == null)
  3548. return defaultRti;
  3549. if (rti.constructor !== defaultRti.constructor)
  3550. return defaultRti;
  3551. return rti;
  3552. },
  3553. _instanceType(object) {
  3554. var rti = object.$ti;
  3555. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3556. },
  3557. _instanceTypeFromConstructor(instance) {
  3558. var $constructor = instance.constructor,
  3559. probe = $constructor.$ccache;
  3560. if (probe != null)
  3561. return probe;
  3562. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3563. },
  3564. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3565. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3566. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3567. $constructor.$ccache = rti;
  3568. return rti;
  3569. },
  3570. getTypeFromTypesTable(index) {
  3571. var rti,
  3572. table = init.types,
  3573. type = table[index];
  3574. if (typeof type == "string") {
  3575. rti = A._Universe_eval(init.typeUniverse, type, false);
  3576. table[index] = rti;
  3577. return rti;
  3578. }
  3579. return type;
  3580. },
  3581. getRuntimeTypeOfDartObject(object) {
  3582. return A.createRuntimeType(A._instanceType(object));
  3583. },
  3584. getRuntimeTypeOfClosure(closure) {
  3585. var rti = A.closureFunctionType(closure);
  3586. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3587. },
  3588. _structuralTypeOf(object) {
  3589. var functionRti;
  3590. if (object instanceof A._Record)
  3591. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3592. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3593. if (functionRti != null)
  3594. return functionRti;
  3595. if (type$.TrustedGetRuntimeType._is(object))
  3596. return J.get$runtimeType$(object)._rti;
  3597. if (Array.isArray(object))
  3598. return A._arrayInstanceType(object);
  3599. return A.instanceType(object);
  3600. },
  3601. createRuntimeType(rti) {
  3602. var t1 = rti._cachedRuntimeType;
  3603. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  3604. },
  3605. _createRuntimeType(rti) {
  3606. var starErasedRti, t1,
  3607. s = rti._canonicalRecipe,
  3608. starErasedRecipe = s.replace(/\*/g, "");
  3609. if (starErasedRecipe === s)
  3610. return rti._cachedRuntimeType = new A._Type(rti);
  3611. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  3612. t1 = starErasedRti._cachedRuntimeType;
  3613. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  3614. },
  3615. evaluateRtiForRecord(recordRecipe, valuesList) {
  3616. var bindings, i,
  3617. values = valuesList,
  3618. $length = values.length;
  3619. if ($length === 0)
  3620. return type$.Record_0;
  3621. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3622. for (i = 1; i < $length; ++i)
  3623. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3624. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3625. },
  3626. typeLiteral(recipe) {
  3627. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3628. },
  3629. _installSpecializedIsTest(object) {
  3630. var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this;
  3631. if (testRti === type$.Object)
  3632. return A._finishIsFn(testRti, object, A._isObject);
  3633. if (!A.isSoundTopType(testRti))
  3634. t1 = testRti === type$.legacy_Object;
  3635. else
  3636. t1 = true;
  3637. if (t1)
  3638. return A._finishIsFn(testRti, object, A._isTop);
  3639. t1 = testRti._kind;
  3640. if (t1 === 7)
  3641. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3642. if (t1 === 1)
  3643. return A._finishIsFn(testRti, object, A._isNever);
  3644. unstarred = t1 === 6 ? testRti._primary : testRti;
  3645. unstarredKind = unstarred._kind;
  3646. if (unstarredKind === 8)
  3647. return A._finishIsFn(testRti, object, A._isFutureOr);
  3648. if (unstarred === type$.int)
  3649. isFn = A._isInt;
  3650. else if (unstarred === type$.double || unstarred === type$.num)
  3651. isFn = A._isNum;
  3652. else if (unstarred === type$.String)
  3653. isFn = A._isString;
  3654. else
  3655. isFn = unstarred === type$.bool ? A._isBool : null;
  3656. if (isFn != null)
  3657. return A._finishIsFn(testRti, object, isFn);
  3658. if (unstarredKind === 9) {
  3659. $name = unstarred._primary;
  3660. if (unstarred._rest.every(A.isDefinitelyTopType)) {
  3661. testRti._specializedTestResource = "$is" + $name;
  3662. if ($name === "List")
  3663. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3664. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3665. }
  3666. } else if (unstarredKind === 11) {
  3667. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  3668. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3669. }
  3670. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3671. },
  3672. _finishIsFn(testRti, object, isFn) {
  3673. testRti._is = isFn;
  3674. return testRti._is(object);
  3675. },
  3676. _installSpecializedAsCheck(object) {
  3677. var t1, testRti = this,
  3678. asFn = A._generalAsCheckImplementation;
  3679. if (!A.isSoundTopType(testRti))
  3680. t1 = testRti === type$.legacy_Object;
  3681. else
  3682. t1 = true;
  3683. if (t1)
  3684. asFn = A._asTop;
  3685. else if (testRti === type$.Object)
  3686. asFn = A._asObject;
  3687. else {
  3688. t1 = A.isNullable(testRti);
  3689. if (t1)
  3690. asFn = A._generalNullableAsCheckImplementation;
  3691. }
  3692. testRti._as = asFn;
  3693. return testRti._as(object);
  3694. },
  3695. _nullIs(testRti) {
  3696. var kind = testRti._kind,
  3697. t1 = true;
  3698. if (!A.isSoundTopType(testRti))
  3699. if (!(testRti === type$.legacy_Object))
  3700. if (!(testRti === type$.legacy_Never))
  3701. if (kind !== 7)
  3702. if (!(kind === 6 && A._nullIs(testRti._primary)))
  3703. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  3704. return t1;
  3705. },
  3706. _generalIsTestImplementation(object) {
  3707. var testRti = this;
  3708. if (object == null)
  3709. return A._nullIs(testRti);
  3710. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3711. },
  3712. _generalNullableIsTestImplementation(object) {
  3713. if (object == null)
  3714. return true;
  3715. return this._primary._is(object);
  3716. },
  3717. _isTestViaProperty(object) {
  3718. var tag, testRti = this;
  3719. if (object == null)
  3720. return A._nullIs(testRti);
  3721. tag = testRti._specializedTestResource;
  3722. if (object instanceof A.Object)
  3723. return !!object[tag];
  3724. return !!J.getInterceptor$(object)[tag];
  3725. },
  3726. _isListTestViaProperty(object) {
  3727. var tag, testRti = this;
  3728. if (object == null)
  3729. return A._nullIs(testRti);
  3730. if (typeof object != "object")
  3731. return false;
  3732. if (Array.isArray(object))
  3733. return true;
  3734. tag = testRti._specializedTestResource;
  3735. if (object instanceof A.Object)
  3736. return !!object[tag];
  3737. return !!J.getInterceptor$(object)[tag];
  3738. },
  3739. _generalAsCheckImplementation(object) {
  3740. var testRti = this;
  3741. if (object == null) {
  3742. if (A.isNullable(testRti))
  3743. return object;
  3744. } else if (testRti._is(object))
  3745. return object;
  3746. A._failedAsCheck(object, testRti);
  3747. },
  3748. _generalNullableAsCheckImplementation(object) {
  3749. var testRti = this;
  3750. if (object == null)
  3751. return object;
  3752. else if (testRti._is(object))
  3753. return object;
  3754. A._failedAsCheck(object, testRti);
  3755. },
  3756. _failedAsCheck(object, testRti) {
  3757. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  3758. },
  3759. _Error_compose(object, checkedTypeDescription) {
  3760. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3761. },
  3762. _TypeError$fromMessage(message) {
  3763. return new A._TypeError("TypeError: " + message);
  3764. },
  3765. _TypeError__TypeError$forType(object, type) {
  3766. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3767. },
  3768. _isFutureOr(object) {
  3769. var testRti = this,
  3770. unstarred = testRti._kind === 6 ? testRti._primary : testRti;
  3771. return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object);
  3772. },
  3773. _isObject(object) {
  3774. return object != null;
  3775. },
  3776. _asObject(object) {
  3777. if (object != null)
  3778. return object;
  3779. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  3780. },
  3781. _isTop(object) {
  3782. return true;
  3783. },
  3784. _asTop(object) {
  3785. return object;
  3786. },
  3787. _isNever(object) {
  3788. return false;
  3789. },
  3790. _isBool(object) {
  3791. return true === object || false === object;
  3792. },
  3793. _asBool(object) {
  3794. if (true === object)
  3795. return true;
  3796. if (false === object)
  3797. return false;
  3798. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3799. },
  3800. _asBoolS(object) {
  3801. if (true === object)
  3802. return true;
  3803. if (false === object)
  3804. return false;
  3805. if (object == null)
  3806. return object;
  3807. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3808. },
  3809. _asBoolQ(object) {
  3810. if (true === object)
  3811. return true;
  3812. if (false === object)
  3813. return false;
  3814. if (object == null)
  3815. return object;
  3816. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  3817. },
  3818. _asDouble(object) {
  3819. if (typeof object == "number")
  3820. return object;
  3821. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3822. },
  3823. _asDoubleS(object) {
  3824. if (typeof object == "number")
  3825. return object;
  3826. if (object == null)
  3827. return object;
  3828. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3829. },
  3830. _asDoubleQ(object) {
  3831. if (typeof object == "number")
  3832. return object;
  3833. if (object == null)
  3834. return object;
  3835. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  3836. },
  3837. _isInt(object) {
  3838. return typeof object == "number" && Math.floor(object) === object;
  3839. },
  3840. _asInt(object) {
  3841. if (typeof object == "number" && Math.floor(object) === object)
  3842. return object;
  3843. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3844. },
  3845. _asIntS(object) {
  3846. if (typeof object == "number" && Math.floor(object) === object)
  3847. return object;
  3848. if (object == null)
  3849. return object;
  3850. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3851. },
  3852. _asIntQ(object) {
  3853. if (typeof object == "number" && Math.floor(object) === object)
  3854. return object;
  3855. if (object == null)
  3856. return object;
  3857. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  3858. },
  3859. _isNum(object) {
  3860. return typeof object == "number";
  3861. },
  3862. _asNum(object) {
  3863. if (typeof object == "number")
  3864. return object;
  3865. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3866. },
  3867. _asNumS(object) {
  3868. if (typeof object == "number")
  3869. return object;
  3870. if (object == null)
  3871. return object;
  3872. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3873. },
  3874. _asNumQ(object) {
  3875. if (typeof object == "number")
  3876. return object;
  3877. if (object == null)
  3878. return object;
  3879. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  3880. },
  3881. _isString(object) {
  3882. return typeof object == "string";
  3883. },
  3884. _asString(object) {
  3885. if (typeof object == "string")
  3886. return object;
  3887. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3888. },
  3889. _asStringS(object) {
  3890. if (typeof object == "string")
  3891. return object;
  3892. if (object == null)
  3893. return object;
  3894. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3895. },
  3896. _asStringQ(object) {
  3897. if (typeof object == "string")
  3898. return object;
  3899. if (object == null)
  3900. return object;
  3901. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  3902. },
  3903. _rtiArrayToString(array, genericContext) {
  3904. var s, sep, i;
  3905. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3906. s += sep + A._rtiToString(array[i], genericContext);
  3907. return s;
  3908. },
  3909. _recordRtiToString(recordType, genericContext) {
  3910. var fieldCount, names, namesIndex, s, comma, i,
  3911. partialShape = recordType._primary,
  3912. fields = recordType._rest;
  3913. if ("" === partialShape)
  3914. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3915. fieldCount = fields.length;
  3916. names = partialShape.split(",");
  3917. namesIndex = names.length - fieldCount;
  3918. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3919. s += comma;
  3920. if (namesIndex === 0)
  3921. s += "{";
  3922. s += A._rtiToString(fields[i], genericContext);
  3923. if (namesIndex >= 0)
  3924. s += " " + names[namesIndex];
  3925. ++namesIndex;
  3926. }
  3927. return s + "})";
  3928. },
  3929. _functionRtiToString(functionType, genericContext, bounds) {
  3930. var boundsLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
  3931. if (bounds != null) {
  3932. boundsLength = bounds.length;
  3933. if (genericContext == null)
  3934. genericContext = A._setArrayType([], type$.JSArray_String);
  3935. else
  3936. outerContextLength = genericContext.length;
  3937. offset = genericContext.length;
  3938. for (i = boundsLength; i > 0; --i)
  3939. genericContext.push("T" + (offset + i));
  3940. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3941. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  3942. boundRti = bounds[i];
  3943. kind = boundRti._kind;
  3944. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3945. t3 = boundRti === t2;
  3946. else
  3947. t3 = true;
  3948. if (!t3)
  3949. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3950. }
  3951. typeParametersText += ">";
  3952. } else
  3953. typeParametersText = "";
  3954. t1 = functionType._primary;
  3955. parameters = functionType._rest;
  3956. requiredPositional = parameters._requiredPositional;
  3957. requiredPositionalLength = requiredPositional.length;
  3958. optionalPositional = parameters._optionalPositional;
  3959. optionalPositionalLength = optionalPositional.length;
  3960. named = parameters._named;
  3961. namedLength = named.length;
  3962. returnTypeText = A._rtiToString(t1, genericContext);
  3963. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3964. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3965. if (optionalPositionalLength > 0) {
  3966. argumentsText += sep + "[";
  3967. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3968. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3969. argumentsText += "]";
  3970. }
  3971. if (namedLength > 0) {
  3972. argumentsText += sep + "{";
  3973. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3974. argumentsText += sep;
  3975. if (named[i + 1])
  3976. argumentsText += "required ";
  3977. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3978. }
  3979. argumentsText += "}";
  3980. }
  3981. if (outerContextLength != null) {
  3982. genericContext.toString;
  3983. genericContext.length = outerContextLength;
  3984. }
  3985. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  3986. },
  3987. _rtiToString(rti, genericContext) {
  3988. var questionArgument, s, argumentKind, $name, $arguments, t1,
  3989. kind = rti._kind;
  3990. if (kind === 5)
  3991. return "erased";
  3992. if (kind === 2)
  3993. return "dynamic";
  3994. if (kind === 3)
  3995. return "void";
  3996. if (kind === 1)
  3997. return "Never";
  3998. if (kind === 4)
  3999. return "any";
  4000. if (kind === 6)
  4001. return A._rtiToString(rti._primary, genericContext);
  4002. if (kind === 7) {
  4003. questionArgument = rti._primary;
  4004. s = A._rtiToString(questionArgument, genericContext);
  4005. argumentKind = questionArgument._kind;
  4006. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  4007. }
  4008. if (kind === 8)
  4009. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  4010. if (kind === 9) {
  4011. $name = A._unminifyOrTag(rti._primary);
  4012. $arguments = rti._rest;
  4013. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  4014. }
  4015. if (kind === 11)
  4016. return A._recordRtiToString(rti, genericContext);
  4017. if (kind === 12)
  4018. return A._functionRtiToString(rti, genericContext, null);
  4019. if (kind === 13)
  4020. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  4021. if (kind === 14) {
  4022. t1 = rti._primary;
  4023. return genericContext[genericContext.length - 1 - t1];
  4024. }
  4025. return "?";
  4026. },
  4027. _unminifyOrTag(rawClassName) {
  4028. var preserved = init.mangledGlobalNames[rawClassName];
  4029. if (preserved != null)
  4030. return preserved;
  4031. return rawClassName;
  4032. },
  4033. _Universe_findRule(universe, targetType) {
  4034. var rule = universe.tR[targetType];
  4035. for (; typeof rule == "string";)
  4036. rule = universe.tR[rule];
  4037. return rule;
  4038. },
  4039. _Universe_findErasedType(universe, cls) {
  4040. var $length, erased, $arguments, i, $interface,
  4041. t1 = universe.eT,
  4042. probe = t1[cls];
  4043. if (probe == null)
  4044. return A._Universe_eval(universe, cls, false);
  4045. else if (typeof probe == "number") {
  4046. $length = probe;
  4047. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  4048. $arguments = A._Utils_newArrayOrEmpty($length);
  4049. for (i = 0; i < $length; ++i)
  4050. $arguments[i] = erased;
  4051. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  4052. t1[cls] = $interface;
  4053. return $interface;
  4054. } else
  4055. return probe;
  4056. },
  4057. _Universe_addRules(universe, rules) {
  4058. return A._Utils_objectAssign(universe.tR, rules);
  4059. },
  4060. _Universe_addErasedTypes(universe, types) {
  4061. return A._Utils_objectAssign(universe.eT, types);
  4062. },
  4063. _Universe_eval(universe, recipe, normalize) {
  4064. var rti,
  4065. t1 = universe.eC,
  4066. probe = t1.get(recipe);
  4067. if (probe != null)
  4068. return probe;
  4069. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  4070. t1.set(recipe, rti);
  4071. return rti;
  4072. },
  4073. _Universe_evalInEnvironment(universe, environment, recipe) {
  4074. var probe, rti,
  4075. cache = environment._evalCache;
  4076. if (cache == null)
  4077. cache = environment._evalCache = new Map();
  4078. probe = cache.get(recipe);
  4079. if (probe != null)
  4080. return probe;
  4081. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  4082. cache.set(recipe, rti);
  4083. return rti;
  4084. },
  4085. _Universe_bind(universe, environment, argumentsRti) {
  4086. var argumentsRecipe, probe, rti,
  4087. cache = environment._bindCache;
  4088. if (cache == null)
  4089. cache = environment._bindCache = new Map();
  4090. argumentsRecipe = argumentsRti._canonicalRecipe;
  4091. probe = cache.get(argumentsRecipe);
  4092. if (probe != null)
  4093. return probe;
  4094. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  4095. cache.set(argumentsRecipe, rti);
  4096. return rti;
  4097. },
  4098. _Universe__installTypeTests(universe, rti) {
  4099. rti._as = A._installSpecializedAsCheck;
  4100. rti._is = A._installSpecializedIsTest;
  4101. return rti;
  4102. },
  4103. _Universe__lookupTerminalRti(universe, kind, key) {
  4104. var rti, t1,
  4105. probe = universe.eC.get(key);
  4106. if (probe != null)
  4107. return probe;
  4108. rti = new A.Rti(null, null);
  4109. rti._kind = kind;
  4110. rti._canonicalRecipe = key;
  4111. t1 = A._Universe__installTypeTests(universe, rti);
  4112. universe.eC.set(key, t1);
  4113. return t1;
  4114. },
  4115. _Universe__lookupStarRti(universe, baseType, normalize) {
  4116. var t1,
  4117. key = baseType._canonicalRecipe + "*",
  4118. probe = universe.eC.get(key);
  4119. if (probe != null)
  4120. return probe;
  4121. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  4122. universe.eC.set(key, t1);
  4123. return t1;
  4124. },
  4125. _Universe__createStarRti(universe, baseType, key, normalize) {
  4126. var baseKind, t1, rti;
  4127. if (normalize) {
  4128. baseKind = baseType._kind;
  4129. if (!A.isSoundTopType(baseType))
  4130. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  4131. else
  4132. t1 = true;
  4133. if (t1)
  4134. return baseType;
  4135. }
  4136. rti = new A.Rti(null, null);
  4137. rti._kind = 6;
  4138. rti._primary = baseType;
  4139. rti._canonicalRecipe = key;
  4140. return A._Universe__installTypeTests(universe, rti);
  4141. },
  4142. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4143. var t1,
  4144. key = baseType._canonicalRecipe + "?",
  4145. probe = universe.eC.get(key);
  4146. if (probe != null)
  4147. return probe;
  4148. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4149. universe.eC.set(key, t1);
  4150. return t1;
  4151. },
  4152. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4153. var baseKind, t1, starArgument, rti;
  4154. if (normalize) {
  4155. baseKind = baseType._kind;
  4156. t1 = true;
  4157. if (!A.isSoundTopType(baseType))
  4158. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4159. if (baseKind !== 7)
  4160. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  4161. if (t1)
  4162. return baseType;
  4163. else if (baseKind === 1 || baseType === type$.legacy_Never)
  4164. return type$.Null;
  4165. else if (baseKind === 6) {
  4166. starArgument = baseType._primary;
  4167. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  4168. return starArgument;
  4169. else
  4170. return A.Rti__getQuestionFromStar(universe, baseType);
  4171. }
  4172. }
  4173. rti = new A.Rti(null, null);
  4174. rti._kind = 7;
  4175. rti._primary = baseType;
  4176. rti._canonicalRecipe = key;
  4177. return A._Universe__installTypeTests(universe, rti);
  4178. },
  4179. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4180. var t1,
  4181. key = baseType._canonicalRecipe + "/",
  4182. probe = universe.eC.get(key);
  4183. if (probe != null)
  4184. return probe;
  4185. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4186. universe.eC.set(key, t1);
  4187. return t1;
  4188. },
  4189. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4190. var t1, rti;
  4191. if (normalize) {
  4192. t1 = baseType._kind;
  4193. if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object)
  4194. return baseType;
  4195. else if (t1 === 1)
  4196. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4197. else if (baseType === type$.Null || baseType === type$.JSNull)
  4198. return type$.nullable_Future_Null;
  4199. }
  4200. rti = new A.Rti(null, null);
  4201. rti._kind = 8;
  4202. rti._primary = baseType;
  4203. rti._canonicalRecipe = key;
  4204. return A._Universe__installTypeTests(universe, rti);
  4205. },
  4206. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4207. var rti, t1,
  4208. key = "" + index + "^",
  4209. probe = universe.eC.get(key);
  4210. if (probe != null)
  4211. return probe;
  4212. rti = new A.Rti(null, null);
  4213. rti._kind = 14;
  4214. rti._primary = index;
  4215. rti._canonicalRecipe = key;
  4216. t1 = A._Universe__installTypeTests(universe, rti);
  4217. universe.eC.set(key, t1);
  4218. return t1;
  4219. },
  4220. _Universe__canonicalRecipeJoin($arguments) {
  4221. var s, sep, i,
  4222. $length = $arguments.length;
  4223. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4224. s += sep + $arguments[i]._canonicalRecipe;
  4225. return s;
  4226. },
  4227. _Universe__canonicalRecipeJoinNamed($arguments) {
  4228. var s, sep, i, t1, nameSep,
  4229. $length = $arguments.length;
  4230. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4231. t1 = $arguments[i];
  4232. nameSep = $arguments[i + 1] ? "!" : ":";
  4233. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4234. }
  4235. return s;
  4236. },
  4237. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4238. var probe, rti, t1,
  4239. s = $name;
  4240. if ($arguments.length > 0)
  4241. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4242. probe = universe.eC.get(s);
  4243. if (probe != null)
  4244. return probe;
  4245. rti = new A.Rti(null, null);
  4246. rti._kind = 9;
  4247. rti._primary = $name;
  4248. rti._rest = $arguments;
  4249. if ($arguments.length > 0)
  4250. rti._precomputed1 = $arguments[0];
  4251. rti._canonicalRecipe = s;
  4252. t1 = A._Universe__installTypeTests(universe, rti);
  4253. universe.eC.set(s, t1);
  4254. return t1;
  4255. },
  4256. _Universe__lookupBindingRti(universe, base, $arguments) {
  4257. var newBase, newArguments, key, probe, rti, t1;
  4258. if (base._kind === 10) {
  4259. newBase = base._primary;
  4260. newArguments = base._rest.concat($arguments);
  4261. } else {
  4262. newArguments = $arguments;
  4263. newBase = base;
  4264. }
  4265. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4266. probe = universe.eC.get(key);
  4267. if (probe != null)
  4268. return probe;
  4269. rti = new A.Rti(null, null);
  4270. rti._kind = 10;
  4271. rti._primary = newBase;
  4272. rti._rest = newArguments;
  4273. rti._canonicalRecipe = key;
  4274. t1 = A._Universe__installTypeTests(universe, rti);
  4275. universe.eC.set(key, t1);
  4276. return t1;
  4277. },
  4278. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4279. var rti, t1,
  4280. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4281. probe = universe.eC.get(key);
  4282. if (probe != null)
  4283. return probe;
  4284. rti = new A.Rti(null, null);
  4285. rti._kind = 11;
  4286. rti._primary = partialShapeTag;
  4287. rti._rest = fields;
  4288. rti._canonicalRecipe = key;
  4289. t1 = A._Universe__installTypeTests(universe, rti);
  4290. universe.eC.set(key, t1);
  4291. return t1;
  4292. },
  4293. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4294. var sep, key, probe, rti, t1,
  4295. s = returnType._canonicalRecipe,
  4296. requiredPositional = parameters._requiredPositional,
  4297. requiredPositionalLength = requiredPositional.length,
  4298. optionalPositional = parameters._optionalPositional,
  4299. optionalPositionalLength = optionalPositional.length,
  4300. named = parameters._named,
  4301. namedLength = named.length,
  4302. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4303. if (optionalPositionalLength > 0) {
  4304. sep = requiredPositionalLength > 0 ? "," : "";
  4305. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4306. }
  4307. if (namedLength > 0) {
  4308. sep = requiredPositionalLength > 0 ? "," : "";
  4309. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4310. }
  4311. key = s + (recipe + ")");
  4312. probe = universe.eC.get(key);
  4313. if (probe != null)
  4314. return probe;
  4315. rti = new A.Rti(null, null);
  4316. rti._kind = 12;
  4317. rti._primary = returnType;
  4318. rti._rest = parameters;
  4319. rti._canonicalRecipe = key;
  4320. t1 = A._Universe__installTypeTests(universe, rti);
  4321. universe.eC.set(key, t1);
  4322. return t1;
  4323. },
  4324. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4325. var t1,
  4326. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4327. probe = universe.eC.get(key);
  4328. if (probe != null)
  4329. return probe;
  4330. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4331. universe.eC.set(key, t1);
  4332. return t1;
  4333. },
  4334. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4335. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4336. if (normalize) {
  4337. $length = bounds.length;
  4338. typeArguments = A._Utils_newArrayOrEmpty($length);
  4339. for (count = 0, i = 0; i < $length; ++i) {
  4340. bound = bounds[i];
  4341. if (bound._kind === 1) {
  4342. typeArguments[i] = bound;
  4343. ++count;
  4344. }
  4345. }
  4346. if (count > 0) {
  4347. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4348. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4349. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4350. }
  4351. }
  4352. rti = new A.Rti(null, null);
  4353. rti._kind = 13;
  4354. rti._primary = baseFunctionType;
  4355. rti._rest = bounds;
  4356. rti._canonicalRecipe = key;
  4357. return A._Universe__installTypeTests(universe, rti);
  4358. },
  4359. _Parser_create(universe, environment, recipe, normalize) {
  4360. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4361. },
  4362. _Parser_parse(parser) {
  4363. var t2, i, ch, t3, array, end, item,
  4364. source = parser.r,
  4365. t1 = parser.s;
  4366. for (t2 = source.length, i = 0; i < t2;) {
  4367. ch = source.charCodeAt(i);
  4368. if (ch >= 48 && ch <= 57)
  4369. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4370. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4371. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4372. else if (ch === 46)
  4373. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4374. else {
  4375. ++i;
  4376. switch (ch) {
  4377. case 44:
  4378. break;
  4379. case 58:
  4380. t1.push(false);
  4381. break;
  4382. case 33:
  4383. t1.push(true);
  4384. break;
  4385. case 59:
  4386. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4387. break;
  4388. case 94:
  4389. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4390. break;
  4391. case 35:
  4392. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4393. break;
  4394. case 64:
  4395. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4396. break;
  4397. case 126:
  4398. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4399. break;
  4400. case 60:
  4401. t1.push(parser.p);
  4402. parser.p = t1.length;
  4403. break;
  4404. case 62:
  4405. A._Parser_handleTypeArguments(parser, t1);
  4406. break;
  4407. case 38:
  4408. A._Parser_handleExtendedOperations(parser, t1);
  4409. break;
  4410. case 42:
  4411. t3 = parser.u;
  4412. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4413. break;
  4414. case 63:
  4415. t3 = parser.u;
  4416. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4417. break;
  4418. case 47:
  4419. t3 = parser.u;
  4420. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4421. break;
  4422. case 40:
  4423. t1.push(-3);
  4424. t1.push(parser.p);
  4425. parser.p = t1.length;
  4426. break;
  4427. case 41:
  4428. A._Parser_handleArguments(parser, t1);
  4429. break;
  4430. case 91:
  4431. t1.push(parser.p);
  4432. parser.p = t1.length;
  4433. break;
  4434. case 93:
  4435. array = t1.splice(parser.p);
  4436. A._Parser_toTypes(parser.u, parser.e, array);
  4437. parser.p = t1.pop();
  4438. t1.push(array);
  4439. t1.push(-1);
  4440. break;
  4441. case 123:
  4442. t1.push(parser.p);
  4443. parser.p = t1.length;
  4444. break;
  4445. case 125:
  4446. array = t1.splice(parser.p);
  4447. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4448. parser.p = t1.pop();
  4449. t1.push(array);
  4450. t1.push(-2);
  4451. break;
  4452. case 43:
  4453. end = source.indexOf("(", i);
  4454. t1.push(source.substring(i, end));
  4455. t1.push(-4);
  4456. t1.push(parser.p);
  4457. parser.p = t1.length;
  4458. i = end + 1;
  4459. break;
  4460. default:
  4461. throw "Bad character " + ch;
  4462. }
  4463. }
  4464. }
  4465. item = t1.pop();
  4466. return A._Parser_toType(parser.u, parser.e, item);
  4467. },
  4468. _Parser_handleDigit(i, digit, source, stack) {
  4469. var t1, ch,
  4470. value = digit - 48;
  4471. for (t1 = source.length; i < t1; ++i) {
  4472. ch = source.charCodeAt(i);
  4473. if (!(ch >= 48 && ch <= 57))
  4474. break;
  4475. value = value * 10 + (ch - 48);
  4476. }
  4477. stack.push(value);
  4478. return i;
  4479. },
  4480. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4481. var t1, ch, t2, string, environment, recipe,
  4482. i = start + 1;
  4483. for (t1 = source.length; i < t1; ++i) {
  4484. ch = source.charCodeAt(i);
  4485. if (ch === 46) {
  4486. if (hasPeriod)
  4487. break;
  4488. hasPeriod = true;
  4489. } else {
  4490. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4491. t2 = ch >= 48 && ch <= 57;
  4492. else
  4493. t2 = true;
  4494. if (!t2)
  4495. break;
  4496. }
  4497. }
  4498. string = source.substring(start, i);
  4499. if (hasPeriod) {
  4500. t1 = parser.u;
  4501. environment = parser.e;
  4502. if (environment._kind === 10)
  4503. environment = environment._primary;
  4504. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4505. if (recipe == null)
  4506. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4507. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4508. } else
  4509. stack.push(string);
  4510. return i;
  4511. },
  4512. _Parser_handleTypeArguments(parser, stack) {
  4513. var base,
  4514. t1 = parser.u,
  4515. $arguments = A._Parser_collectArray(parser, stack),
  4516. head = stack.pop();
  4517. if (typeof head == "string")
  4518. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4519. else {
  4520. base = A._Parser_toType(t1, parser.e, head);
  4521. switch (base._kind) {
  4522. case 12:
  4523. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4524. break;
  4525. default:
  4526. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4527. break;
  4528. }
  4529. }
  4530. },
  4531. _Parser_handleArguments(parser, stack) {
  4532. var requiredPositional, returnType, parameters,
  4533. t1 = parser.u,
  4534. head = stack.pop(),
  4535. optionalPositional = null, named = null;
  4536. if (typeof head == "number")
  4537. switch (head) {
  4538. case -1:
  4539. optionalPositional = stack.pop();
  4540. break;
  4541. case -2:
  4542. named = stack.pop();
  4543. break;
  4544. default:
  4545. stack.push(head);
  4546. break;
  4547. }
  4548. else
  4549. stack.push(head);
  4550. requiredPositional = A._Parser_collectArray(parser, stack);
  4551. head = stack.pop();
  4552. switch (head) {
  4553. case -3:
  4554. head = stack.pop();
  4555. if (optionalPositional == null)
  4556. optionalPositional = t1.sEA;
  4557. if (named == null)
  4558. named = t1.sEA;
  4559. returnType = A._Parser_toType(t1, parser.e, head);
  4560. parameters = new A._FunctionParameters();
  4561. parameters._requiredPositional = requiredPositional;
  4562. parameters._optionalPositional = optionalPositional;
  4563. parameters._named = named;
  4564. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4565. return;
  4566. case -4:
  4567. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4568. return;
  4569. default:
  4570. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4571. }
  4572. },
  4573. _Parser_handleExtendedOperations(parser, stack) {
  4574. var $top = stack.pop();
  4575. if (0 === $top) {
  4576. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4577. return;
  4578. }
  4579. if (1 === $top) {
  4580. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4581. return;
  4582. }
  4583. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4584. },
  4585. _Parser_collectArray(parser, stack) {
  4586. var array = stack.splice(parser.p);
  4587. A._Parser_toTypes(parser.u, parser.e, array);
  4588. parser.p = stack.pop();
  4589. return array;
  4590. },
  4591. _Parser_toType(universe, environment, item) {
  4592. if (typeof item == "string")
  4593. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4594. else if (typeof item == "number") {
  4595. environment.toString;
  4596. return A._Parser_indexToType(universe, environment, item);
  4597. } else
  4598. return item;
  4599. },
  4600. _Parser_toTypes(universe, environment, items) {
  4601. var i,
  4602. $length = items.length;
  4603. for (i = 0; i < $length; ++i)
  4604. items[i] = A._Parser_toType(universe, environment, items[i]);
  4605. },
  4606. _Parser_toTypesNamed(universe, environment, items) {
  4607. var i,
  4608. $length = items.length;
  4609. for (i = 2; i < $length; i += 3)
  4610. items[i] = A._Parser_toType(universe, environment, items[i]);
  4611. },
  4612. _Parser_indexToType(universe, environment, index) {
  4613. var typeArguments, len,
  4614. kind = environment._kind;
  4615. if (kind === 10) {
  4616. if (index === 0)
  4617. return environment._primary;
  4618. typeArguments = environment._rest;
  4619. len = typeArguments.length;
  4620. if (index <= len)
  4621. return typeArguments[index - 1];
  4622. index -= len;
  4623. environment = environment._primary;
  4624. kind = environment._kind;
  4625. } else if (index === 0)
  4626. return environment;
  4627. if (kind !== 9)
  4628. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4629. typeArguments = environment._rest;
  4630. if (index <= typeArguments.length)
  4631. return typeArguments[index - 1];
  4632. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4633. },
  4634. isSubtype(universe, s, t) {
  4635. var result,
  4636. sCache = s._isSubtypeCache;
  4637. if (sCache == null)
  4638. sCache = s._isSubtypeCache = new Map();
  4639. result = sCache.get(t);
  4640. if (result == null) {
  4641. result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0;
  4642. sCache.set(t, result);
  4643. }
  4644. if (0 === result)
  4645. return false;
  4646. if (1 === result)
  4647. return true;
  4648. return true;
  4649. },
  4650. _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4651. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4652. if (s === t)
  4653. return true;
  4654. if (!A.isSoundTopType(t))
  4655. t1 = t === type$.legacy_Object;
  4656. else
  4657. t1 = true;
  4658. if (t1)
  4659. return true;
  4660. sKind = s._kind;
  4661. if (sKind === 4)
  4662. return true;
  4663. if (A.isSoundTopType(s))
  4664. return false;
  4665. t1 = s._kind;
  4666. if (t1 === 1)
  4667. return true;
  4668. leftTypeVariable = sKind === 14;
  4669. if (leftTypeVariable)
  4670. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false))
  4671. return true;
  4672. tKind = t._kind;
  4673. t1 = s === type$.Null || s === type$.JSNull;
  4674. if (t1) {
  4675. if (tKind === 8)
  4676. return A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4677. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  4678. }
  4679. if (t === type$.Object) {
  4680. if (sKind === 8)
  4681. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4682. if (sKind === 6)
  4683. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4684. return sKind !== 7;
  4685. }
  4686. if (sKind === 6)
  4687. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4688. if (tKind === 6) {
  4689. t1 = A.Rti__getQuestionFromStar(universe, t);
  4690. return A._isSubtype(universe, s, sEnv, t1, tEnv, false);
  4691. }
  4692. if (sKind === 8) {
  4693. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false))
  4694. return false;
  4695. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false);
  4696. }
  4697. if (sKind === 7) {
  4698. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false);
  4699. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4700. }
  4701. if (tKind === 8) {
  4702. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false))
  4703. return true;
  4704. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false);
  4705. }
  4706. if (tKind === 7) {
  4707. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false);
  4708. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4709. }
  4710. if (leftTypeVariable)
  4711. return false;
  4712. t1 = sKind !== 12;
  4713. if ((!t1 || sKind === 13) && t === type$.Function)
  4714. return true;
  4715. t2 = sKind === 11;
  4716. if (t2 && t === type$.Record)
  4717. return true;
  4718. if (tKind === 13) {
  4719. if (s === type$.JavaScriptFunction)
  4720. return true;
  4721. if (sKind !== 13)
  4722. return false;
  4723. sBounds = s._rest;
  4724. tBounds = t._rest;
  4725. sLength = sBounds.length;
  4726. if (sLength !== tBounds.length)
  4727. return false;
  4728. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4729. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4730. for (i = 0; i < sLength; ++i) {
  4731. sBound = sBounds[i];
  4732. tBound = tBounds[i];
  4733. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false))
  4734. return false;
  4735. }
  4736. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false);
  4737. }
  4738. if (tKind === 12) {
  4739. if (s === type$.JavaScriptFunction)
  4740. return true;
  4741. if (t1)
  4742. return false;
  4743. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false);
  4744. }
  4745. if (sKind === 9) {
  4746. if (tKind !== 9)
  4747. return false;
  4748. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false);
  4749. }
  4750. if (t2 && tKind === 11)
  4751. return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false);
  4752. return false;
  4753. },
  4754. _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4755. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4756. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false))
  4757. return false;
  4758. sParameters = s._rest;
  4759. tParameters = t._rest;
  4760. sRequiredPositional = sParameters._requiredPositional;
  4761. tRequiredPositional = tParameters._requiredPositional;
  4762. sRequiredPositionalLength = sRequiredPositional.length;
  4763. tRequiredPositionalLength = tRequiredPositional.length;
  4764. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4765. return false;
  4766. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4767. sOptionalPositional = sParameters._optionalPositional;
  4768. tOptionalPositional = tParameters._optionalPositional;
  4769. sOptionalPositionalLength = sOptionalPositional.length;
  4770. tOptionalPositionalLength = tOptionalPositional.length;
  4771. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4772. return false;
  4773. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4774. t1 = sRequiredPositional[i];
  4775. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false))
  4776. return false;
  4777. }
  4778. for (i = 0; i < requiredPositionalDelta; ++i) {
  4779. t1 = sOptionalPositional[i];
  4780. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false))
  4781. return false;
  4782. }
  4783. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4784. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4785. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false))
  4786. return false;
  4787. }
  4788. sNamed = sParameters._named;
  4789. tNamed = tParameters._named;
  4790. sNamedLength = sNamed.length;
  4791. tNamedLength = tNamed.length;
  4792. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4793. tName = tNamed[tIndex];
  4794. for (; true;) {
  4795. if (sIndex >= sNamedLength)
  4796. return false;
  4797. sName = sNamed[sIndex];
  4798. sIndex += 3;
  4799. if (tName < sName)
  4800. return false;
  4801. sIsRequired = sNamed[sIndex - 2];
  4802. if (sName < tName) {
  4803. if (sIsRequired)
  4804. return false;
  4805. continue;
  4806. }
  4807. t1 = tNamed[tIndex + 1];
  4808. if (sIsRequired && !t1)
  4809. return false;
  4810. t1 = sNamed[sIndex - 1];
  4811. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false))
  4812. return false;
  4813. break;
  4814. }
  4815. }
  4816. for (; sIndex < sNamedLength;) {
  4817. if (sNamed[sIndex + 1])
  4818. return false;
  4819. sIndex += 3;
  4820. }
  4821. return true;
  4822. },
  4823. _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4824. var rule, recipes, $length, supertypeArgs, i,
  4825. sName = s._primary,
  4826. tName = t._primary;
  4827. for (; sName !== tName;) {
  4828. rule = universe.tR[sName];
  4829. if (rule == null)
  4830. return false;
  4831. if (typeof rule == "string") {
  4832. sName = rule;
  4833. continue;
  4834. }
  4835. recipes = rule[tName];
  4836. if (recipes == null)
  4837. return false;
  4838. $length = recipes.length;
  4839. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4840. for (i = 0; i < $length; ++i)
  4841. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4842. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false);
  4843. }
  4844. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false);
  4845. },
  4846. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) {
  4847. var i,
  4848. $length = sArgs.length;
  4849. for (i = 0; i < $length; ++i)
  4850. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false))
  4851. return false;
  4852. return true;
  4853. },
  4854. _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4855. var i,
  4856. sFields = s._rest,
  4857. tFields = t._rest,
  4858. sCount = sFields.length;
  4859. if (sCount !== tFields.length)
  4860. return false;
  4861. if (s._primary !== t._primary)
  4862. return false;
  4863. for (i = 0; i < sCount; ++i)
  4864. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false))
  4865. return false;
  4866. return true;
  4867. },
  4868. isNullable(t) {
  4869. var kind = t._kind,
  4870. t1 = true;
  4871. if (!(t === type$.Null || t === type$.JSNull))
  4872. if (!A.isSoundTopType(t))
  4873. if (kind !== 7)
  4874. if (!(kind === 6 && A.isNullable(t._primary)))
  4875. t1 = kind === 8 && A.isNullable(t._primary);
  4876. return t1;
  4877. },
  4878. isDefinitelyTopType(t) {
  4879. var t1;
  4880. if (!A.isSoundTopType(t))
  4881. t1 = t === type$.legacy_Object;
  4882. else
  4883. t1 = true;
  4884. return t1;
  4885. },
  4886. isSoundTopType(t) {
  4887. var kind = t._kind;
  4888. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4889. },
  4890. _Utils_objectAssign(o, other) {
  4891. var i, key,
  4892. keys = Object.keys(other),
  4893. $length = keys.length;
  4894. for (i = 0; i < $length; ++i) {
  4895. key = keys[i];
  4896. o[key] = other[key];
  4897. }
  4898. },
  4899. _Utils_newArrayOrEmpty($length) {
  4900. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4901. },
  4902. Rti: function Rti(t0, t1) {
  4903. var _ = this;
  4904. _._as = t0;
  4905. _._is = t1;
  4906. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4907. _._kind = 0;
  4908. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4909. },
  4910. _FunctionParameters: function _FunctionParameters() {
  4911. this._named = this._optionalPositional = this._requiredPositional = null;
  4912. },
  4913. _Type: function _Type(t0) {
  4914. this._rti = t0;
  4915. },
  4916. _Error: function _Error() {
  4917. },
  4918. _TypeError: function _TypeError(t0) {
  4919. this.__rti$_message = t0;
  4920. },
  4921. _AsyncRun__initializeScheduleImmediate() {
  4922. var div, span, t1 = {};
  4923. if (self.scheduleImmediate != null)
  4924. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4925. if (self.MutationObserver != null && self.document != null) {
  4926. div = self.document.createElement("div");
  4927. span = self.document.createElement("span");
  4928. t1.storedCallback = null;
  4929. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4930. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4931. } else if (self.setImmediate != null)
  4932. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4933. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4934. },
  4935. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4936. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4937. },
  4938. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4939. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4940. },
  4941. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4942. A.Timer__createTimer(B.Duration_0, callback);
  4943. },
  4944. Timer__createTimer(duration, callback) {
  4945. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4946. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4947. },
  4948. _TimerImpl$(milliseconds, callback) {
  4949. var t1 = new A._TimerImpl(true);
  4950. t1._TimerImpl$2(milliseconds, callback);
  4951. return t1;
  4952. },
  4953. _TimerImpl$periodic(milliseconds, callback) {
  4954. var t1 = new A._TimerImpl(false);
  4955. t1._TimerImpl$periodic$2(milliseconds, callback);
  4956. return t1;
  4957. },
  4958. _makeAsyncAwaitCompleter($T) {
  4959. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4960. },
  4961. _asyncStartSync(bodyFunction, completer) {
  4962. bodyFunction.call$2(0, null);
  4963. completer.isSync = true;
  4964. return completer._future;
  4965. },
  4966. _asyncAwait(object, bodyFunction) {
  4967. A._awaitOnObject(object, bodyFunction);
  4968. },
  4969. _asyncReturn(object, completer) {
  4970. completer.complete$1(object);
  4971. },
  4972. _asyncRethrow(object, completer) {
  4973. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4974. },
  4975. _awaitOnObject(object, bodyFunction) {
  4976. var t1, future,
  4977. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4978. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4979. if (object instanceof A._Future)
  4980. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4981. else {
  4982. t1 = type$.dynamic;
  4983. if (object instanceof A._Future)
  4984. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4985. else {
  4986. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4987. future._state = 8;
  4988. future._resultOrListeners = object;
  4989. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4990. }
  4991. }
  4992. },
  4993. _wrapJsFunctionForAsync($function) {
  4994. var $protected = function(fn, ERROR) {
  4995. return function(errorCode, result) {
  4996. while (true) {
  4997. try {
  4998. fn(errorCode, result);
  4999. break;
  5000. } catch (error) {
  5001. result = error;
  5002. errorCode = ERROR;
  5003. }
  5004. }
  5005. };
  5006. }($function, 1);
  5007. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  5008. },
  5009. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  5010. return 0;
  5011. },
  5012. AsyncError$(error, stackTrace) {
  5013. var t1 = A.checkNotNullable(error, "error", type$.Object);
  5014. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  5015. },
  5016. AsyncError_defaultStackTrace(error) {
  5017. var stackTrace;
  5018. if (type$.Error._is(error)) {
  5019. stackTrace = error.get$stackTrace();
  5020. if (stackTrace != null)
  5021. return stackTrace;
  5022. }
  5023. return B._StringStackTrace_uwd;
  5024. },
  5025. Future_Future$value(value, $T) {
  5026. var t1;
  5027. $T._as(value);
  5028. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5029. t1._asyncComplete$1(value);
  5030. return t1;
  5031. },
  5032. Future_Future$error(error, stackTrace, $T) {
  5033. var t1, replacement;
  5034. A.checkNotNullable(error, "error", type$.Object);
  5035. t1 = $.Zone__current;
  5036. if (t1 !== B.C__RootZone) {
  5037. replacement = t1.errorCallback$2(error, stackTrace);
  5038. if (replacement != null) {
  5039. error = replacement.error;
  5040. stackTrace = replacement.stackTrace;
  5041. }
  5042. }
  5043. if (stackTrace == null)
  5044. stackTrace = A.AsyncError_defaultStackTrace(error);
  5045. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5046. t1._asyncCompleteError$2(error, stackTrace);
  5047. return t1;
  5048. },
  5049. Future_wait(futures, eagerError, $T) {
  5050. var handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  5051. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  5052. _box_0.values = null;
  5053. _box_0.remaining = 0;
  5054. _box_0.stackTrace = _box_0.error = null;
  5055. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  5056. try {
  5057. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  5058. future = t1.get$current(t1);
  5059. pos = _box_0.remaining;
  5060. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  5061. ++_box_0.remaining;
  5062. }
  5063. t1 = _box_0.remaining;
  5064. if (t1 === 0) {
  5065. t1 = _future;
  5066. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  5067. return t1;
  5068. }
  5069. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  5070. } catch (exception) {
  5071. e = A.unwrapException(exception);
  5072. st = A.getTraceFromException(exception);
  5073. if (_box_0.remaining === 0 || eagerError)
  5074. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  5075. else {
  5076. _box_0.error = e;
  5077. _box_0.stackTrace = st;
  5078. }
  5079. }
  5080. return _future;
  5081. },
  5082. _Future$zoneValue(value, _zone, $T) {
  5083. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  5084. t1._state = 8;
  5085. t1._resultOrListeners = value;
  5086. return t1;
  5087. },
  5088. _Future$value(value, $T) {
  5089. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5090. t1._state = 8;
  5091. t1._resultOrListeners = value;
  5092. return t1;
  5093. },
  5094. _Future__chainCoreFutureSync(source, target) {
  5095. var t1, listeners;
  5096. for (; t1 = source._state, (t1 & 4) !== 0;)
  5097. source = source._resultOrListeners;
  5098. if (source === target) {
  5099. target._asyncCompleteError$2(new A.ArgumentError(true, source, null, "Cannot complete a future with itself"), A.StackTrace_current());
  5100. return;
  5101. }
  5102. t1 |= target._state & 1;
  5103. source._state = t1;
  5104. if ((t1 & 24) !== 0) {
  5105. listeners = target._removeListeners$0();
  5106. target._cloneResult$1(source);
  5107. A._Future__propagateToListeners(target, listeners);
  5108. } else {
  5109. listeners = target._resultOrListeners;
  5110. target._setChained$1(source);
  5111. source._prependListeners$1(listeners);
  5112. }
  5113. },
  5114. _Future__chainCoreFutureAsync(source, target) {
  5115. var t2, listeners, _box_0 = {},
  5116. t1 = _box_0.source = source;
  5117. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5118. t1 = t1._resultOrListeners;
  5119. _box_0.source = t1;
  5120. }
  5121. if (t1 === target) {
  5122. target._asyncCompleteError$2(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), A.StackTrace_current());
  5123. return;
  5124. }
  5125. if ((t2 & 24) === 0) {
  5126. listeners = target._resultOrListeners;
  5127. target._setChained$1(t1);
  5128. _box_0.source._prependListeners$1(listeners);
  5129. return;
  5130. }
  5131. if ((t2 & 16) === 0 && target._resultOrListeners == null) {
  5132. target._cloneResult$1(t1);
  5133. return;
  5134. }
  5135. target._state ^= 2;
  5136. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target));
  5137. },
  5138. _Future__propagateToListeners(source, listeners) {
  5139. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5140. t1 = _box_1.source = source;
  5141. for (; true;) {
  5142. _box_0 = {};
  5143. t2 = t1._state;
  5144. t3 = (t2 & 16) === 0;
  5145. hasError = !t3;
  5146. if (listeners == null) {
  5147. if (hasError && (t2 & 1) === 0) {
  5148. t2 = t1._resultOrListeners;
  5149. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5150. }
  5151. return;
  5152. }
  5153. _box_0.listener = listeners;
  5154. nextListener = listeners._nextListener;
  5155. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5156. t1._nextListener = null;
  5157. A._Future__propagateToListeners(_box_1.source, t1);
  5158. _box_0.listener = nextListener;
  5159. nextListener0 = nextListener._nextListener;
  5160. }
  5161. t2 = _box_1.source;
  5162. sourceResult = t2._resultOrListeners;
  5163. _box_0.listenerHasError = hasError;
  5164. _box_0.listenerValueOrError = sourceResult;
  5165. if (t3) {
  5166. t4 = t1.state;
  5167. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5168. } else
  5169. t4 = true;
  5170. if (t4) {
  5171. zone = t1.result._zone;
  5172. if (hasError) {
  5173. t1 = t2._zone;
  5174. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5175. } else
  5176. t1 = false;
  5177. if (t1) {
  5178. t1 = _box_1.source;
  5179. t2 = t1._resultOrListeners;
  5180. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5181. return;
  5182. }
  5183. oldZone = $.Zone__current;
  5184. if (oldZone !== zone)
  5185. $.Zone__current = zone;
  5186. else
  5187. oldZone = null;
  5188. t1 = _box_0.listener.state;
  5189. if ((t1 & 15) === 8)
  5190. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5191. else if (t3) {
  5192. if ((t1 & 1) !== 0)
  5193. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5194. } else if ((t1 & 2) !== 0)
  5195. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5196. if (oldZone != null)
  5197. $.Zone__current = oldZone;
  5198. t1 = _box_0.listenerValueOrError;
  5199. if (t1 instanceof A._Future) {
  5200. t2 = _box_0.listener.$ti;
  5201. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5202. } else
  5203. t2 = false;
  5204. if (t2) {
  5205. result = _box_0.listener.result;
  5206. if ((t1._state & 24) !== 0) {
  5207. current = result._resultOrListeners;
  5208. result._resultOrListeners = null;
  5209. listeners = result._reverseListeners$1(current);
  5210. result._state = t1._state & 30 | result._state & 1;
  5211. result._resultOrListeners = t1._resultOrListeners;
  5212. _box_1.source = t1;
  5213. continue;
  5214. } else
  5215. A._Future__chainCoreFutureSync(t1, result);
  5216. return;
  5217. }
  5218. }
  5219. result = _box_0.listener.result;
  5220. current = result._resultOrListeners;
  5221. result._resultOrListeners = null;
  5222. listeners = result._reverseListeners$1(current);
  5223. t1 = _box_0.listenerHasError;
  5224. t2 = _box_0.listenerValueOrError;
  5225. if (!t1) {
  5226. result._state = 8;
  5227. result._resultOrListeners = t2;
  5228. } else {
  5229. result._state = result._state & 1 | 16;
  5230. result._resultOrListeners = t2;
  5231. }
  5232. _box_1.source = result;
  5233. t1 = result;
  5234. }
  5235. },
  5236. _registerErrorHandler(errorHandler, zone) {
  5237. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5238. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5239. if (type$.dynamic_Function_Object._is(errorHandler))
  5240. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5241. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5242. },
  5243. _microtaskLoop() {
  5244. var entry, next;
  5245. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5246. $._lastPriorityCallback = null;
  5247. next = entry.next;
  5248. $._nextCallback = next;
  5249. if (next == null)
  5250. $._lastCallback = null;
  5251. entry.callback.call$0();
  5252. }
  5253. },
  5254. _startMicrotaskLoop() {
  5255. $._isInCallbackLoop = true;
  5256. try {
  5257. A._microtaskLoop();
  5258. } finally {
  5259. $._lastPriorityCallback = null;
  5260. $._isInCallbackLoop = false;
  5261. if ($._nextCallback != null)
  5262. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5263. }
  5264. },
  5265. _scheduleAsyncCallback(callback) {
  5266. var newEntry = new A._AsyncCallbackEntry(callback),
  5267. lastCallback = $._lastCallback;
  5268. if (lastCallback == null) {
  5269. $._nextCallback = $._lastCallback = newEntry;
  5270. if (!$._isInCallbackLoop)
  5271. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5272. } else
  5273. $._lastCallback = lastCallback.next = newEntry;
  5274. },
  5275. _schedulePriorityAsyncCallback(callback) {
  5276. var entry, lastPriorityCallback, next,
  5277. t1 = $._nextCallback;
  5278. if (t1 == null) {
  5279. A._scheduleAsyncCallback(callback);
  5280. $._lastPriorityCallback = $._lastCallback;
  5281. return;
  5282. }
  5283. entry = new A._AsyncCallbackEntry(callback);
  5284. lastPriorityCallback = $._lastPriorityCallback;
  5285. if (lastPriorityCallback == null) {
  5286. entry.next = t1;
  5287. $._nextCallback = $._lastPriorityCallback = entry;
  5288. } else {
  5289. next = lastPriorityCallback.next;
  5290. entry.next = next;
  5291. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5292. if (next == null)
  5293. $._lastCallback = entry;
  5294. }
  5295. },
  5296. scheduleMicrotask(callback) {
  5297. var t1, _null = null,
  5298. currentZone = $.Zone__current;
  5299. if (B.C__RootZone === currentZone) {
  5300. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5301. return;
  5302. }
  5303. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5304. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5305. else
  5306. t1 = false;
  5307. if (t1) {
  5308. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5309. return;
  5310. }
  5311. t1 = $.Zone__current;
  5312. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5313. },
  5314. Stream_Stream$fromFuture(future, $T) {
  5315. var _null = null,
  5316. t1 = $T._eval$1("_SyncStreamController<0>"),
  5317. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5318. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5319. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5320. },
  5321. StreamIterator_StreamIterator(stream) {
  5322. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5323. },
  5324. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5325. 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>"));
  5326. },
  5327. _runGuarded(notificationHandler) {
  5328. var e, s, exception;
  5329. if (notificationHandler == null)
  5330. return;
  5331. try {
  5332. notificationHandler.call$0();
  5333. } catch (exception) {
  5334. e = A.unwrapException(exception);
  5335. s = A.getTraceFromException(exception);
  5336. $.Zone__current.handleUncaughtError$2(e, s);
  5337. }
  5338. },
  5339. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5340. var t1 = $.Zone__current,
  5341. t2 = cancelOnError ? 1 : 0,
  5342. t3 = onError != null ? 32 : 0,
  5343. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5344. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5345. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5346. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5347. },
  5348. _AddStreamState_makeErrorHandler(controller) {
  5349. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5350. },
  5351. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5352. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5353. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5354. },
  5355. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5356. if (handleError == null)
  5357. handleError = A.async___nullErrorHandler$closure();
  5358. if (type$.void_Function_Object_StackTrace._is(handleError))
  5359. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5360. if (type$.void_Function_Object._is(handleError))
  5361. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5362. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5363. },
  5364. _nullDataHandler(value) {
  5365. },
  5366. _nullErrorHandler(error, stackTrace) {
  5367. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5368. },
  5369. _nullDoneHandler() {
  5370. },
  5371. Timer_Timer(duration, callback) {
  5372. var t1 = $.Zone__current;
  5373. if (t1 === B.C__RootZone)
  5374. return t1.createTimer$2(duration, callback);
  5375. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5376. },
  5377. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5378. A._rootHandleError(error, stackTrace);
  5379. },
  5380. _rootHandleError(error, stackTrace) {
  5381. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5382. },
  5383. _rootRun($self, $parent, zone, f) {
  5384. var old,
  5385. t1 = $.Zone__current;
  5386. if (t1 === zone)
  5387. return f.call$0();
  5388. $.Zone__current = zone;
  5389. old = t1;
  5390. try {
  5391. t1 = f.call$0();
  5392. return t1;
  5393. } finally {
  5394. $.Zone__current = old;
  5395. }
  5396. },
  5397. _rootRunUnary($self, $parent, zone, f, arg) {
  5398. var old,
  5399. t1 = $.Zone__current;
  5400. if (t1 === zone)
  5401. return f.call$1(arg);
  5402. $.Zone__current = zone;
  5403. old = t1;
  5404. try {
  5405. t1 = f.call$1(arg);
  5406. return t1;
  5407. } finally {
  5408. $.Zone__current = old;
  5409. }
  5410. },
  5411. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5412. var old,
  5413. t1 = $.Zone__current;
  5414. if (t1 === zone)
  5415. return f.call$2(arg1, arg2);
  5416. $.Zone__current = zone;
  5417. old = t1;
  5418. try {
  5419. t1 = f.call$2(arg1, arg2);
  5420. return t1;
  5421. } finally {
  5422. $.Zone__current = old;
  5423. }
  5424. },
  5425. _rootRegisterCallback($self, $parent, zone, f) {
  5426. return f;
  5427. },
  5428. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5429. return f;
  5430. },
  5431. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5432. return f;
  5433. },
  5434. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5435. return null;
  5436. },
  5437. _rootScheduleMicrotask($self, $parent, zone, f) {
  5438. var t1, t2;
  5439. if (B.C__RootZone !== zone) {
  5440. t1 = B.C__RootZone.get$errorZone();
  5441. t2 = zone.get$errorZone();
  5442. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5443. }
  5444. A._scheduleAsyncCallback(f);
  5445. },
  5446. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5447. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5448. },
  5449. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5450. var milliseconds;
  5451. if (B.C__RootZone !== zone)
  5452. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5453. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5454. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5455. },
  5456. _rootPrint($self, $parent, zone, line) {
  5457. A.printString(line);
  5458. },
  5459. _printToZone(line) {
  5460. $.Zone__current.print$1(line);
  5461. },
  5462. _rootFork($self, $parent, zone, specification, zoneValues) {
  5463. var valueMap, t1, handleUncaughtError;
  5464. $.printToZone = A.async___printToZone$closure();
  5465. if (specification == null)
  5466. specification = B._ZoneSpecification_48t;
  5467. if (zoneValues == null)
  5468. valueMap = zone.get$_async$_map();
  5469. else {
  5470. t1 = type$.nullable_Object;
  5471. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5472. }
  5473. 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);
  5474. handleUncaughtError = specification.handleUncaughtError;
  5475. if (handleUncaughtError != null)
  5476. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5477. return t1;
  5478. },
  5479. runZoned(body, zoneValues, $R) {
  5480. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  5481. return A._runZoned(body, zoneValues, null, $R);
  5482. },
  5483. _runZoned(body, zoneValues, specification, $R) {
  5484. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5485. },
  5486. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5487. this._box_0 = t0;
  5488. },
  5489. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5490. this._box_0 = t0;
  5491. this.div = t1;
  5492. this.span = t2;
  5493. },
  5494. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5495. this.callback = t0;
  5496. },
  5497. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5498. this.callback = t0;
  5499. },
  5500. _TimerImpl: function _TimerImpl(t0) {
  5501. this._once = t0;
  5502. this._handle = null;
  5503. this._tick = 0;
  5504. },
  5505. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5506. this.$this = t0;
  5507. this.callback = t1;
  5508. },
  5509. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5510. var _ = this;
  5511. _.$this = t0;
  5512. _.milliseconds = t1;
  5513. _.start = t2;
  5514. _.callback = t3;
  5515. },
  5516. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5517. this._future = t0;
  5518. this.isSync = false;
  5519. this.$ti = t1;
  5520. },
  5521. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5522. this.bodyFunction = t0;
  5523. },
  5524. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5525. this.bodyFunction = t0;
  5526. },
  5527. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5528. this.$protected = t0;
  5529. },
  5530. _SyncStarIterator: function _SyncStarIterator(t0) {
  5531. var _ = this;
  5532. _._body = t0;
  5533. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5534. },
  5535. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5536. this._outerHelper = t0;
  5537. this.$ti = t1;
  5538. },
  5539. AsyncError: function AsyncError(t0, t1) {
  5540. this.error = t0;
  5541. this.stackTrace = t1;
  5542. },
  5543. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5544. var _ = this;
  5545. _._box_0 = t0;
  5546. _.cleanUp = t1;
  5547. _.eagerError = t2;
  5548. _._future = t3;
  5549. },
  5550. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5551. var _ = this;
  5552. _._box_0 = t0;
  5553. _.pos = t1;
  5554. _._future = t2;
  5555. _.T = t3;
  5556. _.cleanUp = t4;
  5557. _.eagerError = t5;
  5558. },
  5559. _Completer: function _Completer() {
  5560. },
  5561. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5562. this.future = t0;
  5563. this.$ti = t1;
  5564. },
  5565. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5566. this.future = t0;
  5567. this.$ti = t1;
  5568. },
  5569. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5570. var _ = this;
  5571. _._nextListener = null;
  5572. _.result = t0;
  5573. _.state = t1;
  5574. _.callback = t2;
  5575. _.errorCallback = t3;
  5576. _.$ti = t4;
  5577. },
  5578. _Future: function _Future(t0, t1) {
  5579. var _ = this;
  5580. _._state = 0;
  5581. _._zone = t0;
  5582. _._resultOrListeners = null;
  5583. _.$ti = t1;
  5584. },
  5585. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5586. this.$this = t0;
  5587. this.listener = t1;
  5588. },
  5589. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5590. this._box_0 = t0;
  5591. this.$this = t1;
  5592. },
  5593. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  5594. this.$this = t0;
  5595. },
  5596. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  5597. this.$this = t0;
  5598. },
  5599. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  5600. this.$this = t0;
  5601. this.e = t1;
  5602. this.s = t2;
  5603. },
  5604. _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) {
  5605. this._box_0 = t0;
  5606. this.target = t1;
  5607. },
  5608. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5609. this.$this = t0;
  5610. this.value = t1;
  5611. },
  5612. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  5613. this.$this = t0;
  5614. this.error = t1;
  5615. this.stackTrace = t2;
  5616. },
  5617. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5618. this._box_0 = t0;
  5619. this._box_1 = t1;
  5620. this.hasError = t2;
  5621. },
  5622. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  5623. this.originalSource = t0;
  5624. },
  5625. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5626. this._box_0 = t0;
  5627. this.sourceResult = t1;
  5628. },
  5629. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5630. this._box_1 = t0;
  5631. this._box_0 = t1;
  5632. },
  5633. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5634. this.callback = t0;
  5635. this.next = null;
  5636. },
  5637. Stream: function Stream() {
  5638. },
  5639. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5640. this.controller = t0;
  5641. this.T = t1;
  5642. },
  5643. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5644. this.controller = t0;
  5645. },
  5646. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5647. this._box_0 = t0;
  5648. this.$this = t1;
  5649. },
  5650. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5651. this._box_0 = t0;
  5652. this.future = t1;
  5653. },
  5654. _StreamController: function _StreamController() {
  5655. },
  5656. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5657. this.$this = t0;
  5658. },
  5659. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5660. this.$this = t0;
  5661. },
  5662. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5663. },
  5664. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5665. },
  5666. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5667. var _ = this;
  5668. _._varData = null;
  5669. _._state = 0;
  5670. _._doneFuture = null;
  5671. _.onListen = t0;
  5672. _.onPause = t1;
  5673. _.onResume = t2;
  5674. _.onCancel = t3;
  5675. _.$ti = t4;
  5676. },
  5677. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5678. var _ = this;
  5679. _._varData = null;
  5680. _._state = 0;
  5681. _._doneFuture = null;
  5682. _.onListen = t0;
  5683. _.onPause = t1;
  5684. _.onResume = t2;
  5685. _.onCancel = t3;
  5686. _.$ti = t4;
  5687. },
  5688. _ControllerStream: function _ControllerStream(t0, t1) {
  5689. this._controller = t0;
  5690. this.$ti = t1;
  5691. },
  5692. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5693. var _ = this;
  5694. _._controller = t0;
  5695. _._onData = t1;
  5696. _._onError = t2;
  5697. _._onDone = t3;
  5698. _._zone = t4;
  5699. _._state = t5;
  5700. _._pending = _._cancelFuture = null;
  5701. _.$ti = t6;
  5702. },
  5703. _AddStreamState: function _AddStreamState() {
  5704. },
  5705. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5706. this.controller = t0;
  5707. },
  5708. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5709. this.$this = t0;
  5710. },
  5711. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5712. this._varData = t0;
  5713. this.addStreamFuture = t1;
  5714. this.addSubscription = t2;
  5715. },
  5716. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5717. },
  5718. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5719. this.$this = t0;
  5720. this.error = t1;
  5721. this.stackTrace = t2;
  5722. },
  5723. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5724. this.$this = t0;
  5725. },
  5726. _StreamImpl: function _StreamImpl() {
  5727. },
  5728. _DelayedEvent: function _DelayedEvent() {
  5729. },
  5730. _DelayedData: function _DelayedData(t0) {
  5731. this.value = t0;
  5732. this.next = null;
  5733. },
  5734. _DelayedError: function _DelayedError(t0, t1) {
  5735. this.error = t0;
  5736. this.stackTrace = t1;
  5737. this.next = null;
  5738. },
  5739. _DelayedDone: function _DelayedDone() {
  5740. },
  5741. _PendingEvents: function _PendingEvents() {
  5742. this._state = 0;
  5743. this.lastPendingEvent = this.firstPendingEvent = null;
  5744. },
  5745. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5746. this.$this = t0;
  5747. this.dispatch = t1;
  5748. },
  5749. _StreamIterator: function _StreamIterator(t0) {
  5750. this._subscription = null;
  5751. this._stateData = t0;
  5752. this._async$_hasValue = false;
  5753. },
  5754. _ForwardingStream: function _ForwardingStream() {
  5755. },
  5756. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5757. var _ = this;
  5758. _._stream = t0;
  5759. _._subscription = null;
  5760. _._onData = t1;
  5761. _._onError = t2;
  5762. _._onDone = t3;
  5763. _._zone = t4;
  5764. _._state = t5;
  5765. _._pending = _._cancelFuture = null;
  5766. _.$ti = t6;
  5767. },
  5768. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  5769. this._expand = t0;
  5770. this._async$_source = t1;
  5771. this.$ti = t2;
  5772. },
  5773. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5774. this.zone = t0;
  5775. this.$function = t1;
  5776. },
  5777. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5778. var _ = this;
  5779. _.handleUncaughtError = t0;
  5780. _.run = t1;
  5781. _.runUnary = t2;
  5782. _.runBinary = t3;
  5783. _.registerCallback = t4;
  5784. _.registerUnaryCallback = t5;
  5785. _.registerBinaryCallback = t6;
  5786. _.errorCallback = t7;
  5787. _.scheduleMicrotask = t8;
  5788. _.createTimer = t9;
  5789. _.createPeriodicTimer = t10;
  5790. _.print = t11;
  5791. _.fork = t12;
  5792. },
  5793. _ZoneDelegate: function _ZoneDelegate(t0) {
  5794. this._delegationTarget = t0;
  5795. },
  5796. _Zone: function _Zone() {
  5797. },
  5798. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5799. var _ = this;
  5800. _._run = t0;
  5801. _._runUnary = t1;
  5802. _._runBinary = t2;
  5803. _._registerCallback = t3;
  5804. _._registerUnaryCallback = t4;
  5805. _._registerBinaryCallback = t5;
  5806. _._errorCallback = t6;
  5807. _._scheduleMicrotask = t7;
  5808. _._createTimer = t8;
  5809. _._createPeriodicTimer = t9;
  5810. _._print = t10;
  5811. _._fork = t11;
  5812. _._handleUncaughtError = t12;
  5813. _._delegateCache = null;
  5814. _.parent = t13;
  5815. _._async$_map = t14;
  5816. },
  5817. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5818. this.$this = t0;
  5819. this.registered = t1;
  5820. this.R = t2;
  5821. },
  5822. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5823. var _ = this;
  5824. _.$this = t0;
  5825. _.registered = t1;
  5826. _.T = t2;
  5827. _.R = t3;
  5828. },
  5829. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5830. this.$this = t0;
  5831. this.registered = t1;
  5832. },
  5833. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5834. this.error = t0;
  5835. this.stackTrace = t1;
  5836. },
  5837. _RootZone: function _RootZone() {
  5838. },
  5839. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5840. this.$this = t0;
  5841. this.f = t1;
  5842. this.R = t2;
  5843. },
  5844. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5845. var _ = this;
  5846. _.$this = t0;
  5847. _.f = t1;
  5848. _.T = t2;
  5849. _.R = t3;
  5850. },
  5851. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5852. this.$this = t0;
  5853. this.f = t1;
  5854. },
  5855. HashMap_HashMap($K, $V) {
  5856. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5857. },
  5858. _HashMap__getTableEntry(table, key) {
  5859. var entry = table[key];
  5860. return entry === table ? null : entry;
  5861. },
  5862. _HashMap__setTableEntry(table, key, value) {
  5863. if (value == null)
  5864. table[key] = table;
  5865. else
  5866. table[key] = value;
  5867. },
  5868. _HashMap__newHashTable() {
  5869. var table = Object.create(null);
  5870. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5871. delete table["<non-identifier-key>"];
  5872. return table;
  5873. },
  5874. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5875. if (isValidKey == null)
  5876. if (hashCode == null) {
  5877. if (equals == null)
  5878. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5879. hashCode = A.collection___defaultHashCode$closure();
  5880. } else {
  5881. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5882. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5883. if (equals == null)
  5884. equals = A.collection___defaultEquals$closure();
  5885. }
  5886. else {
  5887. if (hashCode == null)
  5888. hashCode = A.collection___defaultHashCode$closure();
  5889. if (equals == null)
  5890. equals = A.collection___defaultEquals$closure();
  5891. }
  5892. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5893. },
  5894. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5895. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5896. },
  5897. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5898. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5899. },
  5900. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5901. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5902. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5903. },
  5904. LinkedHashSet_LinkedHashSet($E) {
  5905. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5906. },
  5907. LinkedHashSet_LinkedHashSet$_empty($E) {
  5908. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5909. },
  5910. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5911. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5912. },
  5913. _LinkedHashSet__newHashTable() {
  5914. var table = Object.create(null);
  5915. table["<non-identifier-key>"] = table;
  5916. delete table["<non-identifier-key>"];
  5917. return table;
  5918. },
  5919. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5920. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5921. t1._cell = _set._first;
  5922. return t1;
  5923. },
  5924. UnmodifiableListView$(source, $E) {
  5925. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5926. },
  5927. _defaultEquals(a, b) {
  5928. return J.$eq$(a, b);
  5929. },
  5930. _defaultHashCode(a) {
  5931. return J.get$hashCode$(a);
  5932. },
  5933. HashMap_HashMap$from(other, $K, $V) {
  5934. var result = A.HashMap_HashMap($K, $V);
  5935. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5936. return result;
  5937. },
  5938. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5939. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5940. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5941. return result;
  5942. },
  5943. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5944. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5945. t1.addAll$1(0, other);
  5946. return t1;
  5947. },
  5948. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5949. var t1, _i,
  5950. result = A.LinkedHashSet_LinkedHashSet($E);
  5951. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5952. result.add$1(0, $E._as(elements[_i]));
  5953. return result;
  5954. },
  5955. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5956. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5957. t1.addAll$1(0, elements);
  5958. return t1;
  5959. },
  5960. ListBase__compareAny(a, b) {
  5961. var t1 = type$.Comparable_dynamic;
  5962. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5963. },
  5964. MapBase_mapToString(m) {
  5965. var result, t1 = {};
  5966. if (A.isToStringVisiting(m))
  5967. return "{...}";
  5968. result = new A.StringBuffer("");
  5969. try {
  5970. $.toStringVisiting.push(m);
  5971. result._contents += "{";
  5972. t1.first = true;
  5973. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5974. result._contents += "}";
  5975. } finally {
  5976. $.toStringVisiting.pop();
  5977. }
  5978. t1 = result._contents;
  5979. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5980. },
  5981. MapBase__fillMapWithIterables(map, keys, values) {
  5982. var keyIterator = keys.get$iterator(keys),
  5983. valueIterator = values.get$iterator(values),
  5984. hasNextKey = keyIterator.moveNext$0(),
  5985. hasNextValue = valueIterator.moveNext$0();
  5986. while (true) {
  5987. if (!(hasNextKey && hasNextValue))
  5988. break;
  5989. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5990. hasNextKey = keyIterator.moveNext$0();
  5991. hasNextValue = valueIterator.moveNext$0();
  5992. }
  5993. if (hasNextKey || hasNextValue)
  5994. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5995. },
  5996. ListQueue$($E) {
  5997. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5998. },
  5999. ListQueue__calculateCapacity(initialCapacity) {
  6000. return 8;
  6001. },
  6002. ListQueue__nextPowerOf2(number) {
  6003. var nextNumber;
  6004. number = (number << 1 >>> 0) - 1;
  6005. for (; true; number = nextNumber) {
  6006. nextNumber = (number & number - 1) >>> 0;
  6007. if (nextNumber === 0)
  6008. return number;
  6009. }
  6010. },
  6011. _ListQueueIterator$(queue, $E) {
  6012. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  6013. },
  6014. _UnmodifiableSetMixin__throwUnmodifiable() {
  6015. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  6016. },
  6017. _HashMap: function _HashMap(t0) {
  6018. var _ = this;
  6019. _._collection$_length = 0;
  6020. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  6021. _.$ti = t0;
  6022. },
  6023. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  6024. this.$this = t0;
  6025. },
  6026. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  6027. this.$this = t0;
  6028. },
  6029. _IdentityHashMap: function _IdentityHashMap(t0) {
  6030. var _ = this;
  6031. _._collection$_length = 0;
  6032. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  6033. _.$ti = t0;
  6034. },
  6035. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  6036. this._map = t0;
  6037. this.$ti = t1;
  6038. },
  6039. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  6040. var _ = this;
  6041. _._map = t0;
  6042. _._collection$_keys = t1;
  6043. _._offset = 0;
  6044. _._collection$_current = null;
  6045. _.$ti = t2;
  6046. },
  6047. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  6048. var _ = this;
  6049. _._equals = t0;
  6050. _._hashCode = t1;
  6051. _._validKey = t2;
  6052. _.__js_helper$_length = 0;
  6053. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  6054. _.__js_helper$_modifications = 0;
  6055. _.$ti = t3;
  6056. },
  6057. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  6058. this.K = t0;
  6059. },
  6060. _LinkedHashSet: function _LinkedHashSet(t0) {
  6061. var _ = this;
  6062. _._collection$_length = 0;
  6063. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  6064. _._modifications = 0;
  6065. _.$ti = t0;
  6066. },
  6067. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  6068. var _ = this;
  6069. _._collection$_length = 0;
  6070. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  6071. _._modifications = 0;
  6072. _.$ti = t0;
  6073. },
  6074. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  6075. this._element = t0;
  6076. this._previous = this._next = null;
  6077. },
  6078. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  6079. var _ = this;
  6080. _._set = t0;
  6081. _._modifications = t1;
  6082. _._collection$_current = _._cell = null;
  6083. _.$ti = t2;
  6084. },
  6085. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  6086. this._collection$_source = t0;
  6087. this.$ti = t1;
  6088. },
  6089. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  6090. this.result = t0;
  6091. this.K = t1;
  6092. this.V = t2;
  6093. },
  6094. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  6095. this.result = t0;
  6096. this.K = t1;
  6097. this.V = t2;
  6098. },
  6099. ListBase: function ListBase() {
  6100. },
  6101. MapBase: function MapBase() {
  6102. },
  6103. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6104. this.$this = t0;
  6105. },
  6106. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6107. this.$this = t0;
  6108. },
  6109. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6110. this._box_0 = t0;
  6111. this.result = t1;
  6112. },
  6113. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6114. },
  6115. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6116. this._map = t0;
  6117. this.$ti = t1;
  6118. },
  6119. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6120. var _ = this;
  6121. _._collection$_keys = t0;
  6122. _._map = t1;
  6123. _._collection$_current = null;
  6124. _.$ti = t2;
  6125. },
  6126. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6127. },
  6128. MapView: function MapView() {
  6129. },
  6130. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6131. this._map = t0;
  6132. this.$ti = t1;
  6133. },
  6134. ListQueue: function ListQueue(t0, t1) {
  6135. var _ = this;
  6136. _._table = t0;
  6137. _._modificationCount = _._tail = _._head = 0;
  6138. _.$ti = t1;
  6139. },
  6140. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6141. var _ = this;
  6142. _._queue = t0;
  6143. _._collection$_end = t1;
  6144. _._modificationCount = t2;
  6145. _._collection$_position = t3;
  6146. _._collection$_current = null;
  6147. _.$ti = t4;
  6148. },
  6149. SetBase: function SetBase() {
  6150. },
  6151. _SetBase: function _SetBase() {
  6152. },
  6153. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6154. },
  6155. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6156. this._collection$_source = t0;
  6157. this.$ti = t1;
  6158. },
  6159. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6160. },
  6161. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6162. },
  6163. _parseJson(source, reviver) {
  6164. var e, exception, t1, parsed = null;
  6165. try {
  6166. parsed = JSON.parse(source);
  6167. } catch (exception) {
  6168. e = A.unwrapException(exception);
  6169. t1 = A.FormatException$(String(e), null, null);
  6170. throw A.wrapException(t1);
  6171. }
  6172. t1 = A._convertJsonToDartLazy(parsed);
  6173. return t1;
  6174. },
  6175. _convertJsonToDartLazy(object) {
  6176. var i;
  6177. if (object == null)
  6178. return null;
  6179. if (typeof object != "object")
  6180. return object;
  6181. if (!Array.isArray(object))
  6182. return new A._JsonMap(object, Object.create(null));
  6183. for (i = 0; i < object.length; ++i)
  6184. object[i] = A._convertJsonToDartLazy(object[i]);
  6185. return object;
  6186. },
  6187. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6188. var bytes, t1, i, b,
  6189. $length = end - start;
  6190. if ($length <= 4096)
  6191. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6192. else
  6193. bytes = new Uint8Array($length);
  6194. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6195. b = t1.$index(codeUnits, start + i);
  6196. if ((b & 255) !== b)
  6197. b = 255;
  6198. bytes[i] = b;
  6199. }
  6200. return bytes;
  6201. },
  6202. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6203. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6204. if (decoder == null)
  6205. return null;
  6206. if (0 === start && end === codeUnits.length)
  6207. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6208. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6209. },
  6210. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6211. var t1, exception;
  6212. try {
  6213. t1 = decoder.decode(codeUnits);
  6214. return t1;
  6215. } catch (exception) {
  6216. }
  6217. return null;
  6218. },
  6219. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6220. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6221. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6222. if (firstPadding + paddingCount !== $length)
  6223. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6224. if (paddingCount > 2)
  6225. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6226. },
  6227. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6228. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  6229. bits = state >>> 2,
  6230. expectedChars = 3 - (state & 3);
  6231. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  6232. byte = t1.$index(bytes, i);
  6233. byteOr = (byteOr | byte) >>> 0;
  6234. bits = (bits << 8 | byte) & 16777215;
  6235. --expectedChars;
  6236. if (expectedChars === 0) {
  6237. outputIndex0 = outputIndex + 1;
  6238. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6239. outputIndex = outputIndex0 + 1;
  6240. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6241. outputIndex0 = outputIndex + 1;
  6242. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6243. outputIndex = outputIndex0 + 1;
  6244. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6245. bits = 0;
  6246. expectedChars = 3;
  6247. }
  6248. }
  6249. if (byteOr >= 0 && byteOr <= 255) {
  6250. if (isLast && expectedChars < 3) {
  6251. outputIndex0 = outputIndex + 1;
  6252. outputIndex1 = outputIndex0 + 1;
  6253. if (3 - expectedChars === 1) {
  6254. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6255. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6256. output[outputIndex1] = 61;
  6257. output[outputIndex1 + 1] = 61;
  6258. } else {
  6259. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6260. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6261. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6262. output[outputIndex1 + 1] = 61;
  6263. }
  6264. return 0;
  6265. }
  6266. return (bits << 2 | 3 - expectedChars) >>> 0;
  6267. }
  6268. for (i = start; i < end;) {
  6269. byte = t1.$index(bytes, i);
  6270. if (byte < 0 || byte > 255)
  6271. break;
  6272. ++i;
  6273. }
  6274. 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));
  6275. },
  6276. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6277. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6278. },
  6279. _defaultToEncodable(object) {
  6280. return object.toJson$0();
  6281. },
  6282. _JsonStringStringifier$(_sink, _toEncodable) {
  6283. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6284. },
  6285. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6286. var t1,
  6287. output = new A.StringBuffer(""),
  6288. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6289. stringifier.writeObject$1(object);
  6290. t1 = output._contents;
  6291. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6292. },
  6293. _Utf8Decoder_errorDescription(state) {
  6294. switch (state) {
  6295. case 65:
  6296. return "Missing extension byte";
  6297. case 67:
  6298. return "Unexpected extension byte";
  6299. case 69:
  6300. return "Invalid UTF-8 byte";
  6301. case 71:
  6302. return "Overlong encoding";
  6303. case 73:
  6304. return "Out of unicode range";
  6305. case 75:
  6306. return "Encoded surrogate";
  6307. case 77:
  6308. return "Unfinished UTF-8 octet sequence";
  6309. default:
  6310. return "";
  6311. }
  6312. },
  6313. _JsonMap: function _JsonMap(t0, t1) {
  6314. this._original = t0;
  6315. this._processed = t1;
  6316. this._data = null;
  6317. },
  6318. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6319. this.$this = t0;
  6320. },
  6321. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6322. this.$this = t0;
  6323. },
  6324. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6325. this._convert$_parent = t0;
  6326. },
  6327. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6328. },
  6329. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6330. },
  6331. AsciiCodec: function AsciiCodec() {
  6332. },
  6333. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6334. },
  6335. AsciiEncoder: function AsciiEncoder(t0) {
  6336. this._subsetMask = t0;
  6337. },
  6338. Base64Codec: function Base64Codec() {
  6339. },
  6340. Base64Encoder: function Base64Encoder() {
  6341. },
  6342. _Base64Encoder: function _Base64Encoder(t0) {
  6343. this._convert$_state = 0;
  6344. this._alphabet = t0;
  6345. },
  6346. _Base64EncoderSink: function _Base64EncoderSink() {
  6347. },
  6348. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6349. this._sink = t0;
  6350. this._encoder = t1;
  6351. },
  6352. ByteConversionSink: function ByteConversionSink() {
  6353. },
  6354. Codec: function Codec() {
  6355. },
  6356. Converter: function Converter() {
  6357. },
  6358. Encoding: function Encoding() {
  6359. },
  6360. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6361. this.unsupportedObject = t0;
  6362. this.cause = t1;
  6363. },
  6364. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6365. this.unsupportedObject = t0;
  6366. this.cause = t1;
  6367. },
  6368. JsonCodec: function JsonCodec() {
  6369. },
  6370. JsonEncoder: function JsonEncoder(t0) {
  6371. this._toEncodable = t0;
  6372. },
  6373. JsonDecoder: function JsonDecoder(t0) {
  6374. this._reviver = t0;
  6375. },
  6376. _JsonStringifier: function _JsonStringifier() {
  6377. },
  6378. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6379. this._box_0 = t0;
  6380. this.keyValueList = t1;
  6381. },
  6382. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6383. this._sink = t0;
  6384. this._seen = t1;
  6385. this._toEncodable = t2;
  6386. },
  6387. StringConversionSink: function StringConversionSink() {
  6388. },
  6389. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6390. this._stringSink = t0;
  6391. },
  6392. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6393. this._convert$_callback = t0;
  6394. this._stringSink = t1;
  6395. },
  6396. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6397. this._decoder = t0;
  6398. this._sink = t1;
  6399. this._stringSink = t2;
  6400. },
  6401. Utf8Codec: function Utf8Codec() {
  6402. },
  6403. Utf8Encoder: function Utf8Encoder() {
  6404. },
  6405. _Utf8Encoder: function _Utf8Encoder(t0) {
  6406. this._bufferIndex = 0;
  6407. this._buffer = t0;
  6408. },
  6409. Utf8Decoder: function Utf8Decoder(t0) {
  6410. this._allowMalformed = t0;
  6411. },
  6412. _Utf8Decoder: function _Utf8Decoder(t0) {
  6413. this.allowMalformed = t0;
  6414. this._convert$_state = 16;
  6415. this._charOrIndex = 0;
  6416. },
  6417. identityHashCode(object) {
  6418. return A.objectHashCode(object);
  6419. },
  6420. Function_apply($function, positionalArguments) {
  6421. return A.Primitives_applyFunction($function, positionalArguments, null);
  6422. },
  6423. Expando$() {
  6424. return new A.Expando(new WeakMap());
  6425. },
  6426. Expando__checkType(object) {
  6427. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6428. A.Expando__badExpandoKey(object);
  6429. },
  6430. Expando__badExpandoKey(object) {
  6431. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6432. },
  6433. int_parse(source, radix) {
  6434. var value = A.Primitives_parseInt(source, radix);
  6435. if (value != null)
  6436. return value;
  6437. throw A.wrapException(A.FormatException$(source, null, null));
  6438. },
  6439. double_parse(source) {
  6440. var value = A.Primitives_parseDouble(source);
  6441. if (value != null)
  6442. return value;
  6443. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6444. },
  6445. Error__throw(error, stackTrace) {
  6446. error = A.wrapException(error);
  6447. error.stack = stackTrace.toString$0(0);
  6448. throw error;
  6449. throw A.wrapException("unreachable");
  6450. },
  6451. List_List$filled($length, fill, growable, $E) {
  6452. var i,
  6453. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6454. if ($length !== 0 && fill != null)
  6455. for (i = 0; i < result.length; ++i)
  6456. result[i] = fill;
  6457. return result;
  6458. },
  6459. List_List$from(elements, growable, $E) {
  6460. var t1,
  6461. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6462. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6463. list.push(t1.get$current(t1));
  6464. if (growable)
  6465. return list;
  6466. return J.JSArray_markFixedList(list);
  6467. },
  6468. List_List$of(elements, growable, $E) {
  6469. var t1;
  6470. if (growable)
  6471. return A.List_List$_of(elements, $E);
  6472. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  6473. return t1;
  6474. },
  6475. List_List$_of(elements, $E) {
  6476. var list, t1;
  6477. if (Array.isArray(elements))
  6478. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6479. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6480. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6481. list.push(t1.get$current(t1));
  6482. return list;
  6483. },
  6484. List_List$unmodifiable(elements, $E) {
  6485. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  6486. },
  6487. String_String$fromCharCodes(charCodes, start, end) {
  6488. var t1, t2, maxLength, array, len;
  6489. A.RangeError_checkNotNegative(start, "start");
  6490. t1 = end == null;
  6491. t2 = !t1;
  6492. if (t2) {
  6493. maxLength = end - start;
  6494. if (maxLength < 0)
  6495. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6496. if (maxLength === 0)
  6497. return "";
  6498. }
  6499. if (Array.isArray(charCodes)) {
  6500. array = charCodes;
  6501. len = array.length;
  6502. if (t1)
  6503. end = len;
  6504. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6505. }
  6506. if (type$.NativeUint8List._is(charCodes))
  6507. return A.String__stringFromUint8List(charCodes, start, end);
  6508. if (t2)
  6509. charCodes = J.take$1$ax(charCodes, end);
  6510. if (start > 0)
  6511. charCodes = J.skip$1$ax(charCodes, start);
  6512. return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int));
  6513. },
  6514. String_String$fromCharCode(charCode) {
  6515. return A.Primitives_stringFromCharCode(charCode);
  6516. },
  6517. String__stringFromUint8List(charCodes, start, endOrNull) {
  6518. var len = charCodes.length;
  6519. if (start >= len)
  6520. return "";
  6521. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6522. },
  6523. RegExp_RegExp(source, multiLine) {
  6524. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  6525. },
  6526. identical(a, b) {
  6527. return a == null ? b == null : a === b;
  6528. },
  6529. StringBuffer__writeAll(string, objects, separator) {
  6530. var iterator = J.get$iterator$ax(objects);
  6531. if (!iterator.moveNext$0())
  6532. return string;
  6533. if (separator.length === 0) {
  6534. do
  6535. string += A.S(iterator.get$current(iterator));
  6536. while (iterator.moveNext$0());
  6537. } else {
  6538. string += A.S(iterator.get$current(iterator));
  6539. for (; iterator.moveNext$0();)
  6540. string = string + separator + A.S(iterator.get$current(iterator));
  6541. }
  6542. return string;
  6543. },
  6544. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6545. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6546. },
  6547. Uri_base() {
  6548. var cachedUri, uri,
  6549. current = A.Primitives_currentUri();
  6550. if (current == null)
  6551. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6552. cachedUri = $.Uri__cachedBaseUri;
  6553. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6554. return cachedUri;
  6555. uri = A.Uri_parse(current);
  6556. $.Uri__cachedBaseUri = uri;
  6557. $.Uri__cachedBaseString = current;
  6558. return uri;
  6559. },
  6560. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  6561. var t1, bytes, i, t2, byte,
  6562. _s16_ = "0123456789ABCDEF";
  6563. if (encoding === B.C_Utf8Codec) {
  6564. t1 = $.$get$_Uri__needsNoEncoding();
  6565. t1 = t1._nativeRegExp.test(text);
  6566. } else
  6567. t1 = false;
  6568. if (t1)
  6569. return text;
  6570. bytes = B.C_Utf8Encoder.convert$1(text);
  6571. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6572. byte = bytes[i];
  6573. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  6574. t2 += A.Primitives_stringFromCharCode(byte);
  6575. else
  6576. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6577. }
  6578. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6579. },
  6580. StackTrace_current() {
  6581. return A.getTraceFromException(new Error());
  6582. },
  6583. DateTime__fourDigits(n) {
  6584. var absN = Math.abs(n),
  6585. sign = n < 0 ? "-" : "";
  6586. if (absN >= 1000)
  6587. return "" + n;
  6588. if (absN >= 100)
  6589. return sign + "0" + absN;
  6590. if (absN >= 10)
  6591. return sign + "00" + absN;
  6592. return sign + "000" + absN;
  6593. },
  6594. DateTime__threeDigits(n) {
  6595. if (n >= 100)
  6596. return "" + n;
  6597. if (n >= 10)
  6598. return "0" + n;
  6599. return "00" + n;
  6600. },
  6601. DateTime__twoDigits(n) {
  6602. if (n >= 10)
  6603. return "" + n;
  6604. return "0" + n;
  6605. },
  6606. Duration$(microseconds, milliseconds) {
  6607. return new A.Duration(microseconds + 1000 * milliseconds);
  6608. },
  6609. Error_safeToString(object) {
  6610. if (typeof object == "number" || A._isBool(object) || object == null)
  6611. return J.toString$0$(object);
  6612. if (typeof object == "string")
  6613. return JSON.stringify(object);
  6614. return A.Primitives_safeToString(object);
  6615. },
  6616. Error_throwWithStackTrace(error, stackTrace) {
  6617. A.checkNotNullable(error, "error", type$.Object);
  6618. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6619. A.Error__throw(error, stackTrace);
  6620. },
  6621. AssertionError$(message) {
  6622. return new A.AssertionError(message);
  6623. },
  6624. ArgumentError$(message, $name) {
  6625. return new A.ArgumentError(false, null, $name, message);
  6626. },
  6627. ArgumentError$value(value, $name, message) {
  6628. return new A.ArgumentError(true, value, $name, message);
  6629. },
  6630. ArgumentError_checkNotNull(argument, $name) {
  6631. return argument;
  6632. },
  6633. RangeError$(message) {
  6634. var _null = null;
  6635. return new A.RangeError(_null, _null, false, _null, _null, message);
  6636. },
  6637. RangeError$value(value, $name, message) {
  6638. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6639. },
  6640. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6641. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6642. },
  6643. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6644. if (value < minValue || value > maxValue)
  6645. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6646. return value;
  6647. },
  6648. RangeError_checkValidRange(start, end, $length) {
  6649. if (0 > start || start > $length)
  6650. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6651. if (end != null) {
  6652. if (start > end || end > $length)
  6653. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6654. return end;
  6655. }
  6656. return $length;
  6657. },
  6658. RangeError_checkNotNegative(value, $name) {
  6659. if (value < 0)
  6660. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6661. return value;
  6662. },
  6663. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6664. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6665. },
  6666. IndexError_check(index, $length, indexable, message, $name) {
  6667. if (0 > index || index >= $length)
  6668. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6669. return index;
  6670. },
  6671. UnsupportedError$(message) {
  6672. return new A.UnsupportedError(message);
  6673. },
  6674. UnimplementedError$(message) {
  6675. return new A.UnimplementedError(message);
  6676. },
  6677. StateError$(message) {
  6678. return new A.StateError(message);
  6679. },
  6680. ConcurrentModificationError$(modifiedObject) {
  6681. return new A.ConcurrentModificationError(modifiedObject);
  6682. },
  6683. FormatException$(message, source, offset) {
  6684. return new A.FormatException(message, source, offset);
  6685. },
  6686. Iterable_Iterable$generate(count, generator, $E) {
  6687. if (count <= 0)
  6688. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6689. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6690. },
  6691. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6692. var parts, t1;
  6693. if (A.isToStringVisiting(iterable)) {
  6694. if (leftDelimiter === "(" && rightDelimiter === ")")
  6695. return "(...)";
  6696. return leftDelimiter + "..." + rightDelimiter;
  6697. }
  6698. parts = A._setArrayType([], type$.JSArray_String);
  6699. $.toStringVisiting.push(iterable);
  6700. try {
  6701. A._iterablePartsToStrings(iterable, parts);
  6702. } finally {
  6703. $.toStringVisiting.pop();
  6704. }
  6705. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6706. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6707. },
  6708. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6709. var buffer, t1;
  6710. if (A.isToStringVisiting(iterable))
  6711. return leftDelimiter + "..." + rightDelimiter;
  6712. buffer = new A.StringBuffer(leftDelimiter);
  6713. $.toStringVisiting.push(iterable);
  6714. try {
  6715. t1 = buffer;
  6716. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6717. } finally {
  6718. $.toStringVisiting.pop();
  6719. }
  6720. buffer._contents += rightDelimiter;
  6721. t1 = buffer._contents;
  6722. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6723. },
  6724. _iterablePartsToStrings(iterable, parts) {
  6725. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6726. it = iterable.get$iterator(iterable),
  6727. $length = 0, count = 0;
  6728. while (true) {
  6729. if (!($length < 80 || count < 3))
  6730. break;
  6731. if (!it.moveNext$0())
  6732. return;
  6733. next = A.S(it.get$current(it));
  6734. parts.push(next);
  6735. $length += next.length + 2;
  6736. ++count;
  6737. }
  6738. if (!it.moveNext$0()) {
  6739. if (count <= 5)
  6740. return;
  6741. ultimateString = parts.pop();
  6742. penultimateString = parts.pop();
  6743. } else {
  6744. penultimate = it.get$current(it);
  6745. ++count;
  6746. if (!it.moveNext$0()) {
  6747. if (count <= 4) {
  6748. parts.push(A.S(penultimate));
  6749. return;
  6750. }
  6751. ultimateString = A.S(penultimate);
  6752. penultimateString = parts.pop();
  6753. $length += ultimateString.length + 2;
  6754. } else {
  6755. ultimate = it.get$current(it);
  6756. ++count;
  6757. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6758. ultimate0 = it.get$current(it);
  6759. ++count;
  6760. if (count > 100) {
  6761. while (true) {
  6762. if (!($length > 75 && count > 3))
  6763. break;
  6764. $length -= parts.pop().length + 2;
  6765. --count;
  6766. }
  6767. parts.push("...");
  6768. return;
  6769. }
  6770. }
  6771. penultimateString = A.S(penultimate);
  6772. ultimateString = A.S(ultimate);
  6773. $length += ultimateString.length + penultimateString.length + 4;
  6774. }
  6775. }
  6776. if (count > parts.length + 2) {
  6777. $length += 5;
  6778. elision = "...";
  6779. } else
  6780. elision = null;
  6781. while (true) {
  6782. if (!($length > 80 && parts.length > 3))
  6783. break;
  6784. $length -= parts.pop().length + 2;
  6785. if (elision == null) {
  6786. $length += 5;
  6787. elision = "...";
  6788. }
  6789. }
  6790. if (elision != null)
  6791. parts.push(elision);
  6792. parts.push(penultimateString);
  6793. parts.push(ultimateString);
  6794. },
  6795. Map_castFrom(source, $K, $V, K2, V2) {
  6796. 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>"));
  6797. },
  6798. Object_hash(object1, object2, object3, object4) {
  6799. var t1;
  6800. if (B.C_SentinelValue === object3) {
  6801. t1 = J.get$hashCode$(object1);
  6802. object2 = J.get$hashCode$(object2);
  6803. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6804. }
  6805. if (B.C_SentinelValue === object4) {
  6806. t1 = J.get$hashCode$(object1);
  6807. object2 = J.get$hashCode$(object2);
  6808. object3 = J.get$hashCode$(object3);
  6809. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6810. }
  6811. t1 = J.get$hashCode$(object1);
  6812. object2 = J.get$hashCode$(object2);
  6813. object3 = J.get$hashCode$(object3);
  6814. object4 = J.get$hashCode$(object4);
  6815. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6816. return object4;
  6817. },
  6818. Object_hashAll(objects) {
  6819. var t1, _i,
  6820. hash = $.$get$_hashSeed();
  6821. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6822. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6823. return A.SystemHash_finish(hash);
  6824. },
  6825. print(object) {
  6826. var line = A.S(object),
  6827. toZone = $.printToZone;
  6828. if (toZone == null)
  6829. A.printString(line);
  6830. else
  6831. toZone.call$1(line);
  6832. },
  6833. Set_Set$unmodifiable(elements, $E) {
  6834. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6835. },
  6836. Set_castFrom(source, newSet, $S, $T) {
  6837. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6838. },
  6839. _combineSurrogatePair(start, end) {
  6840. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6841. },
  6842. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6843. var encodingName, t1,
  6844. buffer = new A.StringBuffer(""),
  6845. indices = A._setArrayType([-1], type$.JSArray_int);
  6846. if (encoding == null)
  6847. encodingName = null;
  6848. else
  6849. encodingName = "utf-8";
  6850. if (encoding == null)
  6851. encoding = B.C_AsciiCodec;
  6852. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6853. indices.push(buffer._contents.length);
  6854. buffer._contents += ",";
  6855. A.UriData__uriEncodeBytes(B.List_42A, encoding.encode$1($content), buffer);
  6856. t1 = buffer._contents;
  6857. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6858. },
  6859. Uri_parse(uri) {
  6860. var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null,
  6861. end = uri.length;
  6862. if (end >= 5) {
  6863. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6864. if (delta === 0)
  6865. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6866. else if (delta === 32)
  6867. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6868. }
  6869. indices = A.List_List$filled(8, 0, false, type$.int);
  6870. indices[0] = 0;
  6871. indices[1] = -1;
  6872. indices[2] = -1;
  6873. indices[7] = -1;
  6874. indices[3] = 0;
  6875. indices[4] = 0;
  6876. indices[5] = end;
  6877. indices[6] = end;
  6878. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6879. indices[7] = end;
  6880. schemeEnd = indices[1];
  6881. if (schemeEnd >= 0)
  6882. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6883. indices[7] = schemeEnd;
  6884. hostStart = indices[2] + 1;
  6885. portStart = indices[3];
  6886. pathStart = indices[4];
  6887. queryStart = indices[5];
  6888. fragmentStart = indices[6];
  6889. if (fragmentStart < queryStart)
  6890. queryStart = fragmentStart;
  6891. if (pathStart < hostStart)
  6892. pathStart = queryStart;
  6893. else if (pathStart <= schemeEnd)
  6894. pathStart = schemeEnd + 1;
  6895. if (portStart < hostStart)
  6896. portStart = pathStart;
  6897. isSimple = indices[7] < 0;
  6898. scheme = _null;
  6899. if (isSimple) {
  6900. isSimple = false;
  6901. if (!(hostStart > schemeEnd + 3)) {
  6902. t1 = portStart > 0;
  6903. if (!(t1 && portStart + 1 === pathStart)) {
  6904. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6905. if (hostStart > 0)
  6906. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6907. else
  6908. t2 = false;
  6909. else
  6910. t2 = true;
  6911. if (!t2) {
  6912. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6913. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6914. else
  6915. t2 = true;
  6916. if (!t2)
  6917. if (schemeEnd === 4) {
  6918. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6919. if (hostStart <= 0) {
  6920. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6921. schemeAuth = "file:///";
  6922. delta = 3;
  6923. } else {
  6924. schemeAuth = "file://";
  6925. delta = 2;
  6926. }
  6927. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6928. queryStart += delta;
  6929. fragmentStart += delta;
  6930. end = uri.length;
  6931. hostStart = 7;
  6932. portStart = 7;
  6933. pathStart = 7;
  6934. } else if (pathStart === queryStart) {
  6935. ++fragmentStart;
  6936. queryStart0 = queryStart + 1;
  6937. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6938. ++end;
  6939. queryStart = queryStart0;
  6940. }
  6941. scheme = "file";
  6942. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6943. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6944. fragmentStart -= 3;
  6945. pathStart0 = pathStart - 3;
  6946. queryStart -= 3;
  6947. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6948. end -= 3;
  6949. pathStart = pathStart0;
  6950. }
  6951. scheme = "http";
  6952. }
  6953. } else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6954. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6955. fragmentStart -= 4;
  6956. pathStart0 = pathStart - 4;
  6957. queryStart -= 4;
  6958. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6959. end -= 3;
  6960. pathStart = pathStart0;
  6961. }
  6962. scheme = "https";
  6963. }
  6964. isSimple = !t2;
  6965. }
  6966. }
  6967. }
  6968. }
  6969. if (isSimple)
  6970. return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6971. if (scheme == null)
  6972. if (schemeEnd > 0)
  6973. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6974. else {
  6975. if (schemeEnd === 0)
  6976. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6977. scheme = "";
  6978. }
  6979. port = _null;
  6980. if (hostStart > 0) {
  6981. userInfoStart = schemeEnd + 3;
  6982. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6983. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6984. t1 = portStart + 1;
  6985. if (t1 < pathStart) {
  6986. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6987. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6988. }
  6989. } else {
  6990. host = _null;
  6991. userInfo = "";
  6992. }
  6993. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6994. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6995. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6996. },
  6997. Uri_decodeComponent(encodedComponent) {
  6998. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6999. },
  7000. Uri__parseIPv4Address(host, start, end) {
  7001. var i, partStart, partIndex, char, part, partIndex0,
  7002. _s43_ = "IPv4 address should contain exactly 4 parts",
  7003. _s37_ = "each part must be in the range 0..255",
  7004. error = new A.Uri__parseIPv4Address_error(host),
  7005. result = new Uint8Array(4);
  7006. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  7007. char = host.charCodeAt(i);
  7008. if (char !== 46) {
  7009. if ((char ^ 48) > 9)
  7010. error.call$2("invalid character", i);
  7011. } else {
  7012. if (partIndex === 3)
  7013. error.call$2(_s43_, i);
  7014. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  7015. if (part > 255)
  7016. error.call$2(_s37_, partStart);
  7017. partIndex0 = partIndex + 1;
  7018. result[partIndex] = part;
  7019. partStart = i + 1;
  7020. partIndex = partIndex0;
  7021. }
  7022. }
  7023. if (partIndex !== 3)
  7024. error.call$2(_s43_, end);
  7025. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  7026. if (part > 255)
  7027. error.call$2(_s37_, partStart);
  7028. result[partIndex] = part;
  7029. return result;
  7030. },
  7031. Uri_parseIPv6Address(host, start, end) {
  7032. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  7033. error = new A.Uri_parseIPv6Address_error(host),
  7034. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  7035. if (host.length < 2)
  7036. error.call$2("address is too short", _null);
  7037. parts = A._setArrayType([], type$.JSArray_int);
  7038. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  7039. char = host.charCodeAt(i);
  7040. if (char === 58) {
  7041. if (i === start) {
  7042. ++i;
  7043. if (host.charCodeAt(i) !== 58)
  7044. error.call$2("invalid start colon.", i);
  7045. partStart = i;
  7046. }
  7047. if (i === partStart) {
  7048. if (wildcardSeen)
  7049. error.call$2("only one wildcard `::` is allowed", i);
  7050. parts.push(-1);
  7051. wildcardSeen = true;
  7052. } else
  7053. parts.push(parseHex.call$2(partStart, i));
  7054. partStart = i + 1;
  7055. } else if (char === 46)
  7056. seenDot = true;
  7057. }
  7058. if (parts.length === 0)
  7059. error.call$2("too few parts", _null);
  7060. atEnd = partStart === end;
  7061. t1 = B.JSArray_methods.get$last(parts);
  7062. if (atEnd && t1 !== -1)
  7063. error.call$2("expected a part after last `:`", end);
  7064. if (!atEnd)
  7065. if (!seenDot)
  7066. parts.push(parseHex.call$2(partStart, end));
  7067. else {
  7068. last = A.Uri__parseIPv4Address(host, partStart, end);
  7069. parts.push((last[0] << 8 | last[1]) >>> 0);
  7070. parts.push((last[2] << 8 | last[3]) >>> 0);
  7071. }
  7072. if (wildcardSeen) {
  7073. if (parts.length > 7)
  7074. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  7075. } else if (parts.length !== 8)
  7076. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  7077. bytes = new Uint8Array(16);
  7078. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  7079. value = parts[i];
  7080. if (value === -1)
  7081. for (j = 0; j < wildCardLength; ++j) {
  7082. bytes[index] = 0;
  7083. bytes[index + 1] = 0;
  7084. index += 2;
  7085. }
  7086. else {
  7087. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  7088. bytes[index + 1] = value & 255;
  7089. index += 2;
  7090. }
  7091. }
  7092. return bytes;
  7093. },
  7094. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7095. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7096. },
  7097. _Uri__Uri(host, path, pathSegments, scheme) {
  7098. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7099. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7100. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7101. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7102. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7103. fragment = A._Uri__makeFragment(_null, 0, 0);
  7104. port = A._Uri__makePort(_null, scheme);
  7105. isFile = scheme === "file";
  7106. if (host == null)
  7107. t1 = userInfo.length !== 0 || port != null || isFile;
  7108. else
  7109. t1 = false;
  7110. if (t1)
  7111. host = "";
  7112. t1 = host == null;
  7113. hasAuthority = !t1;
  7114. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7115. t2 = scheme.length === 0;
  7116. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7117. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7118. else
  7119. path = A._Uri__removeDotSegments(path);
  7120. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7121. },
  7122. _Uri__defaultPort(scheme) {
  7123. if (scheme === "http")
  7124. return 80;
  7125. if (scheme === "https")
  7126. return 443;
  7127. return 0;
  7128. },
  7129. _Uri__fail(uri, index, message) {
  7130. throw A.wrapException(A.FormatException$(message, uri, index));
  7131. },
  7132. _Uri__Uri$file(path, windows) {
  7133. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7134. },
  7135. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7136. var t1, _i, segment, t2, t3;
  7137. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7138. segment = segments[_i];
  7139. t2 = J.getInterceptor$asx(segment);
  7140. t3 = t2.get$length(segment);
  7141. if (0 > t3)
  7142. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  7143. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7144. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  7145. throw A.wrapException(t1);
  7146. }
  7147. }
  7148. },
  7149. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7150. var t1, t2, t3, t4;
  7151. 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();) {
  7152. t3 = t1.__internal$_current;
  7153. if (t3 == null)
  7154. t3 = t2._as(t3);
  7155. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7156. if (A.stringContainsUnchecked(t3, t4, 0))
  7157. if (argumentError)
  7158. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7159. else
  7160. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7161. }
  7162. },
  7163. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7164. var t1,
  7165. _s21_ = "Illegal drive letter ";
  7166. if (!(65 <= charCode && charCode <= 90))
  7167. t1 = 97 <= charCode && charCode <= 122;
  7168. else
  7169. t1 = true;
  7170. if (t1)
  7171. return;
  7172. if (argumentError)
  7173. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7174. else
  7175. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7176. },
  7177. _Uri__makeFileUri(path, slashTerminated) {
  7178. var _null = null,
  7179. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7180. if (B.JSString_methods.startsWith$1(path, "/"))
  7181. return A._Uri__Uri(_null, _null, segments, "file");
  7182. else
  7183. return A._Uri__Uri(_null, _null, segments, _null);
  7184. },
  7185. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7186. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7187. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7188. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7189. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7190. else {
  7191. path = B.JSString_methods.substring$1(path, 4);
  7192. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7193. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7194. }
  7195. else
  7196. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7197. t1 = path.length;
  7198. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7199. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7200. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7201. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7202. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7203. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7204. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7205. }
  7206. if (B.JSString_methods.startsWith$1(path, _s1_))
  7207. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7208. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7209. t1 = pathStart < 0;
  7210. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7211. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7212. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7213. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7214. } else {
  7215. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7216. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7217. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7218. }
  7219. else {
  7220. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7221. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7222. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7223. }
  7224. },
  7225. _Uri__makePort(port, scheme) {
  7226. if (port != null && port === A._Uri__defaultPort(scheme))
  7227. return null;
  7228. return port;
  7229. },
  7230. _Uri__makeHost(host, start, end, strictIPv6) {
  7231. var t1, t2, index, zoneIDstart, zoneID, i;
  7232. if (host == null)
  7233. return null;
  7234. if (start === end)
  7235. return "";
  7236. if (host.charCodeAt(start) === 91) {
  7237. t1 = end - 1;
  7238. if (host.charCodeAt(t1) !== 93)
  7239. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7240. t2 = start + 1;
  7241. index = A._Uri__checkZoneID(host, t2, t1);
  7242. if (index < t1) {
  7243. zoneIDstart = index + 1;
  7244. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7245. } else
  7246. zoneID = "";
  7247. A.Uri_parseIPv6Address(host, t2, index);
  7248. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7249. }
  7250. for (i = start; i < end; ++i)
  7251. if (host.charCodeAt(i) === 58) {
  7252. index = B.JSString_methods.indexOf$2(host, "%", start);
  7253. index = index >= start && index < end ? index : end;
  7254. if (index < end) {
  7255. zoneIDstart = index + 1;
  7256. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7257. } else
  7258. zoneID = "";
  7259. A.Uri_parseIPv6Address(host, start, index);
  7260. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7261. }
  7262. return A._Uri__normalizeRegName(host, start, end);
  7263. },
  7264. _Uri__checkZoneID(host, start, end) {
  7265. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7266. return index >= start && index < end ? index : end;
  7267. },
  7268. _Uri__normalizeZoneID(host, start, end, prefix) {
  7269. var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
  7270. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7271. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7272. char = host.charCodeAt(index);
  7273. if (char === 37) {
  7274. replacement = A._Uri__normalizeEscape(host, index, true);
  7275. t1 = replacement == null;
  7276. if (t1 && isNormalized) {
  7277. index += 3;
  7278. continue;
  7279. }
  7280. if (buffer == null)
  7281. buffer = new A.StringBuffer("");
  7282. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7283. if (t1)
  7284. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7285. else if (replacement === "%")
  7286. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7287. buffer._contents = t2 + replacement;
  7288. index += 3;
  7289. sectionStart = index;
  7290. isNormalized = true;
  7291. } else if (char < 127 && (B.List_piR[char >>> 4] & 1 << (char & 15)) !== 0) {
  7292. if (isNormalized && 65 <= char && 90 >= char) {
  7293. if (buffer == null)
  7294. buffer = new A.StringBuffer("");
  7295. if (sectionStart < index) {
  7296. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7297. sectionStart = index;
  7298. }
  7299. isNormalized = false;
  7300. }
  7301. ++index;
  7302. } else {
  7303. sourceLength = 1;
  7304. if ((char & 64512) === 55296 && index + 1 < end) {
  7305. tail = host.charCodeAt(index + 1);
  7306. if ((tail & 64512) === 56320) {
  7307. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7308. sourceLength = 2;
  7309. }
  7310. }
  7311. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7312. if (buffer == null) {
  7313. buffer = new A.StringBuffer("");
  7314. t1 = buffer;
  7315. } else
  7316. t1 = buffer;
  7317. t1._contents += slice;
  7318. t2 = A._Uri__escapeChar(char);
  7319. t1._contents += t2;
  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 += slice;
  7329. }
  7330. t1 = buffer._contents;
  7331. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7332. },
  7333. _Uri__normalizeRegName(host, start, end) {
  7334. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  7335. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7336. char = host.charCodeAt(index);
  7337. if (char === 37) {
  7338. replacement = A._Uri__normalizeEscape(host, index, true);
  7339. t1 = replacement == null;
  7340. if (t1 && isNormalized) {
  7341. index += 3;
  7342. continue;
  7343. }
  7344. if (buffer == null)
  7345. buffer = new A.StringBuffer("");
  7346. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7347. if (!isNormalized)
  7348. slice = slice.toLowerCase();
  7349. t2 = buffer._contents += slice;
  7350. sourceLength = 3;
  7351. if (t1)
  7352. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7353. else if (replacement === "%") {
  7354. replacement = "%25";
  7355. sourceLength = 1;
  7356. }
  7357. buffer._contents = t2 + replacement;
  7358. index += sourceLength;
  7359. sectionStart = index;
  7360. isNormalized = true;
  7361. } else if (char < 127 && (B.List_4AN[char >>> 4] & 1 << (char & 15)) !== 0) {
  7362. if (isNormalized && 65 <= char && 90 >= char) {
  7363. if (buffer == null)
  7364. buffer = new A.StringBuffer("");
  7365. if (sectionStart < index) {
  7366. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7367. sectionStart = index;
  7368. }
  7369. isNormalized = false;
  7370. }
  7371. ++index;
  7372. } else if (char <= 93 && (B.List_VOY[char >>> 4] & 1 << (char & 15)) !== 0)
  7373. A._Uri__fail(host, index, "Invalid character");
  7374. else {
  7375. sourceLength = 1;
  7376. if ((char & 64512) === 55296 && index + 1 < end) {
  7377. tail = host.charCodeAt(index + 1);
  7378. if ((tail & 64512) === 56320) {
  7379. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7380. sourceLength = 2;
  7381. }
  7382. }
  7383. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7384. if (!isNormalized)
  7385. slice = slice.toLowerCase();
  7386. if (buffer == null) {
  7387. buffer = new A.StringBuffer("");
  7388. t1 = buffer;
  7389. } else
  7390. t1 = buffer;
  7391. t1._contents += slice;
  7392. t2 = A._Uri__escapeChar(char);
  7393. t1._contents += t2;
  7394. index += sourceLength;
  7395. sectionStart = index;
  7396. }
  7397. }
  7398. if (buffer == null)
  7399. return B.JSString_methods.substring$2(host, start, end);
  7400. if (sectionStart < end) {
  7401. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7402. if (!isNormalized)
  7403. slice = slice.toLowerCase();
  7404. buffer._contents += slice;
  7405. }
  7406. t1 = buffer._contents;
  7407. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7408. },
  7409. _Uri__makeScheme(scheme, start, end) {
  7410. var i, containsUpperCase, codeUnit;
  7411. if (start === end)
  7412. return "";
  7413. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7414. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7415. for (i = start, containsUpperCase = false; i < end; ++i) {
  7416. codeUnit = scheme.charCodeAt(i);
  7417. if (!(codeUnit < 128 && (B.List_GVy[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  7418. A._Uri__fail(scheme, i, "Illegal scheme character");
  7419. if (65 <= codeUnit && codeUnit <= 90)
  7420. containsUpperCase = true;
  7421. }
  7422. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7423. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7424. },
  7425. _Uri__canonicalizeScheme(scheme) {
  7426. if (scheme === "http")
  7427. return "http";
  7428. if (scheme === "file")
  7429. return "file";
  7430. if (scheme === "https")
  7431. return "https";
  7432. if (scheme === "package")
  7433. return "package";
  7434. return scheme;
  7435. },
  7436. _Uri__makeUserInfo(userInfo, start, end) {
  7437. if (userInfo == null)
  7438. return "";
  7439. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_2jN, false, false);
  7440. },
  7441. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7442. var result,
  7443. isFile = scheme === "file",
  7444. ensureLeadingSlash = isFile || hasAuthority;
  7445. if (path == null) {
  7446. if (pathSegments == null)
  7447. return isFile ? "/" : "";
  7448. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7449. } else if (pathSegments != null)
  7450. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7451. else
  7452. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_M2I, true, true);
  7453. if (result.length === 0) {
  7454. if (isFile)
  7455. return "/";
  7456. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7457. result = "/" + result;
  7458. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7459. },
  7460. _Uri__normalizePath(path, scheme, hasAuthority) {
  7461. var t1 = scheme.length === 0;
  7462. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7463. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7464. return A._Uri__removeDotSegments(path);
  7465. },
  7466. _Uri__makeQuery(query, start, end, queryParameters) {
  7467. if (query != null)
  7468. return A._Uri__normalizeOrSubstring(query, start, end, B.List_42A, true, false);
  7469. return null;
  7470. },
  7471. _Uri__makeFragment(fragment, start, end) {
  7472. if (fragment == null)
  7473. return null;
  7474. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_42A, true, false);
  7475. },
  7476. _Uri__normalizeEscape(source, index, lowerCase) {
  7477. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7478. t1 = index + 2;
  7479. if (t1 >= source.length)
  7480. return "%";
  7481. firstDigit = source.charCodeAt(index + 1);
  7482. secondDigit = source.charCodeAt(t1);
  7483. firstDigitValue = A.hexDigitValue(firstDigit);
  7484. secondDigitValue = A.hexDigitValue(secondDigit);
  7485. if (firstDigitValue < 0 || secondDigitValue < 0)
  7486. return "%";
  7487. value = firstDigitValue * 16 + secondDigitValue;
  7488. if (value < 127 && (B.List_piR[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  7489. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7490. if (firstDigit >= 97 || secondDigit >= 97)
  7491. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7492. return null;
  7493. },
  7494. _Uri__escapeChar(char) {
  7495. var codeUnits, flag, encodedBytes, index, byte,
  7496. _s16_ = "0123456789ABCDEF";
  7497. if (char < 128) {
  7498. codeUnits = new Uint8Array(3);
  7499. codeUnits[0] = 37;
  7500. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7501. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7502. } else {
  7503. if (char > 2047)
  7504. if (char > 65535) {
  7505. flag = 240;
  7506. encodedBytes = 4;
  7507. } else {
  7508. flag = 224;
  7509. encodedBytes = 3;
  7510. }
  7511. else {
  7512. flag = 192;
  7513. encodedBytes = 2;
  7514. }
  7515. codeUnits = new Uint8Array(3 * encodedBytes);
  7516. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7517. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7518. codeUnits[index] = 37;
  7519. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7520. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7521. index += 3;
  7522. }
  7523. }
  7524. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7525. },
  7526. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7527. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  7528. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7529. },
  7530. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7531. var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, t3, _null = null;
  7532. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7533. char = component.charCodeAt(index);
  7534. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  7535. ++index;
  7536. else {
  7537. sourceLength = 1;
  7538. if (char === 37) {
  7539. replacement = A._Uri__normalizeEscape(component, index, false);
  7540. if (replacement == null) {
  7541. index += 3;
  7542. continue;
  7543. }
  7544. if ("%" === replacement)
  7545. replacement = "%25";
  7546. else
  7547. sourceLength = 3;
  7548. } else if (char === 92 && replaceBackslash)
  7549. replacement = "/";
  7550. else if (t1 && char <= 93 && (B.List_VOY[char >>> 4] & 1 << (char & 15)) !== 0) {
  7551. A._Uri__fail(component, index, "Invalid character");
  7552. sourceLength = _null;
  7553. replacement = sourceLength;
  7554. } else {
  7555. if ((char & 64512) === 55296) {
  7556. t2 = index + 1;
  7557. if (t2 < end) {
  7558. tail = component.charCodeAt(t2);
  7559. if ((tail & 64512) === 56320) {
  7560. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7561. sourceLength = 2;
  7562. }
  7563. }
  7564. }
  7565. replacement = A._Uri__escapeChar(char);
  7566. }
  7567. if (buffer == null) {
  7568. buffer = new A.StringBuffer("");
  7569. t2 = buffer;
  7570. } else
  7571. t2 = buffer;
  7572. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  7573. t2._contents = t3 + A.S(replacement);
  7574. index += sourceLength;
  7575. sectionStart = index;
  7576. }
  7577. }
  7578. if (buffer == null)
  7579. return _null;
  7580. if (sectionStart < end) {
  7581. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7582. buffer._contents += t1;
  7583. }
  7584. t1 = buffer._contents;
  7585. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7586. },
  7587. _Uri__mayContainDotSegments(path) {
  7588. if (B.JSString_methods.startsWith$1(path, "."))
  7589. return true;
  7590. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7591. },
  7592. _Uri__removeDotSegments(path) {
  7593. var output, t1, t2, appendSlash, _i, segment;
  7594. if (!A._Uri__mayContainDotSegments(path))
  7595. return path;
  7596. output = A._setArrayType([], type$.JSArray_String);
  7597. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7598. segment = t1[_i];
  7599. if (J.$eq$(segment, "..")) {
  7600. if (output.length !== 0) {
  7601. output.pop();
  7602. if (output.length === 0)
  7603. output.push("");
  7604. }
  7605. appendSlash = true;
  7606. } else {
  7607. appendSlash = "." === segment;
  7608. if (!appendSlash)
  7609. output.push(segment);
  7610. }
  7611. }
  7612. if (appendSlash)
  7613. output.push("");
  7614. return B.JSArray_methods.join$1(output, "/");
  7615. },
  7616. _Uri__normalizeRelativePath(path, allowScheme) {
  7617. var output, t1, t2, appendSlash, _i, segment;
  7618. if (!A._Uri__mayContainDotSegments(path))
  7619. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7620. output = A._setArrayType([], type$.JSArray_String);
  7621. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7622. segment = t1[_i];
  7623. if (".." === segment) {
  7624. appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
  7625. if (appendSlash)
  7626. output.pop();
  7627. else
  7628. output.push("..");
  7629. } else {
  7630. appendSlash = "." === segment;
  7631. if (!appendSlash)
  7632. output.push(segment);
  7633. }
  7634. }
  7635. t1 = output.length;
  7636. if (t1 !== 0)
  7637. t1 = t1 === 1 && output[0].length === 0;
  7638. else
  7639. t1 = true;
  7640. if (t1)
  7641. return "./";
  7642. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7643. output.push("");
  7644. if (!allowScheme)
  7645. output[0] = A._Uri__escapeScheme(output[0]);
  7646. return B.JSArray_methods.join$1(output, "/");
  7647. },
  7648. _Uri__escapeScheme(path) {
  7649. var i, char,
  7650. t1 = path.length;
  7651. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7652. for (i = 1; i < t1; ++i) {
  7653. char = path.charCodeAt(i);
  7654. if (char === 58)
  7655. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7656. if (char > 127 || (B.List_GVy[char >>> 4] & 1 << (char & 15)) === 0)
  7657. break;
  7658. }
  7659. return path;
  7660. },
  7661. _Uri__packageNameEnd(uri, path) {
  7662. if (uri.isScheme$1("package") && uri._host == null)
  7663. return A._skipPackageNameChars(path, 0, path.length);
  7664. return -1;
  7665. },
  7666. _Uri__toWindowsFilePath(uri) {
  7667. var t2, host,
  7668. segments = uri.get$pathSegments(),
  7669. t1 = segments.length,
  7670. hasDriveLetter = t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58;
  7671. if (hasDriveLetter) {
  7672. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  7673. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7674. } else
  7675. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7676. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7677. if (uri.get$hasAuthority()) {
  7678. host = uri.get$host();
  7679. if (host.length !== 0)
  7680. t2 = t2 + "\\" + host + "\\";
  7681. }
  7682. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7683. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7684. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7685. },
  7686. _Uri__hexCharPairToByte(s, pos) {
  7687. var byte, i, charCode;
  7688. for (byte = 0, i = 0; i < 2; ++i) {
  7689. charCode = s.charCodeAt(pos + i);
  7690. if (48 <= charCode && charCode <= 57)
  7691. byte = byte * 16 + charCode - 48;
  7692. else {
  7693. charCode |= 32;
  7694. if (97 <= charCode && charCode <= 102)
  7695. byte = byte * 16 + charCode - 87;
  7696. else
  7697. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7698. }
  7699. }
  7700. return byte;
  7701. },
  7702. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7703. var simple, codeUnit, t1, bytes,
  7704. i = start;
  7705. while (true) {
  7706. if (!(i < end)) {
  7707. simple = true;
  7708. break;
  7709. }
  7710. codeUnit = text.charCodeAt(i);
  7711. if (codeUnit <= 127)
  7712. t1 = codeUnit === 37;
  7713. else
  7714. t1 = true;
  7715. if (t1) {
  7716. simple = false;
  7717. break;
  7718. }
  7719. ++i;
  7720. }
  7721. if (simple)
  7722. if (B.C_Utf8Codec === encoding)
  7723. return B.JSString_methods.substring$2(text, start, end);
  7724. else
  7725. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7726. else {
  7727. bytes = A._setArrayType([], type$.JSArray_int);
  7728. for (t1 = text.length, i = start; i < end; ++i) {
  7729. codeUnit = text.charCodeAt(i);
  7730. if (codeUnit > 127)
  7731. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7732. if (codeUnit === 37) {
  7733. if (i + 3 > t1)
  7734. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7735. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7736. i += 2;
  7737. } else
  7738. bytes.push(codeUnit);
  7739. }
  7740. }
  7741. return B.Utf8Decoder_false.convert$1(bytes);
  7742. },
  7743. _Uri__isAlphabeticCharacter(codeUnit) {
  7744. var lowerCase = codeUnit | 32;
  7745. return 97 <= lowerCase && lowerCase <= 122;
  7746. },
  7747. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7748. var t1, slashIndex;
  7749. if (mimeType != null)
  7750. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7751. else
  7752. t1 = true;
  7753. if (t1)
  7754. mimeType = "";
  7755. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7756. t1 = buffer._contents += mimeType;
  7757. else {
  7758. slashIndex = A.UriData__validateMimeType(mimeType);
  7759. if (slashIndex < 0)
  7760. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7761. t1 = A._Uri__uriEncode(B.List_oyU, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7762. t1 = buffer._contents += t1;
  7763. buffer._contents = t1 + "/";
  7764. t1 = A._Uri__uriEncode(B.List_oyU, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7765. t1 = buffer._contents += t1;
  7766. }
  7767. if (charsetName != null) {
  7768. indices.push(t1.length);
  7769. indices.push(buffer._contents.length + 8);
  7770. buffer._contents += ";charset=";
  7771. t1 = A._Uri__uriEncode(B.List_oyU, charsetName, B.C_Utf8Codec, false);
  7772. buffer._contents += t1;
  7773. }
  7774. },
  7775. UriData__validateMimeType(mimeType) {
  7776. var t1, slashIndex, i;
  7777. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7778. if (mimeType.charCodeAt(i) !== 47)
  7779. continue;
  7780. if (slashIndex < 0) {
  7781. slashIndex = i;
  7782. continue;
  7783. }
  7784. return -1;
  7785. }
  7786. return slashIndex;
  7787. },
  7788. UriData__parse(text, start, sourceUri) {
  7789. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7790. _s17_ = "Invalid MIME type",
  7791. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7792. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7793. char = text.charCodeAt(i);
  7794. if (char === 44 || char === 59)
  7795. break;
  7796. if (char === 47) {
  7797. if (slashIndex < 0) {
  7798. slashIndex = i;
  7799. continue;
  7800. }
  7801. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7802. }
  7803. }
  7804. if (slashIndex < 0 && i > start)
  7805. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7806. for (; char !== 44;) {
  7807. indices.push(i);
  7808. ++i;
  7809. for (equalsIndex = -1; i < t1; ++i) {
  7810. char = text.charCodeAt(i);
  7811. if (char === 61) {
  7812. if (equalsIndex < 0)
  7813. equalsIndex = i;
  7814. } else if (char === 59 || char === 44)
  7815. break;
  7816. }
  7817. if (equalsIndex >= 0)
  7818. indices.push(equalsIndex);
  7819. else {
  7820. lastSeparator = B.JSArray_methods.get$last(indices);
  7821. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7822. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7823. break;
  7824. }
  7825. }
  7826. indices.push(i);
  7827. t2 = i + 1;
  7828. if ((indices.length & 1) === 1)
  7829. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7830. else {
  7831. data = A._Uri__normalize(text, t2, t1, B.List_42A, true, false);
  7832. if (data != null)
  7833. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7834. }
  7835. return new A.UriData(text, indices, sourceUri);
  7836. },
  7837. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  7838. var t1, byteOr, i, byte, t2,
  7839. _s16_ = "0123456789ABCDEF";
  7840. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7841. byte = bytes[i];
  7842. byteOr |= byte;
  7843. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0) {
  7844. t2 = A.Primitives_stringFromCharCode(byte);
  7845. buffer._contents += t2;
  7846. } else {
  7847. t2 = A.Primitives_stringFromCharCode(37);
  7848. buffer._contents += t2;
  7849. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7850. buffer._contents += t2;
  7851. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7852. buffer._contents += t2;
  7853. }
  7854. }
  7855. if ((byteOr & 4294967040) !== 0)
  7856. for (i = 0; i < t1; ++i) {
  7857. byte = bytes[i];
  7858. if (byte > 255)
  7859. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7860. }
  7861. },
  7862. _createTables() {
  7863. var _i, t1, t2, t3, b,
  7864. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  7865. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  7866. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  7867. for (_i = 0; _i < 22; ++_i)
  7868. tables[_i] = new Uint8Array(96);
  7869. t1 = new A._createTables_build(tables);
  7870. t2 = new A._createTables_setChars();
  7871. t3 = new A._createTables_setRange();
  7872. b = t1.call$2(0, 225);
  7873. t2.call$3(b, _s77_, 1);
  7874. t2.call$3(b, _s1_, 14);
  7875. t2.call$3(b, _s1_0, 34);
  7876. t2.call$3(b, _s1_1, 3);
  7877. t2.call$3(b, _s1_2, 227);
  7878. t2.call$3(b, _s1_3, 172);
  7879. t2.call$3(b, _s1_4, 205);
  7880. b = t1.call$2(14, 225);
  7881. t2.call$3(b, _s77_, 1);
  7882. t2.call$3(b, _s1_, 15);
  7883. t2.call$3(b, _s1_0, 34);
  7884. t2.call$3(b, _s2_, 234);
  7885. t2.call$3(b, _s1_3, 172);
  7886. t2.call$3(b, _s1_4, 205);
  7887. b = t1.call$2(15, 225);
  7888. t2.call$3(b, _s77_, 1);
  7889. t2.call$3(b, "%", 225);
  7890. t2.call$3(b, _s1_0, 34);
  7891. t2.call$3(b, _s1_1, 9);
  7892. t2.call$3(b, _s1_2, 233);
  7893. t2.call$3(b, _s1_3, 172);
  7894. t2.call$3(b, _s1_4, 205);
  7895. b = t1.call$2(1, 225);
  7896. t2.call$3(b, _s77_, 1);
  7897. t2.call$3(b, _s1_0, 34);
  7898. t2.call$3(b, _s1_1, 10);
  7899. t2.call$3(b, _s1_2, 234);
  7900. t2.call$3(b, _s1_3, 172);
  7901. t2.call$3(b, _s1_4, 205);
  7902. b = t1.call$2(2, 235);
  7903. t2.call$3(b, _s77_, 139);
  7904. t2.call$3(b, _s1_1, 131);
  7905. t2.call$3(b, _s1_2, 131);
  7906. t2.call$3(b, _s1_, 146);
  7907. t2.call$3(b, _s1_3, 172);
  7908. t2.call$3(b, _s1_4, 205);
  7909. b = t1.call$2(3, 235);
  7910. t2.call$3(b, _s77_, 11);
  7911. t2.call$3(b, _s1_1, 68);
  7912. t2.call$3(b, _s1_2, 68);
  7913. t2.call$3(b, _s1_, 18);
  7914. t2.call$3(b, _s1_3, 172);
  7915. t2.call$3(b, _s1_4, 205);
  7916. b = t1.call$2(4, 229);
  7917. t2.call$3(b, _s77_, 5);
  7918. t3.call$3(b, "AZ", 229);
  7919. t2.call$3(b, _s1_0, 102);
  7920. t2.call$3(b, "@", 68);
  7921. t2.call$3(b, "[", 232);
  7922. t2.call$3(b, _s1_1, 138);
  7923. t2.call$3(b, _s1_2, 138);
  7924. t2.call$3(b, _s1_3, 172);
  7925. t2.call$3(b, _s1_4, 205);
  7926. b = t1.call$2(5, 229);
  7927. t2.call$3(b, _s77_, 5);
  7928. t3.call$3(b, "AZ", 229);
  7929. t2.call$3(b, _s1_0, 102);
  7930. t2.call$3(b, "@", 68);
  7931. t2.call$3(b, _s1_1, 138);
  7932. t2.call$3(b, _s1_2, 138);
  7933. t2.call$3(b, _s1_3, 172);
  7934. t2.call$3(b, _s1_4, 205);
  7935. b = t1.call$2(6, 231);
  7936. t3.call$3(b, "19", 7);
  7937. t2.call$3(b, "@", 68);
  7938. t2.call$3(b, _s1_1, 138);
  7939. t2.call$3(b, _s1_2, 138);
  7940. t2.call$3(b, _s1_3, 172);
  7941. t2.call$3(b, _s1_4, 205);
  7942. b = t1.call$2(7, 231);
  7943. t3.call$3(b, "09", 7);
  7944. t2.call$3(b, "@", 68);
  7945. t2.call$3(b, _s1_1, 138);
  7946. t2.call$3(b, _s1_2, 138);
  7947. t2.call$3(b, _s1_3, 172);
  7948. t2.call$3(b, _s1_4, 205);
  7949. t2.call$3(t1.call$2(8, 8), "]", 5);
  7950. b = t1.call$2(9, 235);
  7951. t2.call$3(b, _s77_, 11);
  7952. t2.call$3(b, _s1_, 16);
  7953. t2.call$3(b, _s2_, 234);
  7954. t2.call$3(b, _s1_3, 172);
  7955. t2.call$3(b, _s1_4, 205);
  7956. b = t1.call$2(16, 235);
  7957. t2.call$3(b, _s77_, 11);
  7958. t2.call$3(b, _s1_, 17);
  7959. t2.call$3(b, _s2_, 234);
  7960. t2.call$3(b, _s1_3, 172);
  7961. t2.call$3(b, _s1_4, 205);
  7962. b = t1.call$2(17, 235);
  7963. t2.call$3(b, _s77_, 11);
  7964. t2.call$3(b, _s1_1, 9);
  7965. t2.call$3(b, _s1_2, 233);
  7966. t2.call$3(b, _s1_3, 172);
  7967. t2.call$3(b, _s1_4, 205);
  7968. b = t1.call$2(10, 235);
  7969. t2.call$3(b, _s77_, 11);
  7970. t2.call$3(b, _s1_, 18);
  7971. t2.call$3(b, _s1_1, 10);
  7972. t2.call$3(b, _s1_2, 234);
  7973. t2.call$3(b, _s1_3, 172);
  7974. t2.call$3(b, _s1_4, 205);
  7975. b = t1.call$2(18, 235);
  7976. t2.call$3(b, _s77_, 11);
  7977. t2.call$3(b, _s1_, 19);
  7978. t2.call$3(b, _s2_, 234);
  7979. t2.call$3(b, _s1_3, 172);
  7980. t2.call$3(b, _s1_4, 205);
  7981. b = t1.call$2(19, 235);
  7982. t2.call$3(b, _s77_, 11);
  7983. t2.call$3(b, _s2_, 234);
  7984. t2.call$3(b, _s1_3, 172);
  7985. t2.call$3(b, _s1_4, 205);
  7986. b = t1.call$2(11, 235);
  7987. t2.call$3(b, _s77_, 11);
  7988. t2.call$3(b, _s1_1, 10);
  7989. t2.call$3(b, _s1_2, 234);
  7990. t2.call$3(b, _s1_3, 172);
  7991. t2.call$3(b, _s1_4, 205);
  7992. b = t1.call$2(12, 236);
  7993. t2.call$3(b, _s77_, 12);
  7994. t2.call$3(b, _s1_3, 12);
  7995. t2.call$3(b, _s1_4, 205);
  7996. b = t1.call$2(13, 237);
  7997. t2.call$3(b, _s77_, 13);
  7998. t2.call$3(b, _s1_3, 13);
  7999. t3.call$3(t1.call$2(20, 245), "az", 21);
  8000. b = t1.call$2(21, 245);
  8001. t3.call$3(b, "az", 21);
  8002. t3.call$3(b, "09", 21);
  8003. t2.call$3(b, "+-.", 21);
  8004. return tables;
  8005. },
  8006. _scan(uri, start, end, state, indices) {
  8007. var i, table, char, transition,
  8008. tables = $.$get$_scannerTables();
  8009. for (i = start; i < end; ++i) {
  8010. table = tables[state];
  8011. char = uri.charCodeAt(i) ^ 96;
  8012. transition = table[char > 95 ? 31 : char];
  8013. state = transition & 31;
  8014. indices[transition >>> 5] = i;
  8015. }
  8016. return state;
  8017. },
  8018. _SimpleUri__packageNameEnd(uri) {
  8019. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  8020. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  8021. return -1;
  8022. },
  8023. _skipPackageNameChars(source, start, end) {
  8024. var i, dots, char;
  8025. for (i = start, dots = 0; i < end; ++i) {
  8026. char = source.charCodeAt(i);
  8027. if (char === 47)
  8028. return dots !== 0 ? i : -1;
  8029. if (char === 37 || char === 58)
  8030. return -1;
  8031. dots |= char ^ 46;
  8032. }
  8033. return -1;
  8034. },
  8035. _caseInsensitiveCompareStart(prefix, string, start) {
  8036. var t1, result, i, stringChar, delta, lowerChar;
  8037. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  8038. stringChar = string.charCodeAt(start + i);
  8039. delta = prefix.charCodeAt(i) ^ stringChar;
  8040. if (delta !== 0) {
  8041. if (delta === 32) {
  8042. lowerChar = stringChar | delta;
  8043. if (97 <= lowerChar && lowerChar <= 122) {
  8044. result = 32;
  8045. continue;
  8046. }
  8047. }
  8048. return -1;
  8049. }
  8050. }
  8051. return result;
  8052. },
  8053. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  8054. this._box_0 = t0;
  8055. this.sb = t1;
  8056. },
  8057. DateTime: function DateTime(t0, t1, t2) {
  8058. this._value = t0;
  8059. this._microsecond = t1;
  8060. this.isUtc = t2;
  8061. },
  8062. Duration: function Duration(t0) {
  8063. this._duration = t0;
  8064. },
  8065. _Enum: function _Enum() {
  8066. },
  8067. Error: function Error() {
  8068. },
  8069. AssertionError: function AssertionError(t0) {
  8070. this.message = t0;
  8071. },
  8072. TypeError: function TypeError() {
  8073. },
  8074. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  8075. var _ = this;
  8076. _._hasValue = t0;
  8077. _.invalidValue = t1;
  8078. _.name = t2;
  8079. _.message = t3;
  8080. },
  8081. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  8082. var _ = this;
  8083. _.start = t0;
  8084. _.end = t1;
  8085. _._hasValue = t2;
  8086. _.invalidValue = t3;
  8087. _.name = t4;
  8088. _.message = t5;
  8089. },
  8090. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  8091. var _ = this;
  8092. _.length = t0;
  8093. _._hasValue = t1;
  8094. _.invalidValue = t2;
  8095. _.name = t3;
  8096. _.message = t4;
  8097. },
  8098. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  8099. var _ = this;
  8100. _._core$_receiver = t0;
  8101. _._memberName = t1;
  8102. _._core$_arguments = t2;
  8103. _._namedArguments = t3;
  8104. },
  8105. UnsupportedError: function UnsupportedError(t0) {
  8106. this.message = t0;
  8107. },
  8108. UnimplementedError: function UnimplementedError(t0) {
  8109. this.message = t0;
  8110. },
  8111. StateError: function StateError(t0) {
  8112. this.message = t0;
  8113. },
  8114. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8115. this.modifiedObject = t0;
  8116. },
  8117. OutOfMemoryError: function OutOfMemoryError() {
  8118. },
  8119. StackOverflowError: function StackOverflowError() {
  8120. },
  8121. _Exception: function _Exception(t0) {
  8122. this.message = t0;
  8123. },
  8124. FormatException: function FormatException(t0, t1, t2) {
  8125. this.message = t0;
  8126. this.source = t1;
  8127. this.offset = t2;
  8128. },
  8129. Iterable: function Iterable() {
  8130. },
  8131. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8132. this.length = t0;
  8133. this._generator = t1;
  8134. this.$ti = t2;
  8135. },
  8136. MapEntry: function MapEntry(t0, t1, t2) {
  8137. this.key = t0;
  8138. this.value = t1;
  8139. this.$ti = t2;
  8140. },
  8141. Null: function Null() {
  8142. },
  8143. Object: function Object() {
  8144. },
  8145. _StringStackTrace: function _StringStackTrace(t0) {
  8146. this._stackTrace = t0;
  8147. },
  8148. Runes: function Runes(t0) {
  8149. this.string = t0;
  8150. },
  8151. RuneIterator: function RuneIterator(t0) {
  8152. var _ = this;
  8153. _.string = t0;
  8154. _._nextPosition = _._position = 0;
  8155. _._currentCodePoint = -1;
  8156. },
  8157. StringBuffer: function StringBuffer(t0) {
  8158. this._contents = t0;
  8159. },
  8160. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8161. this.host = t0;
  8162. },
  8163. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8164. this.host = t0;
  8165. },
  8166. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8167. this.error = t0;
  8168. this.host = t1;
  8169. },
  8170. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8171. var _ = this;
  8172. _.scheme = t0;
  8173. _._userInfo = t1;
  8174. _._host = t2;
  8175. _._port = t3;
  8176. _.path = t4;
  8177. _._query = t5;
  8178. _._fragment = t6;
  8179. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8180. },
  8181. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8182. },
  8183. UriData: function UriData(t0, t1, t2) {
  8184. this._text = t0;
  8185. this._separatorIndices = t1;
  8186. this._uriCache = t2;
  8187. },
  8188. _createTables_build: function _createTables_build(t0) {
  8189. this.tables = t0;
  8190. },
  8191. _createTables_setChars: function _createTables_setChars() {
  8192. },
  8193. _createTables_setRange: function _createTables_setRange() {
  8194. },
  8195. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8196. var _ = this;
  8197. _._uri = t0;
  8198. _._schemeEnd = t1;
  8199. _._hostStart = t2;
  8200. _._portStart = t3;
  8201. _._pathStart = t4;
  8202. _._queryStart = t5;
  8203. _._fragmentStart = t6;
  8204. _._schemeCache = t7;
  8205. _._hashCodeCache = null;
  8206. },
  8207. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8208. var _ = this;
  8209. _.scheme = t0;
  8210. _._userInfo = t1;
  8211. _._host = t2;
  8212. _._port = t3;
  8213. _.path = t4;
  8214. _._query = t5;
  8215. _._fragment = t6;
  8216. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8217. },
  8218. Expando: function Expando(t0) {
  8219. this._jsWeakMap = t0;
  8220. },
  8221. _convertDartFunctionFast(f) {
  8222. var ret,
  8223. existing = f.$dart_jsFunction;
  8224. if (existing != null)
  8225. return existing;
  8226. ret = function(_call, f) {
  8227. return function() {
  8228. return _call(f, Array.prototype.slice.apply(arguments));
  8229. };
  8230. }(A._callDartFunctionFast, f);
  8231. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8232. f.$dart_jsFunction = ret;
  8233. return ret;
  8234. },
  8235. _convertDartFunctionFastCaptureThis(f) {
  8236. var ret,
  8237. existing = f._$dart_jsFunctionCaptureThis;
  8238. if (existing != null)
  8239. return existing;
  8240. ret = function(_call, f) {
  8241. return function() {
  8242. return _call(f, this, Array.prototype.slice.apply(arguments));
  8243. };
  8244. }(A._callDartFunctionFastCaptureThis, f);
  8245. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8246. f._$dart_jsFunctionCaptureThis = ret;
  8247. return ret;
  8248. },
  8249. _callDartFunctionFast(callback, $arguments) {
  8250. return A.Function_apply(callback, $arguments);
  8251. },
  8252. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8253. var t1 = [$self];
  8254. B.JSArray_methods.addAll$1(t1, $arguments);
  8255. return A.Function_apply(callback, t1);
  8256. },
  8257. allowInterop(f) {
  8258. if (typeof f == "function")
  8259. return f;
  8260. else
  8261. return A._convertDartFunctionFast(f);
  8262. },
  8263. allowInteropCaptureThis(f) {
  8264. if (typeof f == "function")
  8265. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8266. else
  8267. return A._convertDartFunctionFastCaptureThis(f);
  8268. },
  8269. _noJsifyRequired(o) {
  8270. 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);
  8271. },
  8272. jsify(object) {
  8273. if (A._noJsifyRequired(object))
  8274. return object;
  8275. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8276. },
  8277. callConstructor(constr, $arguments) {
  8278. var args, factoryFunction;
  8279. if ($arguments instanceof Array)
  8280. switch ($arguments.length) {
  8281. case 0:
  8282. return new constr();
  8283. case 1:
  8284. return new constr($arguments[0]);
  8285. case 2:
  8286. return new constr($arguments[0], $arguments[1]);
  8287. case 3:
  8288. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8289. case 4:
  8290. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8291. }
  8292. args = [null];
  8293. B.JSArray_methods.addAll$1(args, $arguments);
  8294. factoryFunction = constr.bind.apply(constr, args);
  8295. String(factoryFunction);
  8296. return new factoryFunction();
  8297. },
  8298. promiseToFuture0(jsPromise, $T) {
  8299. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8300. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8301. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure1(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure2(completer), 1));
  8302. return t1;
  8303. },
  8304. jsify__convert: function jsify__convert(t0) {
  8305. this._convertedObjects = t0;
  8306. },
  8307. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8308. this.completer = t0;
  8309. },
  8310. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8311. this.completer = t0;
  8312. },
  8313. NullRejectionException: function NullRejectionException(t0) {
  8314. this.isUndefined = t0;
  8315. },
  8316. max(a, b) {
  8317. return Math.max(a, b);
  8318. },
  8319. pow(x, exponent) {
  8320. return Math.pow(x, exponent);
  8321. },
  8322. Random_Random() {
  8323. return B.C__JSRandom;
  8324. },
  8325. _JSRandom: function _JSRandom() {
  8326. },
  8327. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8328. var _ = this;
  8329. _._arg_parser$_options = t0;
  8330. _._aliases = t1;
  8331. _.options = t2;
  8332. _.commands = t3;
  8333. _._optionsAndSeparators = t4;
  8334. _.allowTrailingOptions = t5;
  8335. _.usageLineLength = t6;
  8336. },
  8337. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8338. this.$this = t0;
  8339. },
  8340. ArgParserException$(message, commands) {
  8341. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  8342. },
  8343. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  8344. var _ = this;
  8345. _.commands = t0;
  8346. _.message = t1;
  8347. _.source = t2;
  8348. _.offset = t3;
  8349. },
  8350. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8351. var _ = this;
  8352. _._parser = t0;
  8353. _._parsed = t1;
  8354. _.name = t2;
  8355. _.rest = t3;
  8356. },
  8357. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  8358. var _ = this;
  8359. _.name = t0;
  8360. _.abbr = t1;
  8361. _.help = t2;
  8362. _.valueHelp = t3;
  8363. _.allowed = t4;
  8364. _.allowedHelp = t5;
  8365. _.defaultsTo = t6;
  8366. _.negatable = t7;
  8367. _.callback = t8;
  8368. _.type = t9;
  8369. _.splitCommas = t10;
  8370. _.mandatory = t11;
  8371. _.hide = t12;
  8372. },
  8373. OptionType: function OptionType(t0) {
  8374. this.name = t0;
  8375. },
  8376. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8377. var t1 = A._setArrayType([], type$.JSArray_String);
  8378. if (rest != null)
  8379. B.JSArray_methods.addAll$1(t1, rest);
  8380. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8381. },
  8382. _isLetterOrDigit(codeUnit) {
  8383. var t1 = true;
  8384. if (!(codeUnit >= 65 && codeUnit <= 90))
  8385. if (!(codeUnit >= 97 && codeUnit <= 122))
  8386. t1 = codeUnit >= 48 && codeUnit <= 57;
  8387. return t1;
  8388. },
  8389. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8390. var _ = this;
  8391. _._commandName = t0;
  8392. _._parser$_parent = t1;
  8393. _._grammar = t2;
  8394. _._args = t3;
  8395. _._parser$_rest = t4;
  8396. _._results = t5;
  8397. },
  8398. Parser_parse_closure: function Parser_parse_closure(t0) {
  8399. this.$this = t0;
  8400. },
  8401. Parser__setOption_closure: function Parser__setOption_closure() {
  8402. },
  8403. _Usage: function _Usage(t0, t1, t2) {
  8404. var _ = this;
  8405. _._usage$_optionsAndSeparators = t0;
  8406. _._usage$_buffer = t1;
  8407. _._currentColumn = 0;
  8408. _.___Usage__columnWidths_FI = $;
  8409. _._newlinesNeeded = 0;
  8410. _.lineLength = t2;
  8411. },
  8412. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8413. },
  8414. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8415. this.option = t0;
  8416. },
  8417. FutureGroup: function FutureGroup(t0, t1, t2) {
  8418. var _ = this;
  8419. _._future_group$_pending = 0;
  8420. _._future_group$_closed = false;
  8421. _._future_group$_completer = t0;
  8422. _._future_group$_values = t1;
  8423. _.$ti = t2;
  8424. },
  8425. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8426. this.$this = t0;
  8427. this.index = t1;
  8428. },
  8429. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8430. this.$this = t0;
  8431. },
  8432. ErrorResult: function ErrorResult(t0, t1) {
  8433. this.error = t0;
  8434. this.stackTrace = t1;
  8435. },
  8436. ValueResult: function ValueResult(t0, t1) {
  8437. this.value = t0;
  8438. this.$ti = t1;
  8439. },
  8440. StreamCompleter: function StreamCompleter(t0, t1) {
  8441. this._stream_completer$_stream = t0;
  8442. this.$ti = t1;
  8443. },
  8444. _CompleterStream: function _CompleterStream(t0) {
  8445. this._sourceStream = this._stream_completer$_controller = null;
  8446. this.$ti = t0;
  8447. },
  8448. StreamGroup: function StreamGroup(t0, t1, t2) {
  8449. var _ = this;
  8450. _.__StreamGroup__controller_A = $;
  8451. _._closed = false;
  8452. _._stream_group$_state = t0;
  8453. _._subscriptions = t1;
  8454. _.$ti = t2;
  8455. },
  8456. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8457. },
  8458. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8459. this.$this = t0;
  8460. this.stream = t1;
  8461. },
  8462. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8463. },
  8464. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8465. this.$this = t0;
  8466. },
  8467. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8468. this.$this = t0;
  8469. this.stream = t1;
  8470. },
  8471. _StreamGroupState: function _StreamGroupState(t0) {
  8472. this.name = t0;
  8473. },
  8474. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8475. var _ = this;
  8476. _._stream_queue$_source = t0;
  8477. _._stream_queue$_subscription = null;
  8478. _._isDone = false;
  8479. _._eventsReceived = 0;
  8480. _._eventQueue = t1;
  8481. _._requestQueue = t2;
  8482. _.$ti = t3;
  8483. },
  8484. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8485. this.$this = t0;
  8486. },
  8487. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8488. this.$this = t0;
  8489. },
  8490. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8491. this.$this = t0;
  8492. },
  8493. _NextRequest: function _NextRequest(t0, t1) {
  8494. this._completer = t0;
  8495. this.$ti = t1;
  8496. },
  8497. isNodeJs() {
  8498. var t1 = self.process;
  8499. if (t1 == null)
  8500. t1 = null;
  8501. else {
  8502. t1 = J.get$release$x(t1);
  8503. t1 = t1 == null ? null : J.get$name$x(t1);
  8504. }
  8505. return J.$eq$(t1, "node");
  8506. },
  8507. isBrowser() {
  8508. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8509. },
  8510. wrapJSExceptions(callback) {
  8511. var error, error0, error1, error2, t1, exception;
  8512. if (!$.$get$_isStrictMode())
  8513. return callback.call$0();
  8514. try {
  8515. t1 = callback.call$0();
  8516. return t1;
  8517. } catch (exception) {
  8518. t1 = A.unwrapException(exception);
  8519. if (typeof t1 == "string") {
  8520. error = t1;
  8521. throw A.wrapException(error);
  8522. } else if (A._isBool(t1)) {
  8523. error0 = t1;
  8524. throw A.wrapException(error0);
  8525. } else if (typeof t1 == "number") {
  8526. error1 = t1;
  8527. throw A.wrapException(error1);
  8528. } else {
  8529. error2 = t1;
  8530. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8531. throw A.wrapException(error2.toString());
  8532. throw exception;
  8533. }
  8534. }
  8535. },
  8536. _isStrictMode_closure: function _isStrictMode_closure() {
  8537. },
  8538. Repl: function Repl(t0, t1, t2, t3) {
  8539. var _ = this;
  8540. _.prompt = t0;
  8541. _.continuation = t1;
  8542. _.validator = t2;
  8543. _.__Repl__adapter_A = $;
  8544. _.history = t3;
  8545. },
  8546. alwaysValid_closure: function alwaysValid_closure() {
  8547. },
  8548. ReplAdapter: function ReplAdapter(t0) {
  8549. this.repl = t0;
  8550. this.rl = null;
  8551. },
  8552. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8553. var _ = this;
  8554. _._box_0 = t0;
  8555. _.$this = t1;
  8556. _.rl = t2;
  8557. _.runController = t3;
  8558. },
  8559. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8560. this.lineController = t0;
  8561. },
  8562. Stdin: function Stdin() {
  8563. },
  8564. Stdout: function Stdout() {
  8565. },
  8566. ReadlineModule: function ReadlineModule() {
  8567. },
  8568. ReadlineOptions: function ReadlineOptions() {
  8569. },
  8570. ReadlineInterface: function ReadlineInterface() {
  8571. },
  8572. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8573. this.$ti = t0;
  8574. },
  8575. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8576. },
  8577. DefaultEquality: function DefaultEquality() {
  8578. },
  8579. IterableEquality: function IterableEquality() {
  8580. },
  8581. ListEquality: function ListEquality() {
  8582. },
  8583. _MapEntry: function _MapEntry(t0, t1, t2) {
  8584. this.equality = t0;
  8585. this.key = t1;
  8586. this.value = t2;
  8587. },
  8588. MapEquality: function MapEquality(t0) {
  8589. this.$ti = t0;
  8590. },
  8591. QueueList$(initialCapacity, $E) {
  8592. 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>"));
  8593. },
  8594. QueueList_QueueList$from(source, $E) {
  8595. var $length, queue, t1;
  8596. if (type$.List_dynamic._is(source)) {
  8597. $length = J.get$length$asx(source);
  8598. queue = A.QueueList$($length + 1, $E);
  8599. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8600. queue._queue_list$_tail = $length;
  8601. return queue;
  8602. } else {
  8603. t1 = A.QueueList$(null, $E);
  8604. t1.addAll$1(0, source);
  8605. return t1;
  8606. }
  8607. },
  8608. QueueList__computeInitialCapacity(initialCapacity) {
  8609. if (initialCapacity == null || initialCapacity < 8)
  8610. return 8;
  8611. ++initialCapacity;
  8612. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8613. return initialCapacity;
  8614. return A.QueueList__nextPowerOf2(initialCapacity);
  8615. },
  8616. QueueList__nextPowerOf2(number) {
  8617. var nextNumber;
  8618. number = (number << 1 >>> 0) - 1;
  8619. for (; true; number = nextNumber) {
  8620. nextNumber = (number & number - 1) >>> 0;
  8621. if (nextNumber === 0)
  8622. return number;
  8623. }
  8624. },
  8625. QueueList: function QueueList(t0, t1, t2, t3) {
  8626. var _ = this;
  8627. _._queue_list$_table = t0;
  8628. _._queue_list$_head = t1;
  8629. _._queue_list$_tail = t2;
  8630. _.$ti = t3;
  8631. },
  8632. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8633. var _ = this;
  8634. _._queue_list$_delegate = t0;
  8635. _._queue_list$_table = t1;
  8636. _._queue_list$_head = t2;
  8637. _._queue_list$_tail = t3;
  8638. _.$ti = t4;
  8639. },
  8640. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8641. },
  8642. UnionSet: function UnionSet(t0, t1) {
  8643. this._sets = t0;
  8644. this.$ti = t1;
  8645. },
  8646. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8647. this.$this = t0;
  8648. },
  8649. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8650. this.$this = t0;
  8651. this.element = t1;
  8652. },
  8653. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8654. },
  8655. UnmodifiableSetMixin__throw() {
  8656. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8657. },
  8658. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8659. this._base = t0;
  8660. this.$ti = t1;
  8661. },
  8662. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8663. },
  8664. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8665. },
  8666. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8667. },
  8668. DelegatingSet: function DelegatingSet(t0, t1) {
  8669. this._base = t0;
  8670. this.$ti = t1;
  8671. },
  8672. MapKeySet: function MapKeySet(t0, t1) {
  8673. this._baseMap = t0;
  8674. this.$ti = t1;
  8675. },
  8676. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8677. this.$this = t0;
  8678. this.other = t1;
  8679. },
  8680. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8681. },
  8682. BufferModule: function BufferModule() {
  8683. },
  8684. BufferConstants: function BufferConstants() {
  8685. },
  8686. Buffer: function Buffer() {
  8687. },
  8688. ConsoleModule: function ConsoleModule() {
  8689. },
  8690. Console: function Console() {
  8691. },
  8692. EventEmitter: function EventEmitter() {
  8693. },
  8694. fs() {
  8695. var t1 = $._fs;
  8696. return t1 == null ? $._fs = self.fs : t1;
  8697. },
  8698. FS: function FS() {
  8699. },
  8700. FSConstants: function FSConstants() {
  8701. },
  8702. FSWatcher: function FSWatcher() {
  8703. },
  8704. ReadStream: function ReadStream() {
  8705. },
  8706. ReadStreamOptions: function ReadStreamOptions() {
  8707. },
  8708. WriteStream: function WriteStream() {
  8709. },
  8710. WriteStreamOptions: function WriteStreamOptions() {
  8711. },
  8712. FileOptions: function FileOptions() {
  8713. },
  8714. StatOptions: function StatOptions() {
  8715. },
  8716. MkdirOptions: function MkdirOptions() {
  8717. },
  8718. RmdirOptions: function RmdirOptions() {
  8719. },
  8720. WatchOptions: function WatchOptions() {
  8721. },
  8722. WatchFileOptions: function WatchFileOptions() {
  8723. },
  8724. Stats: function Stats() {
  8725. },
  8726. Promise: function Promise() {
  8727. },
  8728. Date: function Date() {
  8729. },
  8730. JsError: function JsError() {
  8731. },
  8732. Atomics: function Atomics() {
  8733. },
  8734. Modules: function Modules() {
  8735. },
  8736. Module: function Module() {
  8737. },
  8738. Net: function Net() {
  8739. },
  8740. Socket: function Socket() {
  8741. },
  8742. NetAddress: function NetAddress() {
  8743. },
  8744. NetServer: function NetServer() {
  8745. },
  8746. NodeJsError: function NodeJsError() {
  8747. },
  8748. JsAssertionError: function JsAssertionError() {
  8749. },
  8750. JsRangeError: function JsRangeError() {
  8751. },
  8752. JsReferenceError: function JsReferenceError() {
  8753. },
  8754. JsSyntaxError: function JsSyntaxError() {
  8755. },
  8756. JsTypeError: function JsTypeError() {
  8757. },
  8758. JsSystemError: function JsSystemError() {
  8759. },
  8760. Process: function Process() {
  8761. },
  8762. CPUUsage: function CPUUsage() {
  8763. },
  8764. Release: function Release() {
  8765. },
  8766. StreamModule: function StreamModule() {
  8767. },
  8768. Readable: function Readable() {
  8769. },
  8770. Writable: function Writable() {
  8771. },
  8772. Duplex: function Duplex() {
  8773. },
  8774. Transform: function Transform() {
  8775. },
  8776. WritableOptions: function WritableOptions() {
  8777. },
  8778. ReadableOptions: function ReadableOptions() {
  8779. },
  8780. Immediate: function Immediate() {
  8781. },
  8782. Timeout: function Timeout() {
  8783. },
  8784. TTY: function TTY() {
  8785. },
  8786. TTYReadStream: function TTYReadStream() {
  8787. },
  8788. TTYWriteStream: function TTYWriteStream() {
  8789. },
  8790. jsify0(dartObject) {
  8791. if (A._isBasicType(dartObject))
  8792. return dartObject;
  8793. return A.jsify(dartObject);
  8794. },
  8795. _isBasicType(value) {
  8796. return false;
  8797. },
  8798. promiseToFuture(promise, $T) {
  8799. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8800. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8801. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  8802. return t1;
  8803. },
  8804. futureToPromise(future, $T) {
  8805. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8806. },
  8807. Util: function Util() {
  8808. },
  8809. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8810. this.completer = t0;
  8811. },
  8812. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8813. this.completer = t0;
  8814. },
  8815. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8816. this.future = t0;
  8817. this.T = t1;
  8818. },
  8819. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8820. this.resolve = t0;
  8821. this.T = t1;
  8822. },
  8823. Context_Context(style) {
  8824. return new A.Context(style, ".");
  8825. },
  8826. _parseUri(uri) {
  8827. if (typeof uri == "string")
  8828. return A.Uri_parse(uri);
  8829. if (type$.Uri._is(uri))
  8830. return uri;
  8831. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8832. },
  8833. _validateArgList(method, args) {
  8834. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8835. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8836. if (args[i] == null || args[i - 1] != null)
  8837. continue;
  8838. for (; numArgs >= 1; numArgs = numArgs0) {
  8839. numArgs0 = numArgs - 1;
  8840. if (args[numArgs0] != null)
  8841. break;
  8842. }
  8843. message = new A.StringBuffer("");
  8844. t1 = "" + (method + "(");
  8845. message._contents = t1;
  8846. t2 = A._arrayInstanceType(args);
  8847. t3 = t2._eval$1("SubListIterable<1>");
  8848. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8849. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8850. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8851. message._contents = t3;
  8852. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8853. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8854. }
  8855. },
  8856. Context: function Context(t0, t1) {
  8857. this.style = t0;
  8858. this._context$_current = t1;
  8859. },
  8860. Context_joinAll_closure: function Context_joinAll_closure() {
  8861. },
  8862. Context_split_closure: function Context_split_closure() {
  8863. },
  8864. _validateArgList_closure: function _validateArgList_closure() {
  8865. },
  8866. _PathDirection: function _PathDirection(t0) {
  8867. this.name = t0;
  8868. },
  8869. _PathRelation: function _PathRelation(t0) {
  8870. this.name = t0;
  8871. },
  8872. InternalStyle: function InternalStyle() {
  8873. },
  8874. ParsedPath_ParsedPath$parse(path, style) {
  8875. var t1, parts, separators, start, i,
  8876. root = style.getRoot$1(path),
  8877. isRootRelative = style.isRootRelative$1(path);
  8878. if (root != null)
  8879. path = B.JSString_methods.substring$1(path, root.length);
  8880. t1 = type$.JSArray_String;
  8881. parts = A._setArrayType([], t1);
  8882. separators = A._setArrayType([], t1);
  8883. t1 = path.length;
  8884. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8885. separators.push(path[0]);
  8886. start = 1;
  8887. } else {
  8888. separators.push("");
  8889. start = 0;
  8890. }
  8891. for (i = start; i < t1; ++i)
  8892. if (style.isSeparator$1(path.charCodeAt(i))) {
  8893. parts.push(B.JSString_methods.substring$2(path, start, i));
  8894. separators.push(path[i]);
  8895. start = i + 1;
  8896. }
  8897. if (start < t1) {
  8898. parts.push(B.JSString_methods.substring$1(path, start));
  8899. separators.push("");
  8900. }
  8901. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8902. },
  8903. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8904. var _ = this;
  8905. _.style = t0;
  8906. _.root = t1;
  8907. _.isRootRelative = t2;
  8908. _.parts = t3;
  8909. _.separators = t4;
  8910. },
  8911. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8912. },
  8913. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8914. },
  8915. PathException$(message) {
  8916. return new A.PathException(message);
  8917. },
  8918. PathException: function PathException(t0) {
  8919. this.message = t0;
  8920. },
  8921. PathMap__create(context, $V) {
  8922. var t1 = {};
  8923. t1.context = context;
  8924. t1.context = $.$get$context();
  8925. 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);
  8926. },
  8927. PathMap: function PathMap(t0, t1) {
  8928. this._map = t0;
  8929. this.$ti = t1;
  8930. },
  8931. PathMap__create_closure: function PathMap__create_closure(t0) {
  8932. this._box_0 = t0;
  8933. },
  8934. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8935. this._box_0 = t0;
  8936. },
  8937. PathMap__create_closure1: function PathMap__create_closure1() {
  8938. },
  8939. Style__getPlatformStyle() {
  8940. if (A.Uri_base().get$scheme() !== "file")
  8941. return $.$get$Style_url();
  8942. var t1 = A.Uri_base();
  8943. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8944. return $.$get$Style_url();
  8945. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8946. return $.$get$Style_windows();
  8947. return $.$get$Style_posix();
  8948. },
  8949. Style: function Style() {
  8950. },
  8951. PosixStyle: function PosixStyle(t0, t1, t2) {
  8952. this.separatorPattern = t0;
  8953. this.needsSeparatorPattern = t1;
  8954. this.rootPattern = t2;
  8955. },
  8956. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8957. var _ = this;
  8958. _.separatorPattern = t0;
  8959. _.needsSeparatorPattern = t1;
  8960. _.rootPattern = t2;
  8961. _.relativeRootPattern = t3;
  8962. },
  8963. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8964. var _ = this;
  8965. _.separatorPattern = t0;
  8966. _.needsSeparatorPattern = t1;
  8967. _.rootPattern = t2;
  8968. _.relativeRootPattern = t3;
  8969. },
  8970. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8971. },
  8972. Version$_(major, minor, patch, preRelease, build, _text) {
  8973. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8974. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8975. if (major < 0)
  8976. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8977. if (minor < 0)
  8978. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8979. if (patch < 0)
  8980. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8981. return new A.Version(major, minor, patch, t1, t2, _text);
  8982. },
  8983. Version_Version(major, minor, patch, pre) {
  8984. var text = "" + major + "." + minor + "." + patch;
  8985. if (pre != null)
  8986. text += "-" + pre;
  8987. return A.Version$_(major, minor, patch, pre, null, text);
  8988. },
  8989. Version___parse_tearOff(text) {
  8990. return A.Version_Version$parse(text);
  8991. },
  8992. Version_Version$parse(text) {
  8993. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8994. _s17_ = 'Could not parse "',
  8995. match = $.$get$completeVersion().firstMatch$1(text);
  8996. if (match == null)
  8997. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8998. try {
  8999. t1 = match._match[1];
  9000. t1.toString;
  9001. major = A.int_parse(t1, _null);
  9002. t1 = match._match[2];
  9003. t1.toString;
  9004. minor = A.int_parse(t1, _null);
  9005. t1 = match._match[3];
  9006. t1.toString;
  9007. patch = A.int_parse(t1, _null);
  9008. preRelease = match._match[5];
  9009. build = match._match[8];
  9010. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  9011. return t1;
  9012. } catch (exception) {
  9013. if (type$.FormatException._is(A.unwrapException(exception)))
  9014. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  9015. else
  9016. throw exception;
  9017. }
  9018. },
  9019. Version__splitParts(text) {
  9020. var t1 = type$.MappedListIterable_String_Object;
  9021. 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"));
  9022. },
  9023. Version: function Version(t0, t1, t2, t3, t4, t5) {
  9024. var _ = this;
  9025. _.major = t0;
  9026. _.minor = t1;
  9027. _.patch = t2;
  9028. _.preRelease = t3;
  9029. _.build = t4;
  9030. _._version$_text = t5;
  9031. },
  9032. Version__splitParts_closure: function Version__splitParts_closure() {
  9033. },
  9034. VersionRange_VersionRange(includeMax, max) {
  9035. return new A.VersionRange(null, max, false, true);
  9036. },
  9037. VersionRange: function VersionRange(t0, t1, t2, t3) {
  9038. var _ = this;
  9039. _.min = t0;
  9040. _.max = t1;
  9041. _.includeMin = t2;
  9042. _.includeMax = t3;
  9043. },
  9044. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  9045. var t1 = A.SpanScanner$(contents, null);
  9046. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0(0);
  9047. },
  9048. CssMediaQuery$type(type, conditions, modifier) {
  9049. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  9050. },
  9051. CssMediaQuery$condition(conditions, conjunction) {
  9052. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  9053. if (t1.length > 1 && conjunction == null)
  9054. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  9055. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  9056. },
  9057. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  9058. var _ = this;
  9059. _.modifier = t0;
  9060. _.type = t1;
  9061. _.conjunction = t2;
  9062. _.conditions = t3;
  9063. },
  9064. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  9065. this._name = t0;
  9066. },
  9067. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  9068. this.query = t0;
  9069. },
  9070. ModifiableCssAtRule$($name, span, childless, value) {
  9071. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9072. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9073. },
  9074. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  9075. var _ = this;
  9076. _.name = t0;
  9077. _.value = t1;
  9078. _.isChildless = t2;
  9079. _.span = t3;
  9080. _.children = t4;
  9081. _._children = t5;
  9082. _._indexInParent = _._parent = null;
  9083. _.isGroupEnd = false;
  9084. },
  9085. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  9086. var _ = this;
  9087. _.text = t0;
  9088. _.span = t1;
  9089. _._indexInParent = _._parent = null;
  9090. _.isGroupEnd = false;
  9091. },
  9092. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  9093. var t2,
  9094. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  9095. if (parsedAsCustomProperty)
  9096. if (!J.startsWith$1$s($name.value, "--"))
  9097. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  9098. else {
  9099. t2 = value.value;
  9100. if (!(t2 instanceof A.SassString))
  9101. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  9102. }
  9103. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  9104. },
  9105. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  9106. var _ = this;
  9107. _.name = t0;
  9108. _.value = t1;
  9109. _.parsedAsCustomProperty = t2;
  9110. _.valueSpanForMap = t3;
  9111. _.span = t4;
  9112. _._indexInParent = _._parent = null;
  9113. _.isGroupEnd = false;
  9114. },
  9115. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9116. var _ = this;
  9117. _.url = t0;
  9118. _.modifiers = t1;
  9119. _.span = t2;
  9120. _._indexInParent = _._parent = null;
  9121. _.isGroupEnd = false;
  9122. },
  9123. ModifiableCssKeyframeBlock$(selector, span) {
  9124. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9125. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9126. },
  9127. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9128. var _ = this;
  9129. _.selector = t0;
  9130. _.span = t1;
  9131. _.children = t2;
  9132. _._children = t3;
  9133. _._indexInParent = _._parent = null;
  9134. _.isGroupEnd = false;
  9135. },
  9136. ModifiableCssMediaRule$(queries, span) {
  9137. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9138. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9139. if (J.get$isEmpty$asx(queries))
  9140. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9141. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9142. },
  9143. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9144. var _ = this;
  9145. _.queries = t0;
  9146. _.span = t1;
  9147. _.children = t2;
  9148. _._children = t3;
  9149. _._indexInParent = _._parent = null;
  9150. _.isGroupEnd = false;
  9151. },
  9152. ModifiableCssNode: function ModifiableCssNode() {
  9153. },
  9154. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9155. },
  9156. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9157. },
  9158. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  9159. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9160. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9161. },
  9162. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  9163. var _ = this;
  9164. _._style_rule$_selector = t0;
  9165. _.originalSelector = t1;
  9166. _.span = t2;
  9167. _.fromPlainCss = t3;
  9168. _.children = t4;
  9169. _._children = t5;
  9170. _._indexInParent = _._parent = null;
  9171. _.isGroupEnd = false;
  9172. },
  9173. ModifiableCssStylesheet$(span) {
  9174. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9175. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9176. },
  9177. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9178. var _ = this;
  9179. _.span = t0;
  9180. _.children = t1;
  9181. _._children = t2;
  9182. _._indexInParent = _._parent = null;
  9183. _.isGroupEnd = false;
  9184. },
  9185. ModifiableCssSupportsRule$(condition, span) {
  9186. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9187. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9188. },
  9189. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9190. var _ = this;
  9191. _.condition = t0;
  9192. _.span = t1;
  9193. _.children = t2;
  9194. _._children = t3;
  9195. _._indexInParent = _._parent = null;
  9196. _.isGroupEnd = false;
  9197. },
  9198. CssNode: function CssNode() {
  9199. },
  9200. CssParentNode: function CssParentNode() {
  9201. },
  9202. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9203. this.includeBogus = t0;
  9204. this.includeComments = t1;
  9205. },
  9206. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9207. },
  9208. CssStylesheet: function CssStylesheet(t0, t1) {
  9209. this.children = t0;
  9210. this.span = t1;
  9211. },
  9212. CssValue: function CssValue(t0, t1, t2) {
  9213. this.value = t0;
  9214. this.span = t1;
  9215. this.$ti = t2;
  9216. },
  9217. _FakeAstNode: function _FakeAstNode(t0) {
  9218. this._callback = t0;
  9219. },
  9220. Argument: function Argument(t0, t1, t2) {
  9221. this.name = t0;
  9222. this.defaultValue = t1;
  9223. this.span = t2;
  9224. },
  9225. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  9226. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  9227. },
  9228. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  9229. this.$arguments = t0;
  9230. this.restArgument = t1;
  9231. this.span = t2;
  9232. },
  9233. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  9234. },
  9235. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  9236. },
  9237. ArgumentInvocation$empty(span) {
  9238. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty6, null, null, span);
  9239. },
  9240. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  9241. var _ = this;
  9242. _.positional = t0;
  9243. _.named = t1;
  9244. _.rest = t2;
  9245. _.keywordRest = t3;
  9246. _.span = t4;
  9247. },
  9248. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9249. var _ = this;
  9250. _.include = t0;
  9251. _.names = t1;
  9252. _._all = t2;
  9253. _._at_root_query$_rule = t3;
  9254. },
  9255. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9256. var _ = this;
  9257. _.name = t0;
  9258. _.expression = t1;
  9259. _.isGuarded = t2;
  9260. _.span = t3;
  9261. },
  9262. Expression: function Expression() {
  9263. },
  9264. _IsCalculationSafeVisitor: function _IsCalculationSafeVisitor() {
  9265. },
  9266. _IsCalculationSafeVisitor_visitListExpression_closure: function _IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  9267. this.$this = t0;
  9268. },
  9269. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9270. var _ = this;
  9271. _.operator = t0;
  9272. _.left = t1;
  9273. _.right = t2;
  9274. _.allowsSlash = t3;
  9275. },
  9276. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9277. var _ = this;
  9278. _.name = t0;
  9279. _.operator = t1;
  9280. _.precedence = t2;
  9281. _.isAssociative = t3;
  9282. _._name = t4;
  9283. },
  9284. BooleanExpression: function BooleanExpression(t0, t1) {
  9285. this.value = t0;
  9286. this.span = t1;
  9287. },
  9288. ColorExpression: function ColorExpression(t0, t1) {
  9289. this.value = t0;
  9290. this.span = t1;
  9291. },
  9292. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9293. var _ = this;
  9294. _.namespace = t0;
  9295. _.name = t1;
  9296. _.originalName = t2;
  9297. _.$arguments = t3;
  9298. _.span = t4;
  9299. },
  9300. IfExpression: function IfExpression(t0, t1) {
  9301. this.$arguments = t0;
  9302. this.span = t1;
  9303. },
  9304. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9305. this.name = t0;
  9306. this.$arguments = t1;
  9307. this.span = t2;
  9308. },
  9309. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9310. var _ = this;
  9311. _.contents = t0;
  9312. _.separator = t1;
  9313. _.hasBrackets = t2;
  9314. _.span = t3;
  9315. },
  9316. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9317. this.$this = t0;
  9318. },
  9319. MapExpression: function MapExpression(t0, t1) {
  9320. this.pairs = t0;
  9321. this.span = t1;
  9322. },
  9323. NullExpression: function NullExpression(t0) {
  9324. this.span = t0;
  9325. },
  9326. NumberExpression: function NumberExpression(t0, t1, t2) {
  9327. this.value = t0;
  9328. this.unit = t1;
  9329. this.span = t2;
  9330. },
  9331. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9332. this.expression = t0;
  9333. this.span = t1;
  9334. },
  9335. SelectorExpression: function SelectorExpression(t0) {
  9336. this.span = t0;
  9337. },
  9338. StringExpression_quoteText(text) {
  9339. var t1,
  9340. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9341. buffer = new A.StringBuffer("");
  9342. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9343. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9344. t1 = A.Primitives_stringFromCharCode(quote);
  9345. t1 = buffer._contents += t1;
  9346. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9347. },
  9348. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9349. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  9350. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9351. _1_0 = text.charCodeAt(i);
  9352. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9353. buffer.writeCharCode$1(92);
  9354. buffer.writeCharCode$1(97);
  9355. if (i !== t2) {
  9356. _0_0 = text.charCodeAt(i + 1);
  9357. t3 = true;
  9358. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9359. if (!(_0_0 >= 48 && _0_0 <= 57))
  9360. if (!(_0_0 >= 97 && _0_0 <= 102))
  9361. t3 = _0_0 >= 65 && _0_0 <= 70;
  9362. if (t3)
  9363. buffer.writeCharCode$1(32);
  9364. }
  9365. continue;
  9366. }
  9367. t3 = 92 === _1_0;
  9368. if (t3)
  9369. t4 = _1_0;
  9370. else
  9371. t4 = null;
  9372. if (!t3) {
  9373. t3 = false;
  9374. t5 = _1_0 === quote;
  9375. if (t5)
  9376. t4 = _1_0;
  9377. if (!t5)
  9378. if (35 === _1_0)
  9379. if ($static)
  9380. if (i < t2) {
  9381. t3 = text.charCodeAt(i + 1) === 123;
  9382. if (t3)
  9383. t4 = _1_0;
  9384. t0 = t4;
  9385. t4 = t3;
  9386. t3 = t0;
  9387. } else {
  9388. t0 = t4;
  9389. t4 = t3;
  9390. t3 = t0;
  9391. }
  9392. else {
  9393. t0 = t4;
  9394. t4 = t3;
  9395. t3 = t0;
  9396. }
  9397. else {
  9398. t0 = t4;
  9399. t4 = t3;
  9400. t3 = t0;
  9401. }
  9402. else {
  9403. t3 = t4;
  9404. t4 = true;
  9405. }
  9406. } else {
  9407. t3 = t4;
  9408. t4 = true;
  9409. }
  9410. if (t4) {
  9411. buffer.writeCharCode$1(92);
  9412. buffer.writeCharCode$1(t3);
  9413. continue;
  9414. }
  9415. buffer.writeCharCode$1(_1_0);
  9416. }
  9417. },
  9418. StringExpression__bestQuote(strings) {
  9419. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9420. 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();)
  9421. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9422. t5 = t4.__internal$_current;
  9423. if (t5 == null)
  9424. t5 = t2._as(t5);
  9425. if (t5 === 39)
  9426. return 34;
  9427. if (t5 === 34)
  9428. containsDoubleQuote = true;
  9429. }
  9430. return containsDoubleQuote ? 39 : 34;
  9431. },
  9432. StringExpression: function StringExpression(t0, t1) {
  9433. this.text = t0;
  9434. this.hasQuotes = t1;
  9435. },
  9436. SupportsExpression: function SupportsExpression(t0) {
  9437. this.condition = t0;
  9438. },
  9439. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9440. this.operator = t0;
  9441. this.operand = t1;
  9442. this.span = t2;
  9443. },
  9444. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9445. this.name = t0;
  9446. this.operator = t1;
  9447. this._name = t2;
  9448. },
  9449. ValueExpression: function ValueExpression(t0, t1) {
  9450. this.value = t0;
  9451. this.span = t1;
  9452. },
  9453. VariableExpression: function VariableExpression(t0, t1, t2) {
  9454. this.namespace = t0;
  9455. this.name = t1;
  9456. this.span = t2;
  9457. },
  9458. DynamicImport: function DynamicImport(t0, t1) {
  9459. this.urlString = t0;
  9460. this.span = t1;
  9461. },
  9462. StaticImport: function StaticImport(t0, t1, t2) {
  9463. this.url = t0;
  9464. this.modifiers = t1;
  9465. this.span = t2;
  9466. },
  9467. Interpolation$(contents, span) {
  9468. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  9469. t1.Interpolation$2(contents, span);
  9470. return t1;
  9471. },
  9472. Interpolation: function Interpolation(t0, t1) {
  9473. this.contents = t0;
  9474. this.span = t1;
  9475. },
  9476. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9477. },
  9478. Statement: function Statement() {
  9479. },
  9480. AtRootRule$(children, span, query) {
  9481. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9482. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9483. return new A.AtRootRule(query, span, t1, t2);
  9484. },
  9485. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9486. var _ = this;
  9487. _.query = t0;
  9488. _.span = t1;
  9489. _.children = t2;
  9490. _.hasDeclarations = t3;
  9491. },
  9492. AtRule$($name, span, children, value) {
  9493. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9494. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9495. return new A.AtRule($name, value, span, t1, t2 === true);
  9496. },
  9497. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9498. var _ = this;
  9499. _.name = t0;
  9500. _.value = t1;
  9501. _.span = t2;
  9502. _.children = t3;
  9503. _.hasDeclarations = t4;
  9504. },
  9505. CallableDeclaration: function CallableDeclaration() {
  9506. },
  9507. ContentBlock$($arguments, children, span) {
  9508. var _s8_ = "@content",
  9509. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9510. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9511. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9512. return new A.ContentBlock(t1, _s8_, $arguments, span, t2, t3);
  9513. },
  9514. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9515. var _ = this;
  9516. _.name = t0;
  9517. _.originalName = t1;
  9518. _.$arguments = t2;
  9519. _.span = t3;
  9520. _.children = t4;
  9521. _.hasDeclarations = t5;
  9522. },
  9523. ContentRule: function ContentRule(t0, t1) {
  9524. this.$arguments = t0;
  9525. this.span = t1;
  9526. },
  9527. DebugRule: function DebugRule(t0, t1) {
  9528. this.expression = t0;
  9529. this.span = t1;
  9530. },
  9531. Declaration$($name, value, span) {
  9532. return new A.Declaration($name, value, span, null, false);
  9533. },
  9534. Declaration$nested($name, children, span, value) {
  9535. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9536. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9537. return new A.Declaration($name, value, span, t1, t2);
  9538. },
  9539. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9540. var _ = this;
  9541. _.name = t0;
  9542. _.value = t1;
  9543. _.span = t2;
  9544. _.children = t3;
  9545. _.hasDeclarations = t4;
  9546. },
  9547. EachRule$(variables, list, children, span) {
  9548. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9549. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9550. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9551. return new A.EachRule(t1, list, span, t2, t3);
  9552. },
  9553. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9554. var _ = this;
  9555. _.variables = t0;
  9556. _.list = t1;
  9557. _.span = t2;
  9558. _.children = t3;
  9559. _.hasDeclarations = t4;
  9560. },
  9561. EachRule_toString_closure: function EachRule_toString_closure() {
  9562. },
  9563. ErrorRule: function ErrorRule(t0, t1) {
  9564. this.expression = t0;
  9565. this.span = t1;
  9566. },
  9567. ExtendRule: function ExtendRule(t0, t1, t2) {
  9568. this.selector = t0;
  9569. this.isOptional = t1;
  9570. this.span = t2;
  9571. },
  9572. ForRule$(variable, from, to, children, span, exclusive) {
  9573. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9574. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9575. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9576. },
  9577. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9578. var _ = this;
  9579. _.variable = t0;
  9580. _.from = t1;
  9581. _.to = t2;
  9582. _.isExclusive = t3;
  9583. _.span = t4;
  9584. _.children = t5;
  9585. _.hasDeclarations = t6;
  9586. },
  9587. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9588. var _ = this;
  9589. _.url = t0;
  9590. _.shownMixinsAndFunctions = t1;
  9591. _.shownVariables = t2;
  9592. _.hiddenMixinsAndFunctions = t3;
  9593. _.hiddenVariables = t4;
  9594. _.prefix = t5;
  9595. _.configuration = t6;
  9596. _.span = t7;
  9597. },
  9598. FunctionRule$($name, $arguments, children, span, comment) {
  9599. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9600. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9601. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9602. return new A.FunctionRule(t1, $name, $arguments, span, t2, t3);
  9603. },
  9604. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9605. var _ = this;
  9606. _.name = t0;
  9607. _.originalName = t1;
  9608. _.$arguments = t2;
  9609. _.span = t3;
  9610. _.children = t4;
  9611. _.hasDeclarations = t5;
  9612. },
  9613. IfClause$(expression, children) {
  9614. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9615. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9616. },
  9617. ElseClause$(children) {
  9618. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9619. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9620. },
  9621. IfRule: function IfRule(t0, t1, t2) {
  9622. this.clauses = t0;
  9623. this.lastClause = t1;
  9624. this.span = t2;
  9625. },
  9626. IfRule_toString_closure: function IfRule_toString_closure() {
  9627. },
  9628. IfRuleClause: function IfRuleClause() {
  9629. },
  9630. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9631. },
  9632. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9633. },
  9634. IfClause: function IfClause(t0, t1, t2) {
  9635. this.expression = t0;
  9636. this.children = t1;
  9637. this.hasDeclarations = t2;
  9638. },
  9639. ElseClause: function ElseClause(t0, t1) {
  9640. this.children = t0;
  9641. this.hasDeclarations = t1;
  9642. },
  9643. ImportRule: function ImportRule(t0, t1) {
  9644. this.imports = t0;
  9645. this.span = t1;
  9646. },
  9647. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9648. var _ = this;
  9649. _.namespace = t0;
  9650. _.name = t1;
  9651. _.originalName = t2;
  9652. _.$arguments = t3;
  9653. _.content = t4;
  9654. _.span = t5;
  9655. },
  9656. LoudComment: function LoudComment(t0) {
  9657. this.text = t0;
  9658. },
  9659. MediaRule$(query, children, span) {
  9660. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9661. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9662. return new A.MediaRule(query, span, t1, t2);
  9663. },
  9664. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9665. var _ = this;
  9666. _.query = t0;
  9667. _.span = t1;
  9668. _.children = t2;
  9669. _.hasDeclarations = t3;
  9670. },
  9671. MixinRule$($name, $arguments, children, span, comment) {
  9672. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9673. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9674. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9675. return new A.MixinRule(t1, $name, $arguments, span, t2, t3);
  9676. },
  9677. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9678. var _ = this;
  9679. _.__MixinRule_hasContent_FI = $;
  9680. _.name = t0;
  9681. _.originalName = t1;
  9682. _.$arguments = t2;
  9683. _.span = t3;
  9684. _.children = t4;
  9685. _.hasDeclarations = t5;
  9686. },
  9687. _HasContentVisitor: function _HasContentVisitor() {
  9688. },
  9689. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9690. },
  9691. ParentStatement: function ParentStatement() {
  9692. },
  9693. ParentStatement_closure: function ParentStatement_closure() {
  9694. },
  9695. ParentStatement__closure: function ParentStatement__closure() {
  9696. },
  9697. ReturnRule: function ReturnRule(t0, t1) {
  9698. this.expression = t0;
  9699. this.span = t1;
  9700. },
  9701. SilentComment: function SilentComment(t0, t1) {
  9702. this.text = t0;
  9703. this.span = t1;
  9704. },
  9705. StyleRule$(selector, children, span) {
  9706. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9707. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9708. return new A.StyleRule(selector, span, t1, t2);
  9709. },
  9710. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9711. var _ = this;
  9712. _.selector = t0;
  9713. _.span = t1;
  9714. _.children = t2;
  9715. _.hasDeclarations = t3;
  9716. },
  9717. Stylesheet$(children, span) {
  9718. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9719. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9720. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9721. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9722. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  9723. t1.Stylesheet$internal$3$plainCss(children, span, false);
  9724. return t1;
  9725. },
  9726. Stylesheet$internal(children, span, plainCss) {
  9727. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9728. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9729. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9730. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9731. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  9732. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  9733. return t1;
  9734. },
  9735. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  9736. var error, stackTrace, url0, t1, exception, t2;
  9737. try {
  9738. switch (syntax) {
  9739. case B.Syntax_Sass_sass:
  9740. t1 = A.SpanScanner$(contents, url);
  9741. t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0(0);
  9742. return t1;
  9743. case B.Syntax_SCSS_scss:
  9744. t1 = A.ScssParser$(contents, logger, url).parse$0(0);
  9745. return t1;
  9746. case B.Syntax_CSS_css:
  9747. t1 = A.SpanScanner$(contents, url);
  9748. t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0(0);
  9749. return t1;
  9750. }
  9751. } catch (exception) {
  9752. t1 = A.unwrapException(exception);
  9753. if (t1 instanceof A.SassException) {
  9754. error = t1;
  9755. stackTrace = A.getTraceFromException(exception);
  9756. t1 = error;
  9757. t2 = J.getInterceptor$z(t1);
  9758. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9759. url0 = t1.get$sourceUrl(t1);
  9760. if (url0 == null || J.toString$0$(url0) === "stdin")
  9761. throw exception;
  9762. t1 = type$.Uri;
  9763. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9764. } else
  9765. throw exception;
  9766. }
  9767. },
  9768. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  9769. var _ = this;
  9770. _.span = t0;
  9771. _.plainCss = t1;
  9772. _._uses = t2;
  9773. _._forwards = t3;
  9774. _.children = t4;
  9775. _.hasDeclarations = t5;
  9776. },
  9777. SupportsRule$(condition, children, span) {
  9778. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9779. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9780. return new A.SupportsRule(condition, span, t1, t2);
  9781. },
  9782. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9783. var _ = this;
  9784. _.condition = t0;
  9785. _.span = t1;
  9786. _.children = t2;
  9787. _.hasDeclarations = t3;
  9788. },
  9789. UseRule: function UseRule(t0, t1, t2, t3) {
  9790. var _ = this;
  9791. _.url = t0;
  9792. _.namespace = t1;
  9793. _.configuration = t2;
  9794. _.span = t3;
  9795. },
  9796. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9797. if (namespace != null && global)
  9798. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9799. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9800. },
  9801. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9802. var _ = this;
  9803. _.namespace = t0;
  9804. _.name = t1;
  9805. _.expression = t2;
  9806. _.isGuarded = t3;
  9807. _.isGlobal = t4;
  9808. _.span = t5;
  9809. },
  9810. WarnRule: function WarnRule(t0, t1) {
  9811. this.expression = t0;
  9812. this.span = t1;
  9813. },
  9814. WhileRule$(condition, children, span) {
  9815. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9816. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9817. return new A.WhileRule(condition, span, t1, t2);
  9818. },
  9819. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9820. var _ = this;
  9821. _.condition = t0;
  9822. _.span = t1;
  9823. _.children = t2;
  9824. _.hasDeclarations = t3;
  9825. },
  9826. SupportsAnything: function SupportsAnything(t0, t1) {
  9827. this.contents = t0;
  9828. this.span = t1;
  9829. },
  9830. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9831. this.name = t0;
  9832. this.value = t1;
  9833. this.span = t2;
  9834. },
  9835. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9836. this.name = t0;
  9837. this.$arguments = t1;
  9838. this.span = t2;
  9839. },
  9840. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9841. this.expression = t0;
  9842. this.span = t1;
  9843. },
  9844. SupportsNegation: function SupportsNegation(t0, t1) {
  9845. this.condition = t0;
  9846. this.span = t1;
  9847. },
  9848. SupportsOperation$(left, right, operator, span) {
  9849. var lowerOperator = operator.toLowerCase();
  9850. if (lowerOperator !== "and" && lowerOperator !== "or")
  9851. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9852. return new A.SupportsOperation(left, right, operator, span);
  9853. },
  9854. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9855. var _ = this;
  9856. _.left = t0;
  9857. _.right = t1;
  9858. _.operator = t2;
  9859. _.span = t3;
  9860. },
  9861. Selector: function Selector() {
  9862. },
  9863. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9864. this.includeBogus = t0;
  9865. },
  9866. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9867. this.includeLeadingCombinator = t0;
  9868. },
  9869. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9870. this.$this = t0;
  9871. },
  9872. _IsUselessVisitor: function _IsUselessVisitor() {
  9873. },
  9874. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9875. this.$this = t0;
  9876. },
  9877. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9878. },
  9879. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9880. },
  9881. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9882. },
  9883. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9884. var _ = this;
  9885. _.name = t0;
  9886. _.op = t1;
  9887. _.value = t2;
  9888. _.modifier = t3;
  9889. _.span = t4;
  9890. },
  9891. AttributeOperator: function AttributeOperator(t0, t1) {
  9892. this._attribute$_text = t0;
  9893. this._name = t1;
  9894. },
  9895. ClassSelector: function ClassSelector(t0, t1) {
  9896. this.name = t0;
  9897. this.span = t1;
  9898. },
  9899. Combinator: function Combinator(t0, t1) {
  9900. this._combinator$_text = t0;
  9901. this._name = t1;
  9902. },
  9903. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9904. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9905. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9906. if (t1.length === 0 && t2.length === 0)
  9907. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9908. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9909. },
  9910. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9911. var _ = this;
  9912. _.leadingCombinators = t0;
  9913. _.components = t1;
  9914. _.lineBreak = t2;
  9915. _.__ComplexSelector_specificity_FI = $;
  9916. _.span = t3;
  9917. },
  9918. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9919. },
  9920. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9921. this.selector = t0;
  9922. this.combinators = t1;
  9923. this.span = t2;
  9924. },
  9925. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9926. },
  9927. CompoundSelector$(components, span) {
  9928. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9929. if (t1.length === 0)
  9930. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9931. return new A.CompoundSelector(t1, span);
  9932. },
  9933. CompoundSelector: function CompoundSelector(t0, t1) {
  9934. var _ = this;
  9935. _.components = t0;
  9936. _.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
  9937. _.span = t1;
  9938. },
  9939. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9940. },
  9941. CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
  9942. },
  9943. IDSelector: function IDSelector(t0, t1) {
  9944. this.name = t0;
  9945. this.span = t1;
  9946. },
  9947. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9948. this.$this = t0;
  9949. },
  9950. SelectorList$(components, span) {
  9951. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9952. if (t1.length === 0)
  9953. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9954. return new A.SelectorList(t1, span);
  9955. },
  9956. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, logger, plainCss) {
  9957. return A.SelectorParser$(contents, allowParent, interpolationMap, logger, plainCss, null).parse$0(0);
  9958. },
  9959. SelectorList: function SelectorList(t0, t1) {
  9960. this.components = t0;
  9961. this.span = t1;
  9962. },
  9963. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9964. },
  9965. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9966. var _ = this;
  9967. _.$this = t0;
  9968. _.preserveParentSelectors = t1;
  9969. _.implicitParent = t2;
  9970. _.parent = t3;
  9971. },
  9972. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9973. this.complex = t0;
  9974. },
  9975. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9976. this.complex = t0;
  9977. },
  9978. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9979. },
  9980. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9981. this.parent = t0;
  9982. },
  9983. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9984. this.parentSelector = t0;
  9985. this.resolvedSimples = t1;
  9986. this.component = t2;
  9987. },
  9988. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9989. this.combinators = t0;
  9990. },
  9991. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9992. },
  9993. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9994. },
  9995. ParentSelector: function ParentSelector(t0, t1) {
  9996. this.suffix = t0;
  9997. this.span = t1;
  9998. },
  9999. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  10000. this.name = t0;
  10001. this.span = t1;
  10002. },
  10003. PseudoSelector$($name, span, argument, element, selector) {
  10004. var t1 = !element,
  10005. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  10006. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  10007. },
  10008. PseudoSelector__isFakePseudoElement($name) {
  10009. switch ($name.charCodeAt(0)) {
  10010. case 97:
  10011. case 65:
  10012. return A.equalsIgnoreCase($name, "after");
  10013. case 98:
  10014. case 66:
  10015. return A.equalsIgnoreCase($name, "before");
  10016. case 102:
  10017. case 70:
  10018. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  10019. default:
  10020. return false;
  10021. }
  10022. },
  10023. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  10024. var _ = this;
  10025. _.name = t0;
  10026. _.normalizedName = t1;
  10027. _.isClass = t2;
  10028. _.isSyntacticClass = t3;
  10029. _.argument = t4;
  10030. _.selector = t5;
  10031. _.__PseudoSelector_specificity_FI = $;
  10032. _.span = t6;
  10033. },
  10034. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  10035. this.$this = t0;
  10036. },
  10037. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  10038. },
  10039. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  10040. },
  10041. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  10042. },
  10043. QualifiedName: function QualifiedName(t0, t1) {
  10044. this.name = t0;
  10045. this.namespace = t1;
  10046. },
  10047. SimpleSelector: function SimpleSelector() {
  10048. },
  10049. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  10050. this.$this = t0;
  10051. },
  10052. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  10053. this.$this = t0;
  10054. },
  10055. TypeSelector: function TypeSelector(t0, t1) {
  10056. this.name = t0;
  10057. this.span = t1;
  10058. },
  10059. UniversalSelector: function UniversalSelector(t0, t1) {
  10060. this.namespace = t0;
  10061. this.span = t1;
  10062. },
  10063. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10064. var $async$goto = 0,
  10065. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10066. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  10067. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10068. if ($async$errorCode === 1)
  10069. return A._asyncRethrow($async$result, $async$completer);
  10070. while (true)
  10071. switch ($async$goto) {
  10072. case 0:
  10073. // Function start
  10074. t1 = type$.Deprecation;
  10075. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10076. t2.addAll$1(0, silenceDeprecations);
  10077. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10078. t3.addAll$1(0, fatalDeprecations);
  10079. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10080. t4.addAll$1(0, futureDeprecations);
  10081. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10082. logger.validate$0();
  10083. t1 = syntax === A.Syntax_forPath(path);
  10084. $async$goto = t1 ? 3 : 5;
  10085. break;
  10086. case 3:
  10087. // then
  10088. t1 = $.$get$FilesystemImporter_cwd();
  10089. t2 = A.isNodeJs() ? self.process : null;
  10090. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  10091. t2 = A.isNodeJs() ? self.process : null;
  10092. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  10093. } else
  10094. t2 = true;
  10095. if (t2) {
  10096. t2 = $.$get$context();
  10097. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10098. t0 = t3;
  10099. t3 = t2;
  10100. t2 = t0;
  10101. } else {
  10102. t2 = $.$get$context();
  10103. t3 = t2.canonicalize$1(0, path);
  10104. t0 = t3;
  10105. t3 = t2;
  10106. t2 = t0;
  10107. }
  10108. $async$goto = 6;
  10109. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10110. case 6:
  10111. // returning from await.
  10112. t3 = $async$result;
  10113. t3.toString;
  10114. stylesheet = t3;
  10115. // goto join
  10116. $async$goto = 4;
  10117. break;
  10118. case 5:
  10119. // else
  10120. t1 = A.readFile(path);
  10121. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  10122. case 4:
  10123. // join
  10124. $async$goto = 7;
  10125. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10126. case 7:
  10127. // returning from await.
  10128. result = $async$result;
  10129. logger.summarize$1$js(false);
  10130. $async$returnValue = result;
  10131. // goto return
  10132. $async$goto = 1;
  10133. break;
  10134. case 1:
  10135. // return
  10136. return A._asyncReturn($async$returnValue, $async$completer);
  10137. }
  10138. });
  10139. return A._asyncStartSync($async$compileAsync, $async$completer);
  10140. },
  10141. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10142. var $async$goto = 0,
  10143. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10144. $async$returnValue, t3, t4, stylesheet, result, t1, t2;
  10145. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10146. if ($async$errorCode === 1)
  10147. return A._asyncRethrow($async$result, $async$completer);
  10148. while (true)
  10149. switch ($async$goto) {
  10150. case 0:
  10151. // Function start
  10152. t1 = type$.Deprecation;
  10153. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10154. t2.addAll$1(0, silenceDeprecations);
  10155. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10156. t3.addAll$1(0, fatalDeprecations);
  10157. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10158. t4.addAll$1(0, futureDeprecations);
  10159. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10160. logger.validate$0();
  10161. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  10162. $async$goto = 3;
  10163. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10164. case 3:
  10165. // returning from await.
  10166. result = $async$result;
  10167. logger.summarize$1$js(false);
  10168. $async$returnValue = result;
  10169. // goto return
  10170. $async$goto = 1;
  10171. break;
  10172. case 1:
  10173. // return
  10174. return A._asyncReturn($async$returnValue, $async$completer);
  10175. }
  10176. });
  10177. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10178. },
  10179. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10180. var $async$goto = 0,
  10181. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10182. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10183. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10184. if ($async$errorCode === 1)
  10185. return A._asyncRethrow($async$result, $async$completer);
  10186. while (true)
  10187. switch ($async$goto) {
  10188. case 0:
  10189. // Function start
  10190. $async$temp1 = A;
  10191. $async$goto = 3;
  10192. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10193. case 3:
  10194. // returning from await.
  10195. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  10196. resultSourceMap = serializeResult._1;
  10197. if (resultSourceMap != null)
  10198. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10199. $async$returnValue = new A.CompileResult(serializeResult);
  10200. // goto return
  10201. $async$goto = 1;
  10202. break;
  10203. case 1:
  10204. // return
  10205. return A._asyncReturn($async$returnValue, $async$completer);
  10206. }
  10207. });
  10208. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10209. },
  10210. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10211. this.stylesheet = t0;
  10212. this.importCache = t1;
  10213. },
  10214. AsyncEnvironment$() {
  10215. var t1 = type$.String,
  10216. t2 = type$.Module_AsyncCallable,
  10217. t3 = type$.AstNode,
  10218. t4 = type$.int,
  10219. t5 = type$.AsyncCallable,
  10220. t6 = type$.JSArray_Map_String_AsyncCallable;
  10221. 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);
  10222. },
  10223. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10224. var t1 = type$.String,
  10225. t2 = type$.int;
  10226. 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);
  10227. },
  10228. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10229. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10230. if (forwarded == null)
  10231. forwarded = B.Set_empty2;
  10232. t1 = type$.dynamic;
  10233. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10234. 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();) {
  10235. t6 = t4.get$current(t4);
  10236. module = t6._0;
  10237. result = A.List_List$from(t6._1, false, t5);
  10238. result.fixed$length = Array;
  10239. result.immutable$list = Array;
  10240. t1.$indexSet(0, module, result);
  10241. }
  10242. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10243. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10244. 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);
  10245. 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);
  10246. t5 = type$.Map_String_AsyncCallable;
  10247. t6 = type$.AsyncCallable;
  10248. 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);
  10249. 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);
  10250. 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());
  10251. 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()));
  10252. },
  10253. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10254. var modulesByVariable, t1, t2, t3, t4, t5;
  10255. if (forwarded.get$isEmpty(forwarded))
  10256. return B.Map_empty8;
  10257. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10258. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10259. t2 = t1.get$current(t1);
  10260. if (t2 instanceof A._EnvironmentModule0) {
  10261. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10262. t4 = t3.get$current(t3);
  10263. t5 = t4.get$variables();
  10264. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10265. }
  10266. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10267. } else {
  10268. t3 = t2.get$variables();
  10269. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10270. }
  10271. }
  10272. return modulesByVariable;
  10273. },
  10274. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10275. var t1, t2, t3;
  10276. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10277. if (otherMaps.get$isEmpty(otherMaps))
  10278. return localMap;
  10279. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10280. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10281. t3 = t2.get$current(t2);
  10282. if (t3.get$isNotEmpty(t3))
  10283. t1.push(t3);
  10284. }
  10285. t1.push(localMap);
  10286. if (t1.length === 1)
  10287. return localMap;
  10288. return A.MergedMapView$(t1, type$.String, $V);
  10289. },
  10290. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10291. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10292. },
  10293. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10294. var _ = this;
  10295. _._async_environment$_modules = t0;
  10296. _._async_environment$_namespaceNodes = t1;
  10297. _._async_environment$_globalModules = t2;
  10298. _._async_environment$_importedModules = t3;
  10299. _._async_environment$_forwardedModules = t4;
  10300. _._async_environment$_nestedForwardedModules = t5;
  10301. _._async_environment$_allModules = t6;
  10302. _._async_environment$_variables = t7;
  10303. _._async_environment$_variableNodes = t8;
  10304. _._async_environment$_variableIndices = t9;
  10305. _._async_environment$_functions = t10;
  10306. _._async_environment$_functionIndices = t11;
  10307. _._async_environment$_mixins = t12;
  10308. _._async_environment$_mixinIndices = t13;
  10309. _._async_environment$_content = t14;
  10310. _._async_environment$_inMixin = false;
  10311. _._async_environment$_inSemiGlobalScope = true;
  10312. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10313. },
  10314. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10315. this.name = t0;
  10316. },
  10317. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10318. this.$this = t0;
  10319. this.name = t1;
  10320. },
  10321. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10322. this.name = t0;
  10323. },
  10324. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10325. this.$this = t0;
  10326. this.name = t1;
  10327. },
  10328. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10329. this.name = t0;
  10330. },
  10331. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10332. this.name = t0;
  10333. },
  10334. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10335. },
  10336. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10337. },
  10338. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10339. var _ = this;
  10340. _.upstream = t0;
  10341. _.variables = t1;
  10342. _.variableNodes = t2;
  10343. _.functions = t3;
  10344. _.mixins = t4;
  10345. _.extensionStore = t5;
  10346. _.css = t6;
  10347. _.preModuleComments = t7;
  10348. _.transitivelyContainsCss = t8;
  10349. _.transitivelyContainsExtensions = t9;
  10350. _._async_environment$_environment = t10;
  10351. _._async_environment$_modulesByVariable = t11;
  10352. },
  10353. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10354. },
  10355. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10356. },
  10357. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10358. },
  10359. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10360. },
  10361. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10362. },
  10363. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10364. },
  10365. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10366. var t1, t2, t3, t4, _i, path, _null = null,
  10367. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10368. if (A.isBrowser()) {
  10369. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10370. B.JSArray_methods.addAll$1(t1, importers);
  10371. return t1;
  10372. }
  10373. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10374. B.JSArray_methods.addAll$1(t1, importers);
  10375. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10376. t3 = t2.get$current(t2);
  10377. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10378. }
  10379. if (sassPath != null) {
  10380. t2 = A.isNodeJs() ? self.process : _null;
  10381. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10382. t4 = t3.length;
  10383. _i = 0;
  10384. for (; _i < t4; ++_i) {
  10385. path = t3[_i];
  10386. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  10387. }
  10388. }
  10389. return t1;
  10390. },
  10391. AsyncImportCache_wrapLogger(logger, silenceDeprecations, fatalDeprecations, futureDeprecations) {
  10392. var t3, t4,
  10393. t1 = type$.Deprecation,
  10394. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10395. t2.addAll$1(0, silenceDeprecations);
  10396. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10397. t3.addAll$1(0, fatalDeprecations);
  10398. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10399. t4.addAll$1(0, futureDeprecations);
  10400. return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, false);
  10401. },
  10402. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10403. var _ = this;
  10404. _._async_import_cache$_importers = t0;
  10405. _._async_import_cache$_logger = t1;
  10406. _._async_import_cache$_canonicalizeCache = t2;
  10407. _._async_import_cache$_perImporterCanonicalizeCache = t3;
  10408. _._async_import_cache$_nonCanonicalRelativeUrls = t4;
  10409. _._async_import_cache$_importCache = t5;
  10410. _._async_import_cache$_resultsCache = t6;
  10411. },
  10412. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10413. var _ = this;
  10414. _.$this = t0;
  10415. _.baseImporter = t1;
  10416. _.resolvedUrl = t2;
  10417. _.baseUrl = t3;
  10418. _.forImport = t4;
  10419. _.key = t5;
  10420. _.url = t6;
  10421. },
  10422. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10423. this.importer = t0;
  10424. this.url = t1;
  10425. },
  10426. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  10427. var _ = this;
  10428. _.$this = t0;
  10429. _.importer = t1;
  10430. _.canonicalUrl = t2;
  10431. _.originalUrl = t3;
  10432. _.quiet = t4;
  10433. },
  10434. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10435. this.canonicalUrl = t0;
  10436. },
  10437. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10438. },
  10439. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10440. },
  10441. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10442. this.canonicalUrl = t0;
  10443. },
  10444. AsyncBuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10445. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10446. },
  10447. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10448. var _ = this;
  10449. _.name = t0;
  10450. _._async_built_in$_arguments = t1;
  10451. _._async_built_in$_callback = t2;
  10452. _.acceptsContent = t3;
  10453. },
  10454. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10455. this.callback = t0;
  10456. },
  10457. BuiltInCallable$function($name, $arguments, callback, url) {
  10458. 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);
  10459. },
  10460. BuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10461. 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);
  10462. },
  10463. BuiltInCallable$overloadedFunction($name, overloads) {
  10464. var t2, t3, t4, t5, t6, args, callback,
  10465. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value);
  10466. 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();) {
  10467. t6 = t3.get$current(t3);
  10468. args = t6._0;
  10469. callback = t6._1;
  10470. t6 = A.SpanScanner$(t4 + args + ") {", null);
  10471. t1.push(new A._Record_2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false, null).parseArgumentDeclaration$0(), callback));
  10472. }
  10473. return new A.BuiltInCallable($name, t1, false);
  10474. },
  10475. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10476. this.name = t0;
  10477. this._overloads = t1;
  10478. this.acceptsContent = t2;
  10479. },
  10480. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10481. this.callback = t0;
  10482. },
  10483. PlainCssCallable: function PlainCssCallable(t0) {
  10484. this.name = t0;
  10485. },
  10486. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10487. var _ = this;
  10488. _.declaration = t0;
  10489. _.environment = t1;
  10490. _.inDependency = t2;
  10491. _.$ti = t3;
  10492. },
  10493. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10494. 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),
  10495. resultSourceMap = serializeResult._1;
  10496. if (resultSourceMap != null)
  10497. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10498. return new A.CompileResult(serializeResult);
  10499. },
  10500. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10501. this.stylesheet = t0;
  10502. this.importCache = t1;
  10503. },
  10504. CompileResult: function CompileResult(t0) {
  10505. this._serialize = t0;
  10506. },
  10507. Configuration: function Configuration(t0, t1) {
  10508. this._configuration$_values = t0;
  10509. this.__originalConfiguration = t1;
  10510. },
  10511. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10512. this.nodeWithSpan = t0;
  10513. this._configuration$_values = t1;
  10514. this.__originalConfiguration = t2;
  10515. },
  10516. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10517. this.value = t0;
  10518. this.configurationSpan = t1;
  10519. this.assignmentNode = t2;
  10520. },
  10521. Deprecation_fromId(id) {
  10522. return A.IterableExtension_firstWhereOrNull(B.List_KYb, new A.Deprecation_fromId_closure(id));
  10523. },
  10524. Deprecation_forVersion(version) {
  10525. var t2, _i, deprecation, $self, t3,
  10526. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10527. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 20; ++_i) {
  10528. deprecation = B.List_KYb[_i];
  10529. $self = deprecation._deprecatedIn;
  10530. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10531. t3 = t3 == null ? null : t2.call$1(t3);
  10532. if (t3 == null ? false : t3)
  10533. t1.add$1(0, deprecation);
  10534. }
  10535. return t1;
  10536. },
  10537. Deprecation: function Deprecation(t0, t1, t2, t3) {
  10538. var _ = this;
  10539. _.id = t0;
  10540. _._deprecatedIn = t1;
  10541. _.isFuture = t2;
  10542. _._name = t3;
  10543. },
  10544. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10545. this.id = t0;
  10546. },
  10547. Environment$() {
  10548. var t1 = type$.String,
  10549. t2 = type$.Module_Callable,
  10550. t3 = type$.AstNode,
  10551. t4 = type$.int,
  10552. t5 = type$.Callable,
  10553. t6 = type$.JSArray_Map_String_Callable;
  10554. 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);
  10555. },
  10556. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10557. var t1 = type$.String,
  10558. t2 = type$.int;
  10559. 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);
  10560. },
  10561. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10562. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10563. if (forwarded == null)
  10564. forwarded = B.Set_empty0;
  10565. t1 = type$.dynamic;
  10566. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10567. 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();) {
  10568. t6 = t4.get$current(t4);
  10569. module = t6._0;
  10570. result = A.List_List$from(t6._1, false, t5);
  10571. result.fixed$length = Array;
  10572. result.immutable$list = Array;
  10573. t1.$indexSet(0, module, result);
  10574. }
  10575. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10576. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10577. 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);
  10578. 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);
  10579. t5 = type$.Map_String_Callable;
  10580. t6 = type$.Callable;
  10581. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10582. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10583. 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());
  10584. 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()));
  10585. },
  10586. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10587. var modulesByVariable, t1, t2, t3, t4, t5;
  10588. if (forwarded.get$isEmpty(forwarded))
  10589. return B.Map_empty1;
  10590. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10591. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10592. t2 = t1.get$current(t1);
  10593. if (t2 instanceof A._EnvironmentModule) {
  10594. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10595. t4 = t3.get$current(t3);
  10596. t5 = t4.get$variables();
  10597. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10598. }
  10599. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10600. } else {
  10601. t3 = t2.get$variables();
  10602. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10603. }
  10604. }
  10605. return modulesByVariable;
  10606. },
  10607. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10608. var t1, t2, t3;
  10609. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10610. if (otherMaps.get$isEmpty(otherMaps))
  10611. return localMap;
  10612. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10613. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10614. t3 = t2.get$current(t2);
  10615. if (t3.get$isNotEmpty(t3))
  10616. t1.push(t3);
  10617. }
  10618. t1.push(localMap);
  10619. if (t1.length === 1)
  10620. return localMap;
  10621. return A.MergedMapView$(t1, type$.String, $V);
  10622. },
  10623. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10624. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10625. },
  10626. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10627. var _ = this;
  10628. _._environment$_modules = t0;
  10629. _._namespaceNodes = t1;
  10630. _._globalModules = t2;
  10631. _._importedModules = t3;
  10632. _._forwardedModules = t4;
  10633. _._nestedForwardedModules = t5;
  10634. _._allModules = t6;
  10635. _._variables = t7;
  10636. _._variableNodes = t8;
  10637. _._variableIndices = t9;
  10638. _._functions = t10;
  10639. _._functionIndices = t11;
  10640. _._mixins = t12;
  10641. _._mixinIndices = t13;
  10642. _._content = t14;
  10643. _._inMixin = false;
  10644. _._inSemiGlobalScope = true;
  10645. _._lastVariableIndex = _._lastVariableName = null;
  10646. },
  10647. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10648. this.name = t0;
  10649. },
  10650. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10651. this.$this = t0;
  10652. this.name = t1;
  10653. },
  10654. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10655. this.name = t0;
  10656. },
  10657. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10658. this.$this = t0;
  10659. this.name = t1;
  10660. },
  10661. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10662. this.name = t0;
  10663. },
  10664. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10665. this.name = t0;
  10666. },
  10667. Environment_toModule_closure: function Environment_toModule_closure() {
  10668. },
  10669. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10670. },
  10671. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10672. var _ = this;
  10673. _.upstream = t0;
  10674. _.variables = t1;
  10675. _.variableNodes = t2;
  10676. _.functions = t3;
  10677. _.mixins = t4;
  10678. _.extensionStore = t5;
  10679. _.css = t6;
  10680. _.preModuleComments = t7;
  10681. _.transitivelyContainsCss = t8;
  10682. _.transitivelyContainsExtensions = t9;
  10683. _._environment$_environment = t10;
  10684. _._modulesByVariable = t11;
  10685. },
  10686. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10687. },
  10688. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10689. },
  10690. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10691. },
  10692. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10693. },
  10694. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10695. },
  10696. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10697. },
  10698. SassException$(message, span, loadedUrls) {
  10699. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10700. },
  10701. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10702. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10703. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10704. },
  10705. SassRuntimeException$(message, span, trace, loadedUrls) {
  10706. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10707. },
  10708. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10709. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10710. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10711. },
  10712. SassFormatException$(message, span, loadedUrls) {
  10713. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10714. },
  10715. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10716. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10717. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10718. },
  10719. SassScriptException$(message, argumentName) {
  10720. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10721. },
  10722. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10723. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10724. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10725. },
  10726. SassException: function SassException(t0, t1, t2) {
  10727. this.loadedUrls = t0;
  10728. this._span_exception$_message = t1;
  10729. this._span = t2;
  10730. },
  10731. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10732. var _ = this;
  10733. _.primaryLabel = t0;
  10734. _.secondarySpans = t1;
  10735. _.loadedUrls = t2;
  10736. _._span_exception$_message = t3;
  10737. _._span = t4;
  10738. },
  10739. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10740. var _ = this;
  10741. _.trace = t0;
  10742. _.loadedUrls = t1;
  10743. _._span_exception$_message = t2;
  10744. _._span = t3;
  10745. },
  10746. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10747. var _ = this;
  10748. _.trace = t0;
  10749. _.primaryLabel = t1;
  10750. _.secondarySpans = t2;
  10751. _.loadedUrls = t3;
  10752. _._span_exception$_message = t4;
  10753. _._span = t5;
  10754. },
  10755. SassFormatException: function SassFormatException(t0, t1, t2) {
  10756. this.loadedUrls = t0;
  10757. this._span_exception$_message = t1;
  10758. this._span = t2;
  10759. },
  10760. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10761. var _ = this;
  10762. _.primaryLabel = t0;
  10763. _.secondarySpans = t1;
  10764. _.loadedUrls = t2;
  10765. _._span_exception$_message = t3;
  10766. _._span = t4;
  10767. },
  10768. SassScriptException: function SassScriptException(t0) {
  10769. this.message = t0;
  10770. },
  10771. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10772. this.primaryLabel = t0;
  10773. this.secondarySpans = t1;
  10774. this.message = t2;
  10775. },
  10776. compileStylesheet(options, graph, source, destination, ifModified) {
  10777. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10778. },
  10779. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10780. var $async$goto = 0,
  10781. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10782. $async$returnValue, $async$handler = 2, $async$currentError, error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10783. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10784. if ($async$errorCode === 1) {
  10785. $async$currentError = $async$result;
  10786. $async$goto = $async$handler;
  10787. }
  10788. while (true)
  10789. switch ($async$goto) {
  10790. case 0:
  10791. // Function start
  10792. $async$handler = 4;
  10793. $async$goto = 7;
  10794. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10795. case 7:
  10796. // returning from await.
  10797. $async$handler = 2;
  10798. // goto after finally
  10799. $async$goto = 6;
  10800. break;
  10801. case 4:
  10802. // catch
  10803. $async$handler = 3;
  10804. $async$exception = $async$currentError;
  10805. t1 = A.unwrapException($async$exception);
  10806. if (t1 instanceof A.SassException) {
  10807. error = t1;
  10808. stackTrace = A.getTraceFromException($async$exception);
  10809. if (destination != null && !options.get$emitErrorCss())
  10810. A._tryDelete(destination);
  10811. message = J.toString$1$color$(error, options.get$color());
  10812. if (A._asBool(options._options.$index(0, "trace"))) {
  10813. t1 = A.getTrace(error);
  10814. if (t1 == null)
  10815. t1 = stackTrace;
  10816. } else
  10817. t1 = null;
  10818. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10819. // goto return
  10820. $async$goto = 1;
  10821. break;
  10822. } else if (t1 instanceof A.FileSystemException) {
  10823. error0 = t1;
  10824. stackTrace0 = A.getTraceFromException($async$exception);
  10825. path = error0.path;
  10826. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10827. if (A._asBool(options._options.$index(0, "trace"))) {
  10828. t1 = A.getTrace(error0);
  10829. if (t1 == null)
  10830. t1 = stackTrace0;
  10831. } else
  10832. t1 = null;
  10833. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10834. // goto return
  10835. $async$goto = 1;
  10836. break;
  10837. } else
  10838. throw $async$exception;
  10839. // goto after finally
  10840. $async$goto = 6;
  10841. break;
  10842. case 3:
  10843. // uncaught
  10844. // goto rethrow
  10845. $async$goto = 2;
  10846. break;
  10847. case 6:
  10848. // after finally
  10849. $async$returnValue = null;
  10850. // goto return
  10851. $async$goto = 1;
  10852. break;
  10853. case 1:
  10854. // return
  10855. return A._asyncReturn($async$returnValue, $async$completer);
  10856. case 2:
  10857. // rethrow
  10858. return A._asyncRethrow($async$currentError, $async$completer);
  10859. }
  10860. });
  10861. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10862. },
  10863. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10864. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10865. },
  10866. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10867. var $async$goto = 0,
  10868. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10869. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, t1, exception, t2, t3, t4, t5, t6, t7, t8, t9, t10, result0, t11, t12, t13, t14, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  10870. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10871. if ($async$errorCode === 1) {
  10872. $async$currentError = $async$result;
  10873. $async$goto = $async$handler;
  10874. }
  10875. while (true)
  10876. switch ($async$goto) {
  10877. case 0:
  10878. // Function start
  10879. importer = $.$get$FilesystemImporter_cwd();
  10880. if (ifModified)
  10881. try {
  10882. t1 = false;
  10883. if (source != null)
  10884. if (destination != null) {
  10885. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10886. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10887. }
  10888. if (t1) {
  10889. // goto return
  10890. $async$goto = 1;
  10891. break;
  10892. }
  10893. } catch (exception) {
  10894. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10895. throw exception;
  10896. }
  10897. syntax = null;
  10898. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10899. syntax = B.Syntax_Sass_sass;
  10900. else if (source != null)
  10901. syntax = A.Syntax_forPath(source);
  10902. else
  10903. syntax = B.Syntax_SCSS_scss;
  10904. result = null;
  10905. $async$handler = 4;
  10906. t1 = options._options;
  10907. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10908. break;
  10909. case 7:
  10910. // then
  10911. t2 = options.get$pkgImporters();
  10912. t3 = type$.List_String._as(t1.$index(0, "load-path"));
  10913. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10914. t4 = A.AsyncImportCache_wrapLogger(t4, options.get$silenceDeprecations(0), options.get$fatalDeprecations(0), options.get$futureDeprecations(0));
  10915. t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10916. t6 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10917. t7 = type$.Uri;
  10918. t3 = A.AsyncImportCache__toImporters(t2, t3, null);
  10919. importCache = new A.AsyncImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t5), A.LinkedHashMap_LinkedHashMap$_empty(t6, t5), A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.ImporterResult));
  10920. $async$goto = source == null ? 10 : 12;
  10921. break;
  10922. case 10:
  10923. // then
  10924. $async$goto = 13;
  10925. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10926. case 13:
  10927. // returning from await.
  10928. t2 = $async$result;
  10929. t3 = syntax;
  10930. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10931. t5 = $.$get$FilesystemImporter_cwd();
  10932. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10933. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10934. t8 = A._asBool(t1.$index(0, "verbose"));
  10935. t9 = options.get$emitSourceMap();
  10936. t1 = A._asBool(t1.$index(0, "charset"));
  10937. t10 = options.get$silenceDeprecations(0);
  10938. $async$goto = 14;
  10939. return A._asyncAwait(A.compileStringAsync(t2, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t5, t4, t7, t10, t9, t6, t3, t8), $async$_compileStylesheetWithoutErrorHandling);
  10940. case 14:
  10941. // returning from await.
  10942. result0 = $async$result;
  10943. // goto join
  10944. $async$goto = 11;
  10945. break;
  10946. case 12:
  10947. // else
  10948. t2 = syntax;
  10949. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10950. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10951. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10952. t6 = A._asBool(t1.$index(0, "verbose"));
  10953. t7 = options.get$emitSourceMap();
  10954. t1 = A._asBool(t1.$index(0, "charset"));
  10955. t8 = options.get$silenceDeprecations(0);
  10956. $async$goto = 15;
  10957. return A._asyncAwait(A.compileAsync(source, t1, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), importCache, t3, t5, t8, t7, t4, t2, t6), $async$_compileStylesheetWithoutErrorHandling);
  10958. case 15:
  10959. // returning from await.
  10960. result0 = $async$result;
  10961. case 11:
  10962. // join
  10963. result = result0;
  10964. // goto join
  10965. $async$goto = 8;
  10966. break;
  10967. case 9:
  10968. // else
  10969. $async$goto = source == null ? 16 : 18;
  10970. break;
  10971. case 16:
  10972. // then
  10973. $async$goto = 19;
  10974. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10975. case 19:
  10976. // returning from await.
  10977. t2 = $async$result;
  10978. t3 = syntax;
  10979. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10980. t5 = $.$get$FilesystemImporter_cwd();
  10981. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10982. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10983. t8 = A._asBool(t1.$index(0, "verbose"));
  10984. t9 = options.get$emitSourceMap();
  10985. t1 = A._asBool(t1.$index(0, "charset"));
  10986. t10 = options.get$silenceDeprecations(0);
  10987. t11 = options.get$fatalDeprecations(0);
  10988. t12 = options.get$futureDeprecations(0);
  10989. t13 = type$.Deprecation;
  10990. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10991. t14.addAll$1(0, t10);
  10992. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10993. t10.addAll$1(0, t11);
  10994. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10995. t11.addAll$1(0, t12);
  10996. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10997. logger.validate$0();
  10998. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  10999. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  11000. logger.summarize$1$js(false);
  11001. // goto join
  11002. $async$goto = 17;
  11003. break;
  11004. case 18:
  11005. // else
  11006. t2 = syntax;
  11007. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  11008. importCache = graph.importCache;
  11009. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  11010. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  11011. t6 = A._asBool(t1.$index(0, "verbose"));
  11012. t7 = options.get$emitSourceMap();
  11013. t1 = A._asBool(t1.$index(0, "charset"));
  11014. t8 = options.get$silenceDeprecations(0);
  11015. t9 = options.get$fatalDeprecations(0);
  11016. t10 = options.get$futureDeprecations(0);
  11017. t11 = type$.Deprecation;
  11018. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11019. t12.addAll$1(0, t8);
  11020. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11021. t8.addAll$1(0, t9);
  11022. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  11023. t9.addAll$1(0, t10);
  11024. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  11025. logger.validate$0();
  11026. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  11027. if (t3) {
  11028. t2 = $.$get$FilesystemImporter_cwd();
  11029. t3 = A.isNodeJs() ? self.process : null;
  11030. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  11031. t3 = A.isNodeJs() ? self.process : null;
  11032. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  11033. } else
  11034. t3 = true;
  11035. if (t3) {
  11036. t3 = $.$get$context();
  11037. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  11038. t0 = t6;
  11039. t6 = t3;
  11040. t3 = t0;
  11041. } else {
  11042. t3 = $.$get$context();
  11043. t6 = t3.canonicalize$1(0, source);
  11044. t0 = t6;
  11045. t6 = t3;
  11046. t3 = t0;
  11047. }
  11048. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  11049. t6.toString;
  11050. stylesheet = t6;
  11051. } else {
  11052. t3 = A.readFile(source);
  11053. if (t2 == null)
  11054. t2 = A.Syntax_forPath(source);
  11055. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  11056. }
  11057. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  11058. logger.summarize$1$js(false);
  11059. case 17:
  11060. // join
  11061. result = result0;
  11062. case 8:
  11063. // join
  11064. $async$handler = 2;
  11065. // goto after finally
  11066. $async$goto = 6;
  11067. break;
  11068. case 4:
  11069. // catch
  11070. $async$handler = 3;
  11071. $async$exception = $async$currentError;
  11072. t1 = A.unwrapException($async$exception);
  11073. if (t1 instanceof A.SassException) {
  11074. error = t1;
  11075. if (options.get$emitErrorCss())
  11076. if (destination == null)
  11077. A.print(error.toCssString$0());
  11078. else {
  11079. A.ensureDir($.$get$context().dirname$1(destination));
  11080. A.writeFile(destination, error.toCssString$0() + "\n");
  11081. }
  11082. throw $async$exception;
  11083. } else
  11084. throw $async$exception;
  11085. // goto after finally
  11086. $async$goto = 6;
  11087. break;
  11088. case 3:
  11089. // uncaught
  11090. // goto rethrow
  11091. $async$goto = 2;
  11092. break;
  11093. case 6:
  11094. // after finally
  11095. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  11096. if (destination == null) {
  11097. if (css.length !== 0)
  11098. A.print(css);
  11099. } else {
  11100. A.ensureDir($.$get$context().dirname$1(destination));
  11101. A.writeFile(destination, css + "\n");
  11102. }
  11103. t1 = options._options;
  11104. if (!A._asBool(t1.$index(0, "quiet")))
  11105. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  11106. else
  11107. t1 = true;
  11108. if (t1) {
  11109. // goto return
  11110. $async$goto = 1;
  11111. break;
  11112. }
  11113. buffer = new A.StringBuffer("");
  11114. if (source == null)
  11115. sourceName = "stdin";
  11116. else {
  11117. t1 = $.$get$context();
  11118. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11119. }
  11120. destination.toString;
  11121. t1 = $.$get$context();
  11122. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11123. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  11124. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11125. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  11126. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11127. if (options.get$color())
  11128. t1 = buffer._contents = t1 + "\x1b[32m";
  11129. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11130. buffer._contents = t1;
  11131. if (options.get$color())
  11132. buffer._contents = t1 + "\x1b[0m";
  11133. t1 = A.isNodeJs() ? self.process : null;
  11134. if (t1 != null) {
  11135. t1 = J.get$stdout$x(t1);
  11136. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11137. } else {
  11138. t1 = self.console;
  11139. J.log$1$x(t1, buffer);
  11140. }
  11141. case 1:
  11142. // return
  11143. return A._asyncReturn($async$returnValue, $async$completer);
  11144. case 2:
  11145. // rethrow
  11146. return A._asyncRethrow($async$currentError, $async$completer);
  11147. }
  11148. });
  11149. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11150. },
  11151. _writeSourceMap(options, sourceMap, destination) {
  11152. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11153. if (sourceMap == null)
  11154. return "";
  11155. if (destination != null) {
  11156. t1 = $.$get$context();
  11157. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11158. }
  11159. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11160. t1 = options._options;
  11161. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11162. if (A._asBool(t1.$index(0, "embed-source-map")))
  11163. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11164. else {
  11165. destination.toString;
  11166. sourceMapPath = destination + ".map";
  11167. t2 = $.$get$context();
  11168. A.ensureDir(t2.dirname$1(sourceMapPath));
  11169. A.writeFile(sourceMapPath, sourceMapText);
  11170. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11171. }
  11172. t2 = url.toString$0(0);
  11173. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11174. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11175. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11176. },
  11177. _tryDelete(path) {
  11178. var exception;
  11179. try {
  11180. A.deleteFile(path);
  11181. } catch (exception) {
  11182. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11183. throw exception;
  11184. }
  11185. },
  11186. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11187. 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);
  11188. },
  11189. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11190. this.options = t0;
  11191. this.destination = t1;
  11192. },
  11193. ExecutableOptions__separator(text) {
  11194. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11195. t2 = B.JSString_methods.$mul(t1, 3),
  11196. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11197. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11198. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11199. },
  11200. ExecutableOptions__fail(message) {
  11201. return A.throwExpression(A.UsageException$(message));
  11202. },
  11203. ExecutableOptions_ExecutableOptions$parse(args) {
  11204. var options, error, t1, t2, exception;
  11205. try {
  11206. t1 = $.$get$ExecutableOptions__parser();
  11207. t2 = A.ListQueue$(type$.String);
  11208. t2.addAll$1(0, args);
  11209. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11210. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11211. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11212. options = new A.ExecutableOptions(t2);
  11213. if (A._asBool(options._options.$index(0, "help")))
  11214. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11215. return options;
  11216. } catch (exception) {
  11217. t1 = A.unwrapException(exception);
  11218. if (type$.FormatException._is(t1)) {
  11219. error = t1;
  11220. A.ExecutableOptions__fail(J.get$message$x(error));
  11221. } else
  11222. throw exception;
  11223. }
  11224. },
  11225. UsageException$(message) {
  11226. return new A.UsageException(message);
  11227. },
  11228. ExecutableOptions: function ExecutableOptions(t0) {
  11229. var _ = this;
  11230. _._options = t0;
  11231. _.__ExecutableOptions_interactive_FI = $;
  11232. _._sourcesToDestinations = null;
  11233. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11234. _._fatalDeprecations = null;
  11235. },
  11236. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11237. },
  11238. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11239. this.$this = t0;
  11240. },
  11241. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11242. },
  11243. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11244. this.$this = t0;
  11245. },
  11246. UsageException: function UsageException(t0) {
  11247. this.message = t0;
  11248. },
  11249. watch(options, graph) {
  11250. var $async$goto = 0,
  11251. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11252. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t0;
  11253. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11254. if ($async$errorCode === 1)
  11255. return A._asyncRethrow($async$result, $async$completer);
  11256. while (true)
  11257. switch ($async$goto) {
  11258. case 0:
  11259. // Function start
  11260. options._ensureSources$0();
  11261. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11262. t1 === $ && A.throwUnnamedLateFieldNI();
  11263. t2 = type$.String;
  11264. t1 = t1.cast$2$0(0, t2, t2);
  11265. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  11266. 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();) {
  11267. t4 = t3.get$current(t3);
  11268. t1.push($.$get$context().dirname$1(t4));
  11269. }
  11270. t3 = options._options;
  11271. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11272. t4 = A._asBool(t3.$index(0, "poll"));
  11273. t5 = type$.Stream_WatchEvent;
  11274. t6 = A.PathMap__create(null, t5);
  11275. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11276. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11277. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11278. $async$goto = 3;
  11279. 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);
  11280. case 3:
  11281. // returning from await.
  11282. options._ensureSources$0();
  11283. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11284. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11285. t2 = t1.get$current(t1);
  11286. t4 = $.$get$FilesystemImporter_cwd();
  11287. t5 = self.process;
  11288. if (t5 == null)
  11289. t5 = null;
  11290. else {
  11291. t5 = J.get$release$x(t5);
  11292. t5 = t5 == null ? null : J.get$name$x(t5);
  11293. }
  11294. t5 = J.$eq$(t5, "node") ? self.process : null;
  11295. if (!J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32")) {
  11296. t5 = self.process;
  11297. if (t5 == null)
  11298. t5 = null;
  11299. else {
  11300. t5 = J.get$release$x(t5);
  11301. t5 = t5 == null ? null : J.get$name$x(t5);
  11302. }
  11303. t5 = J.$eq$(t5, "node") ? self.process : null;
  11304. t5 = J.$eq$(t5 == null ? null : J.get$platform$x(t5), "darwin");
  11305. } else
  11306. t5 = true;
  11307. if (t5) {
  11308. t5 = $.$get$context();
  11309. t6 = A._realCasePath(t5.absolute$15(t5.normalize$1(t2), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  11310. t0 = t6;
  11311. t6 = t5;
  11312. t5 = t0;
  11313. } else {
  11314. t5 = $.$get$context();
  11315. t6 = t5.canonicalize$1(0, t2);
  11316. t0 = t6;
  11317. t6 = t5;
  11318. t5 = t0;
  11319. }
  11320. graph.addCanonical$4$recanonicalize(t4, t6.toUri$1(t5), t6.toUri$1(t2), false);
  11321. }
  11322. $async$goto = 4;
  11323. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11324. case 4:
  11325. // returning from await.
  11326. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11327. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11328. t1 === $ && A.throwUnnamedLateFieldNI();
  11329. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11330. // goto return
  11331. $async$goto = 1;
  11332. break;
  11333. }
  11334. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11335. $async$goto = 5;
  11336. return A._asyncAwait(new A._Watcher(options, graph).watch$1(0, dirWatcher), $async$watch);
  11337. case 5:
  11338. // returning from await.
  11339. case 1:
  11340. // return
  11341. return A._asyncReturn($async$returnValue, $async$completer);
  11342. }
  11343. });
  11344. return A._asyncStartSync($async$watch, $async$completer);
  11345. },
  11346. watch_closure: function watch_closure(t0) {
  11347. this.dirWatcher = t0;
  11348. },
  11349. _Watcher: function _Watcher(t0, t1) {
  11350. this._watch$_options = t0;
  11351. this._graph = t1;
  11352. },
  11353. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11354. },
  11355. EmptyExtensionStore: function EmptyExtensionStore() {
  11356. },
  11357. Extension: function Extension(t0, t1, t2, t3, t4) {
  11358. var _ = this;
  11359. _.extender = t0;
  11360. _.target = t1;
  11361. _.mediaContext = t2;
  11362. _.isOptional = t3;
  11363. _.span = t4;
  11364. },
  11365. Extender: function Extender(t0, t1) {
  11366. this.selector = t0;
  11367. this.isOriginal = t1;
  11368. this._extension = null;
  11369. },
  11370. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11371. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11372. extender = A.ExtensionStore$_mode(mode);
  11373. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11374. extender._originals.addAll$1(0, selector.components);
  11375. 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) {
  11376. complex = t1[_i];
  11377. compound = complex.get$singleCompound();
  11378. if (compound == null)
  11379. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  11380. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11381. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11382. simple = t10[_i0];
  11383. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11384. for (_i1 = 0; _i1 < t4; ++_i1) {
  11385. complex = t3[_i1];
  11386. complex.get$specificity();
  11387. t13 = new A.Extender(complex, false);
  11388. t14 = new A.Extension(t13, simple, null, true, span);
  11389. t13._extension = t14;
  11390. t12.$indexSet(0, complex, t14);
  11391. }
  11392. t9.$indexSet(0, simple, t12);
  11393. }
  11394. selector = extender._extendList$2(selector, t9);
  11395. }
  11396. return selector;
  11397. },
  11398. ExtensionStore$() {
  11399. var t1 = type$.SimpleSelector;
  11400. 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);
  11401. },
  11402. ExtensionStore$_mode(_mode) {
  11403. var t1 = type$.SimpleSelector;
  11404. 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);
  11405. },
  11406. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11407. var _ = this;
  11408. _._selectors = t0;
  11409. _._extensions = t1;
  11410. _._extensionsByExtender = t2;
  11411. _._mediaContexts = t3;
  11412. _._sourceSpecificity = t4;
  11413. _._originals = t5;
  11414. _._mode = t6;
  11415. },
  11416. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11417. },
  11418. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11419. },
  11420. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11421. },
  11422. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11423. },
  11424. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11425. this.complex = t0;
  11426. },
  11427. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11428. },
  11429. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11430. },
  11431. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11432. },
  11433. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11434. this._box_0 = t0;
  11435. this.$this = t1;
  11436. this.complex = t2;
  11437. },
  11438. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11439. this._box_0 = t0;
  11440. this.$this = t1;
  11441. this.complex = t2;
  11442. },
  11443. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11444. },
  11445. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11446. },
  11447. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11448. this.original = t0;
  11449. },
  11450. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11451. this.$this = t0;
  11452. this.extensions = t1;
  11453. this.targetsUsed = t2;
  11454. },
  11455. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11456. this.$this = t0;
  11457. this.withoutPseudo = t1;
  11458. },
  11459. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11460. },
  11461. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11462. },
  11463. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11464. },
  11465. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11466. },
  11467. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11468. this.pseudo = t0;
  11469. },
  11470. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11471. this.pseudo = t0;
  11472. this.selector = t1;
  11473. },
  11474. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11475. this._box_0 = t0;
  11476. this.complex1 = t1;
  11477. },
  11478. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11479. this._box_0 = t0;
  11480. this.complex1 = t1;
  11481. },
  11482. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11483. var _ = this;
  11484. _.$this = t0;
  11485. _.newSelectors = t1;
  11486. _.oldToNewSelectors = t2;
  11487. _.newMediaContexts = t3;
  11488. },
  11489. unifyComplex(complexes, span) {
  11490. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  11491. t1 = J.getInterceptor$asx(complexes);
  11492. if (t1.get$length(complexes) === 1)
  11493. return complexes;
  11494. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11495. t3 = t2.get$current(t2);
  11496. if (t3.accept$1(B.C__IsUselessVisitor))
  11497. return _null;
  11498. t4 = t3.components;
  11499. _0_6_isSet = t4.length === 1;
  11500. if (_0_6_isSet) {
  11501. _0_6 = t3.leadingCombinators;
  11502. t5 = _0_6.length === 1;
  11503. } else {
  11504. _0_6 = _null;
  11505. t5 = false;
  11506. }
  11507. if (t5) {
  11508. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11509. if (leadingCombinator == null)
  11510. leadingCombinator = newLeadingCombinator;
  11511. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11512. return _null;
  11513. }
  11514. base = B.JSArray_methods.get$last(t4);
  11515. _1_1 = base.combinators;
  11516. if (_1_1.length === 1) {
  11517. newTrailingCombinator = _1_1[0];
  11518. if (trailingCombinator != null)
  11519. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11520. else
  11521. t3 = false;
  11522. if (t3)
  11523. return _null;
  11524. trailingCombinator = newTrailingCombinator;
  11525. }
  11526. if (unifiedBase == null)
  11527. unifiedBase = base.selector.components;
  11528. else
  11529. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  11530. unifiedBase = t3[_i].unify$1(unifiedBase);
  11531. if (unifiedBase == null)
  11532. return _null;
  11533. }
  11534. }
  11535. t2 = type$.JSArray_ComplexSelector;
  11536. t3 = A._setArrayType([], t2);
  11537. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11538. t5 = t4.get$current(t4);
  11539. t6 = t5.components;
  11540. t7 = t6.length;
  11541. if (t7 > 1) {
  11542. t8 = t5.leadingCombinators;
  11543. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11544. }
  11545. }
  11546. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11547. unifiedBase.toString;
  11548. t5 = A.CompoundSelector$(unifiedBase, span);
  11549. t6 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11550. 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()));
  11551. if (t3.length === 0)
  11552. t1 = A._setArrayType([base], t2);
  11553. else {
  11554. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  11555. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11556. }
  11557. return A.weave(t1, span, false);
  11558. },
  11559. unifyCompound(compound1, compound2) {
  11560. var t1, t2, _i, unified,
  11561. result = compound2.components;
  11562. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  11563. unified = t1[_i].unify$1(result);
  11564. if (unified == null)
  11565. return null;
  11566. }
  11567. return A.CompoundSelector$(result, compound1.span);
  11568. },
  11569. unifyUniversalAndElement(selector1, selector2) {
  11570. var namespace, $name, t1,
  11571. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11572. namespace1 = _0_0._0,
  11573. name1 = _0_0._1,
  11574. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11575. namespace2 = _1_0._0,
  11576. name2 = _1_0._1;
  11577. if (namespace1 == namespace2 || namespace2 === "*")
  11578. namespace = namespace1;
  11579. else {
  11580. if (namespace1 !== "*")
  11581. return null;
  11582. namespace = namespace2;
  11583. }
  11584. if (name1 == name2 || name2 == null)
  11585. $name = name1;
  11586. else {
  11587. if (!(name1 == null || name1 === "*"))
  11588. return null;
  11589. $name = name2;
  11590. }
  11591. t1 = selector1.span;
  11592. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11593. },
  11594. _namespaceAndName(selector, $name) {
  11595. var t1, _0_4;
  11596. $label0$0: {
  11597. if (selector instanceof A.UniversalSelector) {
  11598. t1 = new A._Record_2(selector.namespace, null);
  11599. break $label0$0;
  11600. }
  11601. if (selector instanceof A.TypeSelector) {
  11602. _0_4 = selector.name;
  11603. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11604. break $label0$0;
  11605. }
  11606. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11607. }
  11608. return t1;
  11609. },
  11610. weave(complexes, span, forceLineBreak) {
  11611. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11612. t1 = J.getInterceptor$asx(complexes);
  11613. if (t1.get$length(complexes) === 1) {
  11614. complex = t1.$index(complexes, 0);
  11615. if (!forceLineBreak || complex.lineBreak)
  11616. return complexes;
  11617. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11618. }
  11619. t2 = type$.JSArray_ComplexSelector;
  11620. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11621. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  11622. t5 = t1.__internal$_current;
  11623. if (t5 == null)
  11624. t5 = t3._as(t5);
  11625. t6 = t5.components;
  11626. if (t6.length === 1) {
  11627. for (i = 0; i < prefixes.length; ++i)
  11628. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11629. continue;
  11630. }
  11631. t7 = A._setArrayType([], t2);
  11632. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11633. t9 = A._weaveParents(prefixes[_i], t5, span);
  11634. if (t9 == null)
  11635. t9 = B.List_empty1;
  11636. t10 = t9.length;
  11637. _i0 = 0;
  11638. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11639. parentPrefix = t9[_i0];
  11640. t11 = B.JSArray_methods.get$last(t6);
  11641. t12 = A.List_List$of(parentPrefix.components, true, t4);
  11642. t12.push(t11);
  11643. t11 = parentPrefix.lineBreak || forceLineBreak;
  11644. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11645. }
  11646. }
  11647. prefixes = t7;
  11648. }
  11649. return prefixes;
  11650. },
  11651. _weaveParents(prefix, base, span) {
  11652. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11653. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11654. if (leadingCombinators == null)
  11655. return _null;
  11656. t1 = type$.ComplexSelectorComponent;
  11657. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11658. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11659. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11660. if (trailingCombinators == null)
  11661. return _null;
  11662. $label0$0: {
  11663. _0_1 = A._firstIfRootish(queue1);
  11664. _0_3 = A._firstIfRootish(queue2);
  11665. _0_3_isSet = _0_1 != null;
  11666. _0_30 = _null;
  11667. rootish2 = _null;
  11668. t2 = false;
  11669. if (_0_3_isSet) {
  11670. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11671. t2 = _0_3 != null;
  11672. if (t2)
  11673. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11674. _0_30 = _0_3;
  11675. } else
  11676. rootish1 = _null;
  11677. if (t2) {
  11678. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11679. if (rootish == null)
  11680. return _null;
  11681. t1 = rootish1.combinators;
  11682. t2 = rootish1.span;
  11683. t3 = type$.CssValue_Combinator;
  11684. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11685. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11686. break $label0$0;
  11687. }
  11688. t2 = _null;
  11689. t3 = false;
  11690. if (_0_1 != null) {
  11691. rootish_case_0 = _0_1;
  11692. if (_0_3_isSet)
  11693. t2 = _0_30;
  11694. else {
  11695. t2 = _0_3;
  11696. _0_30 = t2;
  11697. _0_3_isSet = true;
  11698. }
  11699. t2 = t2 == null;
  11700. t3 = t2 ? rootish_case_0 : _null;
  11701. t0 = t3;
  11702. t3 = t2;
  11703. t2 = t0;
  11704. }
  11705. if (!t3)
  11706. if (_0_1 == null) {
  11707. if (_0_3_isSet)
  11708. t3 = _0_30;
  11709. else {
  11710. t3 = _0_3;
  11711. _0_30 = t3;
  11712. _0_3_isSet = true;
  11713. }
  11714. t3 = t3 != null;
  11715. if (t3) {
  11716. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11717. if (rootish_case_1 == null)
  11718. rootish_case_1 = t1._as(rootish_case_1);
  11719. t1 = rootish_case_1;
  11720. } else
  11721. t1 = t2;
  11722. t2 = t3;
  11723. } else {
  11724. t1 = t2;
  11725. t2 = false;
  11726. }
  11727. else {
  11728. t1 = t2;
  11729. t2 = true;
  11730. }
  11731. if (t2) {
  11732. queue1.addFirst$1(t1);
  11733. queue2.addFirst$1(t1);
  11734. }
  11735. }
  11736. groups1 = A._groupSelectors(queue1);
  11737. groups2 = A._groupSelectors(queue2);
  11738. t1 = type$.List_ComplexSelectorComponent;
  11739. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11740. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11741. 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) {
  11742. group = lcs[_i];
  11743. t5 = A._setArrayType([], t3);
  11744. 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) {
  11745. chunk = t6[_i0];
  11746. t8 = A._setArrayType([], t4);
  11747. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11748. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11749. t5.push(t8);
  11750. }
  11751. choices.push(t5);
  11752. choices.push(A._setArrayType([group], t3));
  11753. groups1.removeFirst$0();
  11754. groups2.removeFirst$0();
  11755. }
  11756. t2 = A._setArrayType([], t3);
  11757. 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) {
  11758. chunk = t1[_i];
  11759. t5 = A._setArrayType([], t4);
  11760. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11761. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11762. t2.push(t5);
  11763. }
  11764. choices.push(t2);
  11765. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11766. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11767. 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();) {
  11768. t6 = t2.get$current(t2);
  11769. t7 = A._setArrayType([], t4);
  11770. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11771. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11772. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11773. }
  11774. return t1;
  11775. },
  11776. _firstIfRootish(queue) {
  11777. var first, t1, t2, _i, simple, t3;
  11778. if (queue.get$length(0) >= 1) {
  11779. first = queue.$index(0, 0);
  11780. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11781. simple = t1[_i];
  11782. t3 = false;
  11783. if (simple instanceof A.PseudoSelector)
  11784. if (simple.isClass)
  11785. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11786. if (t3) {
  11787. queue.removeFirst$0();
  11788. return first;
  11789. }
  11790. }
  11791. }
  11792. return null;
  11793. },
  11794. _mergeLeadingCombinators(combinators1, combinators2) {
  11795. var _0_4, t1, t2, _0_7_isSet, _0_7, t3, _0_4_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  11796. $label0$0: {
  11797. _0_4 = combinators2;
  11798. t1 = _null;
  11799. t2 = type$.List_CssValue_Combinator;
  11800. _0_7_isSet = t2._is(combinators1);
  11801. _0_7 = _null;
  11802. if (_0_7_isSet) {
  11803. _0_7 = combinators1.length;
  11804. t3 = _0_7;
  11805. t3 = t3 > 1;
  11806. } else
  11807. t3 = false;
  11808. _0_4_isSet = true;
  11809. _0_11 = _null;
  11810. if (!t3) {
  11811. t3 = _0_4;
  11812. _0_11_isSet = t2._is(t3);
  11813. if (_0_11_isSet) {
  11814. t3 = _0_4;
  11815. _0_11 = (t3 == null ? t2._as(t3) : t3).length;
  11816. t3 = _0_11;
  11817. t3 = t3 > 1;
  11818. } else
  11819. t3 = false;
  11820. } else {
  11821. _0_11_isSet = false;
  11822. t3 = true;
  11823. }
  11824. if (t3)
  11825. break $label0$0;
  11826. if (t2._is(combinators1)) {
  11827. if (_0_7_isSet)
  11828. t3 = _0_7;
  11829. else {
  11830. _0_7 = combinators1.length;
  11831. t3 = _0_7;
  11832. }
  11833. t3 = t3 <= 0;
  11834. if (t3)
  11835. if (_0_4_isSet)
  11836. combinators = _0_4;
  11837. else {
  11838. combinators = combinators2;
  11839. _0_4 = combinators;
  11840. _0_4_isSet = true;
  11841. }
  11842. else
  11843. combinators = t1;
  11844. t1 = t3;
  11845. } else {
  11846. combinators = t1;
  11847. t1 = false;
  11848. }
  11849. if (!t1) {
  11850. t1 = false;
  11851. if (_0_4_isSet)
  11852. t3 = _0_4;
  11853. else {
  11854. t3 = combinators2;
  11855. _0_4 = t3;
  11856. _0_4_isSet = true;
  11857. }
  11858. if (t2._is(t3)) {
  11859. if (_0_11_isSet)
  11860. t1 = _0_11;
  11861. else {
  11862. t1 = _0_4_isSet ? _0_4 : combinators2;
  11863. _0_11 = (t1 == null ? t2._as(t1) : t1).length;
  11864. t1 = _0_11;
  11865. }
  11866. t1 = t1 <= 0;
  11867. }
  11868. combinators = combinators1;
  11869. } else
  11870. t1 = true;
  11871. if (t1) {
  11872. t1 = combinators;
  11873. break $label0$0;
  11874. }
  11875. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11876. break $label0$0;
  11877. }
  11878. return t1;
  11879. },
  11880. _mergeTrailingCombinators(components1, components2, span, result) {
  11881. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_5, _4_4, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet0, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, t6, combinator2, unified, t7, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  11882. if (result == null)
  11883. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11884. $label0$0: {
  11885. _0_1 = components1.get$length(0);
  11886. if (_0_1 >= 1) {
  11887. t1 = components1.$index(0, _0_1 - 1).combinators;
  11888. break $label0$0;
  11889. }
  11890. t1 = B.List_empty0;
  11891. break $label0$0;
  11892. }
  11893. $label1$1: {
  11894. _1_1 = components2.get$length(0);
  11895. if (_1_1 >= 1) {
  11896. t2 = components2.$index(0, _1_1 - 1).combinators;
  11897. break $label1$1;
  11898. }
  11899. t2 = B.List_empty0;
  11900. break $label1$1;
  11901. }
  11902. t3 = t1.length;
  11903. if (t3 === 0 && t2.length === 0)
  11904. return result;
  11905. if (t3 > 1 || t2.length > 1)
  11906. return _null;
  11907. $label2$2: {
  11908. t3 = A.IterableExtension_get_firstOrNull(t1);
  11909. t3 = t3 == null ? _null : t3.value;
  11910. t2 = A.IterableExtension_get_firstOrNull(t2);
  11911. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11912. _4_1 = t2[0];
  11913. _4_3 = B.Combinator_y18 === _4_1;
  11914. _4_4_isSet = _4_3;
  11915. _4_5 = _null;
  11916. _4_4 = _null;
  11917. if (_4_4_isSet) {
  11918. _4_4 = t2[1];
  11919. _4_5 = B.Combinator_y18 === _4_4;
  11920. t3 = _4_5;
  11921. } else
  11922. t3 = false;
  11923. if (t3) {
  11924. component1 = components1.removeLast$0(0);
  11925. component2 = components2.removeLast$0(0);
  11926. t2 = component1.selector;
  11927. t3 = component2.selector;
  11928. if (A.compoundIsSuperselector(t2, t3, _null))
  11929. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11930. else {
  11931. t4 = type$.JSArray_ComplexSelectorComponent;
  11932. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11933. if (A.compoundIsSuperselector(t3, t2, _null))
  11934. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11935. else {
  11936. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11937. _2_0 = A.unifyCompound(t2, t3);
  11938. if (_2_0 != null)
  11939. 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));
  11940. result.addFirst$1(choices);
  11941. }
  11942. }
  11943. break $label2$2;
  11944. }
  11945. _4_9 = _null;
  11946. _4_6 = _null;
  11947. _4_7 = _null;
  11948. followingComponents = _null;
  11949. nextComponents = _null;
  11950. if (_4_3) {
  11951. if (_4_4_isSet) {
  11952. t3 = _4_4;
  11953. _4_4_isSet0 = _4_4_isSet;
  11954. } else {
  11955. _4_4 = t2[1];
  11956. t3 = _4_4;
  11957. _4_4_isSet0 = true;
  11958. }
  11959. _4_9 = B.Combinator_gRV === t3;
  11960. _4_6_isSet = _4_9;
  11961. if (_4_6_isSet) {
  11962. _4_6 = t2[2];
  11963. _4_7 = t2[3];
  11964. nextComponents = _4_7;
  11965. followingComponents = _4_6;
  11966. }
  11967. t3 = _4_6_isSet;
  11968. _4_7_isSet = t3;
  11969. } else {
  11970. _4_4_isSet0 = _4_4_isSet;
  11971. _4_6_isSet = false;
  11972. _4_7_isSet = false;
  11973. t3 = false;
  11974. }
  11975. _4_10_isSet = !t3;
  11976. _4_10 = _null;
  11977. if (_4_10_isSet) {
  11978. _4_10 = B.Combinator_gRV === _4_1;
  11979. t3 = _4_10;
  11980. if (t3) {
  11981. if (_4_4_isSet) {
  11982. t3 = _4_5;
  11983. _4_5_isSet = _4_4_isSet;
  11984. _4_4_isSet = _4_4_isSet0;
  11985. } else {
  11986. if (_4_4_isSet0) {
  11987. t3 = _4_4;
  11988. _4_4_isSet = _4_4_isSet0;
  11989. } else {
  11990. _4_4 = t2[1];
  11991. t3 = _4_4;
  11992. _4_4_isSet = true;
  11993. }
  11994. _4_5 = B.Combinator_y18 === t3;
  11995. t3 = _4_5;
  11996. _4_5_isSet = true;
  11997. }
  11998. if (t3) {
  11999. if (_4_6_isSet)
  12000. nextComponents = _4_6;
  12001. else {
  12002. _4_6 = t2[2];
  12003. nextComponents = _4_6;
  12004. _4_6_isSet = true;
  12005. }
  12006. if (_4_7_isSet)
  12007. followingComponents = _4_7;
  12008. else {
  12009. _4_7 = t2[3];
  12010. followingComponents = _4_7;
  12011. _4_7_isSet = true;
  12012. }
  12013. }
  12014. } else {
  12015. _4_5_isSet = _4_4_isSet;
  12016. _4_4_isSet = _4_4_isSet0;
  12017. t3 = false;
  12018. }
  12019. } else {
  12020. _4_5_isSet = _4_4_isSet;
  12021. _4_4_isSet = _4_4_isSet0;
  12022. t3 = true;
  12023. }
  12024. if (t3) {
  12025. next = nextComponents.removeLast$0(0);
  12026. following = followingComponents.removeLast$0(0);
  12027. t1 = following.selector;
  12028. t2 = next.selector;
  12029. t3 = type$.JSArray_ComplexSelectorComponent;
  12030. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12031. if (A.compoundIsSuperselector(t1, t2, _null))
  12032. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12033. else {
  12034. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12035. _3_0 = A.unifyCompound(t1, t2);
  12036. if (_3_0 != null)
  12037. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12038. result.addFirst$1(t4);
  12039. }
  12040. break $label2$2;
  12041. }
  12042. t3 = _null;
  12043. if (B.Combinator_8I8 === _4_1) {
  12044. _4_4_isSet0 = true;
  12045. if (_4_3)
  12046. t4 = _4_9;
  12047. else {
  12048. if (_4_4_isSet)
  12049. t4 = _4_4;
  12050. else {
  12051. _4_4 = t2[1];
  12052. t4 = _4_4;
  12053. _4_4_isSet = _4_4_isSet0;
  12054. }
  12055. _4_9 = B.Combinator_gRV === t4;
  12056. t4 = _4_9;
  12057. }
  12058. if (!t4)
  12059. if (_4_5_isSet)
  12060. t4 = _4_5;
  12061. else {
  12062. if (_4_4_isSet)
  12063. t4 = _4_4;
  12064. else {
  12065. _4_4 = t2[1];
  12066. t4 = _4_4;
  12067. _4_4_isSet = _4_4_isSet0;
  12068. }
  12069. _4_5 = B.Combinator_y18 === t4;
  12070. t4 = _4_5;
  12071. }
  12072. else
  12073. t4 = true;
  12074. if (t4) {
  12075. if (_4_7_isSet)
  12076. siblingComponents_case_0 = _4_7;
  12077. else {
  12078. _4_7 = t2[3];
  12079. siblingComponents_case_0 = _4_7;
  12080. _4_7_isSet = true;
  12081. }
  12082. t3 = siblingComponents_case_0;
  12083. }
  12084. } else
  12085. t4 = false;
  12086. if (!t4) {
  12087. if (_4_10_isSet)
  12088. t4 = _4_10;
  12089. else {
  12090. _4_10 = B.Combinator_gRV === _4_1;
  12091. t4 = _4_10;
  12092. }
  12093. if (!t4)
  12094. t4 = _4_3;
  12095. else
  12096. t4 = true;
  12097. if (t4) {
  12098. if (_4_4_isSet)
  12099. t4 = _4_4;
  12100. else {
  12101. _4_4 = t2[1];
  12102. t4 = _4_4;
  12103. _4_4_isSet = true;
  12104. }
  12105. t4 = B.Combinator_8I8 === t4;
  12106. if (t4) {
  12107. if (_4_6_isSet)
  12108. siblingComponents_case_1 = _4_6;
  12109. else {
  12110. _4_6 = t2[2];
  12111. siblingComponents_case_1 = _4_6;
  12112. _4_6_isSet = true;
  12113. }
  12114. t3 = siblingComponents_case_1;
  12115. }
  12116. } else
  12117. t4 = false;
  12118. } else
  12119. t4 = true;
  12120. if (t4) {
  12121. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12122. break $label2$2;
  12123. }
  12124. t3 = _4_1 == null;
  12125. t4 = !t3;
  12126. t5 = false;
  12127. if (t4) {
  12128. _4_4_isSet0 = true;
  12129. combinator1 = _4_1;
  12130. if (_4_4_isSet)
  12131. t6 = _4_4;
  12132. else {
  12133. _4_4 = t2[1];
  12134. t6 = _4_4;
  12135. _4_4_isSet = _4_4_isSet0;
  12136. }
  12137. if (t6 != null) {
  12138. if (_4_4_isSet)
  12139. combinator2 = _4_4;
  12140. else {
  12141. _4_4 = t2[1];
  12142. combinator2 = _4_4;
  12143. _4_4_isSet = _4_4_isSet0;
  12144. }
  12145. t5 = combinator1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12146. }
  12147. }
  12148. if (t5) {
  12149. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12150. if (unified == null)
  12151. return _null;
  12152. 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));
  12153. break $label2$2;
  12154. }
  12155. t1 = _null;
  12156. t5 = _null;
  12157. t6 = _null;
  12158. t7 = false;
  12159. if (t4) {
  12160. combinator_case_0 = _4_1;
  12161. if (_4_4_isSet)
  12162. t4 = _4_4;
  12163. else {
  12164. _4_4 = t2[1];
  12165. t4 = _4_4;
  12166. _4_4_isSet = true;
  12167. }
  12168. t4 = t4 == null;
  12169. if (t4) {
  12170. if (_4_6_isSet)
  12171. combinatorComponents_case_0 = _4_6;
  12172. else {
  12173. _4_6 = t2[2];
  12174. combinatorComponents_case_0 = _4_6;
  12175. _4_6_isSet = true;
  12176. }
  12177. if (_4_7_isSet)
  12178. descendantComponents_case_0 = _4_7;
  12179. else {
  12180. _4_7 = t2[3];
  12181. descendantComponents_case_0 = _4_7;
  12182. _4_7_isSet = true;
  12183. }
  12184. t1 = descendantComponents_case_0;
  12185. t6 = t1;
  12186. t1 = combinator_case_0;
  12187. t5 = combinatorComponents_case_0;
  12188. }
  12189. t0 = t6;
  12190. t6 = t4;
  12191. t4 = t5;
  12192. t5 = t0;
  12193. } else {
  12194. t4 = t5;
  12195. t5 = t6;
  12196. t6 = t7;
  12197. }
  12198. if (!t6)
  12199. if (t3) {
  12200. if (_4_4_isSet)
  12201. t3 = _4_4;
  12202. else {
  12203. _4_4 = t2[1];
  12204. t3 = _4_4;
  12205. _4_4_isSet = true;
  12206. }
  12207. t3 = t3 != null;
  12208. if (t3) {
  12209. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12210. if (combinator_case_1 == null)
  12211. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12212. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12213. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12214. t1 = combinatorComponents_case_1;
  12215. t2 = descendantComponents_case_1;
  12216. t4 = t2;
  12217. t2 = t1;
  12218. t1 = combinator_case_1;
  12219. } else {
  12220. t2 = t4;
  12221. t4 = t5;
  12222. }
  12223. t0 = t4;
  12224. t4 = t3;
  12225. t3 = t0;
  12226. } else {
  12227. t3 = t5;
  12228. t2 = t4;
  12229. t4 = false;
  12230. }
  12231. else {
  12232. t3 = t5;
  12233. t2 = t4;
  12234. t4 = true;
  12235. }
  12236. if (t4) {
  12237. if (t1 === B.Combinator_8I8) {
  12238. t1 = A.IterableExtension_get_lastOrNull(t3);
  12239. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12240. t1 = t1 === true;
  12241. } else
  12242. t1 = false;
  12243. if (t1)
  12244. t3.removeLast$0(0);
  12245. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12246. break $label2$2;
  12247. }
  12248. return _null;
  12249. }
  12250. return A._mergeTrailingCombinators(components1, components2, span, result);
  12251. },
  12252. _mustUnify(complex1, complex2) {
  12253. var t2, t3, t4,
  12254. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12255. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12256. 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();)
  12257. t1.add$1(0, t3.get$current(0));
  12258. if (t1._collection$_length === 0)
  12259. return false;
  12260. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12261. },
  12262. _isUnique(simple) {
  12263. var t1;
  12264. if (!(simple instanceof A.IDSelector))
  12265. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12266. else
  12267. t1 = true;
  12268. return t1;
  12269. },
  12270. _chunks(queue1, queue2, done, $T) {
  12271. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  12272. t1 = $T._eval$1("JSArray<0>"),
  12273. chunk1 = A._setArrayType([], t1);
  12274. for (; !done.call$1(queue1);)
  12275. chunk1.push(queue1.removeFirst$0());
  12276. chunk2 = A._setArrayType([], t1);
  12277. for (; !done.call$1(queue2);)
  12278. chunk2.push(queue2.removeFirst$0());
  12279. $label0$0: {
  12280. _0_4 = chunk1.length <= 0;
  12281. _0_5_isSet = _0_4;
  12282. _0_1 = chunk1;
  12283. _0_7 = _null;
  12284. _0_5 = _null;
  12285. if (_0_5_isSet) {
  12286. _0_7 = chunk2.length <= 0;
  12287. t1 = _0_7;
  12288. _0_5 = chunk2;
  12289. } else
  12290. t1 = false;
  12291. if (t1) {
  12292. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12293. break $label0$0;
  12294. }
  12295. if (_0_4)
  12296. if (_0_5_isSet) {
  12297. chunk = _0_5;
  12298. _0_5_isSet0 = _0_5_isSet;
  12299. } else {
  12300. chunk = chunk2;
  12301. _0_5 = chunk;
  12302. _0_5_isSet0 = true;
  12303. }
  12304. else {
  12305. chunk = _null;
  12306. _0_5_isSet0 = _0_5_isSet;
  12307. }
  12308. if (!_0_4) {
  12309. if (_0_5_isSet)
  12310. t1 = _0_7;
  12311. else {
  12312. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  12313. t1 = _0_7;
  12314. }
  12315. chunk = _0_1;
  12316. } else
  12317. t1 = true;
  12318. if (t1) {
  12319. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12320. break $label0$0;
  12321. }
  12322. t1 = A.List_List$of(chunk1, true, $T);
  12323. B.JSArray_methods.addAll$1(t1, chunk2);
  12324. t2 = A.List_List$of(chunk2, true, $T);
  12325. B.JSArray_methods.addAll$1(t2, chunk1);
  12326. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12327. t1 = t2;
  12328. break $label0$0;
  12329. }
  12330. return t1;
  12331. },
  12332. paths(choices, $T) {
  12333. 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));
  12334. },
  12335. _groupSelectors(complex) {
  12336. var t2, t3, t4,
  12337. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12338. t1 = type$.JSArray_ComplexSelectorComponent,
  12339. group = A._setArrayType([], t1);
  12340. 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();) {
  12341. t4 = t3.__internal$_current;
  12342. if (t4 == null)
  12343. t4 = t2._as(t4);
  12344. group.push(t4);
  12345. if (t4.combinators.length === 0) {
  12346. groups._queue_list$_add$1(group);
  12347. group = A._setArrayType([], t1);
  12348. }
  12349. }
  12350. if (group.length !== 0)
  12351. groups._queue_list$_add$1(group);
  12352. return groups;
  12353. },
  12354. listIsSuperselector(list1, list2) {
  12355. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12356. },
  12357. _complexIsParentSuperselector(complex1, complex2) {
  12358. var t1, base, t2;
  12359. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12360. return false;
  12361. t1 = $.$get$bogusSpan();
  12362. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>", t1)], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1);
  12363. t1 = type$.ComplexSelectorComponent;
  12364. t2 = A.List_List$of(complex1, true, t1);
  12365. t2.push(base);
  12366. t1 = A.List_List$of(complex2, true, t1);
  12367. t1.push(base);
  12368. return A.complexIsSuperselector(t2, t1);
  12369. },
  12370. complexIsSuperselector(complex1, complex2) {
  12371. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12372. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12373. return false;
  12374. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12375. return false;
  12376. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  12377. remaining1 = complex1.length - i1;
  12378. remaining2 = complex2.length - i2;
  12379. if (remaining1 === 0 || remaining2 === 0)
  12380. return false;
  12381. if (remaining1 > remaining2)
  12382. return false;
  12383. component1 = complex1[i1];
  12384. t3 = component1.combinators;
  12385. if (t3.length > 1)
  12386. return false;
  12387. if (remaining1 === 1)
  12388. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12389. return false;
  12390. else {
  12391. t1 = component1.selector;
  12392. t2 = B.JSArray_methods.get$last(complex2).selector;
  12393. return A.compoundIsSuperselector(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  12394. }
  12395. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  12396. component2 = complex2[endOfSubselector];
  12397. if (component2.combinators.length > 1)
  12398. return false;
  12399. t5 = component2.selector;
  12400. if (A.compoundIsSuperselector(t4, t5, t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null))
  12401. break;
  12402. ++endOfSubselector;
  12403. if (endOfSubselector === complex2.length - 1)
  12404. return false;
  12405. }
  12406. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12407. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12408. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12409. return false;
  12410. component2 = complex2[endOfSubselector];
  12411. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12412. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12413. return false;
  12414. ++i1;
  12415. i2 = endOfSubselector + 1;
  12416. if (complex1.length - i1 === 1) {
  12417. t3 = combinator1 == null;
  12418. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_y18)) {
  12419. t3 = complex2.length - 1;
  12420. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12421. t4.SubListIterable$3(complex2, 0, t3, t2);
  12422. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12423. return false;
  12424. } else if (!t3)
  12425. if (complex2.length - i2 > 1)
  12426. return false;
  12427. }
  12428. }
  12429. },
  12430. _compatibleWithPreviousCombinator(previous, parents) {
  12431. if (parents.get$isEmpty(parents))
  12432. return true;
  12433. if (previous == null)
  12434. return true;
  12435. if (previous.value !== B.Combinator_y18)
  12436. return false;
  12437. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12438. },
  12439. _isSupercombinator(combinator1, combinator2) {
  12440. var t2, t3,
  12441. t1 = true;
  12442. if (!J.$eq$(combinator1, combinator2)) {
  12443. t2 = combinator1 == null;
  12444. if (t2)
  12445. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_8I8);
  12446. else
  12447. t3 = false;
  12448. if (!t3)
  12449. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_y18))
  12450. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_gRV);
  12451. else
  12452. t1 = false;
  12453. }
  12454. return t1;
  12455. },
  12456. compoundIsSuperselector(compound1, compound2, parents) {
  12457. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  12458. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12459. t1 = compound1.components;
  12460. if (t1.length > compound2.components.length)
  12461. return false;
  12462. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12463. }
  12464. _0_1 = A._findPseudoElementIndexed(compound1);
  12465. _0_5 = A._findPseudoElementIndexed(compound2);
  12466. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12467. _0_5_isSet = t1._is(_0_1);
  12468. _0_50 = _null;
  12469. index1 = _null;
  12470. pseudo2 = _null;
  12471. index2 = _null;
  12472. t2 = false;
  12473. if (_0_5_isSet) {
  12474. t3 = _0_1 == null;
  12475. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  12476. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  12477. t2 = t1._is(_0_5);
  12478. if (t2) {
  12479. t3 = _0_5 == null;
  12480. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  12481. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  12482. }
  12483. t1 = t2;
  12484. _0_50 = _0_5;
  12485. } else {
  12486. t1 = t2;
  12487. pseudo1 = _null;
  12488. }
  12489. if (t1) {
  12490. if (pseudo1.isSuperselector$1(pseudo2)) {
  12491. t1 = compound1.components;
  12492. t2 = type$.int;
  12493. t3 = A._arrayInstanceType(t1)._precomputed1;
  12494. t4 = compound2.components;
  12495. t5 = A._arrayInstanceType(t4)._precomputed1;
  12496. 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);
  12497. } else
  12498. t1 = false;
  12499. return t1;
  12500. }
  12501. if (_0_1 == null)
  12502. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12503. else
  12504. t1 = true;
  12505. if (t1)
  12506. return false;
  12507. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12508. simple1 = t1[_i];
  12509. if (simple1 instanceof A.PseudoSelector)
  12510. t4 = simple1.selector != null;
  12511. else
  12512. t4 = false;
  12513. if (t4) {
  12514. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12515. return false;
  12516. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12517. return false;
  12518. }
  12519. return true;
  12520. },
  12521. _findPseudoElementIndexed(compound) {
  12522. var t1, t2, i, simple;
  12523. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12524. simple = t1[i];
  12525. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12526. return new A._Record_2(simple, i);
  12527. }
  12528. return null;
  12529. },
  12530. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12531. var t1;
  12532. if (compound1.get$length(0) === 0)
  12533. return true;
  12534. if (compound2.get$length(0) === 0)
  12535. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12536. t1 = $.$get$bogusSpan();
  12537. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12538. },
  12539. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12540. var selector1 = pseudo1.selector;
  12541. if (selector1 == null)
  12542. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12543. switch (pseudo1.normalizedName) {
  12544. case "is":
  12545. case "matches":
  12546. case "any":
  12547. case "where":
  12548. 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));
  12549. case "has":
  12550. case "host":
  12551. case "host-context":
  12552. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12553. case "slotted":
  12554. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12555. case "not":
  12556. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12557. case "current":
  12558. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12559. case "nth-child":
  12560. case "nth-last-child":
  12561. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12562. default:
  12563. throw A.wrapException("unreachable");
  12564. }
  12565. },
  12566. _selectorPseudoArgs(compound, $name, isClass) {
  12567. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12568. return new A.NonNullsIterable(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$.NonNullsIterable_SelectorList);
  12569. },
  12570. unifyComplex_closure: function unifyComplex_closure() {
  12571. },
  12572. _weaveParents_closure: function _weaveParents_closure(t0) {
  12573. this.span = t0;
  12574. },
  12575. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12576. this.group = t0;
  12577. },
  12578. _weaveParents_closure1: function _weaveParents_closure1() {
  12579. },
  12580. _weaveParents_closure2: function _weaveParents_closure2() {
  12581. },
  12582. _mustUnify_closure: function _mustUnify_closure(t0) {
  12583. this.uniqueSelectors = t0;
  12584. },
  12585. _mustUnify__closure: function _mustUnify__closure(t0) {
  12586. this.uniqueSelectors = t0;
  12587. },
  12588. paths_closure: function paths_closure(t0) {
  12589. this.T = t0;
  12590. },
  12591. paths__closure: function paths__closure(t0, t1) {
  12592. this.paths = t0;
  12593. this.T = t1;
  12594. },
  12595. paths___closure: function paths___closure(t0, t1) {
  12596. this.option = t0;
  12597. this.T = t1;
  12598. },
  12599. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12600. this.list1 = t0;
  12601. },
  12602. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12603. this.complex1 = t0;
  12604. },
  12605. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12606. },
  12607. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12608. this.combinator1 = t0;
  12609. },
  12610. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12611. },
  12612. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12613. this.compound2 = t0;
  12614. },
  12615. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12616. this.selector1 = t0;
  12617. },
  12618. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12619. this.parents = t0;
  12620. this.compound2 = t1;
  12621. },
  12622. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12623. this.selector1 = t0;
  12624. },
  12625. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12626. this.selector1 = t0;
  12627. },
  12628. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12629. this.compound2 = t0;
  12630. this.pseudo1 = t1;
  12631. },
  12632. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12633. this.complex = t0;
  12634. this.pseudo1 = t1;
  12635. },
  12636. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12637. this.simple2 = t0;
  12638. },
  12639. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12640. this.simple2 = t0;
  12641. },
  12642. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12643. this.selector1 = t0;
  12644. },
  12645. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12646. this.pseudo1 = t0;
  12647. this.selector1 = t1;
  12648. },
  12649. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12650. this.isClass = t0;
  12651. this.name = t1;
  12652. },
  12653. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12654. },
  12655. MergedExtension_merge(left, right) {
  12656. var t2, t3, t4,
  12657. t1 = left.extender.selector;
  12658. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12659. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12660. t2 = left.mediaContext;
  12661. t3 = t2 == null;
  12662. if (!t3) {
  12663. t4 = right.mediaContext;
  12664. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12665. } else
  12666. t4 = false;
  12667. if (t4)
  12668. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12669. if (right.isOptional && right.mediaContext == null)
  12670. return left;
  12671. if (left.isOptional && t3)
  12672. return right;
  12673. if (t3)
  12674. t2 = right.mediaContext;
  12675. t1.get$specificity();
  12676. t1 = new A.Extender(t1, false);
  12677. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12678. },
  12679. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12680. var _ = this;
  12681. _.left = t0;
  12682. _.right = t1;
  12683. _.extender = t2;
  12684. _.target = t3;
  12685. _.mediaContext = t4;
  12686. _.isOptional = t5;
  12687. _.span = t6;
  12688. },
  12689. ExtendMode: function ExtendMode(t0, t1) {
  12690. this.name = t0;
  12691. this._name = t1;
  12692. },
  12693. globalFunctions_closure: function globalFunctions_closure() {
  12694. },
  12695. _updateComponents($arguments, adjust, change, scale) {
  12696. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  12697. t1 = J.getInterceptor$asx($arguments),
  12698. color = t1.$index($arguments, 0).assertColor$1("color"),
  12699. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12700. if (argumentList._list$_contents.length !== 0)
  12701. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12702. argumentList._wereKeywordsAccessed = true;
  12703. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  12704. t1 = new A._updateComponents_getParam(keywords, scale, change);
  12705. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  12706. red = t1.call$2("red", 255);
  12707. green = t1.call$2("green", 255);
  12708. blue = t1.call$2("blue", 255);
  12709. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  12710. saturation = t1.call$3$checkPercent("saturation", 100, true);
  12711. lightness = t1.call$3$checkPercent("lightness", 100, true);
  12712. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  12713. blackness = t1.call$3$assertPercent("blackness", 100, true);
  12714. t1 = keywords.__js_helper$_length;
  12715. if (t1 !== 0)
  12716. 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));
  12717. hasRgb = red != null || green != null || blue != null;
  12718. hasSL = saturation != null || lightness != null;
  12719. hasWB = whiteness != null || blackness != null;
  12720. if (hasRgb)
  12721. t1 = hasSL || hasWB || hue != null;
  12722. else
  12723. t1 = false;
  12724. if (t1)
  12725. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  12726. if (hasSL && hasWB)
  12727. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  12728. t1 = new A._updateComponents_updateValue(change, adjust);
  12729. t2 = new A._updateComponents_updateRgb(t1);
  12730. if (hasRgb) {
  12731. t3 = t2.call$2(color.get$red(0), red);
  12732. t4 = t2.call$2(color.get$green(0), green);
  12733. t2 = t2.call$2(color.get$blue(0), blue);
  12734. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12735. } else if (hasWB) {
  12736. if (change)
  12737. t2 = hue;
  12738. else {
  12739. t2 = color.get$hue(0);
  12740. t2 += hue == null ? 0 : hue;
  12741. }
  12742. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  12743. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  12744. t5 = color._alpha;
  12745. t1 = t1.call$3(t5, alpha, 1);
  12746. if (t2 == null)
  12747. t2 = color.get$hue(0);
  12748. if (t3 == null)
  12749. t3 = color.get$whiteness(0);
  12750. if (t4 == null)
  12751. t4 = color.get$blackness(0);
  12752. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  12753. } else {
  12754. t2 = hue == null;
  12755. if (!t2 || hasSL) {
  12756. if (change)
  12757. t2 = hue;
  12758. else {
  12759. t3 = color.get$hue(0);
  12760. t3 += t2 ? 0 : hue;
  12761. t2 = t3;
  12762. }
  12763. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  12764. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  12765. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12766. } else if (alpha != null)
  12767. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  12768. else
  12769. return color;
  12770. }
  12771. },
  12772. _functionString($name, $arguments) {
  12773. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  12774. },
  12775. _removedColorFunction($name, argument, negative) {
  12776. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  12777. },
  12778. _rgb($name, $arguments) {
  12779. var red, green, blue, t3, t4,
  12780. t1 = J.getInterceptor$asx($arguments),
  12781. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12782. t2 = true;
  12783. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12784. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12785. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12786. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12787. t2 = t2 === true;
  12788. }
  12789. if (t2)
  12790. return A._functionString($name, $arguments);
  12791. red = t1.$index($arguments, 0).assertNumber$1("red");
  12792. green = t1.$index($arguments, 1).assertNumber$1("green");
  12793. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  12794. t1 = A.fuzzyRound(A._percentageOrUnitless(red, 255, "red"));
  12795. t2 = A.fuzzyRound(A._percentageOrUnitless(green, 255, "green"));
  12796. t3 = A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue"));
  12797. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  12798. return A.SassColor$rgbInternal(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction);
  12799. },
  12800. _rgbTwoArg($name, $arguments) {
  12801. var t2, color,
  12802. t1 = J.getInterceptor$asx($arguments);
  12803. if (!t1.$index($arguments, 0).get$isVar())
  12804. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor) && t1.$index($arguments, 1).get$isVar();
  12805. else
  12806. t2 = true;
  12807. if (t2)
  12808. return A._functionString($name, $arguments);
  12809. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  12810. color = t1.$index($arguments, 0).assertColor$1("color");
  12811. 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);
  12812. }
  12813. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  12814. },
  12815. _hsl($name, $arguments) {
  12816. var hue, saturation, lightness, t3,
  12817. _s10_ = "saturation",
  12818. _s9_ = "lightness",
  12819. t1 = J.getInterceptor$asx($arguments),
  12820. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12821. t2 = true;
  12822. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12823. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12824. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12825. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12826. t2 = t2 === true;
  12827. }
  12828. if (t2)
  12829. return A._functionString($name, $arguments);
  12830. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  12831. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  12832. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  12833. A._checkPercent(saturation, _s10_);
  12834. A._checkPercent(lightness, _s9_);
  12835. t1 = B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100);
  12836. t2 = B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100);
  12837. t3 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  12838. return A.SassColor$hslInternal(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction);
  12839. },
  12840. _angleValue(angleValue, $name) {
  12841. var angle = angleValue.assertNumber$1($name);
  12842. if (angle.compatibleWithUnit$1("deg"))
  12843. return angle.coerceValueToUnit$1("deg");
  12844. A.warnForDeprecation("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_2jN);
  12845. return angle._number$_value;
  12846. },
  12847. _checkPercent(number, $name) {
  12848. if (number.hasUnit$1("%"))
  12849. return;
  12850. A.warnForDeprecation("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3a, B.Deprecation_2jN);
  12851. },
  12852. _hwb($arguments) {
  12853. var t2, t3,
  12854. _s9_ = "whiteness",
  12855. _s9_0 = "blackness",
  12856. t1 = J.getInterceptor$asx($arguments),
  12857. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12858. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  12859. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  12860. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  12861. whiteness.assertUnit$2("%", _s9_);
  12862. blackness.assertUnit$2("%", _s9_0);
  12863. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  12864. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  12865. t3 = A.NullableExtension_andThen(alpha, new A._hwb_closure());
  12866. return A.SassColor_SassColor$hwb(hue, t1, t2, t3 == null ? 1 : t3);
  12867. },
  12868. _parseChannels($name, argumentNames, channels) {
  12869. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, t2, _1_0, _1_2_isSet, _1_2, _null = null,
  12870. _s17_ = "$channels must be";
  12871. if (channels.get$isVar())
  12872. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12873. if (channels.get$separator(channels) === B.ListSeparator_cQA) {
  12874. list = channels.get$asList();
  12875. t1 = list.length;
  12876. if (t1 !== 2)
  12877. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  12878. channels0 = list[0];
  12879. alphaFromSlashList = list[1];
  12880. if (!alphaFromSlashList.get$isSpecialNumber())
  12881. alphaFromSlashList.assertNumber$1("alpha");
  12882. if (list[0].get$isVar())
  12883. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12884. } else {
  12885. alphaFromSlashList = _null;
  12886. channels0 = channels;
  12887. }
  12888. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_ECn;
  12889. isBracketed = channels0.get$hasBrackets();
  12890. if (isCommaSeparated || isBracketed) {
  12891. buffer = new A.StringBuffer(_s17_);
  12892. if (isBracketed) {
  12893. t1 = _s17_ + " an unbracketed";
  12894. buffer._contents = t1;
  12895. } else
  12896. t1 = _s17_;
  12897. if (isCommaSeparated) {
  12898. t1 += isBracketed ? "," : " a";
  12899. buffer._contents = t1;
  12900. t1 = buffer._contents = t1 + " space-separated";
  12901. }
  12902. buffer._contents = t1 + " list.";
  12903. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  12904. }
  12905. list = channels0.get$asList();
  12906. t1 = false;
  12907. if (list.length >= 2) {
  12908. _0_4 = list[0];
  12909. t2 = _0_4;
  12910. if (t2 instanceof A.SassString) {
  12911. type$.SassString._as(_0_4);
  12912. t1 = !_0_4._hasQuotes && A.equalsIgnoreCase(_0_4._string$_text, "from");
  12913. }
  12914. }
  12915. if (t1)
  12916. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12917. t1 = list.length;
  12918. if (t1 > 3)
  12919. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  12920. else if (t1 < 3) {
  12921. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure())) {
  12922. t1 = false;
  12923. if (list.length !== 0) {
  12924. t2 = B.JSArray_methods.get$last(list);
  12925. if (t2 instanceof A.SassString)
  12926. if (t2._hasQuotes) {
  12927. t1 = t2._string$_text;
  12928. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  12929. }
  12930. }
  12931. } else
  12932. t1 = true;
  12933. if (t1)
  12934. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12935. else
  12936. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  12937. }
  12938. if (alphaFromSlashList != null) {
  12939. t1 = A.List_List$of(list, true, type$.Value);
  12940. t1.push(alphaFromSlashList);
  12941. return t1;
  12942. }
  12943. _1_0 = list[2];
  12944. $label0$0: {
  12945. _1_2_isSet = _1_0 instanceof A.SassNumber;
  12946. if (_1_2_isSet) {
  12947. _1_2 = _1_0.asSlash;
  12948. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  12949. } else {
  12950. _1_2 = _null;
  12951. t1 = false;
  12952. }
  12953. if (t1) {
  12954. if (_1_2_isSet)
  12955. t1 = _1_2;
  12956. else {
  12957. _1_2 = _1_0.asSlash;
  12958. t1 = _1_2;
  12959. _1_2_isSet = true;
  12960. }
  12961. if (t1 == null)
  12962. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  12963. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  12964. if (t2 == null)
  12965. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  12966. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value);
  12967. t1 = t2;
  12968. break $label0$0;
  12969. }
  12970. t1 = false;
  12971. if (_1_0 instanceof A.SassString)
  12972. if (!_1_0._hasQuotes)
  12973. t1 = B.JSString_methods.contains$1(_1_0._string$_text, "/");
  12974. if (t1) {
  12975. t1 = A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  12976. break $label0$0;
  12977. }
  12978. t1 = list;
  12979. break $label0$0;
  12980. }
  12981. return t1;
  12982. },
  12983. _percentageOrUnitless(number, max, $name) {
  12984. var value;
  12985. if (!number.get$hasUnits())
  12986. value = number._number$_value;
  12987. else if (number.hasUnit$1("%"))
  12988. value = max * number._number$_value / 100;
  12989. else
  12990. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  12991. return B.JSNumber_methods.clamp$2(value, 0, max);
  12992. },
  12993. _mixColors(color1, color2, weight) {
  12994. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  12995. A._checkPercent(weight, "weight");
  12996. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  12997. normalizedWeight = weightScale * 2 - 1;
  12998. t1 = color1._alpha;
  12999. t2 = color2._alpha;
  13000. alphaDistance = t1 - t2;
  13001. t3 = normalizedWeight * alphaDistance;
  13002. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  13003. weight2 = 1 - weight1;
  13004. 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));
  13005. },
  13006. _opacify($arguments) {
  13007. var t1 = J.getInterceptor$asx($arguments),
  13008. color = t1.$index($arguments, 0).assertColor$1("color");
  13009. 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));
  13010. },
  13011. _transparentize($arguments) {
  13012. var t1 = J.getInterceptor$asx($arguments),
  13013. color = t1.$index($arguments, 0).assertColor$1("color");
  13014. 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));
  13015. },
  13016. _function4($name, $arguments, callback) {
  13017. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13018. },
  13019. global_closure0: function global_closure0() {
  13020. },
  13021. global_closure1: function global_closure1() {
  13022. },
  13023. global_closure2: function global_closure2() {
  13024. },
  13025. global_closure3: function global_closure3() {
  13026. },
  13027. global_closure4: function global_closure4() {
  13028. },
  13029. global_closure5: function global_closure5() {
  13030. },
  13031. global_closure6: function global_closure6() {
  13032. },
  13033. global_closure7: function global_closure7() {
  13034. },
  13035. global_closure8: function global_closure8() {
  13036. },
  13037. global_closure9: function global_closure9() {
  13038. },
  13039. global_closure10: function global_closure10() {
  13040. },
  13041. global_closure11: function global_closure11() {
  13042. },
  13043. global_closure12: function global_closure12() {
  13044. },
  13045. global_closure13: function global_closure13() {
  13046. },
  13047. global_closure14: function global_closure14() {
  13048. },
  13049. global_closure15: function global_closure15() {
  13050. },
  13051. global_closure16: function global_closure16() {
  13052. },
  13053. global_closure17: function global_closure17() {
  13054. },
  13055. global_closure18: function global_closure18() {
  13056. },
  13057. global_closure19: function global_closure19() {
  13058. },
  13059. global_closure20: function global_closure20() {
  13060. },
  13061. global_closure21: function global_closure21() {
  13062. },
  13063. global_closure22: function global_closure22() {
  13064. },
  13065. global_closure23: function global_closure23() {
  13066. },
  13067. global_closure24: function global_closure24() {
  13068. },
  13069. global_closure25: function global_closure25() {
  13070. },
  13071. global__closure: function global__closure() {
  13072. },
  13073. global_closure26: function global_closure26() {
  13074. },
  13075. module_closure1: function module_closure1() {
  13076. },
  13077. module_closure2: function module_closure2() {
  13078. },
  13079. module_closure3: function module_closure3() {
  13080. },
  13081. module_closure4: function module_closure4() {
  13082. },
  13083. module_closure5: function module_closure5() {
  13084. },
  13085. module_closure6: function module_closure6() {
  13086. },
  13087. module_closure7: function module_closure7() {
  13088. },
  13089. module_closure8: function module_closure8() {
  13090. },
  13091. module__closure1: function module__closure1() {
  13092. },
  13093. module_closure9: function module_closure9() {
  13094. },
  13095. _red_closure: function _red_closure() {
  13096. },
  13097. _green_closure: function _green_closure() {
  13098. },
  13099. _blue_closure: function _blue_closure() {
  13100. },
  13101. _mix_closure: function _mix_closure() {
  13102. },
  13103. _hue_closure: function _hue_closure() {
  13104. },
  13105. _saturation_closure: function _saturation_closure() {
  13106. },
  13107. _lightness_closure: function _lightness_closure() {
  13108. },
  13109. _complement_closure: function _complement_closure() {
  13110. },
  13111. _adjust_closure: function _adjust_closure() {
  13112. },
  13113. _scale_closure: function _scale_closure() {
  13114. },
  13115. _change_closure: function _change_closure() {
  13116. },
  13117. _ieHexStr_closure: function _ieHexStr_closure() {
  13118. },
  13119. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13120. },
  13121. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  13122. this.keywords = t0;
  13123. this.scale = t1;
  13124. this.change = t2;
  13125. },
  13126. _updateComponents_closure: function _updateComponents_closure() {
  13127. },
  13128. _updateComponents_closure0: function _updateComponents_closure0() {
  13129. },
  13130. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  13131. this.change = t0;
  13132. this.adjust = t1;
  13133. },
  13134. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  13135. this.updateValue = t0;
  13136. },
  13137. _functionString_closure: function _functionString_closure() {
  13138. },
  13139. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13140. this.name = t0;
  13141. this.argument = t1;
  13142. this.negative = t2;
  13143. },
  13144. _rgb_closure: function _rgb_closure() {
  13145. },
  13146. _hsl_closure: function _hsl_closure() {
  13147. },
  13148. _hwb_closure: function _hwb_closure() {
  13149. },
  13150. _parseChannels_closure: function _parseChannels_closure() {
  13151. },
  13152. _function3($name, $arguments, callback) {
  13153. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13154. },
  13155. _length_closure0: function _length_closure0() {
  13156. },
  13157. _nth_closure: function _nth_closure() {
  13158. },
  13159. _setNth_closure: function _setNth_closure() {
  13160. },
  13161. _join_closure: function _join_closure() {
  13162. },
  13163. _append_closure0: function _append_closure0() {
  13164. },
  13165. _zip_closure: function _zip_closure() {
  13166. },
  13167. _zip__closure: function _zip__closure() {
  13168. },
  13169. _zip__closure0: function _zip__closure0(t0) {
  13170. this._box_0 = t0;
  13171. },
  13172. _zip__closure1: function _zip__closure1(t0) {
  13173. this._box_0 = t0;
  13174. },
  13175. _index_closure0: function _index_closure0() {
  13176. },
  13177. _separator_closure: function _separator_closure() {
  13178. },
  13179. _isBracketed_closure: function _isBracketed_closure() {
  13180. },
  13181. _slash_closure: function _slash_closure() {
  13182. },
  13183. _modify(map, keys, modify, addNesting) {
  13184. var keyIterator = J.get$iterator$ax(keys);
  13185. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13186. },
  13187. _deepMergeImpl(map1, map2) {
  13188. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  13189. t1 = map1._map$_contents;
  13190. if (t1.get$isEmpty(t1))
  13191. return map2;
  13192. t2 = map2._map$_contents;
  13193. if (t2.get$isEmpty(t2))
  13194. return map1;
  13195. t3 = type$.Value;
  13196. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13197. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13198. t4 = t1.get$current(t1);
  13199. key = t4._0;
  13200. value = t4._1;
  13201. t4 = result.$index(0, key);
  13202. _1_1 = t4 == null ? null : t4.tryMap$0();
  13203. _1_3 = value.tryMap$0();
  13204. _1_3_isSet = _1_1 != null;
  13205. _1_30 = null;
  13206. t4 = false;
  13207. if (_1_3_isSet) {
  13208. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  13209. t4 = _1_3 != null;
  13210. _1_30 = _1_3;
  13211. } else
  13212. resultMap = null;
  13213. if (t4) {
  13214. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13215. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13216. if (merged === resultMap)
  13217. continue;
  13218. result.$indexSet(0, key, merged);
  13219. } else
  13220. result.$indexSet(0, key, value);
  13221. }
  13222. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13223. },
  13224. _function2($name, $arguments, callback) {
  13225. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13226. },
  13227. _get_closure: function _get_closure() {
  13228. },
  13229. _set_closure: function _set_closure() {
  13230. },
  13231. _set__closure0: function _set__closure0(t0) {
  13232. this.$arguments = t0;
  13233. },
  13234. _set_closure0: function _set_closure0() {
  13235. },
  13236. _set__closure: function _set__closure(t0) {
  13237. this._box_0 = t0;
  13238. },
  13239. _merge_closure: function _merge_closure() {
  13240. },
  13241. _merge_closure0: function _merge_closure0() {
  13242. },
  13243. _merge__closure: function _merge__closure(t0) {
  13244. this.map2 = t0;
  13245. },
  13246. _deepMerge_closure: function _deepMerge_closure() {
  13247. },
  13248. _deepRemove_closure: function _deepRemove_closure() {
  13249. },
  13250. _deepRemove__closure: function _deepRemove__closure(t0) {
  13251. this.keys = t0;
  13252. },
  13253. _remove_closure: function _remove_closure() {
  13254. },
  13255. _remove_closure0: function _remove_closure0() {
  13256. },
  13257. _keys_closure: function _keys_closure() {
  13258. },
  13259. _values_closure: function _values_closure() {
  13260. },
  13261. _hasKey_closure: function _hasKey_closure() {
  13262. },
  13263. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13264. this.keyIterator = t0;
  13265. this.modify = t1;
  13266. this.addNesting = t2;
  13267. },
  13268. _singleArgumentMathFunc($name, mathFunc) {
  13269. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13270. },
  13271. _numberFunction($name, transform) {
  13272. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13273. },
  13274. _function1($name, $arguments, callback) {
  13275. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13276. },
  13277. global_closure: function global_closure() {
  13278. },
  13279. module_closure0: function module_closure0() {
  13280. },
  13281. _ceil_closure: function _ceil_closure() {
  13282. },
  13283. _clamp_closure: function _clamp_closure() {
  13284. },
  13285. _floor_closure: function _floor_closure() {
  13286. },
  13287. _max_closure: function _max_closure() {
  13288. },
  13289. _min_closure: function _min_closure() {
  13290. },
  13291. _round_closure: function _round_closure() {
  13292. },
  13293. _hypot_closure: function _hypot_closure() {
  13294. },
  13295. _hypot__closure: function _hypot__closure() {
  13296. },
  13297. _log_closure: function _log_closure() {
  13298. },
  13299. _pow_closure: function _pow_closure() {
  13300. },
  13301. _atan2_closure: function _atan2_closure() {
  13302. },
  13303. _compatible_closure: function _compatible_closure() {
  13304. },
  13305. _isUnitless_closure: function _isUnitless_closure() {
  13306. },
  13307. _unit_closure: function _unit_closure() {
  13308. },
  13309. _percentage_closure: function _percentage_closure() {
  13310. },
  13311. _randomFunction_closure: function _randomFunction_closure() {
  13312. },
  13313. _div_closure: function _div_closure() {
  13314. },
  13315. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13316. this.mathFunc = t0;
  13317. },
  13318. _numberFunction_closure: function _numberFunction_closure(t0) {
  13319. this.transform = t0;
  13320. },
  13321. _function5($name, $arguments, callback) {
  13322. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13323. },
  13324. global_closure27: function global_closure27() {
  13325. },
  13326. global_closure28: function global_closure28() {
  13327. },
  13328. global_closure29: function global_closure29() {
  13329. },
  13330. global_closure30: function global_closure30() {
  13331. },
  13332. local_closure: function local_closure() {
  13333. },
  13334. local_closure0: function local_closure0() {
  13335. },
  13336. local__closure: function local__closure() {
  13337. },
  13338. local_closure1: function local_closure1() {
  13339. },
  13340. _prependParent(compound) {
  13341. var _0_3, _0_4, _0_40, t2, _0_4_isSet, t3, rest, _null = null,
  13342. t1 = A.EvaluationContext_currentOrNull(),
  13343. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  13344. _0_0 = compound.components;
  13345. $label0$0: {
  13346. _0_3 = _0_0.length >= 1;
  13347. _0_4 = _null;
  13348. if (_0_3) {
  13349. _0_40 = _0_0[0];
  13350. t1 = _0_40;
  13351. _0_4 = t1;
  13352. t1 = t1 instanceof A.UniversalSelector;
  13353. } else
  13354. t1 = false;
  13355. t2 = _null;
  13356. if (t1) {
  13357. t1 = t2;
  13358. break $label0$0;
  13359. }
  13360. t1 = false;
  13361. if (_0_3) {
  13362. _0_4_isSet = true;
  13363. t3 = _0_4;
  13364. if (t3 instanceof A.TypeSelector) {
  13365. t1 = _0_4;
  13366. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  13367. }
  13368. } else
  13369. _0_4_isSet = _0_3;
  13370. if (t1) {
  13371. t1 = t2;
  13372. break $label0$0;
  13373. }
  13374. if (_0_3) {
  13375. if (_0_4_isSet)
  13376. t1 = _0_4;
  13377. else {
  13378. _0_4 = _0_0[0];
  13379. t1 = _0_4;
  13380. _0_4_isSet = true;
  13381. }
  13382. t1 = t1 instanceof A.TypeSelector;
  13383. } else
  13384. t1 = false;
  13385. if (t1) {
  13386. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  13387. type$.TypeSelector._as(t1);
  13388. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  13389. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  13390. B.JSArray_methods.addAll$1(t1, rest);
  13391. t1 = A.CompoundSelector$(t1, span);
  13392. break $label0$0;
  13393. }
  13394. t1 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  13395. B.JSArray_methods.addAll$1(t1, _0_0);
  13396. t1 = A.CompoundSelector$(t1, span);
  13397. break $label0$0;
  13398. }
  13399. return t1;
  13400. },
  13401. _function0($name, $arguments, callback) {
  13402. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  13403. },
  13404. _nest_closure: function _nest_closure() {
  13405. },
  13406. _nest__closure: function _nest__closure(t0) {
  13407. this._box_0 = t0;
  13408. },
  13409. _nest__closure0: function _nest__closure0() {
  13410. },
  13411. _append_closure: function _append_closure() {
  13412. },
  13413. _append__closure: function _append__closure() {
  13414. },
  13415. _append__closure0: function _append__closure0(t0) {
  13416. this.span = t0;
  13417. },
  13418. _append___closure: function _append___closure(t0, t1) {
  13419. this.parent = t0;
  13420. this.span = t1;
  13421. },
  13422. _extend_closure: function _extend_closure() {
  13423. },
  13424. _replace_closure: function _replace_closure() {
  13425. },
  13426. _unify_closure: function _unify_closure() {
  13427. },
  13428. _isSuperselector_closure: function _isSuperselector_closure() {
  13429. },
  13430. _simpleSelectors_closure: function _simpleSelectors_closure() {
  13431. },
  13432. _simpleSelectors__closure: function _simpleSelectors__closure() {
  13433. },
  13434. _parse_closure: function _parse_closure() {
  13435. },
  13436. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  13437. var result;
  13438. if (index === 0)
  13439. return 0;
  13440. if (index > 0)
  13441. return Math.min(index - 1, lengthInCodepoints);
  13442. result = lengthInCodepoints + index;
  13443. if (result < 0 && !allowNegative)
  13444. return 0;
  13445. return result;
  13446. },
  13447. _function($name, $arguments, callback) {
  13448. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  13449. },
  13450. module_closure: function module_closure() {
  13451. },
  13452. module__closure: function module__closure(t0) {
  13453. this.string = t0;
  13454. },
  13455. module__closure0: function module__closure0(t0) {
  13456. this.string = t0;
  13457. },
  13458. _unquote_closure: function _unquote_closure() {
  13459. },
  13460. _quote_closure: function _quote_closure() {
  13461. },
  13462. _length_closure: function _length_closure() {
  13463. },
  13464. _insert_closure: function _insert_closure() {
  13465. },
  13466. _index_closure: function _index_closure() {
  13467. },
  13468. _slice_closure: function _slice_closure() {
  13469. },
  13470. _toUpperCase_closure: function _toUpperCase_closure() {
  13471. },
  13472. _toLowerCase_closure: function _toLowerCase_closure() {
  13473. },
  13474. _uniqueId_closure: function _uniqueId_closure() {
  13475. },
  13476. ImportCache$(importers, loadPaths, logger) {
  13477. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  13478. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  13479. t3 = type$.Uri,
  13480. t4 = A.ImportCache__toImporters(importers, loadPaths, null);
  13481. return new A.ImportCache(t4, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult));
  13482. },
  13483. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  13484. var t1, t2, t3, t4, _i, path, _null = null,
  13485. sassPath = A.getEnvironmentVariable("SASS_PATH");
  13486. if (A.isBrowser()) {
  13487. t1 = A._setArrayType([], type$.JSArray_Importer);
  13488. B.JSArray_methods.addAll$1(t1, importers);
  13489. return t1;
  13490. }
  13491. t1 = A._setArrayType([], type$.JSArray_Importer);
  13492. B.JSArray_methods.addAll$1(t1, importers);
  13493. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  13494. t3 = t2.get$current(t2);
  13495. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  13496. }
  13497. if (sassPath != null) {
  13498. t2 = A.isNodeJs() ? self.process : _null;
  13499. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  13500. t4 = t3.length;
  13501. _i = 0;
  13502. for (; _i < t4; ++_i) {
  13503. path = t3[_i];
  13504. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  13505. }
  13506. }
  13507. return t1;
  13508. },
  13509. ImportCache_wrapLogger(logger, silenceDeprecations, fatalDeprecations, futureDeprecations) {
  13510. var t3, t4,
  13511. t1 = type$.Deprecation,
  13512. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  13513. t2.addAll$1(0, silenceDeprecations);
  13514. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  13515. t3.addAll$1(0, fatalDeprecations);
  13516. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  13517. t4.addAll$1(0, futureDeprecations);
  13518. return new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, false);
  13519. },
  13520. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  13521. var _ = this;
  13522. _._importers = t0;
  13523. _._logger = t1;
  13524. _._canonicalizeCache = t2;
  13525. _._perImporterCanonicalizeCache = t3;
  13526. _._nonCanonicalRelativeUrls = t4;
  13527. _._importCache = t5;
  13528. _._resultsCache = t6;
  13529. },
  13530. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  13531. var _ = this;
  13532. _.$this = t0;
  13533. _.baseImporter = t1;
  13534. _.resolvedUrl = t2;
  13535. _.baseUrl = t3;
  13536. _.forImport = t4;
  13537. _.key = t5;
  13538. _.url = t6;
  13539. },
  13540. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  13541. this.importer = t0;
  13542. this.url = t1;
  13543. },
  13544. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  13545. var _ = this;
  13546. _.$this = t0;
  13547. _.importer = t1;
  13548. _.canonicalUrl = t2;
  13549. _.originalUrl = t3;
  13550. _.quiet = t4;
  13551. },
  13552. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  13553. this.canonicalUrl = t0;
  13554. },
  13555. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  13556. },
  13557. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  13558. },
  13559. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  13560. this.canonicalUrl = t0;
  13561. },
  13562. ImportCache_clearCanonicalize_closure: function ImportCache_clearCanonicalize_closure(t0, t1) {
  13563. this.$this = t0;
  13564. this.url = t1;
  13565. },
  13566. Importer: function Importer() {
  13567. },
  13568. AsyncImporter: function AsyncImporter() {
  13569. },
  13570. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  13571. this._fromImport = t0;
  13572. this._containingUrl = t1;
  13573. this._wasContainingUrlAccessed = false;
  13574. },
  13575. FilesystemImporter: function FilesystemImporter(t0, t1) {
  13576. this._loadPath = t0;
  13577. this._loadPathDeprecated = t1;
  13578. },
  13579. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  13580. },
  13581. NoOpImporter: function NoOpImporter() {
  13582. },
  13583. NodePackageImporter: function NodePackageImporter() {
  13584. this.__NodePackageImporter__entryPointDirectory_F = $;
  13585. },
  13586. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  13587. },
  13588. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  13589. },
  13590. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  13591. },
  13592. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  13593. this.$this = t0;
  13594. this.exports = t1;
  13595. this.packageRoot = t2;
  13596. },
  13597. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  13598. this.$this = t0;
  13599. this.variant = t1;
  13600. this.packageRoot = t2;
  13601. },
  13602. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  13603. },
  13604. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  13605. },
  13606. ImporterResult: function ImporterResult(t0, t1, t2) {
  13607. this.contents = t0;
  13608. this._sourceMapUrl = t1;
  13609. this.syntax = t2;
  13610. },
  13611. fromImport() {
  13612. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  13613. t1 = t1 == null ? null : t1._fromImport;
  13614. return t1 === true;
  13615. },
  13616. canonicalizeContext() {
  13617. var t1,
  13618. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  13619. $label0$0: {
  13620. if (_0_0 == null)
  13621. A.throwExpression(A.StateError$(string$.canoni));
  13622. if (_0_0 instanceof A.CanonicalizeContext) {
  13623. t1 = _0_0;
  13624. break $label0$0;
  13625. }
  13626. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  13627. }
  13628. return t1;
  13629. },
  13630. resolveImportPath(path) {
  13631. var t1,
  13632. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  13633. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  13634. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  13635. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  13636. }
  13637. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  13638. if (t1 == null)
  13639. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  13640. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  13641. },
  13642. _tryPathWithExtensions(path) {
  13643. var result = A._tryPath(path + ".sass");
  13644. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  13645. return result.length !== 0 ? result : A._tryPath(path + ".css");
  13646. },
  13647. _tryPath(path) {
  13648. var t1 = $.$get$context(),
  13649. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  13650. t1 = A._setArrayType([], type$.JSArray_String);
  13651. if (A.fileExists(partial))
  13652. t1.push(partial);
  13653. if (A.fileExists(path))
  13654. t1.push(path);
  13655. return t1;
  13656. },
  13657. _tryPathAsDirectory(path) {
  13658. var t1;
  13659. if (!A.dirExists(path))
  13660. return null;
  13661. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  13662. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  13663. },
  13664. _exactlyOne(paths) {
  13665. var _0_1, t1, path;
  13666. $label0$0: {
  13667. _0_1 = paths.length;
  13668. if (_0_1 <= 0) {
  13669. t1 = null;
  13670. break $label0$0;
  13671. }
  13672. if (_0_1 === 1) {
  13673. path = paths[0];
  13674. t1 = path;
  13675. break $label0$0;
  13676. }
  13677. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  13678. }
  13679. return t1;
  13680. },
  13681. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  13682. this.path = t0;
  13683. this.extension = t1;
  13684. },
  13685. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  13686. this.path = t0;
  13687. },
  13688. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  13689. this.path = t0;
  13690. },
  13691. _exactlyOne_closure: function _exactlyOne_closure() {
  13692. },
  13693. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  13694. this._interpolation_buffer$_text = t0;
  13695. this._interpolation_buffer$_contents = t1;
  13696. },
  13697. InterpolationMap$(_interpolation, targetLocations) {
  13698. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  13699. t2 = _interpolation.contents.length,
  13700. expectedLocations = Math.max(0, t2 - 1);
  13701. if (t1.length !== expectedLocations)
  13702. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  13703. return new A.InterpolationMap(_interpolation, t1);
  13704. },
  13705. InterpolationMap: function InterpolationMap(t0, t1) {
  13706. this._interpolation = t0;
  13707. this._targetLocations = t1;
  13708. },
  13709. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  13710. },
  13711. _realCasePath(path) {
  13712. var prefix, _null = null,
  13713. t1 = A.isNodeJs() ? self.process : _null;
  13714. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13715. t1 = A.isNodeJs() ? self.process : _null;
  13716. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  13717. } else
  13718. t1 = true;
  13719. if (!t1)
  13720. return path;
  13721. t1 = A.isNodeJs() ? self.process : _null;
  13722. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13723. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  13724. t1 = prefix.length;
  13725. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  13726. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  13727. }
  13728. return new A._realCasePath_helper().call$1(path);
  13729. },
  13730. _realCasePath_helper: function _realCasePath_helper() {
  13731. },
  13732. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  13733. this.helper = t0;
  13734. this.dirname = t1;
  13735. this.path = t2;
  13736. },
  13737. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  13738. this.basename = t0;
  13739. },
  13740. printError(message) {
  13741. var t1 = A.isNodeJs() ? self.process : null;
  13742. if (t1 != null) {
  13743. t1 = J.get$stderr$x(t1);
  13744. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  13745. } else {
  13746. t1 = self.console;
  13747. J.error$1$x(t1, message == null ? "" : message);
  13748. }
  13749. },
  13750. readFile(path) {
  13751. var contents, sourceFile, t1, i;
  13752. if (!A.isNodeJs())
  13753. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  13754. contents = A._asString(A._readFile(path, "utf8"));
  13755. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  13756. return contents;
  13757. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  13758. for (t1 = contents.length, i = 0; i < t1; ++i) {
  13759. if (contents.charCodeAt(i) !== 65533)
  13760. continue;
  13761. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  13762. }
  13763. return contents;
  13764. },
  13765. _readFile(path, encoding) {
  13766. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  13767. },
  13768. writeFile(path, contents) {
  13769. if (!A.isNodeJs())
  13770. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  13771. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  13772. },
  13773. deleteFile(path) {
  13774. if (!A.isNodeJs())
  13775. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  13776. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  13777. },
  13778. readStdin() {
  13779. return A.readStdin$body();
  13780. },
  13781. readStdin$body() {
  13782. var $async$goto = 0,
  13783. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  13784. $async$returnValue, t3, completer, sink, t1, t2;
  13785. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  13786. if ($async$errorCode === 1)
  13787. return A._asyncRethrow($async$result, $async$completer);
  13788. while (true)
  13789. switch ($async$goto) {
  13790. case 0:
  13791. // Function start
  13792. t1 = {};
  13793. t2 = A.isNodeJs() ? self.process : null;
  13794. if (t2 == null)
  13795. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  13796. t3 = new A._Future($.Zone__current, type$._Future_String);
  13797. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  13798. t1.contents = null;
  13799. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  13800. t1 = J.getInterceptor$x(t2);
  13801. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  13802. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  13803. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  13804. $async$returnValue = t3;
  13805. // goto return
  13806. $async$goto = 1;
  13807. break;
  13808. case 1:
  13809. // return
  13810. return A._asyncReturn($async$returnValue, $async$completer);
  13811. }
  13812. });
  13813. return A._asyncStartSync($async$readStdin, $async$completer);
  13814. },
  13815. fileExists(path) {
  13816. if (!A.isNodeJs())
  13817. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  13818. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  13819. },
  13820. dirExists(path) {
  13821. if (!A.isNodeJs())
  13822. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  13823. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  13824. },
  13825. ensureDir(path) {
  13826. if (!A.isNodeJs())
  13827. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  13828. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  13829. },
  13830. listDir(path, recursive) {
  13831. if (!A.isNodeJs())
  13832. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  13833. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  13834. },
  13835. modificationTime(path) {
  13836. if (!A.isNodeJs())
  13837. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  13838. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  13839. },
  13840. getEnvironmentVariable($name) {
  13841. var t1 = A.isNodeJs() ? self.process : null,
  13842. env = t1 == null ? null : J.get$env$x(t1);
  13843. if (env == null)
  13844. t1 = null;
  13845. else
  13846. t1 = A._asStringQ(env[$name]);
  13847. return t1;
  13848. },
  13849. _systemErrorToFileSystemException(callback) {
  13850. var error, t1, exception, t2;
  13851. try {
  13852. t1 = callback.call$0();
  13853. return t1;
  13854. } catch (exception) {
  13855. error = A.unwrapException(exception);
  13856. if (!type$.JsSystemError._is(error))
  13857. throw exception;
  13858. t1 = error;
  13859. t2 = J.getInterceptor$x(t1);
  13860. 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)));
  13861. }
  13862. },
  13863. hasTerminal() {
  13864. var t1 = A.isNodeJs() ? self.process : null;
  13865. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  13866. },
  13867. isWindows() {
  13868. var t1 = A.isNodeJs() ? self.process : null;
  13869. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  13870. },
  13871. watchDir(path, poll) {
  13872. var watcher, t2, t3, t1 = {};
  13873. if (!A.isNodeJs())
  13874. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  13875. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  13876. t1.controller = null;
  13877. t2 = J.getInterceptor$x(watcher);
  13878. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  13879. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  13880. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  13881. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  13882. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  13883. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  13884. return t3;
  13885. },
  13886. FileSystemException: function FileSystemException(t0, t1) {
  13887. this.message = t0;
  13888. this.path = t1;
  13889. },
  13890. _readFile_closure: function _readFile_closure(t0, t1) {
  13891. this.path = t0;
  13892. this.encoding = t1;
  13893. },
  13894. writeFile_closure: function writeFile_closure(t0, t1) {
  13895. this.path = t0;
  13896. this.contents = t1;
  13897. },
  13898. deleteFile_closure: function deleteFile_closure(t0) {
  13899. this.path = t0;
  13900. },
  13901. readStdin_closure: function readStdin_closure(t0, t1) {
  13902. this._box_0 = t0;
  13903. this.completer = t1;
  13904. },
  13905. readStdin_closure0: function readStdin_closure0(t0) {
  13906. this.sink = t0;
  13907. },
  13908. readStdin_closure1: function readStdin_closure1(t0) {
  13909. this.sink = t0;
  13910. },
  13911. readStdin_closure2: function readStdin_closure2(t0) {
  13912. this.completer = t0;
  13913. },
  13914. fileExists_closure: function fileExists_closure(t0) {
  13915. this.path = t0;
  13916. },
  13917. dirExists_closure: function dirExists_closure(t0) {
  13918. this.path = t0;
  13919. },
  13920. ensureDir_closure: function ensureDir_closure(t0) {
  13921. this.path = t0;
  13922. },
  13923. listDir_closure: function listDir_closure(t0, t1) {
  13924. this.recursive = t0;
  13925. this.path = t1;
  13926. },
  13927. listDir__closure: function listDir__closure(t0) {
  13928. this.path = t0;
  13929. },
  13930. listDir__closure0: function listDir__closure0() {
  13931. },
  13932. listDir_closure_list: function listDir_closure_list() {
  13933. },
  13934. listDir__list_closure: function listDir__list_closure(t0, t1) {
  13935. this.parent = t0;
  13936. this.list = t1;
  13937. },
  13938. modificationTime_closure: function modificationTime_closure(t0) {
  13939. this.path = t0;
  13940. },
  13941. watchDir_closure: function watchDir_closure(t0) {
  13942. this._box_0 = t0;
  13943. },
  13944. watchDir_closure0: function watchDir_closure0(t0) {
  13945. this._box_0 = t0;
  13946. },
  13947. watchDir_closure1: function watchDir_closure1(t0) {
  13948. this._box_0 = t0;
  13949. },
  13950. watchDir_closure2: function watchDir_closure2(t0) {
  13951. this._box_0 = t0;
  13952. },
  13953. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  13954. this._box_0 = t0;
  13955. this.watcher = t1;
  13956. this.completer = t2;
  13957. },
  13958. watchDir__closure: function watchDir__closure(t0) {
  13959. this.watcher = t0;
  13960. },
  13961. JSArray0: function JSArray0() {
  13962. },
  13963. Chokidar: function Chokidar() {
  13964. },
  13965. ChokidarOptions: function ChokidarOptions() {
  13966. },
  13967. ChokidarWatcher: function ChokidarWatcher() {
  13968. },
  13969. JSFunction: function JSFunction() {
  13970. },
  13971. ImmutableList: function ImmutableList() {
  13972. },
  13973. ImmutableMap: function ImmutableMap() {
  13974. },
  13975. NodeImporterResult: function NodeImporterResult() {
  13976. },
  13977. RenderContext: function RenderContext() {
  13978. },
  13979. RenderContextOptions: function RenderContextOptions() {
  13980. },
  13981. RenderContextResult: function RenderContextResult() {
  13982. },
  13983. RenderContextResultStats: function RenderContextResultStats() {
  13984. },
  13985. JSModule: function JSModule() {
  13986. },
  13987. JSModuleRequire: function JSModuleRequire() {
  13988. },
  13989. JSClass: function JSClass() {
  13990. },
  13991. JSUrl: function JSUrl() {
  13992. },
  13993. jsThrow0(error) {
  13994. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  13995. },
  13996. _PropertyDescriptor: function _PropertyDescriptor() {
  13997. },
  13998. _RequireMain: function _RequireMain() {
  13999. },
  14000. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14001. if (deprecation.isFuture && !(_this instanceof A.DeprecationProcessingLogger))
  14002. return;
  14003. if (_this instanceof A.DeprecationProcessingLogger)
  14004. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14005. else
  14006. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  14007. },
  14008. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  14009. },
  14010. _QuietLogger: function _QuietLogger() {
  14011. },
  14012. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14013. var _ = this;
  14014. _._warningCounts = t0;
  14015. _._inner = t1;
  14016. _.silenceDeprecations = t2;
  14017. _.fatalDeprecations = t3;
  14018. _.futureDeprecations = t4;
  14019. _.limitRepetition = t5;
  14020. },
  14021. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14022. },
  14023. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14024. },
  14025. StderrLogger: function StderrLogger(t0) {
  14026. this.color = t0;
  14027. },
  14028. TrackingLogger: function TrackingLogger(t0) {
  14029. this._tracking$_logger = t0;
  14030. this._emittedDebug = this._emittedWarning = false;
  14031. },
  14032. BuiltInModule$($name, functions, mixins, variables, $T) {
  14033. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14034. t2 = A.BuiltInModule__callableMap(functions, $T),
  14035. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14036. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14037. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14038. },
  14039. BuiltInModule__callableMap(callables, $T) {
  14040. var t2, _i, callable,
  14041. t1 = type$.String;
  14042. if (callables == null)
  14043. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14044. else {
  14045. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14046. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14047. callable = callables[_i];
  14048. t1.$indexSet(0, J.get$name$x(callable), callable);
  14049. }
  14050. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14051. }
  14052. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14053. },
  14054. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14055. var _ = this;
  14056. _.url = t0;
  14057. _.functions = t1;
  14058. _.mixins = t2;
  14059. _.variables = t3;
  14060. _.$ti = t4;
  14061. },
  14062. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14063. var t2,
  14064. t1 = false;
  14065. if (rule.prefix == null)
  14066. if (rule.shownMixinsAndFunctions == null)
  14067. if (rule.shownVariables == null) {
  14068. t2 = rule.hiddenMixinsAndFunctions;
  14069. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14070. if (t2 === true) {
  14071. t1 = rule.hiddenVariables;
  14072. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14073. t1 = t1 === true;
  14074. }
  14075. }
  14076. if (t1)
  14077. return inner;
  14078. else
  14079. return A.ForwardedModuleView$(inner, rule, $T);
  14080. },
  14081. ForwardedModuleView$(_inner, _rule, $T) {
  14082. var t1 = _rule.prefix,
  14083. t2 = _rule.shownVariables,
  14084. t3 = _rule.hiddenVariables,
  14085. t4 = _rule.shownMixinsAndFunctions,
  14086. t5 = _rule.hiddenMixinsAndFunctions;
  14087. 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>"));
  14088. },
  14089. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14090. var t1 = prefix == null,
  14091. t2 = false;
  14092. if (t1)
  14093. if (safelist == null)
  14094. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14095. if (t2)
  14096. return map;
  14097. if (!t1)
  14098. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14099. if (safelist != null)
  14100. 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>"));
  14101. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14102. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14103. return map;
  14104. },
  14105. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14106. var _ = this;
  14107. _._forwarded_view$_inner = t0;
  14108. _._rule = t1;
  14109. _.variables = t2;
  14110. _.variableNodes = t3;
  14111. _.functions = t4;
  14112. _.mixins = t5;
  14113. _.$ti = t6;
  14114. },
  14115. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14116. 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;
  14117. },
  14118. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14119. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14120. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14121. },
  14122. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14123. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14124. },
  14125. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14126. var _ = this;
  14127. _._shadowed_view$_inner = t0;
  14128. _.variables = t1;
  14129. _.variableNodes = t2;
  14130. _.functions = t3;
  14131. _.mixins = t4;
  14132. _.$ti = t5;
  14133. },
  14134. AtRootQueryParser$(contents, logger, url) {
  14135. var t1 = A.SpanScanner$(contents, url);
  14136. return new A.AtRootQueryParser(t1, logger, null);
  14137. },
  14138. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  14139. this.scanner = t0;
  14140. this.logger = t1;
  14141. this._interpolationMap = t2;
  14142. },
  14143. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14144. this.$this = t0;
  14145. },
  14146. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14147. },
  14148. CssParser: function CssParser(t0, t1, t2, t3) {
  14149. var _ = this;
  14150. _._isUseAllowed = true;
  14151. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14152. _._globalVariables = t0;
  14153. _.lastSilentComment = null;
  14154. _.scanner = t1;
  14155. _.logger = t2;
  14156. _._interpolationMap = t3;
  14157. },
  14158. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  14159. var t1 = A.SpanScanner$(contents, null);
  14160. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  14161. },
  14162. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  14163. this.scanner = t0;
  14164. this.logger = t1;
  14165. this._interpolationMap = t2;
  14166. },
  14167. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14168. this.$this = t0;
  14169. },
  14170. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  14171. this.scanner = t0;
  14172. this.logger = t1;
  14173. this._interpolationMap = t2;
  14174. },
  14175. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14176. this.$this = t0;
  14177. },
  14178. Parser_isIdentifier(text) {
  14179. var t1, t2, exception, logger = null;
  14180. try {
  14181. t1 = logger;
  14182. t2 = A.SpanScanner$(text, null);
  14183. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  14184. return true;
  14185. } catch (exception) {
  14186. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14187. return false;
  14188. else
  14189. throw exception;
  14190. }
  14191. },
  14192. Parser: function Parser(t0, t1, t2) {
  14193. this.scanner = t0;
  14194. this.logger = t1;
  14195. this._interpolationMap = t2;
  14196. },
  14197. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14198. this.$this = t0;
  14199. },
  14200. Parser_escape_closure: function Parser_escape_closure() {
  14201. },
  14202. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14203. this.caseSensitive = t0;
  14204. this.char = t1;
  14205. },
  14206. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14207. this.$this = t0;
  14208. this.span = t1;
  14209. },
  14210. SassParser: function SassParser(t0, t1, t2, t3) {
  14211. var _ = this;
  14212. _._currentIndentation = 0;
  14213. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14214. _._isUseAllowed = true;
  14215. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14216. _._globalVariables = t0;
  14217. _.lastSilentComment = null;
  14218. _.scanner = t1;
  14219. _.logger = t2;
  14220. _._interpolationMap = t3;
  14221. },
  14222. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14223. },
  14224. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14225. this.$this = t0;
  14226. this.child = t1;
  14227. this.children = t2;
  14228. },
  14229. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14230. },
  14231. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14232. },
  14233. ScssParser$(contents, logger, url) {
  14234. var t1 = A.SpanScanner$(contents, url),
  14235. t2 = logger == null ? B.StderrLogger_false : logger;
  14236. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  14237. },
  14238. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14239. var _ = this;
  14240. _._isUseAllowed = true;
  14241. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14242. _._globalVariables = t0;
  14243. _.lastSilentComment = null;
  14244. _.scanner = t1;
  14245. _.logger = t2;
  14246. _._interpolationMap = t3;
  14247. },
  14248. SelectorParser$(contents, allowParent, interpolationMap, logger, plainCss, url) {
  14249. var t1 = A.SpanScanner$(contents, url);
  14250. return new A.SelectorParser(allowParent, plainCss, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  14251. },
  14252. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  14253. var _ = this;
  14254. _._allowParent = t0;
  14255. _._plainCss = t1;
  14256. _.scanner = t2;
  14257. _.logger = t3;
  14258. _._interpolationMap = t4;
  14259. },
  14260. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14261. this.$this = t0;
  14262. },
  14263. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14264. this.$this = t0;
  14265. },
  14266. StylesheetParser: function StylesheetParser() {
  14267. },
  14268. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14269. this.$this = t0;
  14270. },
  14271. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14272. this.$this = t0;
  14273. },
  14274. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  14275. },
  14276. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  14277. this.$this = t0;
  14278. },
  14279. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14280. this.$this = t0;
  14281. },
  14282. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14283. this.$this = t0;
  14284. },
  14285. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14286. this.$this = t0;
  14287. this.production = t1;
  14288. this.T = t2;
  14289. },
  14290. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  14291. this.$this = t0;
  14292. },
  14293. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  14294. this.$this = t0;
  14295. this.start = t1;
  14296. },
  14297. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  14298. this.declaration = t0;
  14299. },
  14300. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  14301. var _ = this;
  14302. _._box_0 = t0;
  14303. _.$this = t1;
  14304. _.wasInStyleRule = t2;
  14305. _.start = t3;
  14306. },
  14307. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  14308. this.name = t0;
  14309. this.value = t1;
  14310. },
  14311. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  14312. this.query = t0;
  14313. },
  14314. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  14315. },
  14316. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  14317. var _ = this;
  14318. _.$this = t0;
  14319. _.wasInControlDirective = t1;
  14320. _.variables = t2;
  14321. _.list = t3;
  14322. },
  14323. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  14324. this.name = t0;
  14325. this.$arguments = t1;
  14326. this.precedingComment = t2;
  14327. },
  14328. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  14329. this._box_0 = t0;
  14330. this.$this = t1;
  14331. },
  14332. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  14333. var _ = this;
  14334. _._box_0 = t0;
  14335. _.$this = t1;
  14336. _.wasInControlDirective = t2;
  14337. _.variable = t3;
  14338. _.from = t4;
  14339. _.to = t5;
  14340. },
  14341. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  14342. this.$this = t0;
  14343. this.variables = t1;
  14344. this.identifiers = t2;
  14345. },
  14346. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  14347. this.contentArguments_ = t0;
  14348. },
  14349. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  14350. this.query = t0;
  14351. },
  14352. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  14353. var _ = this;
  14354. _.$this = t0;
  14355. _.name = t1;
  14356. _.$arguments = t2;
  14357. _.precedingComment = t3;
  14358. },
  14359. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  14360. var _ = this;
  14361. _._box_0 = t0;
  14362. _.$this = t1;
  14363. _.name = t2;
  14364. _.value = t3;
  14365. },
  14366. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  14367. this.condition = t0;
  14368. },
  14369. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  14370. this.$this = t0;
  14371. this.wasInControlDirective = t1;
  14372. this.condition = t2;
  14373. },
  14374. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  14375. this._box_0 = t0;
  14376. this.name = t1;
  14377. },
  14378. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  14379. this._box_0 = t0;
  14380. this.$this = t1;
  14381. this.start = t2;
  14382. },
  14383. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  14384. this._box_0 = t0;
  14385. this.$this = t1;
  14386. },
  14387. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  14388. this._box_0 = t0;
  14389. this.resolveOneOperation = t1;
  14390. },
  14391. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  14392. var _ = this;
  14393. _._box_0 = t0;
  14394. _.$this = t1;
  14395. _.resetState = t2;
  14396. _.resolveOperations = t3;
  14397. },
  14398. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  14399. this._box_0 = t0;
  14400. this.$this = t1;
  14401. this.resolveOneOperation = t2;
  14402. },
  14403. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  14404. this._box_0 = t0;
  14405. this.$this = t1;
  14406. this.resolveOperations = t2;
  14407. },
  14408. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  14409. this.$this = t0;
  14410. },
  14411. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  14412. },
  14413. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  14414. },
  14415. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  14416. },
  14417. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  14418. this.$this = t0;
  14419. this.start = t1;
  14420. },
  14421. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  14422. },
  14423. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  14424. this.$this = t0;
  14425. },
  14426. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  14427. this.$this = t0;
  14428. this.start = t1;
  14429. },
  14430. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  14431. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  14432. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  14433. return t1;
  14434. },
  14435. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  14436. this._nodes = t0;
  14437. this.importCache = t1;
  14438. this._transitiveModificationTimes = t2;
  14439. },
  14440. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  14441. this.$this = t0;
  14442. },
  14443. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  14444. this.node = t0;
  14445. this.transitiveModificationTime = t1;
  14446. },
  14447. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  14448. var _ = this;
  14449. _.$this = t0;
  14450. _.url = t1;
  14451. _.baseImporter = t2;
  14452. _.baseUrl = t3;
  14453. },
  14454. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  14455. var _ = this;
  14456. _.$this = t0;
  14457. _.importer = t1;
  14458. _.canonicalUrl = t2;
  14459. _.originalUrl = t3;
  14460. },
  14461. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  14462. this.$this = t0;
  14463. this.node = t1;
  14464. this.canonicalUrl = t2;
  14465. },
  14466. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  14467. var _ = this;
  14468. _.$this = t0;
  14469. _.url = t1;
  14470. _.baseImporter = t2;
  14471. _.baseUrl = t3;
  14472. _.forImport = t4;
  14473. },
  14474. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  14475. this._box_0 = t0;
  14476. this.$this = t1;
  14477. },
  14478. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  14479. var _ = this;
  14480. _._stylesheet = t0;
  14481. _.importer = t1;
  14482. _.canonicalUrl = t2;
  14483. _._upstream = t3;
  14484. _._upstreamImports = t4;
  14485. _._downstream = t5;
  14486. },
  14487. Syntax_forPath(path) {
  14488. var t1,
  14489. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14490. $label0$0: {
  14491. if (".sass" === _0_0) {
  14492. t1 = B.Syntax_Sass_sass;
  14493. break $label0$0;
  14494. }
  14495. if (".css" === _0_0) {
  14496. t1 = B.Syntax_CSS_css;
  14497. break $label0$0;
  14498. }
  14499. t1 = B.Syntax_SCSS_scss;
  14500. break $label0$0;
  14501. }
  14502. return t1;
  14503. },
  14504. Syntax: function Syntax(t0, t1) {
  14505. this._syntax$_name = t0;
  14506. this._name = t1;
  14507. },
  14508. Box: function Box(t0, t1) {
  14509. this._box$_inner = t0;
  14510. this.$ti = t1;
  14511. },
  14512. ModifiableBox: function ModifiableBox(t0, t1) {
  14513. this.value = t0;
  14514. this.$ti = t1;
  14515. },
  14516. LazyFileSpan: function LazyFileSpan(t0) {
  14517. this._builder = t0;
  14518. this._lazy_file_span$_span = null;
  14519. },
  14520. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  14521. var t2, key,
  14522. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  14523. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  14524. key = t2.get$current(t2);
  14525. if (!blocklist.contains$1(0, key))
  14526. t1.add$1(0, key);
  14527. }
  14528. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  14529. },
  14530. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  14531. this._limited_map_view$_map = t0;
  14532. this._limited_map_view$_keys = t1;
  14533. this.$ti = t2;
  14534. },
  14535. MapExtensions_get_pairs(_this, $K, $V) {
  14536. 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)"));
  14537. },
  14538. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  14539. this.K = t0;
  14540. this.V = t1;
  14541. },
  14542. MergedMapView$(maps, $K, $V) {
  14543. var t1 = $K._eval$1("@<0>")._bind$1($V);
  14544. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  14545. t1.MergedMapView$1(maps, $K, $V);
  14546. return t1;
  14547. },
  14548. MergedMapView: function MergedMapView(t0, t1) {
  14549. this._mapsByKey = t0;
  14550. this.$ti = t1;
  14551. },
  14552. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  14553. this._watchers = t0;
  14554. this._group = t1;
  14555. this._poll = t2;
  14556. },
  14557. MultiSpan: function MultiSpan(t0, t1, t2) {
  14558. this._multi_span$_primary = t0;
  14559. this.primaryLabel = t1;
  14560. this.secondarySpans = t2;
  14561. },
  14562. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  14563. this._no_source_map_buffer$_buffer = t0;
  14564. },
  14565. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  14566. this._prefixed_map_view$_map = t0;
  14567. this._prefix = t1;
  14568. this.$ti = t2;
  14569. },
  14570. _PrefixedKeys: function _PrefixedKeys(t0) {
  14571. this._view = t0;
  14572. },
  14573. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  14574. this.$this = t0;
  14575. },
  14576. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  14577. this._public_member_map_view$_inner = t0;
  14578. this.$ti = t1;
  14579. },
  14580. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  14581. var _ = this;
  14582. _._source_map_buffer$_buffer = t0;
  14583. _._entries = t1;
  14584. _._column = _._line = 0;
  14585. _._inSpan = false;
  14586. },
  14587. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  14588. this._box_0 = t0;
  14589. this.prefixLength = t1;
  14590. },
  14591. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  14592. this._unprefixed_map_view$_map = t0;
  14593. this._unprefixed_map_view$_prefix = t1;
  14594. this.$ti = t2;
  14595. },
  14596. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  14597. this._unprefixed_map_view$_view = t0;
  14598. },
  14599. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  14600. this.$this = t0;
  14601. },
  14602. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  14603. this.$this = t0;
  14604. },
  14605. toSentence(iter, conjunction) {
  14606. if (iter.get$length(iter) === 1)
  14607. return J.toString$0$(iter.get$first(iter));
  14608. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  14609. },
  14610. indent(string, indentation) {
  14611. 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");
  14612. },
  14613. pluralize($name, number, plural) {
  14614. if (number === 1)
  14615. return $name;
  14616. if (plural != null)
  14617. return plural;
  14618. return $name + "s";
  14619. },
  14620. trimAscii(string, excludeEscape) {
  14621. var t1,
  14622. start = A._firstNonWhitespace(string);
  14623. if (start == null)
  14624. t1 = "";
  14625. else {
  14626. t1 = A._lastNonWhitespace(string, true);
  14627. t1.toString;
  14628. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  14629. }
  14630. return t1;
  14631. },
  14632. trimAsciiRight(string, excludeEscape) {
  14633. var end = A._lastNonWhitespace(string, excludeEscape);
  14634. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  14635. },
  14636. _firstNonWhitespace(string) {
  14637. var t1, i, t2;
  14638. for (t1 = string.length, i = 0; i < t1; ++i) {
  14639. t2 = string.charCodeAt(i);
  14640. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  14641. return i;
  14642. }
  14643. return null;
  14644. },
  14645. _lastNonWhitespace(string, excludeEscape) {
  14646. var i, i0, codeUnit;
  14647. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  14648. codeUnit = string.charCodeAt(i0);
  14649. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  14650. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  14651. return i0 + 1;
  14652. else
  14653. return i0;
  14654. }
  14655. return null;
  14656. },
  14657. isPublic(member) {
  14658. var start = member.charCodeAt(0);
  14659. return start !== 45 && start !== 95;
  14660. },
  14661. flattenVertically(iterable, $T) {
  14662. var result,
  14663. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  14664. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  14665. if (queues.length === 1)
  14666. return B.JSArray_methods.get$first(queues);
  14667. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  14668. for (; queues.length !== 0;) {
  14669. if (!!queues.fixed$length)
  14670. A.throwExpression(A.UnsupportedError$("removeWhere"));
  14671. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  14672. }
  14673. return result;
  14674. },
  14675. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  14676. var codeUnitIndex, i, codeUnitIndex0;
  14677. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  14678. codeUnitIndex0 = codeUnitIndex + 1;
  14679. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  14680. }
  14681. return codeUnitIndex;
  14682. },
  14683. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  14684. var codepointIndex, i;
  14685. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  14686. ++codepointIndex;
  14687. return codepointIndex;
  14688. },
  14689. frameForSpan(span, member, url) {
  14690. var t2, t3,
  14691. t1 = url == null ? span.get$sourceUrl(span) : url;
  14692. if (t1 == null)
  14693. t1 = $.$get$_noSourceUrl();
  14694. t2 = span.get$start(span);
  14695. t2 = t2.file.getLine$1(t2.offset);
  14696. t3 = span.get$start(span);
  14697. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  14698. },
  14699. declarationName(span) {
  14700. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  14701. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  14702. },
  14703. unvendor($name) {
  14704. var i,
  14705. t1 = $name.length;
  14706. if (t1 < 2)
  14707. return $name;
  14708. if ($name.charCodeAt(0) !== 45)
  14709. return $name;
  14710. if ($name.charCodeAt(1) === 45)
  14711. return $name;
  14712. for (i = 2; i < t1; ++i)
  14713. if ($name.charCodeAt(i) === 45)
  14714. return B.JSString_methods.substring$1($name, i + 1);
  14715. return $name;
  14716. },
  14717. equalsIgnoreCase(string1, string2) {
  14718. var t1, i;
  14719. if (string1 === string2)
  14720. return true;
  14721. if (string1 == null)
  14722. return false;
  14723. t1 = string1.length;
  14724. if (t1 !== string2.length)
  14725. return false;
  14726. for (i = 0; i < t1; ++i)
  14727. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  14728. return false;
  14729. return true;
  14730. },
  14731. startsWithIgnoreCase(string, prefix) {
  14732. var i,
  14733. t1 = prefix.length;
  14734. if (string.length < t1)
  14735. return false;
  14736. for (i = 0; i < t1; ++i)
  14737. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  14738. return false;
  14739. return true;
  14740. },
  14741. mapInPlace(list, $function) {
  14742. var i;
  14743. for (i = 0; i < list.length; ++i)
  14744. list[i] = $function.call$1(list[i]);
  14745. },
  14746. longestCommonSubsequence(list1, list2, select, $T) {
  14747. var t1, _i, selections, i, i0, j, selection, j0,
  14748. _length = list1.get$length(0) + 1,
  14749. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  14750. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  14751. 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);
  14752. _length = list1.get$length(0);
  14753. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  14754. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  14755. 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);
  14756. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  14757. 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) {
  14758. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  14759. selections[i][j] = selection;
  14760. t1 = lengths[i0];
  14761. j0 = j + 1;
  14762. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  14763. }
  14764. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  14765. },
  14766. removeFirstWhere(list, test, orElse) {
  14767. var i;
  14768. for (i = 0; i < list.length; ++i) {
  14769. if (!test.call$1(list[i]))
  14770. continue;
  14771. B.JSArray_methods.removeAt$1(list, i);
  14772. return;
  14773. }
  14774. orElse.call$0();
  14775. },
  14776. mapAddAll2(destination, source, K1, K2, $V) {
  14777. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  14778. },
  14779. setAll(map, keys, value) {
  14780. var t1;
  14781. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  14782. map.$indexSet(0, t1.get$current(t1), value);
  14783. },
  14784. rotateSlice(list, start, end) {
  14785. var i, next,
  14786. element = list.$index(0, end - 1);
  14787. for (i = start; i < end; ++i, element = next) {
  14788. next = list.$index(0, i);
  14789. list.$indexSet(0, i, element);
  14790. }
  14791. },
  14792. mapAsync(iterable, callback, $E, $F) {
  14793. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  14794. },
  14795. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  14796. var $async$goto = 0,
  14797. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14798. $async$returnValue, t2, _i, t1, $async$temp1;
  14799. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14800. if ($async$errorCode === 1)
  14801. return A._asyncRethrow($async$result, $async$completer);
  14802. while (true)
  14803. switch ($async$goto) {
  14804. case 0:
  14805. // Function start
  14806. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  14807. t2 = iterable.length, _i = 0;
  14808. case 3:
  14809. // for condition
  14810. if (!(_i < t2)) {
  14811. // goto after for
  14812. $async$goto = 5;
  14813. break;
  14814. }
  14815. $async$temp1 = t1;
  14816. $async$goto = 6;
  14817. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  14818. case 6:
  14819. // returning from await.
  14820. $async$temp1.push($async$result);
  14821. case 4:
  14822. // for update
  14823. ++_i;
  14824. // goto for condition
  14825. $async$goto = 3;
  14826. break;
  14827. case 5:
  14828. // after for
  14829. $async$returnValue = t1;
  14830. // goto return
  14831. $async$goto = 1;
  14832. break;
  14833. case 1:
  14834. // return
  14835. return A._asyncReturn($async$returnValue, $async$completer);
  14836. }
  14837. });
  14838. return A._asyncStartSync($async$mapAsync, $async$completer);
  14839. },
  14840. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  14841. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  14842. },
  14843. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  14844. var $async$goto = 0,
  14845. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14846. $async$returnValue, t1, value;
  14847. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14848. if ($async$errorCode === 1)
  14849. return A._asyncRethrow($async$result, $async$completer);
  14850. while (true)
  14851. switch ($async$goto) {
  14852. case 0:
  14853. // Function start
  14854. if (map.containsKey$1(key)) {
  14855. t1 = map.$index(0, key);
  14856. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  14857. // goto return
  14858. $async$goto = 1;
  14859. break;
  14860. }
  14861. $async$goto = 3;
  14862. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  14863. case 3:
  14864. // returning from await.
  14865. value = $async$result;
  14866. map.$indexSet(0, key, value);
  14867. $async$returnValue = value;
  14868. // goto return
  14869. $async$goto = 1;
  14870. break;
  14871. case 1:
  14872. // return
  14873. return A._asyncReturn($async$returnValue, $async$completer);
  14874. }
  14875. });
  14876. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  14877. },
  14878. copyMapOfMap(map, K1, K2, $V) {
  14879. var t3, key, child,
  14880. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  14881. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  14882. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14883. t3 = t1.get$current(t1);
  14884. key = t3._0;
  14885. child = t3._1;
  14886. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  14887. t3.addAll$1(0, child);
  14888. t2.$indexSet(0, key, t3);
  14889. }
  14890. return t2;
  14891. },
  14892. copyMapOfList(map, $K, $E) {
  14893. var t3,
  14894. t1 = $E._eval$1("List<0>"),
  14895. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  14896. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14897. t3 = t1.get$current(t1);
  14898. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  14899. }
  14900. return t2;
  14901. },
  14902. consumeEscapedCharacter(scanner) {
  14903. var _1_0, value, i, next, t1;
  14904. scanner.expectChar$1(92);
  14905. _1_0 = scanner.peekChar$0();
  14906. if (_1_0 == null)
  14907. return 65533;
  14908. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  14909. scanner.error$1(0, "Expected escape sequence.");
  14910. if (A.CharacterExtension_get_isHex(_1_0)) {
  14911. for (value = 0, i = 0; i < 6; ++i) {
  14912. next = scanner.peekChar$0();
  14913. if (next != null) {
  14914. t1 = true;
  14915. if (!(next >= 48 && next <= 57))
  14916. if (!(next >= 97 && next <= 102))
  14917. t1 = next >= 65 && next <= 70;
  14918. t1 = !t1;
  14919. } else
  14920. t1 = true;
  14921. if (t1)
  14922. break;
  14923. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  14924. }
  14925. t1 = scanner.peekChar$0();
  14926. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  14927. scanner.readChar$0();
  14928. $label0$1: {
  14929. if (0 !== value)
  14930. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  14931. else
  14932. t1 = true;
  14933. if (t1) {
  14934. t1 = 65533;
  14935. break $label0$1;
  14936. }
  14937. t1 = value;
  14938. break $label0$1;
  14939. }
  14940. return t1;
  14941. }
  14942. return scanner.readChar$0();
  14943. },
  14944. throwWithTrace(error, originalError, trace) {
  14945. var t1 = A.getTrace(originalError);
  14946. A.attachTrace(error, t1 == null ? trace : t1);
  14947. throw A.wrapException(error);
  14948. },
  14949. attachTrace(error, trace) {
  14950. var t1;
  14951. if (trace.toString$0(0).length === 0)
  14952. return;
  14953. t1 = $.$get$_traces();
  14954. A.Expando__checkType(error);
  14955. if (t1._jsWeakMap.get(error) == null)
  14956. t1.$indexSet(0, error, trace);
  14957. },
  14958. getTrace(error) {
  14959. var t1;
  14960. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  14961. t1 = null;
  14962. else {
  14963. t1 = $.$get$_traces();
  14964. A.Expando__checkType(error);
  14965. t1 = t1._jsWeakMap.get(error);
  14966. }
  14967. return t1;
  14968. },
  14969. indent_closure: function indent_closure(t0) {
  14970. this.indentation = t0;
  14971. },
  14972. flattenVertically_closure: function flattenVertically_closure(t0) {
  14973. this.T = t0;
  14974. },
  14975. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  14976. this.result = t0;
  14977. this.T = t1;
  14978. },
  14979. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  14980. this.selections = t0;
  14981. this.lengths = t1;
  14982. this.T = t2;
  14983. },
  14984. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  14985. var _ = this;
  14986. _.destination = t0;
  14987. _.K1 = t1;
  14988. _.K2 = t2;
  14989. _.V = t3;
  14990. },
  14991. SassApiValue_assertSelector(_this, allowParent, $name) {
  14992. var error, stackTrace, t1, exception,
  14993. string = _this._selectorString$1($name);
  14994. try {
  14995. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, null, false);
  14996. return t1;
  14997. } catch (exception) {
  14998. t1 = A.unwrapException(exception);
  14999. if (type$.SassFormatException._is(t1)) {
  15000. error = t1;
  15001. stackTrace = A.getTraceFromException(exception);
  15002. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15003. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15004. } else
  15005. throw exception;
  15006. }
  15007. },
  15008. SassApiValue_assertCompoundSelector(_this, $name) {
  15009. var error, stackTrace, t1, exception,
  15010. allowParent = false,
  15011. string = _this._selectorString$1($name);
  15012. try {
  15013. t1 = A.SelectorParser$(string, allowParent, null, null, false, null).parseCompoundSelector$0();
  15014. return t1;
  15015. } catch (exception) {
  15016. t1 = A.unwrapException(exception);
  15017. if (type$.SassFormatException._is(t1)) {
  15018. error = t1;
  15019. stackTrace = A.getTraceFromException(exception);
  15020. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15021. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15022. } else
  15023. throw exception;
  15024. }
  15025. },
  15026. Value: function Value() {
  15027. },
  15028. SassArgumentList$(contents, keywords, separator) {
  15029. var t1 = type$.Value;
  15030. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15031. t1.SassList$3$brackets(contents, separator, false);
  15032. return t1;
  15033. },
  15034. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15035. var _ = this;
  15036. _._keywords = t0;
  15037. _._wereKeywordsAccessed = false;
  15038. _._list$_contents = t1;
  15039. _._separator = t2;
  15040. _._hasBrackets = t3;
  15041. },
  15042. SassBoolean: function SassBoolean(t0) {
  15043. this.value = t0;
  15044. },
  15045. SassCalculation_calc(argument) {
  15046. var t1,
  15047. _0_0 = A.SassCalculation__simplify(argument);
  15048. $label0$0: {
  15049. if (_0_0 instanceof A.SassNumber) {
  15050. t1 = _0_0;
  15051. break $label0$0;
  15052. }
  15053. if (_0_0 instanceof A.SassCalculation) {
  15054. t1 = _0_0;
  15055. break $label0$0;
  15056. }
  15057. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15058. break $label0$0;
  15059. }
  15060. return t1;
  15061. },
  15062. SassCalculation_min($arguments) {
  15063. var minimum, _i, arg, t2,
  15064. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15065. t1 = args.length;
  15066. if (t1 === 0)
  15067. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15068. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15069. arg = args[_i];
  15070. if (arg instanceof A.SassNumber)
  15071. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15072. else
  15073. t2 = true;
  15074. if (t2) {
  15075. minimum = null;
  15076. break;
  15077. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15078. minimum = arg;
  15079. }
  15080. if (minimum != null)
  15081. return minimum;
  15082. A.SassCalculation__verifyCompatibleNumbers(args);
  15083. return new A.SassCalculation("min", args);
  15084. },
  15085. SassCalculation_max($arguments) {
  15086. var maximum, _i, arg, t2,
  15087. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15088. t1 = args.length;
  15089. if (t1 === 0)
  15090. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15091. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15092. arg = args[_i];
  15093. if (arg instanceof A.SassNumber)
  15094. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15095. else
  15096. t2 = true;
  15097. if (t2) {
  15098. maximum = null;
  15099. break;
  15100. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15101. maximum = arg;
  15102. }
  15103. if (maximum != null)
  15104. return maximum;
  15105. A.SassCalculation__verifyCompatibleNumbers(args);
  15106. return new A.SassCalculation("max", args);
  15107. },
  15108. SassCalculation_hypot($arguments) {
  15109. var first, subtotal, i, number, value, t2, t3,
  15110. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15111. t1 = args.length;
  15112. if (t1 === 0)
  15113. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15114. A.SassCalculation__verifyCompatibleNumbers(args);
  15115. first = B.JSArray_methods.get$first(args);
  15116. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15117. return new A.SassCalculation("hypot", args);
  15118. for (subtotal = 0, i = 0; i < t1;) {
  15119. number = args[i];
  15120. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15121. return new A.SassCalculation("hypot", args);
  15122. ++i;
  15123. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15124. subtotal += value * value;
  15125. }
  15126. t1 = Math.sqrt(subtotal);
  15127. t2 = J.getInterceptor$x(first);
  15128. t3 = t2.get$numeratorUnits(first);
  15129. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(first), t3);
  15130. },
  15131. SassCalculation_abs(argument) {
  15132. argument = A.SassCalculation__simplify(argument);
  15133. if (!(argument instanceof A.SassNumber))
  15134. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15135. if (argument.hasUnit$1("%"))
  15136. A.warnForDeprecation(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_GFc);
  15137. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15138. },
  15139. SassCalculation_exp(argument) {
  15140. argument = A.SassCalculation__simplify(argument);
  15141. if (!(argument instanceof A.SassNumber))
  15142. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15143. argument.assertNoUnits$0();
  15144. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15145. },
  15146. SassCalculation_sign(argument) {
  15147. var t1, _0_2, t2, arg;
  15148. argument = A.SassCalculation__simplify(argument);
  15149. $label0$0: {
  15150. t1 = argument instanceof A.SassNumber;
  15151. if (t1) {
  15152. _0_2 = argument._number$_value;
  15153. if (!isNaN(_0_2))
  15154. t2 = 0 === _0_2;
  15155. else
  15156. t2 = true;
  15157. } else
  15158. t2 = false;
  15159. if (t2) {
  15160. t1 = argument;
  15161. break $label0$0;
  15162. }
  15163. if (t1) {
  15164. t1 = !argument.hasUnit$1("%");
  15165. arg = argument;
  15166. } else {
  15167. arg = null;
  15168. t1 = false;
  15169. }
  15170. if (t1) {
  15171. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15172. break $label0$0;
  15173. }
  15174. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15175. break $label0$0;
  15176. }
  15177. return t1;
  15178. },
  15179. SassCalculation_clamp(min, value, max) {
  15180. var t1, args;
  15181. if (value == null && max != null)
  15182. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15183. min = A.SassCalculation__simplify(min);
  15184. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15185. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15186. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15187. if (value.lessThanOrEquals$1(min).value)
  15188. return min;
  15189. if (value.greaterThanOrEquals$1(max).value)
  15190. return max;
  15191. return value;
  15192. }
  15193. t1 = [min];
  15194. if (value != null)
  15195. t1.push(value);
  15196. if (max != null)
  15197. t1.push(max);
  15198. args = A.List_List$unmodifiable(t1, type$.Object);
  15199. A.SassCalculation__verifyCompatibleNumbers(args);
  15200. A.SassCalculation__verifyLength(args, 3);
  15201. return new A.SassCalculation("clamp", args);
  15202. },
  15203. SassCalculation_pow(base, exponent) {
  15204. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15205. if (exponent != null)
  15206. t1.push(exponent);
  15207. A.SassCalculation__verifyLength(t1, 2);
  15208. base = A.SassCalculation__simplify(base);
  15209. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15210. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15211. return new A.SassCalculation("pow", t1);
  15212. base.assertNoUnits$0();
  15213. exponent.assertNoUnits$0();
  15214. return A.pow0(base, exponent);
  15215. },
  15216. SassCalculation_log(number, base) {
  15217. var t1, t2;
  15218. number = A.SassCalculation__simplify(number);
  15219. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15220. t1 = A._setArrayType([number], type$.JSArray_Object);
  15221. t2 = base != null;
  15222. if (t2)
  15223. t1.push(base);
  15224. if (number instanceof A.SassNumber)
  15225. t2 = t2 && !(base instanceof A.SassNumber);
  15226. else
  15227. t2 = true;
  15228. if (t2)
  15229. return new A.SassCalculation("log", t1);
  15230. number.assertNoUnits$0();
  15231. if (base instanceof A.SassNumber) {
  15232. base.assertNoUnits$0();
  15233. return A.log(number, base);
  15234. }
  15235. return A.log(number, null);
  15236. },
  15237. SassCalculation_atan2(y, x) {
  15238. var t1;
  15239. y = A.SassCalculation__simplify(y);
  15240. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15241. t1 = A._setArrayType([y], type$.JSArray_Object);
  15242. if (x != null)
  15243. t1.push(x);
  15244. A.SassCalculation__verifyLength(t1, 2);
  15245. A.SassCalculation__verifyCompatibleNumbers(t1);
  15246. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15247. return new A.SassCalculation("atan2", t1);
  15248. 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));
  15249. },
  15250. SassCalculation_rem(dividend, modulus) {
  15251. var t1, result;
  15252. dividend = A.SassCalculation__simplify(dividend);
  15253. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15254. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15255. if (modulus != null)
  15256. t1.push(modulus);
  15257. A.SassCalculation__verifyLength(t1, 2);
  15258. A.SassCalculation__verifyCompatibleNumbers(t1);
  15259. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15260. return new A.SassCalculation("rem", t1);
  15261. result = dividend.modulo$1(modulus);
  15262. t1 = modulus._number$_value;
  15263. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15264. if (t1 == 1 / 0 || t1 == -1 / 0)
  15265. return dividend;
  15266. if (result._number$_value === 0)
  15267. return result.unaryMinus$0();
  15268. return result.minus$1(modulus);
  15269. }
  15270. return result;
  15271. },
  15272. SassCalculation_mod(dividend, modulus) {
  15273. var t1;
  15274. dividend = A.SassCalculation__simplify(dividend);
  15275. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15276. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15277. if (modulus != null)
  15278. t1.push(modulus);
  15279. A.SassCalculation__verifyLength(t1, 2);
  15280. A.SassCalculation__verifyCompatibleNumbers(t1);
  15281. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15282. return new A.SassCalculation("mod", t1);
  15283. return dividend.modulo$1(modulus);
  15284. },
  15285. SassCalculation_round(strategyOrNumber, numberOrStep, step) {
  15286. var number, t2, _0_2_isSet, _0_2_isSet0, _0_10_isSet, _0_8, _0_12, _0_14, _0_14_isSet, _0_16, _0_16_isSet, strategy, _0_5_isSet0, _0_12_isSet, t3, t4, _0_8_isSet, _0_8_isSet0, rest, _null = null, _s5_ = "round",
  15287. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  15288. _0_2 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  15289. _0_5 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  15290. _0_10 = _0_1,
  15291. _0_4_isSet = _0_1 instanceof A.SassNumber,
  15292. _0_4 = _null,
  15293. _0_20 = _null,
  15294. _0_6 = _null,
  15295. _0_6_isSet = false,
  15296. _0_50 = _null,
  15297. _0_5_isSet = false,
  15298. t1 = false;
  15299. if (_0_4_isSet) {
  15300. type$.SassNumber._as(_0_10);
  15301. _0_4 = _0_2 == null;
  15302. _0_5_isSet = _0_4;
  15303. _0_20 = _0_2;
  15304. if (_0_5_isSet) {
  15305. _0_6 = _0_5 == null;
  15306. t1 = _0_6;
  15307. _0_50 = _0_5;
  15308. }
  15309. _0_6_isSet = _0_5_isSet;
  15310. number = _0_10;
  15311. _0_1 = number;
  15312. } else {
  15313. number = _null;
  15314. _0_1 = _0_10;
  15315. }
  15316. if (t1) {
  15317. t1 = B.JSNumber_methods.round$0(number._number$_value);
  15318. t2 = number.get$numeratorUnits(number);
  15319. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  15320. }
  15321. step = _null;
  15322. t1 = false;
  15323. if (_0_1 instanceof A.SassNumber) {
  15324. _0_2_isSet = true;
  15325. if (_0_4_isSet) {
  15326. t2 = _0_20;
  15327. _0_2_isSet0 = _0_4_isSet;
  15328. } else {
  15329. t2 = _0_2;
  15330. _0_2_isSet0 = _0_2_isSet;
  15331. _0_20 = t2;
  15332. }
  15333. if (t2 instanceof A.SassNumber) {
  15334. if (_0_2_isSet0) {
  15335. t2 = _0_20;
  15336. _0_2_isSet = _0_2_isSet0;
  15337. } else {
  15338. t2 = _0_2;
  15339. _0_20 = t2;
  15340. }
  15341. type$.SassNumber._as(t2);
  15342. if (_0_6_isSet)
  15343. t1 = _0_6;
  15344. else {
  15345. if (_0_5_isSet)
  15346. t1 = _0_50;
  15347. else {
  15348. t1 = _0_5;
  15349. _0_50 = t1;
  15350. _0_5_isSet = true;
  15351. }
  15352. _0_6 = t1 == null;
  15353. t1 = _0_6;
  15354. _0_6_isSet = true;
  15355. }
  15356. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  15357. step = t2;
  15358. } else
  15359. _0_2_isSet = _0_2_isSet0;
  15360. number = _0_1;
  15361. } else {
  15362. number = _null;
  15363. _0_2_isSet = _0_4_isSet;
  15364. }
  15365. if (t1) {
  15366. t1 = type$.JSArray_Object;
  15367. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15368. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  15369. }
  15370. step = _null;
  15371. t1 = false;
  15372. if (_0_1 instanceof A.SassNumber) {
  15373. _0_2_isSet0 = true;
  15374. if (_0_2_isSet)
  15375. t2 = _0_20;
  15376. else {
  15377. t2 = _0_2;
  15378. _0_2_isSet = _0_2_isSet0;
  15379. _0_20 = t2;
  15380. }
  15381. if (t2 instanceof A.SassNumber) {
  15382. if (_0_2_isSet)
  15383. t2 = _0_20;
  15384. else {
  15385. t2 = _0_2;
  15386. _0_2_isSet = _0_2_isSet0;
  15387. _0_20 = t2;
  15388. }
  15389. type$.SassNumber._as(t2);
  15390. if (_0_6_isSet)
  15391. t1 = _0_6;
  15392. else {
  15393. if (_0_5_isSet)
  15394. t1 = _0_50;
  15395. else {
  15396. t1 = _0_5;
  15397. _0_50 = t1;
  15398. _0_5_isSet = true;
  15399. }
  15400. _0_6 = t1 == null;
  15401. t1 = _0_6;
  15402. _0_6_isSet = true;
  15403. }
  15404. step = t2;
  15405. }
  15406. number = _0_1;
  15407. } else
  15408. number = _null;
  15409. if (t1) {
  15410. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15411. return A.SassCalculation__roundWithStep("nearest", number, step);
  15412. }
  15413. _0_10_isSet = _0_1 instanceof A.SassString;
  15414. _0_10 = _null;
  15415. _0_8 = _null;
  15416. _0_12 = _null;
  15417. _0_14 = _null;
  15418. _0_14_isSet = false;
  15419. _0_16 = _null;
  15420. _0_16_isSet = false;
  15421. strategy = _null;
  15422. number = _null;
  15423. step = _null;
  15424. t1 = false;
  15425. if (_0_10_isSet) {
  15426. _0_2_isSet0 = true;
  15427. _0_5_isSet0 = true;
  15428. _0_8 = _0_1._string$_text;
  15429. t2 = _0_8;
  15430. _0_10 = "nearest" === t2;
  15431. t2 = _0_10;
  15432. _0_12_isSet = !t2;
  15433. t2 = true;
  15434. if (_0_12_isSet) {
  15435. _0_12 = "up" === _0_8;
  15436. t3 = _0_12;
  15437. _0_14_isSet = !t3;
  15438. if (_0_14_isSet) {
  15439. _0_14 = "down" === _0_8;
  15440. t3 = _0_14;
  15441. _0_16_isSet = !t3;
  15442. if (_0_16_isSet) {
  15443. _0_16 = "to-zero" === _0_8;
  15444. t2 = _0_16;
  15445. }
  15446. }
  15447. }
  15448. if (t2) {
  15449. if (_0_2_isSet)
  15450. t2 = _0_20;
  15451. else {
  15452. t2 = _0_2;
  15453. _0_2_isSet = _0_2_isSet0;
  15454. _0_20 = t2;
  15455. }
  15456. if (t2 instanceof A.SassNumber) {
  15457. if (_0_2_isSet)
  15458. t2 = _0_20;
  15459. else {
  15460. t2 = _0_2;
  15461. _0_2_isSet = _0_2_isSet0;
  15462. _0_20 = t2;
  15463. }
  15464. t3 = type$.SassNumber;
  15465. t3._as(t2);
  15466. if (_0_5_isSet)
  15467. t4 = _0_50;
  15468. else {
  15469. t4 = _0_5;
  15470. _0_5_isSet = _0_5_isSet0;
  15471. _0_50 = t4;
  15472. }
  15473. if (t4 instanceof A.SassNumber) {
  15474. if (_0_5_isSet)
  15475. t1 = _0_50;
  15476. else {
  15477. t1 = _0_5;
  15478. _0_5_isSet = _0_5_isSet0;
  15479. _0_50 = t1;
  15480. }
  15481. t3._as(t1);
  15482. t3 = !t2.hasCompatibleUnits$1(t1);
  15483. step = t1;
  15484. t1 = t3;
  15485. }
  15486. number = t2;
  15487. }
  15488. strategy = _0_1;
  15489. }
  15490. } else
  15491. _0_12_isSet = false;
  15492. if (t1) {
  15493. t1 = type$.JSArray_Object;
  15494. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15495. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  15496. }
  15497. strategy = _null;
  15498. number = _null;
  15499. step = _null;
  15500. t1 = false;
  15501. if (_0_1 instanceof A.SassString) {
  15502. _0_2_isSet0 = true;
  15503. _0_5_isSet0 = true;
  15504. _0_8_isSet = true;
  15505. if (_0_10_isSet) {
  15506. t2 = _0_10;
  15507. _0_8_isSet0 = _0_10_isSet;
  15508. } else {
  15509. _0_8 = _0_1._string$_text;
  15510. t2 = _0_8;
  15511. _0_10 = "nearest" === t2;
  15512. t2 = _0_10;
  15513. _0_8_isSet0 = _0_8_isSet;
  15514. _0_10_isSet = true;
  15515. }
  15516. t3 = true;
  15517. if (!t2) {
  15518. if (_0_12_isSet)
  15519. t2 = _0_12;
  15520. else {
  15521. if (_0_8_isSet0)
  15522. t2 = _0_8;
  15523. else {
  15524. _0_8 = _0_1._string$_text;
  15525. t2 = _0_8;
  15526. _0_8_isSet0 = _0_8_isSet;
  15527. }
  15528. _0_12 = "up" === t2;
  15529. t2 = _0_12;
  15530. _0_12_isSet = true;
  15531. }
  15532. if (!t2) {
  15533. if (_0_14_isSet)
  15534. t2 = _0_14;
  15535. else {
  15536. if (_0_8_isSet0)
  15537. t2 = _0_8;
  15538. else {
  15539. _0_8 = _0_1._string$_text;
  15540. t2 = _0_8;
  15541. _0_8_isSet0 = _0_8_isSet;
  15542. }
  15543. _0_14 = "down" === t2;
  15544. t2 = _0_14;
  15545. _0_14_isSet = true;
  15546. }
  15547. if (!t2)
  15548. if (_0_16_isSet) {
  15549. t2 = _0_16;
  15550. _0_8_isSet = _0_8_isSet0;
  15551. } else {
  15552. if (_0_8_isSet0) {
  15553. t2 = _0_8;
  15554. _0_8_isSet = _0_8_isSet0;
  15555. } else {
  15556. _0_8 = _0_1._string$_text;
  15557. t2 = _0_8;
  15558. }
  15559. _0_16 = "to-zero" === t2;
  15560. t2 = _0_16;
  15561. _0_16_isSet = true;
  15562. }
  15563. else {
  15564. t2 = t3;
  15565. _0_8_isSet = _0_8_isSet0;
  15566. }
  15567. } else {
  15568. t2 = t3;
  15569. _0_8_isSet = _0_8_isSet0;
  15570. }
  15571. } else {
  15572. t2 = t3;
  15573. _0_8_isSet = _0_8_isSet0;
  15574. }
  15575. if (t2) {
  15576. if (_0_2_isSet)
  15577. t2 = _0_20;
  15578. else {
  15579. t2 = _0_2;
  15580. _0_2_isSet = _0_2_isSet0;
  15581. _0_20 = t2;
  15582. }
  15583. if (t2 instanceof A.SassNumber) {
  15584. if (_0_2_isSet)
  15585. t2 = _0_20;
  15586. else {
  15587. t2 = _0_2;
  15588. _0_2_isSet = _0_2_isSet0;
  15589. _0_20 = t2;
  15590. }
  15591. t3 = type$.SassNumber;
  15592. t3._as(t2);
  15593. if (_0_5_isSet)
  15594. t1 = _0_50;
  15595. else {
  15596. t1 = _0_5;
  15597. _0_5_isSet = _0_5_isSet0;
  15598. _0_50 = t1;
  15599. }
  15600. t1 = t1 instanceof A.SassNumber;
  15601. if (t1) {
  15602. if (_0_5_isSet)
  15603. t4 = _0_50;
  15604. else {
  15605. t4 = _0_5;
  15606. _0_5_isSet = _0_5_isSet0;
  15607. _0_50 = t4;
  15608. }
  15609. t3._as(t4);
  15610. step = t4;
  15611. }
  15612. number = t2;
  15613. }
  15614. strategy = _0_1;
  15615. }
  15616. } else
  15617. _0_8_isSet = _0_10_isSet;
  15618. if (t1) {
  15619. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15620. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  15621. }
  15622. strategy = _null;
  15623. rest = _null;
  15624. t1 = false;
  15625. if (_0_1 instanceof A.SassString) {
  15626. _0_2_isSet0 = true;
  15627. _0_8_isSet0 = true;
  15628. if (_0_10_isSet)
  15629. t2 = _0_10;
  15630. else {
  15631. if (_0_8_isSet)
  15632. t2 = _0_8;
  15633. else {
  15634. _0_8 = _0_1._string$_text;
  15635. t2 = _0_8;
  15636. _0_8_isSet = _0_8_isSet0;
  15637. }
  15638. _0_10 = "nearest" === t2;
  15639. t2 = _0_10;
  15640. _0_10_isSet = true;
  15641. }
  15642. t3 = true;
  15643. if (!t2) {
  15644. if (_0_12_isSet)
  15645. t2 = _0_12;
  15646. else {
  15647. if (_0_8_isSet)
  15648. t2 = _0_8;
  15649. else {
  15650. _0_8 = _0_1._string$_text;
  15651. t2 = _0_8;
  15652. _0_8_isSet = _0_8_isSet0;
  15653. }
  15654. _0_12 = "up" === t2;
  15655. t2 = _0_12;
  15656. _0_12_isSet = true;
  15657. }
  15658. if (!t2) {
  15659. if (_0_14_isSet)
  15660. t2 = _0_14;
  15661. else {
  15662. if (_0_8_isSet)
  15663. t2 = _0_8;
  15664. else {
  15665. _0_8 = _0_1._string$_text;
  15666. t2 = _0_8;
  15667. _0_8_isSet = _0_8_isSet0;
  15668. }
  15669. _0_14 = "down" === t2;
  15670. t2 = _0_14;
  15671. _0_14_isSet = true;
  15672. }
  15673. if (!t2)
  15674. if (_0_16_isSet)
  15675. t2 = _0_16;
  15676. else {
  15677. if (_0_8_isSet)
  15678. t2 = _0_8;
  15679. else {
  15680. _0_8 = _0_1._string$_text;
  15681. t2 = _0_8;
  15682. _0_8_isSet = _0_8_isSet0;
  15683. }
  15684. _0_16 = "to-zero" === t2;
  15685. t2 = _0_16;
  15686. _0_16_isSet = true;
  15687. }
  15688. else
  15689. t2 = t3;
  15690. } else
  15691. t2 = t3;
  15692. } else
  15693. t2 = t3;
  15694. if (t2) {
  15695. if (_0_2_isSet)
  15696. t2 = _0_20;
  15697. else {
  15698. t2 = _0_2;
  15699. _0_2_isSet = _0_2_isSet0;
  15700. _0_20 = t2;
  15701. }
  15702. if (t2 instanceof A.SassString) {
  15703. if (_0_2_isSet)
  15704. t2 = _0_20;
  15705. else {
  15706. t2 = _0_2;
  15707. _0_2_isSet = _0_2_isSet0;
  15708. _0_20 = t2;
  15709. }
  15710. type$.SassString._as(t2);
  15711. if (_0_6_isSet)
  15712. t1 = _0_6;
  15713. else {
  15714. if (_0_5_isSet)
  15715. t1 = _0_50;
  15716. else {
  15717. t1 = _0_5;
  15718. _0_50 = t1;
  15719. _0_5_isSet = true;
  15720. }
  15721. _0_6 = t1 == null;
  15722. t1 = _0_6;
  15723. _0_6_isSet = true;
  15724. }
  15725. rest = t2;
  15726. }
  15727. strategy = _0_1;
  15728. }
  15729. }
  15730. if (t1)
  15731. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  15732. t1 = false;
  15733. if (_0_1 instanceof A.SassString) {
  15734. _0_8_isSet0 = true;
  15735. if (_0_10_isSet)
  15736. t2 = _0_10;
  15737. else {
  15738. if (_0_8_isSet)
  15739. t2 = _0_8;
  15740. else {
  15741. _0_8 = _0_1._string$_text;
  15742. t2 = _0_8;
  15743. _0_8_isSet = _0_8_isSet0;
  15744. }
  15745. _0_10 = "nearest" === t2;
  15746. t2 = _0_10;
  15747. _0_10_isSet = true;
  15748. }
  15749. t3 = true;
  15750. if (!t2) {
  15751. if (_0_12_isSet)
  15752. t2 = _0_12;
  15753. else {
  15754. if (_0_8_isSet)
  15755. t2 = _0_8;
  15756. else {
  15757. _0_8 = _0_1._string$_text;
  15758. t2 = _0_8;
  15759. _0_8_isSet = _0_8_isSet0;
  15760. }
  15761. _0_12 = "up" === t2;
  15762. t2 = _0_12;
  15763. _0_12_isSet = true;
  15764. }
  15765. if (!t2) {
  15766. if (_0_14_isSet)
  15767. t2 = _0_14;
  15768. else {
  15769. if (_0_8_isSet)
  15770. t2 = _0_8;
  15771. else {
  15772. _0_8 = _0_1._string$_text;
  15773. t2 = _0_8;
  15774. _0_8_isSet = _0_8_isSet0;
  15775. }
  15776. _0_14 = "down" === t2;
  15777. t2 = _0_14;
  15778. _0_14_isSet = true;
  15779. }
  15780. if (!t2)
  15781. if (_0_16_isSet)
  15782. t2 = _0_16;
  15783. else {
  15784. if (_0_8_isSet)
  15785. t2 = _0_8;
  15786. else {
  15787. _0_8 = _0_1._string$_text;
  15788. t2 = _0_8;
  15789. _0_8_isSet = _0_8_isSet0;
  15790. }
  15791. _0_16 = "to-zero" === t2;
  15792. t2 = _0_16;
  15793. _0_16_isSet = true;
  15794. }
  15795. else
  15796. t2 = t3;
  15797. } else
  15798. t2 = t3;
  15799. } else
  15800. t2 = t3;
  15801. if (t2) {
  15802. if (_0_2_isSet)
  15803. t2 = _0_20;
  15804. else {
  15805. t2 = _0_2;
  15806. _0_20 = t2;
  15807. _0_2_isSet = true;
  15808. }
  15809. if (t2 != null)
  15810. if (_0_6_isSet)
  15811. t1 = _0_6;
  15812. else {
  15813. if (_0_5_isSet)
  15814. t1 = _0_50;
  15815. else {
  15816. t1 = _0_5;
  15817. _0_50 = t1;
  15818. _0_5_isSet = true;
  15819. }
  15820. _0_6 = t1 == null;
  15821. t1 = _0_6;
  15822. _0_6_isSet = true;
  15823. }
  15824. }
  15825. }
  15826. if (t1)
  15827. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  15828. t1 = false;
  15829. if (_0_1 instanceof A.SassString) {
  15830. _0_8_isSet0 = true;
  15831. if (_0_10_isSet)
  15832. t2 = _0_10;
  15833. else {
  15834. if (_0_8_isSet)
  15835. t2 = _0_8;
  15836. else {
  15837. _0_8 = _0_1._string$_text;
  15838. t2 = _0_8;
  15839. _0_8_isSet = _0_8_isSet0;
  15840. }
  15841. _0_10 = "nearest" === t2;
  15842. t2 = _0_10;
  15843. _0_10_isSet = true;
  15844. }
  15845. t3 = true;
  15846. if (!t2) {
  15847. if (_0_12_isSet)
  15848. t2 = _0_12;
  15849. else {
  15850. if (_0_8_isSet)
  15851. t2 = _0_8;
  15852. else {
  15853. _0_8 = _0_1._string$_text;
  15854. t2 = _0_8;
  15855. _0_8_isSet = _0_8_isSet0;
  15856. }
  15857. _0_12 = "up" === t2;
  15858. t2 = _0_12;
  15859. _0_12_isSet = true;
  15860. }
  15861. if (!t2) {
  15862. if (_0_14_isSet)
  15863. t2 = _0_14;
  15864. else {
  15865. if (_0_8_isSet)
  15866. t2 = _0_8;
  15867. else {
  15868. _0_8 = _0_1._string$_text;
  15869. t2 = _0_8;
  15870. _0_8_isSet = _0_8_isSet0;
  15871. }
  15872. _0_14 = "down" === t2;
  15873. t2 = _0_14;
  15874. _0_14_isSet = true;
  15875. }
  15876. if (!t2)
  15877. if (_0_16_isSet)
  15878. t2 = _0_16;
  15879. else {
  15880. if (_0_8_isSet)
  15881. t2 = _0_8;
  15882. else {
  15883. _0_8 = _0_1._string$_text;
  15884. t2 = _0_8;
  15885. _0_8_isSet = _0_8_isSet0;
  15886. }
  15887. _0_16 = "to-zero" === t2;
  15888. t2 = _0_16;
  15889. _0_16_isSet = true;
  15890. }
  15891. else
  15892. t2 = t3;
  15893. } else
  15894. t2 = t3;
  15895. } else
  15896. t2 = t3;
  15897. if (t2) {
  15898. if (_0_4_isSet)
  15899. t2 = _0_4;
  15900. else {
  15901. if (_0_2_isSet)
  15902. t2 = _0_20;
  15903. else {
  15904. t2 = _0_2;
  15905. _0_20 = t2;
  15906. _0_2_isSet = true;
  15907. }
  15908. _0_4 = t2 == null;
  15909. t2 = _0_4;
  15910. _0_4_isSet = true;
  15911. }
  15912. if (t2)
  15913. if (_0_6_isSet)
  15914. t1 = _0_6;
  15915. else {
  15916. if (_0_5_isSet)
  15917. t1 = _0_50;
  15918. else {
  15919. t1 = _0_5;
  15920. _0_50 = t1;
  15921. _0_5_isSet = true;
  15922. }
  15923. _0_6 = t1 == null;
  15924. t1 = _0_6;
  15925. _0_6_isSet = true;
  15926. }
  15927. }
  15928. }
  15929. if (t1)
  15930. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  15931. t1 = false;
  15932. if (_0_1 instanceof A.SassString) {
  15933. if (_0_4_isSet)
  15934. t2 = _0_4;
  15935. else {
  15936. if (_0_2_isSet)
  15937. t2 = _0_20;
  15938. else {
  15939. t2 = _0_2;
  15940. _0_20 = t2;
  15941. _0_2_isSet = true;
  15942. }
  15943. _0_4 = t2 == null;
  15944. t2 = _0_4;
  15945. _0_4_isSet = true;
  15946. }
  15947. if (t2)
  15948. if (_0_6_isSet)
  15949. t1 = _0_6;
  15950. else {
  15951. if (_0_5_isSet)
  15952. t1 = _0_50;
  15953. else {
  15954. t1 = _0_5;
  15955. _0_50 = t1;
  15956. _0_5_isSet = true;
  15957. }
  15958. _0_6 = t1 == null;
  15959. t1 = _0_6;
  15960. _0_6_isSet = true;
  15961. }
  15962. rest = _0_1;
  15963. } else
  15964. rest = _null;
  15965. if (t1)
  15966. return new A.SassCalculation(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  15967. t1 = false;
  15968. if (_0_4_isSet)
  15969. t2 = _0_4;
  15970. else {
  15971. if (_0_2_isSet)
  15972. t2 = _0_20;
  15973. else {
  15974. t2 = _0_2;
  15975. _0_20 = t2;
  15976. _0_2_isSet = true;
  15977. }
  15978. _0_4 = t2 == null;
  15979. t2 = _0_4;
  15980. }
  15981. if (t2)
  15982. if (_0_6_isSet)
  15983. t1 = _0_6;
  15984. else {
  15985. if (_0_5_isSet)
  15986. t1 = _0_50;
  15987. else {
  15988. t1 = _0_5;
  15989. _0_50 = t1;
  15990. _0_5_isSet = true;
  15991. }
  15992. _0_6 = t1 == null;
  15993. t1 = _0_6;
  15994. _0_6_isSet = true;
  15995. }
  15996. if (t1)
  15997. throw A.wrapException(A.SassScriptException$("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  15998. step = _null;
  15999. t1 = false;
  16000. _0_2_isSet0 = true;
  16001. if (_0_2_isSet)
  16002. t2 = _0_20;
  16003. else {
  16004. t2 = _0_2;
  16005. _0_2_isSet = _0_2_isSet0;
  16006. _0_20 = t2;
  16007. }
  16008. if (t2 != null) {
  16009. if (_0_2_isSet)
  16010. step = _0_20;
  16011. else {
  16012. step = _0_2;
  16013. _0_2_isSet = _0_2_isSet0;
  16014. _0_20 = step;
  16015. }
  16016. if (step == null)
  16017. step = type$.Object._as(step);
  16018. if (_0_6_isSet)
  16019. t1 = _0_6;
  16020. else {
  16021. if (_0_5_isSet)
  16022. t1 = _0_50;
  16023. else {
  16024. t1 = _0_5;
  16025. _0_50 = t1;
  16026. _0_5_isSet = true;
  16027. }
  16028. _0_6 = t1 == null;
  16029. t1 = _0_6;
  16030. }
  16031. }
  16032. if (t1)
  16033. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16034. if (_0_1 instanceof A.SassString) {
  16035. t1 = true;
  16036. if (_0_10_isSet)
  16037. t2 = _0_10;
  16038. else {
  16039. if (_0_8_isSet)
  16040. t2 = _0_8;
  16041. else {
  16042. _0_8 = _0_1._string$_text;
  16043. t2 = _0_8;
  16044. _0_8_isSet = true;
  16045. }
  16046. _0_10 = "nearest" === t2;
  16047. t2 = _0_10;
  16048. }
  16049. if (!t2) {
  16050. if (_0_12_isSet)
  16051. t2 = _0_12;
  16052. else {
  16053. if (_0_8_isSet)
  16054. t2 = _0_8;
  16055. else {
  16056. _0_8 = _0_1._string$_text;
  16057. t2 = _0_8;
  16058. _0_8_isSet = true;
  16059. }
  16060. _0_12 = "up" === t2;
  16061. t2 = _0_12;
  16062. }
  16063. if (!t2) {
  16064. if (_0_14_isSet)
  16065. t2 = _0_14;
  16066. else {
  16067. if (_0_8_isSet)
  16068. t2 = _0_8;
  16069. else {
  16070. _0_8 = _0_1._string$_text;
  16071. t2 = _0_8;
  16072. _0_8_isSet = true;
  16073. }
  16074. _0_14 = "down" === t2;
  16075. t2 = _0_14;
  16076. }
  16077. if (!t2)
  16078. if (_0_16_isSet)
  16079. t1 = _0_16;
  16080. else {
  16081. if (_0_8_isSet)
  16082. t1 = _0_8;
  16083. else {
  16084. _0_8 = _0_1._string$_text;
  16085. t1 = _0_8;
  16086. }
  16087. _0_16 = "to-zero" === t1;
  16088. t1 = _0_16;
  16089. }
  16090. }
  16091. }
  16092. } else
  16093. t1 = false;
  16094. if (!t1)
  16095. if (_0_1 instanceof A.SassString)
  16096. t1 = _0_1.get$isVar();
  16097. else
  16098. t1 = false;
  16099. else
  16100. t1 = true;
  16101. number = _null;
  16102. step = _null;
  16103. t2 = false;
  16104. if (t1) {
  16105. _0_2_isSet0 = true;
  16106. _0_5_isSet0 = true;
  16107. type$.SassString._as(_0_1);
  16108. if (_0_2_isSet)
  16109. t1 = _0_20;
  16110. else {
  16111. t1 = _0_2;
  16112. _0_2_isSet = _0_2_isSet0;
  16113. _0_20 = t1;
  16114. }
  16115. if (t1 != null) {
  16116. if (_0_2_isSet)
  16117. number = _0_20;
  16118. else {
  16119. number = _0_2;
  16120. _0_2_isSet = _0_2_isSet0;
  16121. _0_20 = number;
  16122. }
  16123. if (number == null)
  16124. number = type$.Object._as(number);
  16125. if (_0_5_isSet)
  16126. t1 = _0_50;
  16127. else {
  16128. t1 = _0_5;
  16129. _0_5_isSet = _0_5_isSet0;
  16130. _0_50 = t1;
  16131. }
  16132. t1 = t1 != null;
  16133. if (t1) {
  16134. if (_0_5_isSet)
  16135. step = _0_50;
  16136. else {
  16137. step = _0_5;
  16138. _0_5_isSet = _0_5_isSet0;
  16139. _0_50 = step;
  16140. }
  16141. if (step == null)
  16142. step = type$.Object._as(step);
  16143. }
  16144. } else
  16145. t1 = t2;
  16146. strategy = _0_1;
  16147. } else {
  16148. t1 = t2;
  16149. strategy = _null;
  16150. }
  16151. if (t1)
  16152. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16153. t1 = false;
  16154. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  16155. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  16156. if (t1)
  16157. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16158. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16159. throw A.wrapException(t1);
  16160. },
  16161. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify) {
  16162. var t1;
  16163. if (!simplify)
  16164. return new A.CalculationOperation(operator, left, right);
  16165. left = A.SassCalculation__simplify(left);
  16166. right = A.SassCalculation__simplify(right);
  16167. if (B.CalculationOperator_g2q === operator || B.CalculationOperator_CxF === operator) {
  16168. t1 = false;
  16169. if (left instanceof A.SassNumber)
  16170. if (right instanceof A.SassNumber)
  16171. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  16172. if (t1)
  16173. return operator === B.CalculationOperator_g2q ? left.plus$1(right) : left.minus$1(right);
  16174. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16175. if (right instanceof A.SassNumber) {
  16176. t1 = right._number$_value;
  16177. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16178. } else
  16179. t1 = false;
  16180. if (t1) {
  16181. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16182. operator = operator === B.CalculationOperator_g2q ? B.CalculationOperator_CxF : B.CalculationOperator_g2q;
  16183. }
  16184. return new A.CalculationOperation(operator, left, right);
  16185. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16186. return operator === B.CalculationOperator_171 ? left.times$1(right) : left.dividedBy$1(right);
  16187. else
  16188. return new A.CalculationOperation(operator, left, right);
  16189. },
  16190. SassCalculation__roundWithStep(strategy, number, step) {
  16191. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  16192. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  16193. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  16194. _0_2 = number._number$_value;
  16195. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  16196. t1 = step._number$_value;
  16197. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  16198. } else
  16199. t1 = false;
  16200. if (!t1) {
  16201. t1 = step._number$_value;
  16202. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  16203. } else
  16204. t1 = true;
  16205. if (t1) {
  16206. t1 = number.get$numeratorUnits(number);
  16207. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16208. }
  16209. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  16210. return number;
  16211. t1 = step._number$_value;
  16212. if (t1 == 1 / 0 || t1 == -1 / 0) {
  16213. $label0$0: {
  16214. if (0 === _0_2) {
  16215. t1 = number;
  16216. break $label0$0;
  16217. }
  16218. _0_6 = "nearest" === strategy;
  16219. t1 = _0_6;
  16220. _0_8_isSet = !t1;
  16221. _0_8 = _null;
  16222. if (_0_8_isSet) {
  16223. _0_8 = "to-zero" === strategy;
  16224. _0_9_isSet = _0_8;
  16225. } else
  16226. _0_9_isSet = true;
  16227. _0_9 = _null;
  16228. if (_0_9_isSet) {
  16229. _0_9 = _0_2 > 0;
  16230. t1 = _0_9;
  16231. } else
  16232. t1 = false;
  16233. if (t1) {
  16234. t1 = number.get$numeratorUnits(number);
  16235. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16236. break $label0$0;
  16237. }
  16238. if (!_0_6)
  16239. if (_0_8_isSet)
  16240. t1 = _0_8;
  16241. else {
  16242. _0_8 = "to-zero" === strategy;
  16243. t1 = _0_8;
  16244. }
  16245. else
  16246. t1 = true;
  16247. if (t1) {
  16248. t1 = number.get$numeratorUnits(number);
  16249. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16250. break $label0$0;
  16251. }
  16252. _0_11 = "up" === strategy;
  16253. t1 = _0_11;
  16254. if (t1)
  16255. if (_0_9_isSet)
  16256. t1 = _0_9;
  16257. else {
  16258. _0_9 = _0_2 > 0;
  16259. t1 = _0_9;
  16260. }
  16261. else
  16262. t1 = false;
  16263. if (t1) {
  16264. t1 = number.get$numeratorUnits(number);
  16265. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  16266. break $label0$0;
  16267. }
  16268. if (_0_11) {
  16269. t1 = number.get$numeratorUnits(number);
  16270. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16271. break $label0$0;
  16272. }
  16273. _0_13 = "down" === strategy;
  16274. t1 = _0_13;
  16275. if (t1)
  16276. t1 = _0_2 < 0;
  16277. else
  16278. t1 = false;
  16279. if (t1) {
  16280. t1 = number.get$numeratorUnits(number);
  16281. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  16282. break $label0$0;
  16283. }
  16284. if (_0_13) {
  16285. t1 = number.get$numeratorUnits(number);
  16286. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16287. break $label0$0;
  16288. }
  16289. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  16290. }
  16291. return t1;
  16292. }
  16293. stepWithNumberUnit = step.convertValueToMatch$1(number);
  16294. $label1$1: {
  16295. if ("nearest" === strategy) {
  16296. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  16297. t2 = number.get$numeratorUnits(number);
  16298. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16299. t1 = t2;
  16300. break $label1$1;
  16301. }
  16302. if ("up" === strategy) {
  16303. t2 = _0_2 / stepWithNumberUnit;
  16304. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  16305. t2 = number.get$numeratorUnits(number);
  16306. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16307. t1 = t2;
  16308. break $label1$1;
  16309. }
  16310. if ("down" === strategy) {
  16311. t2 = _0_2 / stepWithNumberUnit;
  16312. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  16313. t2 = number.get$numeratorUnits(number);
  16314. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16315. t1 = t2;
  16316. break $label1$1;
  16317. }
  16318. if ("to-zero" === strategy) {
  16319. t1 = _0_2 / stepWithNumberUnit;
  16320. if (_0_2 < 0) {
  16321. t1 = B.JSNumber_methods.ceil$0(t1);
  16322. t2 = number.get$numeratorUnits(number);
  16323. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16324. t1 = t2;
  16325. } else {
  16326. t1 = B.JSNumber_methods.floor$0(t1);
  16327. t2 = number.get$numeratorUnits(number);
  16328. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16329. t1 = t2;
  16330. }
  16331. break $label1$1;
  16332. }
  16333. t1 = number.get$numeratorUnits(number);
  16334. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16335. break $label1$1;
  16336. }
  16337. return t1;
  16338. },
  16339. SassCalculation__simplify(arg) {
  16340. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  16341. _s32_ = " can't be used in a calculation.";
  16342. $label0$0: {
  16343. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  16344. t1 = arg;
  16345. break $label0$0;
  16346. }
  16347. t1 = arg instanceof A.SassString;
  16348. t2 = _null;
  16349. if (t1 && !arg._hasQuotes) {
  16350. t1 = arg;
  16351. break $label0$0;
  16352. }
  16353. if (t1)
  16354. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  16355. _0_11_isSet = arg instanceof A.SassCalculation;
  16356. _0_15 = _null;
  16357. _0_12 = _null;
  16358. _0_16_isSet = false;
  16359. text = _null;
  16360. t1 = false;
  16361. if (_0_11_isSet) {
  16362. _0_11 = "calc" === arg.name;
  16363. if (_0_11) {
  16364. _0_12 = arg.$arguments;
  16365. _0_15 = _0_12.length === 1;
  16366. _0_16_isSet = _0_15;
  16367. if (_0_16_isSet) {
  16368. _0_16 = _0_12[0];
  16369. t2 = _0_16;
  16370. if (t2 instanceof A.SassString) {
  16371. type$.SassString._as(_0_16);
  16372. if (!_0_16._hasQuotes) {
  16373. text = _0_16._string$_text;
  16374. t1 = A.SassCalculation__needsParentheses(text);
  16375. }
  16376. }
  16377. } else
  16378. _0_16 = t2;
  16379. } else
  16380. _0_16 = t2;
  16381. _0_12_isSet = _0_11;
  16382. _0_15_isSet = _0_12_isSet;
  16383. } else {
  16384. _0_16 = t2;
  16385. _0_11 = _null;
  16386. _0_15_isSet = false;
  16387. _0_12_isSet = false;
  16388. }
  16389. if (t1) {
  16390. t1 = new A.SassString("(" + A.S(text) + ")", false);
  16391. break $label0$0;
  16392. }
  16393. t1 = false;
  16394. if (_0_11_isSet)
  16395. if (_0_11)
  16396. if (_0_15_isSet)
  16397. t1 = _0_15;
  16398. else {
  16399. if (_0_12_isSet)
  16400. t1 = _0_12;
  16401. else {
  16402. _0_12 = arg.$arguments;
  16403. t1 = _0_12;
  16404. _0_12_isSet = true;
  16405. }
  16406. _0_15 = t1.length === 1;
  16407. t1 = _0_15;
  16408. }
  16409. if (t1) {
  16410. if (_0_16_isSet)
  16411. value = _0_16;
  16412. else {
  16413. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  16414. value = _0_16;
  16415. }
  16416. t1 = value;
  16417. break $label0$0;
  16418. }
  16419. if (_0_11_isSet) {
  16420. t1 = arg;
  16421. break $label0$0;
  16422. }
  16423. if (arg instanceof A.Value)
  16424. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  16425. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  16426. }
  16427. return t1;
  16428. },
  16429. SassCalculation__needsParentheses(text) {
  16430. var t1, couldBeVar, second, third, fourth, i, t2,
  16431. first = text.charCodeAt(0);
  16432. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  16433. return true;
  16434. t1 = text.length;
  16435. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  16436. if (t1 < 2)
  16437. return false;
  16438. second = text.charCodeAt(1);
  16439. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  16440. return true;
  16441. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  16442. if (t1 < 3)
  16443. return false;
  16444. third = text.charCodeAt(2);
  16445. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  16446. return true;
  16447. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  16448. if (t1 < 4)
  16449. return false;
  16450. fourth = text.charCodeAt(3);
  16451. if (couldBeVar && fourth === 40)
  16452. return true;
  16453. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  16454. return true;
  16455. for (i = 4; i < t1; ++i) {
  16456. t2 = text.charCodeAt(i);
  16457. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  16458. return true;
  16459. }
  16460. return false;
  16461. },
  16462. SassCalculation__verifyCompatibleNumbers(args) {
  16463. var t1, _i, t2, arg, i, number1, j, number2;
  16464. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  16465. arg = args[_i];
  16466. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  16467. throw A.wrapException(A.SassScriptException$("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  16468. }
  16469. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  16470. number1 = args[i];
  16471. if (!(number1 instanceof A.SassNumber))
  16472. continue;
  16473. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  16474. number2 = args[j];
  16475. if (!(number2 instanceof A.SassNumber))
  16476. continue;
  16477. if (number1.hasPossiblyCompatibleUnits$1(number2))
  16478. continue;
  16479. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  16480. }
  16481. }
  16482. },
  16483. SassCalculation__verifyLength(args, expectedLength) {
  16484. var t1;
  16485. if (args.length === expectedLength)
  16486. return;
  16487. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  16488. return;
  16489. t1 = args.length;
  16490. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  16491. },
  16492. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  16493. argument = A.SassCalculation__simplify(argument);
  16494. if (!(argument instanceof A.SassNumber))
  16495. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  16496. if (forbidUnits)
  16497. argument.assertNoUnits$0();
  16498. return mathFunc.call$1(argument);
  16499. },
  16500. SassCalculation: function SassCalculation(t0, t1) {
  16501. this.name = t0;
  16502. this.$arguments = t1;
  16503. },
  16504. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  16505. },
  16506. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  16507. this._operator = t0;
  16508. this._left = t1;
  16509. this._right = t2;
  16510. },
  16511. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  16512. var _ = this;
  16513. _.name = t0;
  16514. _.operator = t1;
  16515. _.precedence = t2;
  16516. _._name = t3;
  16517. },
  16518. SassColor$rgb(red, green, blue, alpha) {
  16519. var _null = null,
  16520. t1 = new A.SassColor(red, green, blue, _null, _null, _null, A.fuzzyAssertRange(A.SassColor__handleNullAlpha(alpha), 0, 1, "alpha"), _null);
  16521. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16522. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16523. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16524. return t1;
  16525. },
  16526. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  16527. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  16528. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16529. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16530. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16531. return t1;
  16532. },
  16533. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  16534. 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);
  16535. },
  16536. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  16537. var t2, t1 = {},
  16538. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  16539. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  16540. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  16541. sum = scaledWhiteness + scaledBlackness;
  16542. if (sum > 1) {
  16543. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  16544. scaledBlackness /= sum;
  16545. } else
  16546. t2 = scaledWhiteness;
  16547. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  16548. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  16549. },
  16550. SassColor__handleNullAlpha(alpha) {
  16551. return alpha;
  16552. },
  16553. SassColor__hueToRgb(m1, m2, hue) {
  16554. var t1;
  16555. if (hue < 0)
  16556. ++hue;
  16557. if (hue > 1)
  16558. --hue;
  16559. $label0$0: {
  16560. if (hue < 0.16666666666666666) {
  16561. t1 = m1 + (m2 - m1) * hue * 6;
  16562. break $label0$0;
  16563. }
  16564. if (hue < 0.5) {
  16565. t1 = m2;
  16566. break $label0$0;
  16567. }
  16568. if (hue < 0.6666666666666666) {
  16569. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  16570. break $label0$0;
  16571. }
  16572. t1 = m1;
  16573. break $label0$0;
  16574. }
  16575. return t1;
  16576. },
  16577. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  16578. var _ = this;
  16579. _._red = t0;
  16580. _._green = t1;
  16581. _._blue = t2;
  16582. _._hue = t3;
  16583. _._saturation = t4;
  16584. _._lightness = t5;
  16585. _._alpha = t6;
  16586. _.format = t7;
  16587. },
  16588. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  16589. this._box_0 = t0;
  16590. this.factor = t1;
  16591. },
  16592. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  16593. this._color$_name = t0;
  16594. },
  16595. SpanColorFormat: function SpanColorFormat(t0) {
  16596. this._color$_span = t0;
  16597. },
  16598. SassFunction: function SassFunction(t0) {
  16599. this.callable = t0;
  16600. },
  16601. SassList$(contents, _separator, brackets) {
  16602. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  16603. t1.SassList$3$brackets(contents, _separator, brackets);
  16604. return t1;
  16605. },
  16606. SassList: function SassList(t0, t1, t2) {
  16607. this._list$_contents = t0;
  16608. this._separator = t1;
  16609. this._hasBrackets = t2;
  16610. },
  16611. SassList_isBlank_closure: function SassList_isBlank_closure() {
  16612. },
  16613. ListSeparator: function ListSeparator(t0, t1, t2) {
  16614. this._list$_name = t0;
  16615. this.separator = t1;
  16616. this._name = t2;
  16617. },
  16618. SassMap: function SassMap(t0) {
  16619. this._map$_contents = t0;
  16620. },
  16621. SassMixin: function SassMixin(t0) {
  16622. this.callable = t0;
  16623. },
  16624. _SassNull: function _SassNull() {
  16625. },
  16626. conversionFactor(unit1, unit2) {
  16627. var _0_0;
  16628. if (unit1 === unit2)
  16629. return 1;
  16630. _0_0 = B.Map_gQqJO.$index(0, unit1);
  16631. if (_0_0 != null)
  16632. return _0_0.$index(0, unit2);
  16633. return null;
  16634. },
  16635. SassNumber_SassNumber(value, unit) {
  16636. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  16637. },
  16638. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  16639. var t1, _0_8_isSet, _0_8, _0_10, _0_10_isSet, _0_7, unit, t2, _0_7_isSet, t3, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  16640. _0_6_isSet = !false,
  16641. _0_6 = _null,
  16642. _0_4 = _null;
  16643. if (_0_6_isSet) {
  16644. _0_4 = (numeratorUnits === null ? type$.List_String._as(numeratorUnits) : numeratorUnits).length;
  16645. t1 = _0_4;
  16646. _0_6 = t1 <= 0;
  16647. _0_8_isSet = _0_6;
  16648. } else
  16649. _0_8_isSet = true;
  16650. _0_8 = _null;
  16651. _0_10 = _null;
  16652. if (_0_8_isSet) {
  16653. _0_8 = denominatorUnits == null;
  16654. t1 = _0_8;
  16655. _0_10_isSet = !t1;
  16656. if (_0_10_isSet) {
  16657. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  16658. t1 = _0_10;
  16659. } else
  16660. t1 = true;
  16661. _0_7 = denominatorUnits;
  16662. } else {
  16663. _0_7 = _null;
  16664. _0_10_isSet = false;
  16665. t1 = false;
  16666. }
  16667. if (t1)
  16668. return new A.UnitlessSassNumber(value, _null);
  16669. t1 = type$.List_String;
  16670. unit = _null;
  16671. t2 = false;
  16672. if (t1._is(numeratorUnits)) {
  16673. _0_7_isSet = true;
  16674. if (_0_6_isSet) {
  16675. t3 = _0_4;
  16676. _0_4_isSet = _0_6_isSet;
  16677. } else {
  16678. _0_4 = numeratorUnits.length;
  16679. t3 = _0_4;
  16680. _0_4_isSet = true;
  16681. }
  16682. if (t3 === 1) {
  16683. unit = numeratorUnits[0];
  16684. if (_0_8_isSet) {
  16685. t2 = _0_8;
  16686. _0_7_isSet0 = _0_8_isSet;
  16687. } else {
  16688. _0_8 = denominatorUnits == null;
  16689. t2 = _0_8;
  16690. _0_7_isSet0 = _0_7_isSet;
  16691. _0_7 = denominatorUnits;
  16692. _0_8_isSet = true;
  16693. }
  16694. if (!t2)
  16695. if (_0_10_isSet) {
  16696. t2 = _0_10;
  16697. _0_7_isSet = _0_7_isSet0;
  16698. } else {
  16699. if (_0_7_isSet0) {
  16700. t2 = _0_7;
  16701. _0_7_isSet = _0_7_isSet0;
  16702. } else {
  16703. t2 = denominatorUnits;
  16704. _0_7 = t2;
  16705. }
  16706. _0_10 = (t2 == null ? t1._as(t2) : t2).length <= 0;
  16707. t2 = _0_10;
  16708. _0_10_isSet = true;
  16709. }
  16710. else {
  16711. _0_7_isSet = _0_7_isSet0;
  16712. t2 = true;
  16713. }
  16714. } else
  16715. _0_7_isSet = _0_8_isSet;
  16716. } else {
  16717. _0_7_isSet = _0_8_isSet;
  16718. _0_4_isSet = _0_6_isSet;
  16719. }
  16720. if (t2)
  16721. return new A.SingleUnitSassNumber(unit, value, _null);
  16722. t2 = numeratorUnits === null;
  16723. t3 = false;
  16724. if (!t2) {
  16725. _0_7_isSet0 = true;
  16726. numerators = numeratorUnits;
  16727. if (_0_8_isSet)
  16728. t3 = _0_8;
  16729. else {
  16730. if (_0_7_isSet)
  16731. t3 = _0_7;
  16732. else {
  16733. t3 = denominatorUnits;
  16734. _0_7_isSet = _0_7_isSet0;
  16735. _0_7 = t3;
  16736. }
  16737. _0_8 = t3 == null;
  16738. t3 = _0_8;
  16739. }
  16740. if (!t3)
  16741. if (_0_10_isSet)
  16742. t3 = _0_10;
  16743. else {
  16744. if (_0_7_isSet)
  16745. t3 = _0_7;
  16746. else {
  16747. t3 = denominatorUnits;
  16748. _0_7_isSet = _0_7_isSet0;
  16749. _0_7 = t3;
  16750. }
  16751. _0_10 = (t3 == null ? t1._as(t3) : t3).length <= 0;
  16752. t3 = _0_10;
  16753. }
  16754. else
  16755. t3 = true;
  16756. } else
  16757. numerators = _null;
  16758. if (t3)
  16759. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  16760. if (!false)
  16761. if (_0_6_isSet)
  16762. t2 = _0_6;
  16763. else {
  16764. if (_0_4_isSet)
  16765. t2 = _0_4;
  16766. else {
  16767. _0_4 = (t2 ? t1._as(numeratorUnits) : numeratorUnits).length;
  16768. t2 = _0_4;
  16769. }
  16770. _0_6 = t2 <= 0;
  16771. t2 = _0_6;
  16772. }
  16773. else
  16774. t2 = true;
  16775. denominators = _null;
  16776. if (t2) {
  16777. if (_0_7_isSet)
  16778. t2 = _0_7;
  16779. else {
  16780. t2 = denominatorUnits;
  16781. _0_7 = t2;
  16782. _0_7_isSet = true;
  16783. }
  16784. t2 = t2 != null;
  16785. if (t2) {
  16786. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  16787. if (denominators == null)
  16788. denominators = t1._as(denominators);
  16789. }
  16790. t1 = t2;
  16791. } else
  16792. t1 = false;
  16793. if (t1)
  16794. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  16795. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  16796. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  16797. denominators = A._setArrayType([], type$.JSArray_String);
  16798. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  16799. denominator = unsimplifiedDenominators[_i];
  16800. i = 0;
  16801. while (true) {
  16802. if (!(i < numerators.length)) {
  16803. simplifiedAway = false;
  16804. break;
  16805. }
  16806. c$0: {
  16807. factor = A.conversionFactor(denominator, numerators[i]);
  16808. if (factor == null)
  16809. break c$0;
  16810. valueDouble *= factor;
  16811. B.JSArray_methods.removeAt$1(numerators, i);
  16812. simplifiedAway = true;
  16813. break;
  16814. }
  16815. ++i;
  16816. }
  16817. if (!simplifiedAway)
  16818. denominators.push(denominator);
  16819. }
  16820. $label0$1: {
  16821. _1_2 = numerators.length;
  16822. t1 = _1_2;
  16823. _1_7_isSet = t1 <= 0;
  16824. if (_1_7_isSet) {
  16825. _1_7 = denominators.length <= 0;
  16826. t1 = _1_7;
  16827. } else {
  16828. _1_7 = _null;
  16829. t1 = false;
  16830. }
  16831. if (t1) {
  16832. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  16833. break $label0$1;
  16834. }
  16835. t1 = false;
  16836. if (_1_2 === 1) {
  16837. unit = numerators[0];
  16838. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  16839. } else
  16840. unit = _null;
  16841. if (t1) {
  16842. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  16843. break $label0$1;
  16844. }
  16845. t1 = type$.String;
  16846. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  16847. break $label0$1;
  16848. }
  16849. return t1;
  16850. },
  16851. SassNumber: function SassNumber() {
  16852. },
  16853. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  16854. var _ = this;
  16855. _.$this = t0;
  16856. _.other = t1;
  16857. _.otherName = t2;
  16858. _.otherHasUnits = t3;
  16859. _.name = t4;
  16860. _.newNumerators = t5;
  16861. _.newDenominators = t6;
  16862. },
  16863. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  16864. this._box_0 = t0;
  16865. this.newNumerator = t1;
  16866. },
  16867. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  16868. this.compatibilityException = t0;
  16869. },
  16870. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  16871. this._box_0 = t0;
  16872. this.newDenominator = t1;
  16873. },
  16874. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  16875. this.compatibilityException = t0;
  16876. },
  16877. SassNumber_plus_closure: function SassNumber_plus_closure() {
  16878. },
  16879. SassNumber_minus_closure: function SassNumber_minus_closure() {
  16880. },
  16881. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  16882. this._box_0 = t0;
  16883. this.numerator = t1;
  16884. },
  16885. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  16886. this.newNumerators = t0;
  16887. this.numerator = t1;
  16888. },
  16889. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  16890. this._box_0 = t0;
  16891. this.numerator = t1;
  16892. },
  16893. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  16894. this.newNumerators = t0;
  16895. this.numerator = t1;
  16896. },
  16897. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  16898. this.units2 = t0;
  16899. },
  16900. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  16901. },
  16902. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  16903. this.$this = t0;
  16904. },
  16905. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  16906. },
  16907. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  16908. },
  16909. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  16910. var _ = this;
  16911. _._numeratorUnits = t0;
  16912. _._denominatorUnits = t1;
  16913. _._number$_value = t2;
  16914. _.hashCache = null;
  16915. _.asSlash = t3;
  16916. },
  16917. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  16918. var _ = this;
  16919. _._unit = t0;
  16920. _._number$_value = t1;
  16921. _.hashCache = null;
  16922. _.asSlash = t2;
  16923. },
  16924. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  16925. this.$this = t0;
  16926. this.unit = t1;
  16927. },
  16928. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  16929. this.$this = t0;
  16930. },
  16931. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  16932. this._box_0 = t0;
  16933. this.$this = t1;
  16934. },
  16935. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  16936. this._box_0 = t0;
  16937. this.$this = t1;
  16938. },
  16939. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  16940. this._number$_value = t0;
  16941. this.hashCache = null;
  16942. this.asSlash = t1;
  16943. },
  16944. SassString$(_text, quotes) {
  16945. return new A.SassString(_text, quotes);
  16946. },
  16947. SassString: function SassString(t0, t1) {
  16948. var _ = this;
  16949. _._string$_text = t0;
  16950. _._hasQuotes = t1;
  16951. _.__SassString__sassLength_FI = $;
  16952. _._hashCache = null;
  16953. },
  16954. AnySelectorVisitor: function AnySelectorVisitor() {
  16955. },
  16956. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  16957. this.$this = t0;
  16958. },
  16959. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  16960. this.$this = t0;
  16961. },
  16962. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  16963. var t1 = type$.Uri,
  16964. t2 = type$.Module_AsyncCallable,
  16965. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  16966. 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);
  16967. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  16968. return t1;
  16969. },
  16970. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  16971. var _ = this;
  16972. _._async_evaluate$_importCache = t0;
  16973. _._async_evaluate$_nodeImporter = t1;
  16974. _._async_evaluate$_builtInFunctions = t2;
  16975. _._async_evaluate$_builtInModules = t3;
  16976. _._async_evaluate$_modules = t4;
  16977. _._async_evaluate$_moduleConfigurations = t5;
  16978. _._async_evaluate$_moduleNodes = t6;
  16979. _._async_evaluate$_logger = t7;
  16980. _._async_evaluate$_warningsEmitted = t8;
  16981. _._async_evaluate$_quietDeps = t9;
  16982. _._async_evaluate$_sourceMap = t10;
  16983. _._async_evaluate$_environment = t11;
  16984. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  16985. _._async_evaluate$_member = "root stylesheet";
  16986. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  16987. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  16988. _._async_evaluate$_loadedUrls = t12;
  16989. _._async_evaluate$_activeModules = t13;
  16990. _._async_evaluate$_stack = t14;
  16991. _._async_evaluate$_importer = null;
  16992. _._async_evaluate$_inDependency = false;
  16993. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  16994. _._async_evaluate$_configuration = t15;
  16995. },
  16996. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  16997. this.$this = t0;
  16998. },
  16999. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  17000. this.$this = t0;
  17001. },
  17002. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  17003. this.$this = t0;
  17004. },
  17005. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  17006. this.$this = t0;
  17007. },
  17008. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  17009. this.$this = t0;
  17010. },
  17011. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  17012. this.$this = t0;
  17013. },
  17014. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  17015. this.$this = t0;
  17016. },
  17017. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  17018. this.$this = t0;
  17019. },
  17020. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  17021. this.$this = t0;
  17022. },
  17023. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  17024. this.$this = t0;
  17025. this.name = t1;
  17026. this.module = t2;
  17027. },
  17028. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  17029. this.$this = t0;
  17030. },
  17031. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  17032. this.$this = t0;
  17033. this.name = t1;
  17034. this.module = t2;
  17035. },
  17036. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  17037. this.$this = t0;
  17038. },
  17039. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  17040. this.$this = t0;
  17041. },
  17042. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  17043. this.values = t0;
  17044. this.span = t1;
  17045. this.callableNode = t2;
  17046. },
  17047. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  17048. this.$this = t0;
  17049. },
  17050. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  17051. this.$this = t0;
  17052. },
  17053. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  17054. this.$this = t0;
  17055. this.node = t1;
  17056. this.importer = t2;
  17057. },
  17058. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  17059. this.$this = t0;
  17060. this.importer = t1;
  17061. this.node = t2;
  17062. },
  17063. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  17064. this._box_1 = t0;
  17065. this.callback = t1;
  17066. },
  17067. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  17068. var _ = this;
  17069. _.$this = t0;
  17070. _.url = t1;
  17071. _.nodeWithSpan = t2;
  17072. _.baseUrl = t3;
  17073. _.namesInErrors = t4;
  17074. _.configuration = t5;
  17075. _.callback = t6;
  17076. },
  17077. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  17078. this.$this = t0;
  17079. this.message = t1;
  17080. },
  17081. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  17082. this._box_0 = t0;
  17083. this.callback = t1;
  17084. this.firstLoad = t2;
  17085. },
  17086. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17087. var _ = this;
  17088. _.$this = t0;
  17089. _.importer = t1;
  17090. _.stylesheet = t2;
  17091. _.extensionStore = t3;
  17092. _.configuration = t4;
  17093. _.css = t5;
  17094. _.preModuleComments = t6;
  17095. },
  17096. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  17097. },
  17098. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  17099. this.selectors = t0;
  17100. },
  17101. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  17102. var _ = this;
  17103. _.$this = t0;
  17104. _.seen = t1;
  17105. _.clone = t2;
  17106. _.css = t3;
  17107. _.imports = t4;
  17108. _.sorted = t5;
  17109. },
  17110. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  17111. this.originalSelectors = t0;
  17112. },
  17113. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  17114. },
  17115. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  17116. this.$this = t0;
  17117. this.node = t1;
  17118. },
  17119. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  17120. this.$this = t0;
  17121. this.node = t1;
  17122. },
  17123. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  17124. this.$this = t0;
  17125. this.newParent = t1;
  17126. this.node = t2;
  17127. },
  17128. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  17129. this.$this = t0;
  17130. this.innerScope = t1;
  17131. },
  17132. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  17133. this.$this = t0;
  17134. this.innerScope = t1;
  17135. },
  17136. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  17137. this.innerScope = t0;
  17138. this.callback = t1;
  17139. },
  17140. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  17141. this.$this = t0;
  17142. this.innerScope = t1;
  17143. },
  17144. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  17145. },
  17146. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  17147. this.$this = t0;
  17148. this.innerScope = t1;
  17149. },
  17150. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  17151. this.$this = t0;
  17152. this.content = t1;
  17153. },
  17154. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  17155. this._box_0 = t0;
  17156. this.$this = t1;
  17157. },
  17158. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  17159. this._box_0 = t0;
  17160. this.$this = t1;
  17161. this.nodeWithSpan = t2;
  17162. },
  17163. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  17164. this._box_0 = t0;
  17165. this.$this = t1;
  17166. this.nodeWithSpan = t2;
  17167. },
  17168. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  17169. var _ = this;
  17170. _.$this = t0;
  17171. _.list = t1;
  17172. _.setVariables = t2;
  17173. _.node = t3;
  17174. },
  17175. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  17176. this.$this = t0;
  17177. this.setVariables = t1;
  17178. this.node = t2;
  17179. },
  17180. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  17181. this.$this = t0;
  17182. },
  17183. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  17184. this.$this = t0;
  17185. },
  17186. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  17187. this.$this = t0;
  17188. this.name = t1;
  17189. this.children = t2;
  17190. },
  17191. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  17192. this.$this = t0;
  17193. this.children = t1;
  17194. },
  17195. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  17196. },
  17197. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  17198. this.$this = t0;
  17199. this.node = t1;
  17200. },
  17201. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  17202. this.$this = t0;
  17203. this.node = t1;
  17204. },
  17205. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  17206. this.fromNumber = t0;
  17207. },
  17208. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  17209. this.toNumber = t0;
  17210. this.fromNumber = t1;
  17211. },
  17212. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  17213. var _ = this;
  17214. _._box_0 = t0;
  17215. _.$this = t1;
  17216. _.node = t2;
  17217. _.from = t3;
  17218. _.direction = t4;
  17219. _.fromNumber = t5;
  17220. },
  17221. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  17222. this.$this = t0;
  17223. },
  17224. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  17225. this.$this = t0;
  17226. this.node = t1;
  17227. },
  17228. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  17229. this.$this = t0;
  17230. this.node = t1;
  17231. },
  17232. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  17233. },
  17234. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  17235. this.$this = t0;
  17236. },
  17237. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  17238. this.$this = t0;
  17239. this.clause = t1;
  17240. },
  17241. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  17242. this.$this = t0;
  17243. },
  17244. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  17245. this.$this = t0;
  17246. this.$import = t1;
  17247. },
  17248. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  17249. this.$this = t0;
  17250. },
  17251. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  17252. },
  17253. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  17254. },
  17255. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  17256. var _ = this;
  17257. _._box_0 = t0;
  17258. _.$this = t1;
  17259. _.loadsUserDefinedModules = t2;
  17260. _.environment = t3;
  17261. _.children = t4;
  17262. },
  17263. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  17264. var _ = this;
  17265. _.$this = t0;
  17266. _.$arguments = t1;
  17267. _.mixin = t2;
  17268. _.nodeWithSpanWithoutContent = t3;
  17269. },
  17270. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  17271. var _ = this;
  17272. _.$this = t0;
  17273. _.$arguments = t1;
  17274. _.mixin = t2;
  17275. _.nodeWithSpanWithoutContent = t3;
  17276. },
  17277. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  17278. var _ = this;
  17279. _.$this = t0;
  17280. _.contentCallable = t1;
  17281. _.mixin = t2;
  17282. _.nodeWithSpanWithoutContent = t3;
  17283. },
  17284. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  17285. this.$this = t0;
  17286. this.mixin = t1;
  17287. this.nodeWithSpanWithoutContent = t2;
  17288. },
  17289. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  17290. this.$this = t0;
  17291. this.mixin = t1;
  17292. this.nodeWithSpanWithoutContent = t2;
  17293. },
  17294. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  17295. this.$this = t0;
  17296. this.statement = t1;
  17297. },
  17298. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  17299. this.$this = t0;
  17300. this.node = t1;
  17301. },
  17302. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  17303. this.$this = t0;
  17304. },
  17305. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  17306. this.node = t0;
  17307. },
  17308. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  17309. this.$this = t0;
  17310. this.queries = t1;
  17311. },
  17312. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  17313. var _ = this;
  17314. _.$this = t0;
  17315. _.mergedQueries = t1;
  17316. _.queries = t2;
  17317. _.mergedSources = t3;
  17318. _.node = t4;
  17319. },
  17320. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  17321. this.$this = t0;
  17322. this.node = t1;
  17323. },
  17324. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  17325. this.$this = t0;
  17326. this.node = t1;
  17327. },
  17328. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  17329. this.mergedSources = t0;
  17330. },
  17331. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  17332. this.$this = t0;
  17333. this.node = t1;
  17334. },
  17335. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  17336. },
  17337. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  17338. this.$this = t0;
  17339. this.rule = t1;
  17340. this.node = t2;
  17341. },
  17342. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  17343. this.$this = t0;
  17344. this.node = t1;
  17345. },
  17346. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  17347. },
  17348. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  17349. },
  17350. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  17351. this.$this = t0;
  17352. this.node = t1;
  17353. },
  17354. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  17355. this.$this = t0;
  17356. this.node = t1;
  17357. },
  17358. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  17359. },
  17360. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  17361. this._box_0 = t0;
  17362. this.$this = t1;
  17363. },
  17364. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  17365. this._box_0 = t0;
  17366. this.$this = t1;
  17367. this.node = t2;
  17368. },
  17369. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  17370. this.$this = t0;
  17371. this.node = t1;
  17372. },
  17373. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  17374. this.$this = t0;
  17375. this.node = t1;
  17376. this.value = t2;
  17377. },
  17378. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  17379. this.$this = t0;
  17380. this.node = t1;
  17381. },
  17382. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  17383. this.$this = t0;
  17384. this.node = t1;
  17385. },
  17386. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  17387. this.$this = t0;
  17388. this.node = t1;
  17389. },
  17390. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  17391. this.$this = t0;
  17392. },
  17393. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  17394. this.$this = t0;
  17395. this.node = t1;
  17396. },
  17397. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  17398. },
  17399. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  17400. this.$this = t0;
  17401. this.node = t1;
  17402. },
  17403. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  17404. this.node = t0;
  17405. this.operand = t1;
  17406. },
  17407. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  17408. this.$this = t0;
  17409. },
  17410. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  17411. this.$this = t0;
  17412. this.node = t1;
  17413. },
  17414. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  17415. },
  17416. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  17417. this._box_0 = t0;
  17418. this.$this = t1;
  17419. this.node = t2;
  17420. },
  17421. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  17422. this.$this = t0;
  17423. this.node = t1;
  17424. },
  17425. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  17426. var _ = this;
  17427. _._box_0 = t0;
  17428. _.$this = t1;
  17429. _.node = t2;
  17430. _.inLegacySassFunction = t3;
  17431. },
  17432. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  17433. this.$this = t0;
  17434. this.node = t1;
  17435. this.$function = t2;
  17436. },
  17437. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  17438. var _ = this;
  17439. _.$this = t0;
  17440. _.callable = t1;
  17441. _.evaluated = t2;
  17442. _.nodeWithSpan = t3;
  17443. _.run = t4;
  17444. _.V = t5;
  17445. },
  17446. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  17447. var _ = this;
  17448. _.$this = t0;
  17449. _.evaluated = t1;
  17450. _.callable = t2;
  17451. _.nodeWithSpan = t3;
  17452. _.run = t4;
  17453. _.V = t5;
  17454. },
  17455. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  17456. var _ = this;
  17457. _.$this = t0;
  17458. _.evaluated = t1;
  17459. _.callable = t2;
  17460. _.nodeWithSpan = t3;
  17461. _.run = t4;
  17462. _.V = t5;
  17463. },
  17464. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  17465. },
  17466. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  17467. this.$this = t0;
  17468. this.callable = t1;
  17469. },
  17470. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  17471. this._box_0 = t0;
  17472. this.evaluated = t1;
  17473. this.namedSet = t2;
  17474. },
  17475. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  17476. this._box_0 = t0;
  17477. this.evaluated = t1;
  17478. },
  17479. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  17480. },
  17481. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  17482. },
  17483. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  17484. this.$this = t0;
  17485. this.restNodeForSpan = t1;
  17486. },
  17487. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  17488. var _ = this;
  17489. _.$this = t0;
  17490. _.named = t1;
  17491. _.restNodeForSpan = t2;
  17492. _.namedNodes = t3;
  17493. },
  17494. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  17495. },
  17496. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  17497. this.restArgs = t0;
  17498. },
  17499. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  17500. this.$this = t0;
  17501. this.restNodeForSpan = t1;
  17502. this.restArgs = t2;
  17503. },
  17504. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  17505. var _ = this;
  17506. _.$this = t0;
  17507. _.named = t1;
  17508. _.restNodeForSpan = t2;
  17509. _.restArgs = t3;
  17510. },
  17511. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  17512. this.$this = t0;
  17513. this.keywordRestNodeForSpan = t1;
  17514. this.keywordRestArgs = t2;
  17515. },
  17516. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  17517. var _ = this;
  17518. _.$this = t0;
  17519. _.values = t1;
  17520. _.convert = t2;
  17521. _.expressionNode = t3;
  17522. _.map = t4;
  17523. _.nodeWithSpan = t5;
  17524. },
  17525. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  17526. this.$arguments = t0;
  17527. this.positional = t1;
  17528. this.named = t2;
  17529. },
  17530. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  17531. this.$this = t0;
  17532. this.node = t1;
  17533. },
  17534. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  17535. },
  17536. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  17537. this.$this = t0;
  17538. this.node = t1;
  17539. },
  17540. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  17541. },
  17542. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  17543. this.$this = t0;
  17544. this.node = t1;
  17545. },
  17546. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  17547. var _ = this;
  17548. _.$this = t0;
  17549. _.mergedQueries = t1;
  17550. _.node = t2;
  17551. _.mergedSources = t3;
  17552. },
  17553. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  17554. this.$this = t0;
  17555. this.node = t1;
  17556. },
  17557. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  17558. this.$this = t0;
  17559. this.node = t1;
  17560. },
  17561. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  17562. this.mergedSources = t0;
  17563. },
  17564. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  17565. this.$this = t0;
  17566. this.rule = t1;
  17567. this.node = t2;
  17568. },
  17569. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  17570. this.$this = t0;
  17571. this.node = t1;
  17572. },
  17573. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  17574. },
  17575. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  17576. this.$this = t0;
  17577. this.node = t1;
  17578. },
  17579. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  17580. this.$this = t0;
  17581. this.node = t1;
  17582. },
  17583. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  17584. },
  17585. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  17586. this.interpolation = t0;
  17587. },
  17588. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  17589. this.value = t0;
  17590. this.quote = t1;
  17591. },
  17592. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  17593. this.$this = t0;
  17594. this.expression = t1;
  17595. },
  17596. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  17597. },
  17598. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  17599. this.$this = t0;
  17600. },
  17601. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  17602. this._async_evaluate$_visitor = t0;
  17603. },
  17604. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  17605. },
  17606. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  17607. this.hasBeenMerged = t0;
  17608. },
  17609. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  17610. },
  17611. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  17612. },
  17613. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  17614. this._async_evaluate$_visitor = t0;
  17615. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  17616. },
  17617. cloneCssStylesheet(stylesheet, extensionStore) {
  17618. var _0_0 = extensionStore.clone$0();
  17619. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  17620. },
  17621. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  17622. this._oldToNewSelectors = t0;
  17623. },
  17624. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17625. var t1 = type$.Uri,
  17626. t2 = type$.Module_Callable,
  17627. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17628. 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);
  17629. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17630. return t1;
  17631. },
  17632. Evaluator: function Evaluator(t0, t1) {
  17633. this._visitor = t0;
  17634. this._importer = t1;
  17635. },
  17636. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  17637. var _ = this;
  17638. _._evaluate$_importCache = t0;
  17639. _._evaluate$_nodeImporter = t1;
  17640. _._builtInFunctions = t2;
  17641. _._builtInModules = t3;
  17642. _._modules = t4;
  17643. _._moduleConfigurations = t5;
  17644. _._moduleNodes = t6;
  17645. _._evaluate$_logger = t7;
  17646. _._warningsEmitted = t8;
  17647. _._quietDeps = t9;
  17648. _._sourceMap = t10;
  17649. _._environment = t11;
  17650. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  17651. _._member = "root stylesheet";
  17652. _._importSpan = _._callableNode = _._currentCallable = null;
  17653. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  17654. _._loadedUrls = t12;
  17655. _._activeModules = t13;
  17656. _._stack = t14;
  17657. _._importer = null;
  17658. _._inDependency = false;
  17659. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  17660. _._configuration = t15;
  17661. },
  17662. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  17663. this.$this = t0;
  17664. },
  17665. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  17666. this.$this = t0;
  17667. },
  17668. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  17669. this.$this = t0;
  17670. },
  17671. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  17672. this.$this = t0;
  17673. },
  17674. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  17675. this.$this = t0;
  17676. },
  17677. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  17678. this.$this = t0;
  17679. },
  17680. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  17681. this.$this = t0;
  17682. },
  17683. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  17684. this.$this = t0;
  17685. },
  17686. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  17687. this.$this = t0;
  17688. },
  17689. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  17690. this.$this = t0;
  17691. this.name = t1;
  17692. this.module = t2;
  17693. },
  17694. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  17695. this.$this = t0;
  17696. },
  17697. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  17698. this.$this = t0;
  17699. this.name = t1;
  17700. this.module = t2;
  17701. },
  17702. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  17703. this.$this = t0;
  17704. },
  17705. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  17706. this.$this = t0;
  17707. },
  17708. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  17709. this.values = t0;
  17710. this.span = t1;
  17711. this.callableNode = t2;
  17712. },
  17713. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  17714. this.$this = t0;
  17715. },
  17716. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  17717. this.$this = t0;
  17718. },
  17719. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  17720. this.$this = t0;
  17721. this.node = t1;
  17722. this.importer = t2;
  17723. },
  17724. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  17725. this.$this = t0;
  17726. this.importer = t1;
  17727. this.node = t2;
  17728. },
  17729. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  17730. this.$this = t0;
  17731. this.importer = t1;
  17732. this.expression = t2;
  17733. },
  17734. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  17735. this.$this = t0;
  17736. this.expression = t1;
  17737. },
  17738. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  17739. this.$this = t0;
  17740. this.expression = t1;
  17741. },
  17742. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  17743. this.$this = t0;
  17744. this.importer = t1;
  17745. this.statement = t2;
  17746. },
  17747. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  17748. this.$this = t0;
  17749. this.statement = t1;
  17750. },
  17751. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  17752. this.$this = t0;
  17753. this.statement = t1;
  17754. },
  17755. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  17756. this._box_1 = t0;
  17757. this.callback = t1;
  17758. },
  17759. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17760. var _ = this;
  17761. _.$this = t0;
  17762. _.url = t1;
  17763. _.nodeWithSpan = t2;
  17764. _.baseUrl = t3;
  17765. _.namesInErrors = t4;
  17766. _.configuration = t5;
  17767. _.callback = t6;
  17768. },
  17769. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  17770. this.$this = t0;
  17771. this.message = t1;
  17772. },
  17773. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  17774. this._box_0 = t0;
  17775. this.callback = t1;
  17776. this.firstLoad = t2;
  17777. },
  17778. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  17779. var _ = this;
  17780. _.$this = t0;
  17781. _.importer = t1;
  17782. _.stylesheet = t2;
  17783. _.extensionStore = t3;
  17784. _.configuration = t4;
  17785. _.css = t5;
  17786. _.preModuleComments = t6;
  17787. },
  17788. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  17789. },
  17790. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  17791. this.selectors = t0;
  17792. },
  17793. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  17794. var _ = this;
  17795. _.$this = t0;
  17796. _.seen = t1;
  17797. _.clone = t2;
  17798. _.css = t3;
  17799. _.imports = t4;
  17800. _.sorted = t5;
  17801. },
  17802. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  17803. this.originalSelectors = t0;
  17804. },
  17805. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  17806. },
  17807. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  17808. this.$this = t0;
  17809. this.node = t1;
  17810. },
  17811. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  17812. this.$this = t0;
  17813. this.node = t1;
  17814. },
  17815. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  17816. this.$this = t0;
  17817. this.newParent = t1;
  17818. this.node = t2;
  17819. },
  17820. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  17821. this.$this = t0;
  17822. this.innerScope = t1;
  17823. },
  17824. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  17825. this.$this = t0;
  17826. this.innerScope = t1;
  17827. },
  17828. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  17829. this.innerScope = t0;
  17830. this.callback = t1;
  17831. },
  17832. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  17833. this.$this = t0;
  17834. this.innerScope = t1;
  17835. },
  17836. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  17837. },
  17838. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  17839. this.$this = t0;
  17840. this.innerScope = t1;
  17841. },
  17842. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  17843. this.$this = t0;
  17844. this.content = t1;
  17845. },
  17846. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  17847. this._box_0 = t0;
  17848. this.$this = t1;
  17849. },
  17850. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  17851. this._box_0 = t0;
  17852. this.$this = t1;
  17853. this.nodeWithSpan = t2;
  17854. },
  17855. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  17856. this._box_0 = t0;
  17857. this.$this = t1;
  17858. this.nodeWithSpan = t2;
  17859. },
  17860. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  17861. var _ = this;
  17862. _.$this = t0;
  17863. _.list = t1;
  17864. _.setVariables = t2;
  17865. _.node = t3;
  17866. },
  17867. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  17868. this.$this = t0;
  17869. this.setVariables = t1;
  17870. this.node = t2;
  17871. },
  17872. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  17873. this.$this = t0;
  17874. },
  17875. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  17876. this.$this = t0;
  17877. },
  17878. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  17879. this.$this = t0;
  17880. this.name = t1;
  17881. this.children = t2;
  17882. },
  17883. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  17884. this.$this = t0;
  17885. this.children = t1;
  17886. },
  17887. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  17888. },
  17889. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  17890. this.$this = t0;
  17891. this.node = t1;
  17892. },
  17893. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  17894. this.$this = t0;
  17895. this.node = t1;
  17896. },
  17897. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  17898. this.fromNumber = t0;
  17899. },
  17900. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  17901. this.toNumber = t0;
  17902. this.fromNumber = t1;
  17903. },
  17904. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  17905. var _ = this;
  17906. _._box_0 = t0;
  17907. _.$this = t1;
  17908. _.node = t2;
  17909. _.from = t3;
  17910. _.direction = t4;
  17911. _.fromNumber = t5;
  17912. },
  17913. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  17914. this.$this = t0;
  17915. },
  17916. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  17917. this.$this = t0;
  17918. this.node = t1;
  17919. },
  17920. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  17921. this.$this = t0;
  17922. this.node = t1;
  17923. },
  17924. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  17925. },
  17926. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  17927. this.$this = t0;
  17928. },
  17929. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  17930. this.$this = t0;
  17931. this.clause = t1;
  17932. },
  17933. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  17934. this.$this = t0;
  17935. },
  17936. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  17937. this.$this = t0;
  17938. this.$import = t1;
  17939. },
  17940. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  17941. this.$this = t0;
  17942. },
  17943. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  17944. },
  17945. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  17946. },
  17947. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  17948. var _ = this;
  17949. _._box_0 = t0;
  17950. _.$this = t1;
  17951. _.loadsUserDefinedModules = t2;
  17952. _.environment = t3;
  17953. _.children = t4;
  17954. },
  17955. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  17956. var _ = this;
  17957. _.$this = t0;
  17958. _.$arguments = t1;
  17959. _.mixin = t2;
  17960. _.nodeWithSpanWithoutContent = t3;
  17961. },
  17962. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  17963. var _ = this;
  17964. _.$this = t0;
  17965. _.$arguments = t1;
  17966. _.mixin = t2;
  17967. _.nodeWithSpanWithoutContent = t3;
  17968. },
  17969. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  17970. var _ = this;
  17971. _.$this = t0;
  17972. _.contentCallable = t1;
  17973. _.mixin = t2;
  17974. _.nodeWithSpanWithoutContent = t3;
  17975. },
  17976. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  17977. this.$this = t0;
  17978. this.mixin = t1;
  17979. this.nodeWithSpanWithoutContent = t2;
  17980. },
  17981. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  17982. this.$this = t0;
  17983. this.mixin = t1;
  17984. this.nodeWithSpanWithoutContent = t2;
  17985. },
  17986. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  17987. this.$this = t0;
  17988. this.statement = t1;
  17989. },
  17990. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  17991. this.$this = t0;
  17992. this.node = t1;
  17993. },
  17994. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  17995. this.$this = t0;
  17996. },
  17997. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  17998. this.node = t0;
  17999. },
  18000. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  18001. this.$this = t0;
  18002. this.queries = t1;
  18003. },
  18004. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  18005. var _ = this;
  18006. _.$this = t0;
  18007. _.mergedQueries = t1;
  18008. _.queries = t2;
  18009. _.mergedSources = t3;
  18010. _.node = t4;
  18011. },
  18012. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  18013. this.$this = t0;
  18014. this.node = t1;
  18015. },
  18016. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  18017. this.$this = t0;
  18018. this.node = t1;
  18019. },
  18020. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  18021. this.mergedSources = t0;
  18022. },
  18023. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  18024. this.$this = t0;
  18025. this.node = t1;
  18026. },
  18027. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  18028. },
  18029. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  18030. this.$this = t0;
  18031. this.rule = t1;
  18032. this.node = t2;
  18033. },
  18034. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  18035. this.$this = t0;
  18036. this.node = t1;
  18037. },
  18038. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  18039. },
  18040. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  18041. },
  18042. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  18043. this.$this = t0;
  18044. this.node = t1;
  18045. },
  18046. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  18047. this.$this = t0;
  18048. this.node = t1;
  18049. },
  18050. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  18051. },
  18052. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  18053. this._box_0 = t0;
  18054. this.$this = t1;
  18055. },
  18056. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  18057. this._box_0 = t0;
  18058. this.$this = t1;
  18059. this.node = t2;
  18060. },
  18061. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  18062. this.$this = t0;
  18063. this.node = t1;
  18064. },
  18065. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  18066. this.$this = t0;
  18067. this.node = t1;
  18068. this.value = t2;
  18069. },
  18070. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  18071. this.$this = t0;
  18072. this.node = t1;
  18073. },
  18074. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  18075. this.$this = t0;
  18076. this.node = t1;
  18077. },
  18078. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  18079. this.$this = t0;
  18080. this.node = t1;
  18081. },
  18082. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  18083. this.$this = t0;
  18084. },
  18085. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  18086. this.$this = t0;
  18087. this.node = t1;
  18088. },
  18089. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  18090. },
  18091. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  18092. this.$this = t0;
  18093. this.node = t1;
  18094. },
  18095. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  18096. this.node = t0;
  18097. this.operand = t1;
  18098. },
  18099. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  18100. this.$this = t0;
  18101. },
  18102. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  18103. this.$this = t0;
  18104. this.node = t1;
  18105. },
  18106. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  18107. },
  18108. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  18109. this._box_0 = t0;
  18110. this.$this = t1;
  18111. this.node = t2;
  18112. },
  18113. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  18114. this.$this = t0;
  18115. this.node = t1;
  18116. },
  18117. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  18118. var _ = this;
  18119. _._box_0 = t0;
  18120. _.$this = t1;
  18121. _.node = t2;
  18122. _.inLegacySassFunction = t3;
  18123. },
  18124. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  18125. this.$this = t0;
  18126. this.node = t1;
  18127. this.$function = t2;
  18128. },
  18129. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  18130. var _ = this;
  18131. _.$this = t0;
  18132. _.callable = t1;
  18133. _.evaluated = t2;
  18134. _.nodeWithSpan = t3;
  18135. _.run = t4;
  18136. _.V = t5;
  18137. },
  18138. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  18139. var _ = this;
  18140. _.$this = t0;
  18141. _.evaluated = t1;
  18142. _.callable = t2;
  18143. _.nodeWithSpan = t3;
  18144. _.run = t4;
  18145. _.V = t5;
  18146. },
  18147. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  18148. var _ = this;
  18149. _.$this = t0;
  18150. _.evaluated = t1;
  18151. _.callable = t2;
  18152. _.nodeWithSpan = t3;
  18153. _.run = t4;
  18154. _.V = t5;
  18155. },
  18156. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  18157. },
  18158. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  18159. this.$this = t0;
  18160. this.callable = t1;
  18161. },
  18162. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  18163. this._box_0 = t0;
  18164. this.evaluated = t1;
  18165. this.namedSet = t2;
  18166. },
  18167. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  18168. this._box_0 = t0;
  18169. this.evaluated = t1;
  18170. },
  18171. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  18172. },
  18173. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  18174. },
  18175. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  18176. this.$this = t0;
  18177. this.restNodeForSpan = t1;
  18178. },
  18179. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  18180. var _ = this;
  18181. _.$this = t0;
  18182. _.named = t1;
  18183. _.restNodeForSpan = t2;
  18184. _.namedNodes = t3;
  18185. },
  18186. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  18187. },
  18188. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  18189. this.restArgs = t0;
  18190. },
  18191. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  18192. this.$this = t0;
  18193. this.restNodeForSpan = t1;
  18194. this.restArgs = t2;
  18195. },
  18196. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  18197. var _ = this;
  18198. _.$this = t0;
  18199. _.named = t1;
  18200. _.restNodeForSpan = t2;
  18201. _.restArgs = t3;
  18202. },
  18203. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  18204. this.$this = t0;
  18205. this.keywordRestNodeForSpan = t1;
  18206. this.keywordRestArgs = t2;
  18207. },
  18208. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  18209. var _ = this;
  18210. _.$this = t0;
  18211. _.values = t1;
  18212. _.convert = t2;
  18213. _.expressionNode = t3;
  18214. _.map = t4;
  18215. _.nodeWithSpan = t5;
  18216. },
  18217. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  18218. this.$arguments = t0;
  18219. this.positional = t1;
  18220. this.named = t2;
  18221. },
  18222. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  18223. this.$this = t0;
  18224. this.node = t1;
  18225. },
  18226. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  18227. },
  18228. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18229. this.$this = t0;
  18230. this.node = t1;
  18231. },
  18232. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  18233. },
  18234. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  18235. this.$this = t0;
  18236. this.node = t1;
  18237. },
  18238. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  18239. var _ = this;
  18240. _.$this = t0;
  18241. _.mergedQueries = t1;
  18242. _.node = t2;
  18243. _.mergedSources = t3;
  18244. },
  18245. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  18246. this.$this = t0;
  18247. this.node = t1;
  18248. },
  18249. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  18250. this.$this = t0;
  18251. this.node = t1;
  18252. },
  18253. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  18254. this.mergedSources = t0;
  18255. },
  18256. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  18257. this.$this = t0;
  18258. this.rule = t1;
  18259. this.node = t2;
  18260. },
  18261. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  18262. this.$this = t0;
  18263. this.node = t1;
  18264. },
  18265. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  18266. },
  18267. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  18268. this.$this = t0;
  18269. this.node = t1;
  18270. },
  18271. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  18272. this.$this = t0;
  18273. this.node = t1;
  18274. },
  18275. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  18276. },
  18277. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  18278. this.interpolation = t0;
  18279. },
  18280. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  18281. this.value = t0;
  18282. this.quote = t1;
  18283. },
  18284. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  18285. this.$this = t0;
  18286. this.expression = t1;
  18287. },
  18288. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  18289. },
  18290. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  18291. this.$this = t0;
  18292. },
  18293. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  18294. this._visitor = t0;
  18295. },
  18296. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  18297. },
  18298. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  18299. this.hasBeenMerged = t0;
  18300. },
  18301. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  18302. },
  18303. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  18304. },
  18305. _EvaluationContext: function _EvaluationContext(t0, t1) {
  18306. this._visitor = t0;
  18307. this._defaultWarnNodeWithSpan = t1;
  18308. },
  18309. EveryCssVisitor: function EveryCssVisitor() {
  18310. },
  18311. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  18312. this.$this = t0;
  18313. },
  18314. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  18315. this.$this = t0;
  18316. },
  18317. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  18318. this.$this = t0;
  18319. },
  18320. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  18321. this.$this = t0;
  18322. },
  18323. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  18324. this.$this = t0;
  18325. },
  18326. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  18327. this.$this = t0;
  18328. },
  18329. expressionToCalc(expression) {
  18330. var t4,
  18331. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  18332. t2 = expression.get$span(0),
  18333. t3 = type$.Expression;
  18334. t1 = A.List_List$unmodifiable(t1, t3);
  18335. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  18336. t4 = expression.get$span(0);
  18337. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentInvocation(t1, t3, null, null, t2), t4);
  18338. },
  18339. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  18340. },
  18341. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  18342. },
  18343. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  18344. var _ = this;
  18345. _._find_dependencies$_uses = t0;
  18346. _._find_dependencies$_forwards = t1;
  18347. _._metaLoadCss = t2;
  18348. _._imports = t3;
  18349. _._metaNamespaces = t4;
  18350. },
  18351. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  18352. var _ = this;
  18353. _.uses = t0;
  18354. _.forwards = t1;
  18355. _.metaLoadCss = t2;
  18356. _.imports = t3;
  18357. },
  18358. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  18359. },
  18360. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  18361. },
  18362. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  18363. },
  18364. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  18365. this.$this = t0;
  18366. },
  18367. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  18368. this.$this = t0;
  18369. },
  18370. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  18371. this.$this = t0;
  18372. },
  18373. SelectorSearchVisitor: function SelectorSearchVisitor() {
  18374. },
  18375. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  18376. this.$this = t0;
  18377. },
  18378. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  18379. this.$this = t0;
  18380. },
  18381. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  18382. var t1, css, t2, prefix,
  18383. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  18384. node.accept$1(visitor);
  18385. t1 = visitor._serialize$_buffer;
  18386. css = t1.toString$0(0);
  18387. if (charset) {
  18388. t2 = new A.CodeUnits(css);
  18389. t2 = t2.any$1(t2, new A.serialize_closure());
  18390. } else
  18391. t2 = false;
  18392. if (t2)
  18393. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  18394. else
  18395. prefix = "";
  18396. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  18397. return new A._Record_2_sourceMap(prefix + css, t1);
  18398. },
  18399. serializeValue(value, inspect, quote) {
  18400. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  18401. value.accept$1(visitor);
  18402. return visitor._serialize$_buffer.toString$0(0);
  18403. },
  18404. serializeSelector(selector, inspect) {
  18405. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  18406. selector.accept$1(visitor);
  18407. return visitor._serialize$_buffer.toString$0(0);
  18408. },
  18409. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  18410. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  18411. t2 = style == null ? B.OutputStyle_0 : style,
  18412. t3 = indentWidth == null ? 2 : indentWidth;
  18413. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  18414. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  18415. },
  18416. serialize_closure: function serialize_closure() {
  18417. },
  18418. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  18419. var _ = this;
  18420. _._serialize$_buffer = t0;
  18421. _._indentation = 0;
  18422. _._style = t1;
  18423. _._inspect = t2;
  18424. _._quote = t3;
  18425. _._indentCharacter = t4;
  18426. _._indentWidth = t5;
  18427. _._serialize$_lineFeed = t6;
  18428. },
  18429. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  18430. this.$this = t0;
  18431. this.node = t1;
  18432. },
  18433. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  18434. this.$this = t0;
  18435. this.node = t1;
  18436. },
  18437. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  18438. this.$this = t0;
  18439. this.node = t1;
  18440. },
  18441. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  18442. this.$this = t0;
  18443. this.node = t1;
  18444. },
  18445. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  18446. this.$this = t0;
  18447. this.node = t1;
  18448. },
  18449. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18450. this.$this = t0;
  18451. this.node = t1;
  18452. },
  18453. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  18454. this.$this = t0;
  18455. this.node = t1;
  18456. },
  18457. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  18458. this.$this = t0;
  18459. this.node = t1;
  18460. },
  18461. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  18462. this.$this = t0;
  18463. this.node = t1;
  18464. },
  18465. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  18466. this.$this = t0;
  18467. this.node = t1;
  18468. },
  18469. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  18470. },
  18471. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  18472. this.$this = t0;
  18473. this.value = t1;
  18474. },
  18475. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  18476. this.$this = t0;
  18477. },
  18478. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  18479. this.$this = t0;
  18480. },
  18481. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  18482. },
  18483. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  18484. this.$this = t0;
  18485. this.value = t1;
  18486. },
  18487. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  18488. this.$this = t0;
  18489. this.child = t1;
  18490. },
  18491. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  18492. this.$this = t0;
  18493. this.child = t1;
  18494. },
  18495. OutputStyle: function OutputStyle(t0) {
  18496. this._name = t0;
  18497. },
  18498. LineFeed: function LineFeed(t0) {
  18499. this._name = t0;
  18500. },
  18501. StatementSearchVisitor: function StatementSearchVisitor() {
  18502. },
  18503. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  18504. this.$this = t0;
  18505. },
  18506. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  18507. this.$this = t0;
  18508. },
  18509. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  18510. this.$this = t0;
  18511. },
  18512. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  18513. this.$this = t0;
  18514. },
  18515. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  18516. this.$this = t0;
  18517. },
  18518. Entry: function Entry(t0, t1, t2) {
  18519. this.source = t0;
  18520. this.target = t1;
  18521. this.identifierName = t2;
  18522. },
  18523. SingleMapping_SingleMapping$fromEntries(entries) {
  18524. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  18525. sourceEntries = J.toList$0$ax(entries);
  18526. B.JSArray_methods.sort$0(sourceEntries);
  18527. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  18528. t1 = type$.String;
  18529. t2 = type$.int;
  18530. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18531. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18532. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  18533. targetEntries = A._Cell$();
  18534. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  18535. sourceEntry = sourceEntries[_i];
  18536. if (lineNum == null || sourceEntry.target.line > lineNum) {
  18537. lineNum = sourceEntry.target.line;
  18538. t4 = A._setArrayType([], t3);
  18539. targetEntries.__late_helper$_value = t4;
  18540. lines.push(new A.TargetLineEntry(lineNum, t4));
  18541. }
  18542. t4 = sourceEntry.source;
  18543. t5 = t4.file;
  18544. sourceUrl = t5.url;
  18545. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  18546. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  18547. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  18548. t6 = targetEntries.__late_helper$_value;
  18549. if (t6 === targetEntries)
  18550. A.throwExpression(A.LateError$localNI(""));
  18551. t4 = t4.offset;
  18552. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  18553. }
  18554. t2 = urls.get$values(0);
  18555. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  18556. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  18557. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18558. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18559. 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));
  18560. },
  18561. Mapping: function Mapping() {
  18562. },
  18563. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  18564. var _ = this;
  18565. _.urls = t0;
  18566. _.names = t1;
  18567. _.files = t2;
  18568. _.lines = t3;
  18569. _.targetUrl = t4;
  18570. _.sourceRoot = null;
  18571. _.extensions = t5;
  18572. },
  18573. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  18574. this.urls = t0;
  18575. },
  18576. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  18577. this.sourceEntry = t0;
  18578. },
  18579. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  18580. this.files = t0;
  18581. },
  18582. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  18583. },
  18584. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  18585. this.result = t0;
  18586. },
  18587. TargetLineEntry: function TargetLineEntry(t0, t1) {
  18588. this.line = t0;
  18589. this.entries = t1;
  18590. },
  18591. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  18592. var _ = this;
  18593. _.column = t0;
  18594. _.sourceUrlId = t1;
  18595. _.sourceLine = t2;
  18596. _.sourceColumn = t3;
  18597. _.sourceNameId = t4;
  18598. },
  18599. SourceFile$fromString(text, url) {
  18600. var t1 = new A.CodeUnits(text),
  18601. t2 = A._setArrayType([0], type$.JSArray_int),
  18602. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18603. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  18604. t2.SourceFile$decoded$2$url(t1, url);
  18605. return t2;
  18606. },
  18607. SourceFile$decoded(decodedChars, url) {
  18608. var t1 = A._setArrayType([0], type$.JSArray_int),
  18609. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18610. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  18611. t1.SourceFile$decoded$2$url(decodedChars, url);
  18612. return t1;
  18613. },
  18614. FileLocation$_(file, offset) {
  18615. if (offset < 0)
  18616. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18617. else if (offset > file._decodedChars.length)
  18618. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  18619. return new A.FileLocation(file, offset);
  18620. },
  18621. _FileSpan$(file, _start, _end) {
  18622. if (_end < _start)
  18623. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  18624. else if (_end > file._decodedChars.length)
  18625. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  18626. else if (_start < 0)
  18627. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  18628. return new A._FileSpan(file, _start, _end);
  18629. },
  18630. FileSpanExtension_subspan(_this, start, end) {
  18631. var t1, startOffset, t2;
  18632. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  18633. if (start === 0)
  18634. t1 = end == null || end === _this.get$length(_this);
  18635. else
  18636. t1 = false;
  18637. if (t1)
  18638. return _this;
  18639. startOffset = _this.get$start(_this).offset;
  18640. t1 = _this.get$file(_this);
  18641. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  18642. return t1.span$2(0, startOffset + start, t2);
  18643. },
  18644. SourceFile: function SourceFile(t0, t1, t2) {
  18645. var _ = this;
  18646. _.url = t0;
  18647. _._lineStarts = t1;
  18648. _._decodedChars = t2;
  18649. _._cachedLine = null;
  18650. },
  18651. FileLocation: function FileLocation(t0, t1) {
  18652. this.file = t0;
  18653. this.offset = t1;
  18654. },
  18655. _FileSpan: function _FileSpan(t0, t1, t2) {
  18656. this.file = t0;
  18657. this._file$_start = t1;
  18658. this._end = t2;
  18659. },
  18660. Highlighter$(span, color) {
  18661. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  18662. t2 = new A.Highlighter_closure(color).call$0(),
  18663. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  18664. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  18665. t5 = A._arrayInstanceType(t1);
  18666. 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(""));
  18667. },
  18668. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  18669. var t2, t3, t4, t5, t6,
  18670. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  18671. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  18672. t3 = t2.get$current(t2);
  18673. t1.push(A._Highlight$(t3.key, t3.value, false));
  18674. }
  18675. t1 = A.Highlighter__collateLines(t1);
  18676. if (color)
  18677. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  18678. else
  18679. t2 = null;
  18680. if (color)
  18681. t3 = "\x1b[34m";
  18682. else
  18683. t3 = null;
  18684. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  18685. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  18686. t6 = A._arrayInstanceType(t1);
  18687. 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(""));
  18688. },
  18689. Highlighter__contiguous(lines) {
  18690. var i, thisLine, nextLine;
  18691. for (i = 0; i < lines.length - 1;) {
  18692. thisLine = lines[i];
  18693. ++i;
  18694. nextLine = lines[i];
  18695. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  18696. return false;
  18697. }
  18698. return true;
  18699. },
  18700. Highlighter__collateLines(highlights) {
  18701. var t1, t2, t3,
  18702. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  18703. for (t1 = highlightsByUrl.get$values(0), t2 = A._instanceType(t1), 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();) {
  18704. t3 = t1.__internal$_current;
  18705. if (t3 == null)
  18706. t3 = t2._as(t3);
  18707. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  18708. }
  18709. t1 = highlightsByUrl.get$entries(0);
  18710. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  18711. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  18712. },
  18713. _Highlight$(span, label, primary) {
  18714. var t2,
  18715. t1 = new A._Highlight_closure(span).call$0();
  18716. if (label == null)
  18717. t2 = null;
  18718. else
  18719. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  18720. return new A._Highlight(t1, primary, t2);
  18721. },
  18722. _Highlight__normalizeNewlines(span) {
  18723. var endOffset, t1, i, t2, t3, t4,
  18724. text = span.get$text();
  18725. if (!B.JSString_methods.contains$1(text, "\r\n"))
  18726. return span;
  18727. endOffset = span.get$end(span).get$offset();
  18728. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  18729. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  18730. --endOffset;
  18731. t1 = span.get$start(span);
  18732. t2 = span.get$sourceUrl(span);
  18733. t3 = span.get$end(span).get$line();
  18734. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  18735. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  18736. t4 = span.get$context(span);
  18737. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  18738. },
  18739. _Highlight__normalizeTrailingNewline(span) {
  18740. var context, text, start, end, t1, t2, t3;
  18741. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  18742. return span;
  18743. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  18744. return span;
  18745. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  18746. text = span.get$text();
  18747. start = span.get$start(span);
  18748. end = span.get$end(span);
  18749. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  18750. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  18751. t1.toString;
  18752. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  18753. } else
  18754. t1 = false;
  18755. if (t1) {
  18756. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18757. if (text.length === 0)
  18758. end = start;
  18759. else {
  18760. t1 = span.get$end(span).get$offset();
  18761. t2 = span.get$sourceUrl(span);
  18762. t3 = span.get$end(span).get$line();
  18763. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  18764. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  18765. }
  18766. }
  18767. return A.SourceSpanWithContext$(start, end, text, context);
  18768. },
  18769. _Highlight__normalizeEndOfLine(span) {
  18770. var text, t1, t2, t3, t4;
  18771. if (span.get$end(span).get$column() !== 0)
  18772. return span;
  18773. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  18774. return span;
  18775. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18776. t1 = span.get$start(span);
  18777. t2 = span.get$end(span).get$offset();
  18778. t3 = span.get$sourceUrl(span);
  18779. t4 = span.get$end(span).get$line();
  18780. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  18781. 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));
  18782. },
  18783. _Highlight__lastLineLength(text) {
  18784. var t1 = text.length;
  18785. if (t1 === 0)
  18786. return 0;
  18787. else if (text.charCodeAt(t1 - 1) === 10)
  18788. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  18789. else
  18790. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  18791. },
  18792. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  18793. var _ = this;
  18794. _._lines = t0;
  18795. _._primaryColor = t1;
  18796. _._secondaryColor = t2;
  18797. _._paddingBeforeSidebar = t3;
  18798. _._maxMultilineSpans = t4;
  18799. _._multipleFiles = t5;
  18800. _._highlighter$_buffer = t6;
  18801. },
  18802. Highlighter_closure: function Highlighter_closure(t0) {
  18803. this.color = t0;
  18804. },
  18805. Highlighter$__closure: function Highlighter$__closure() {
  18806. },
  18807. Highlighter$___closure: function Highlighter$___closure() {
  18808. },
  18809. Highlighter$__closure0: function Highlighter$__closure0() {
  18810. },
  18811. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  18812. },
  18813. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  18814. },
  18815. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  18816. },
  18817. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  18818. this.line = t0;
  18819. },
  18820. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  18821. },
  18822. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  18823. this.$this = t0;
  18824. },
  18825. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  18826. this.$this = t0;
  18827. this.startLine = t1;
  18828. this.line = t2;
  18829. },
  18830. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  18831. this.$this = t0;
  18832. this.highlight = t1;
  18833. },
  18834. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  18835. this.$this = t0;
  18836. },
  18837. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18838. var _ = this;
  18839. _._box_0 = t0;
  18840. _.$this = t1;
  18841. _.current = t2;
  18842. _.startLine = t3;
  18843. _.line = t4;
  18844. _.highlight = t5;
  18845. _.endLine = t6;
  18846. },
  18847. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  18848. this._box_0 = t0;
  18849. this.$this = t1;
  18850. },
  18851. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  18852. this.$this = t0;
  18853. this.vertical = t1;
  18854. },
  18855. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  18856. var _ = this;
  18857. _.$this = t0;
  18858. _.text = t1;
  18859. _.startColumn = t2;
  18860. _.endColumn = t3;
  18861. },
  18862. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  18863. this.$this = t0;
  18864. this.line = t1;
  18865. this.highlight = t2;
  18866. },
  18867. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  18868. this.$this = t0;
  18869. this.line = t1;
  18870. this.highlight = t2;
  18871. },
  18872. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  18873. var _ = this;
  18874. _.$this = t0;
  18875. _.coversWholeLine = t1;
  18876. _.line = t2;
  18877. _.highlight = t3;
  18878. },
  18879. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  18880. this.$this = t0;
  18881. this.lines = t1;
  18882. },
  18883. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  18884. this.$this = t0;
  18885. this.text = t1;
  18886. },
  18887. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  18888. this._box_0 = t0;
  18889. this.$this = t1;
  18890. this.end = t2;
  18891. },
  18892. _Highlight: function _Highlight(t0, t1, t2) {
  18893. this.span = t0;
  18894. this.isPrimary = t1;
  18895. this.label = t2;
  18896. },
  18897. _Highlight_closure: function _Highlight_closure(t0) {
  18898. this.span = t0;
  18899. },
  18900. _Line: function _Line(t0, t1, t2, t3) {
  18901. var _ = this;
  18902. _.text = t0;
  18903. _.number = t1;
  18904. _.url = t2;
  18905. _.highlights = t3;
  18906. },
  18907. SourceLocation$(offset, column, line, sourceUrl) {
  18908. var t1 = line == null,
  18909. t2 = t1 ? 0 : line,
  18910. t3 = column == null,
  18911. t4 = t3 ? offset : column;
  18912. if (offset < 0)
  18913. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18914. else if (!t1 && line < 0)
  18915. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  18916. else if (!t3 && column < 0)
  18917. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  18918. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  18919. },
  18920. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  18921. var _ = this;
  18922. _.sourceUrl = t0;
  18923. _.offset = t1;
  18924. _.line = t2;
  18925. _.column = t3;
  18926. },
  18927. SourceLocationMixin: function SourceLocationMixin() {
  18928. },
  18929. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  18930. var t2, t3,
  18931. t1 = _this.get$start(_this);
  18932. t1 = t1.file.getLine$1(t1.offset);
  18933. t2 = _this.get$start(_this);
  18934. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  18935. if (_this.get$sourceUrl(_this) != null) {
  18936. t1 = _this.get$sourceUrl(_this);
  18937. t3 = $.$get$context();
  18938. t1.toString;
  18939. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  18940. } else
  18941. t1 = t2;
  18942. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  18943. return t1.charCodeAt(0) == 0 ? t1 : t1;
  18944. },
  18945. SourceSpanBase: function SourceSpanBase() {
  18946. },
  18947. SourceSpanException: function SourceSpanException() {
  18948. },
  18949. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  18950. this.source = t0;
  18951. this._span_exception$_message = t1;
  18952. this._span = t2;
  18953. },
  18954. MultiSourceSpanException: function MultiSourceSpanException() {
  18955. },
  18956. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  18957. var _ = this;
  18958. _.source = t0;
  18959. _.primaryLabel = t1;
  18960. _.secondarySpans = t2;
  18961. _._span_exception$_message = t3;
  18962. _._span = t4;
  18963. },
  18964. SourceSpanMixin: function SourceSpanMixin() {
  18965. },
  18966. SourceSpanWithContext$(start, end, text, _context) {
  18967. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  18968. t1.SourceSpanBase$3(start, end, text);
  18969. if (!B.JSString_methods.contains$1(_context, text))
  18970. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  18971. if (A.findLineStart(_context, text, start.get$column()) == null)
  18972. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  18973. return t1;
  18974. },
  18975. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  18976. var _ = this;
  18977. _._context = t0;
  18978. _.start = t1;
  18979. _.end = t2;
  18980. _.text = t3;
  18981. },
  18982. Chain_Chain$parse(chain) {
  18983. var t1, t2,
  18984. _s51_ = string$.x3d_____;
  18985. if (chain.length === 0)
  18986. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  18987. t1 = $.$get$vmChainGap();
  18988. if (B.JSString_methods.contains$1(chain, t1)) {
  18989. t1 = B.JSString_methods.split$1(chain, t1);
  18990. t2 = A._arrayInstanceType(t1);
  18991. 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));
  18992. }
  18993. if (!B.JSString_methods.contains$1(chain, _s51_))
  18994. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  18995. 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));
  18996. },
  18997. Chain: function Chain(t0) {
  18998. this.traces = t0;
  18999. },
  19000. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  19001. },
  19002. Chain_toTrace_closure: function Chain_toTrace_closure() {
  19003. },
  19004. Chain_toString_closure0: function Chain_toString_closure0() {
  19005. },
  19006. Chain_toString__closure0: function Chain_toString__closure0() {
  19007. },
  19008. Chain_toString_closure: function Chain_toString_closure(t0) {
  19009. this.longest = t0;
  19010. },
  19011. Chain_toString__closure: function Chain_toString__closure(t0) {
  19012. this.longest = t0;
  19013. },
  19014. Frame___parseVM_tearOff(frame) {
  19015. return A.Frame_Frame$parseVM(frame);
  19016. },
  19017. Frame_Frame$parseVM(frame) {
  19018. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  19019. },
  19020. Frame___parseV8_tearOff(frame) {
  19021. return A.Frame_Frame$parseV8(frame);
  19022. },
  19023. Frame_Frame$parseV8(frame) {
  19024. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  19025. },
  19026. Frame_Frame$_parseFirefoxEval(frame) {
  19027. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  19028. },
  19029. Frame___parseFirefox_tearOff(frame) {
  19030. return A.Frame_Frame$parseFirefox(frame);
  19031. },
  19032. Frame_Frame$parseFirefox(frame) {
  19033. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  19034. },
  19035. Frame___parseFriendly_tearOff(frame) {
  19036. return A.Frame_Frame$parseFriendly(frame);
  19037. },
  19038. Frame_Frame$parseFriendly(frame) {
  19039. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  19040. },
  19041. Frame__uriOrPathToUri(uriOrPath) {
  19042. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  19043. return A.Uri_parse(uriOrPath);
  19044. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  19045. return A._Uri__Uri$file(uriOrPath, true);
  19046. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  19047. return A._Uri__Uri$file(uriOrPath, false);
  19048. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  19049. return $.$get$windows().toUri$1(uriOrPath);
  19050. return A.Uri_parse(uriOrPath);
  19051. },
  19052. Frame__catchFormatException(text, body) {
  19053. var t1, exception;
  19054. try {
  19055. t1 = body.call$0();
  19056. return t1;
  19057. } catch (exception) {
  19058. if (type$.FormatException._is(A.unwrapException(exception)))
  19059. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  19060. else
  19061. throw exception;
  19062. }
  19063. },
  19064. Frame: function Frame(t0, t1, t2, t3) {
  19065. var _ = this;
  19066. _.uri = t0;
  19067. _.line = t1;
  19068. _.column = t2;
  19069. _.member = t3;
  19070. },
  19071. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  19072. this.frame = t0;
  19073. },
  19074. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  19075. this.frame = t0;
  19076. },
  19077. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  19078. this.frame = t0;
  19079. },
  19080. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  19081. this.frame = t0;
  19082. },
  19083. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  19084. this.frame = t0;
  19085. },
  19086. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  19087. this.frame = t0;
  19088. },
  19089. LazyTrace: function LazyTrace(t0) {
  19090. this._thunk = t0;
  19091. this.__LazyTrace__trace_FI = $;
  19092. },
  19093. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  19094. this.$this = t0;
  19095. },
  19096. Trace_Trace$from(trace) {
  19097. if (type$.Trace._is(trace))
  19098. return trace;
  19099. if (trace instanceof A.Chain)
  19100. return trace.toTrace$0();
  19101. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  19102. },
  19103. Trace_Trace$parse(trace) {
  19104. var error, t1, exception;
  19105. try {
  19106. if (trace.length === 0) {
  19107. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  19108. return t1;
  19109. }
  19110. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  19111. t1 = A.Trace$parseV8(trace);
  19112. return t1;
  19113. }
  19114. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  19115. t1 = A.Trace$parseJSCore(trace);
  19116. return t1;
  19117. }
  19118. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  19119. t1 = A.Trace$parseFirefox(trace);
  19120. return t1;
  19121. }
  19122. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  19123. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  19124. return t1;
  19125. }
  19126. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  19127. t1 = A.Trace$parseFriendly(trace);
  19128. return t1;
  19129. }
  19130. t1 = A.Trace$parseVM(trace);
  19131. return t1;
  19132. } catch (exception) {
  19133. t1 = A.unwrapException(exception);
  19134. if (type$.FormatException._is(t1)) {
  19135. error = t1;
  19136. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  19137. } else
  19138. throw exception;
  19139. }
  19140. },
  19141. Trace___parseVM_tearOff(trace) {
  19142. return A.Trace$parseVM(trace);
  19143. },
  19144. Trace$parseVM(trace) {
  19145. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  19146. return new A.Trace(t1, new A._StringStackTrace(trace));
  19147. },
  19148. Trace__parseVM(trace) {
  19149. var $frames,
  19150. t1 = B.JSString_methods.trim$0(trace),
  19151. t2 = $.$get$vmChainGap(),
  19152. t3 = type$.WhereIterable_String,
  19153. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  19154. if (!lines.get$iterator(0).moveNext$0())
  19155. return A._setArrayType([], type$.JSArray_Frame);
  19156. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  19157. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  19158. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  19159. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  19160. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(0)));
  19161. return $frames;
  19162. },
  19163. Trace$parseV8(trace) {
  19164. 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()),
  19165. t2 = type$.Frame;
  19166. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  19167. return new A.Trace(t2, new A._StringStackTrace(trace));
  19168. },
  19169. Trace$parseJSCore(trace) {
  19170. 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);
  19171. return new A.Trace(t1, new A._StringStackTrace(trace));
  19172. },
  19173. Trace$parseFirefox(trace) {
  19174. 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);
  19175. return new A.Trace(t1, new A._StringStackTrace(trace));
  19176. },
  19177. Trace___parseFriendly_tearOff(trace) {
  19178. return A.Trace$parseFriendly(trace);
  19179. },
  19180. Trace$parseFriendly(trace) {
  19181. 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);
  19182. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  19183. return new A.Trace(t1, new A._StringStackTrace(trace));
  19184. },
  19185. Trace$($frames, original) {
  19186. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  19187. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  19188. },
  19189. Trace: function Trace(t0, t1) {
  19190. this.frames = t0;
  19191. this.original = t1;
  19192. },
  19193. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  19194. this.trace = t0;
  19195. },
  19196. Trace__parseVM_closure: function Trace__parseVM_closure() {
  19197. },
  19198. Trace$parseV8_closure: function Trace$parseV8_closure() {
  19199. },
  19200. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  19201. },
  19202. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  19203. },
  19204. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  19205. },
  19206. Trace_terse_closure: function Trace_terse_closure() {
  19207. },
  19208. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  19209. this.oldPredicate = t0;
  19210. },
  19211. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  19212. this._box_0 = t0;
  19213. },
  19214. Trace_toString_closure0: function Trace_toString_closure0() {
  19215. },
  19216. Trace_toString_closure: function Trace_toString_closure(t0) {
  19217. this.longest = t0;
  19218. },
  19219. UnparsedFrame: function UnparsedFrame(t0, t1) {
  19220. this.uri = t0;
  19221. this.member = t1;
  19222. },
  19223. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  19224. var _null = null, t1 = {},
  19225. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  19226. t1.subscription = null;
  19227. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  19228. return controller.get$stream();
  19229. },
  19230. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  19231. sink.addError$2(error, stackTrace);
  19232. },
  19233. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  19234. var _ = this;
  19235. _._box_1 = t0;
  19236. _._this = t1;
  19237. _.handleData = t2;
  19238. _.controller = t3;
  19239. _.handleError = t4;
  19240. _.handleDone = t5;
  19241. _.S = t6;
  19242. },
  19243. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  19244. this.handleData = t0;
  19245. this.controller = t1;
  19246. this.S = t2;
  19247. },
  19248. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  19249. this.handleError = t0;
  19250. this.controller = t1;
  19251. },
  19252. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  19253. this._box_0 = t0;
  19254. this.handleDone = t1;
  19255. this.controller = t2;
  19256. },
  19257. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  19258. this._box_1 = t0;
  19259. this._box_0 = t1;
  19260. },
  19261. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  19262. var t1 = {};
  19263. t1.soFar = t1.timer = null;
  19264. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  19265. 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);
  19266. },
  19267. _collect($event, soFar, $T) {
  19268. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  19269. J.add$1$ax(t1, $event);
  19270. return t1;
  19271. },
  19272. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  19273. var _ = this;
  19274. _._box_0 = t0;
  19275. _.S = t1;
  19276. _.collect = t2;
  19277. _.leading = t3;
  19278. _.duration = t4;
  19279. _.trailing = t5;
  19280. _.T = t6;
  19281. },
  19282. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  19283. this._box_0 = t0;
  19284. this.sink = t1;
  19285. this.S = t2;
  19286. },
  19287. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  19288. var _ = this;
  19289. _._box_0 = t0;
  19290. _.trailing = t1;
  19291. _.emit = t2;
  19292. _.sink = t3;
  19293. },
  19294. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  19295. this._box_0 = t0;
  19296. this.trailing = t1;
  19297. this.S = t2;
  19298. },
  19299. StringScannerException$(message, span, source) {
  19300. return new A.StringScannerException(source, message, span);
  19301. },
  19302. StringScannerException: function StringScannerException(t0, t1, t2) {
  19303. this.source = t0;
  19304. this._span_exception$_message = t1;
  19305. this._span = t2;
  19306. },
  19307. LineScanner$(string) {
  19308. return new A.LineScanner(null, string);
  19309. },
  19310. LineScanner: function LineScanner(t0, t1) {
  19311. var _ = this;
  19312. _._line_scanner$_column = _._line_scanner$_line = 0;
  19313. _.sourceUrl = t0;
  19314. _.string = t1;
  19315. _._string_scanner$_position = 0;
  19316. _._lastMatchPosition = _._lastMatch = null;
  19317. },
  19318. SpanScanner$(string, sourceUrl) {
  19319. var t2,
  19320. t1 = A.SourceFile$fromString(string, sourceUrl);
  19321. if (sourceUrl == null)
  19322. t2 = null;
  19323. else
  19324. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19325. return new A.SpanScanner(t1, t2, string);
  19326. },
  19327. SpanScanner: function SpanScanner(t0, t1, t2) {
  19328. var _ = this;
  19329. _._sourceFile = t0;
  19330. _.sourceUrl = t1;
  19331. _.string = t2;
  19332. _._string_scanner$_position = 0;
  19333. _._lastMatchPosition = _._lastMatch = null;
  19334. },
  19335. _SpanScannerState: function _SpanScannerState(t0, t1) {
  19336. this._scanner = t0;
  19337. this.position = t1;
  19338. },
  19339. StringScanner$(string, position, sourceUrl) {
  19340. var t1;
  19341. if (sourceUrl == null)
  19342. t1 = null;
  19343. else
  19344. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19345. return new A.StringScanner(t1, string);
  19346. },
  19347. StringScanner: function StringScanner(t0, t1) {
  19348. var _ = this;
  19349. _.sourceUrl = t0;
  19350. _.string = t1;
  19351. _._string_scanner$_position = 0;
  19352. _._lastMatchPosition = _._lastMatch = null;
  19353. },
  19354. AsciiGlyphSet: function AsciiGlyphSet() {
  19355. },
  19356. UnicodeGlyphSet: function UnicodeGlyphSet() {
  19357. },
  19358. WatchEvent: function WatchEvent(t0, t1) {
  19359. this.type = t0;
  19360. this.path = t1;
  19361. },
  19362. ChangeType: function ChangeType(t0) {
  19363. this._watch_event$_name = t0;
  19364. },
  19365. AnySelectorVisitor0: function AnySelectorVisitor0() {
  19366. },
  19367. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  19368. this.$this = t0;
  19369. },
  19370. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  19371. this.$this = t0;
  19372. },
  19373. SupportsAnything0: function SupportsAnything0(t0, t1) {
  19374. this.contents = t0;
  19375. this.span = t1;
  19376. },
  19377. Argument0: function Argument0(t0, t1, t2) {
  19378. this.name = t0;
  19379. this.defaultValue = t1;
  19380. this.span = t2;
  19381. },
  19382. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  19383. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  19384. },
  19385. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  19386. this.$arguments = t0;
  19387. this.restArgument = t1;
  19388. this.span = t2;
  19389. },
  19390. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  19391. },
  19392. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  19393. },
  19394. ArgumentInvocation$empty0(span) {
  19395. return new A.ArgumentInvocation0(B.List_empty20, B.Map_empty14, null, null, span);
  19396. },
  19397. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  19398. var _ = this;
  19399. _.positional = t0;
  19400. _.named = t1;
  19401. _.rest = t2;
  19402. _.keywordRest = t3;
  19403. _.span = t4;
  19404. },
  19405. argumentListClass_closure: function argumentListClass_closure() {
  19406. },
  19407. argumentListClass__closure: function argumentListClass__closure() {
  19408. },
  19409. argumentListClass__closure0: function argumentListClass__closure0() {
  19410. },
  19411. SassArgumentList$0(contents, keywords, separator) {
  19412. var t1 = type$.Value_2;
  19413. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  19414. t1.SassList$3$brackets0(contents, separator, false);
  19415. return t1;
  19416. },
  19417. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  19418. var _ = this;
  19419. _._argument_list$_keywords = t0;
  19420. _._argument_list$_wereKeywordsAccessed = false;
  19421. _._list1$_contents = t1;
  19422. _._list1$_separator = t2;
  19423. _._list1$_hasBrackets = t3;
  19424. },
  19425. JSArray1: function JSArray1() {
  19426. },
  19427. AsyncImporter0: function AsyncImporter0() {
  19428. },
  19429. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  19430. this._async0$_canonicalize = t0;
  19431. this._load = t1;
  19432. this._nonCanonicalSchemes = t2;
  19433. },
  19434. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  19435. this.$this = t0;
  19436. this.url = t1;
  19437. },
  19438. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  19439. this.$this = t0;
  19440. this.url = t1;
  19441. },
  19442. AsyncBuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  19443. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  19444. },
  19445. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  19446. var _ = this;
  19447. _.name = t0;
  19448. _._async_built_in0$_arguments = t1;
  19449. _._async_built_in0$_callback = t2;
  19450. _.acceptsContent = t3;
  19451. },
  19452. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  19453. this.callback = t0;
  19454. },
  19455. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  19456. var $async$goto = 0,
  19457. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19458. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  19459. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19460. if ($async$errorCode === 1)
  19461. return A._asyncRethrow($async$result, $async$completer);
  19462. while (true)
  19463. switch ($async$goto) {
  19464. case 0:
  19465. // Function start
  19466. t1 = type$.Deprecation_3;
  19467. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19468. if (silenceDeprecations != null)
  19469. t2.addAll$1(0, silenceDeprecations);
  19470. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19471. if (fatalDeprecations != null)
  19472. t3.addAll$1(0, fatalDeprecations);
  19473. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19474. if (futureDeprecations != null)
  19475. t4.addAll$1(0, futureDeprecations);
  19476. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  19477. logger.validate$0();
  19478. t1 = nodeImporter == null;
  19479. if (t1)
  19480. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  19481. else
  19482. t2 = false;
  19483. $async$goto = t2 ? 3 : 5;
  19484. break;
  19485. case 3:
  19486. // then
  19487. if (importCache == null)
  19488. importCache = A.AsyncImportCache$none(logger);
  19489. t2 = $.$get$FilesystemImporter_cwd0();
  19490. t3 = A.isNodeJs() ? self.process : null;
  19491. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  19492. t3 = A.isNodeJs() ? self.process : null;
  19493. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  19494. } else
  19495. t3 = true;
  19496. if (t3) {
  19497. t3 = $.$get$context();
  19498. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  19499. t0 = t4;
  19500. t4 = t3;
  19501. t3 = t0;
  19502. } else {
  19503. t3 = $.$get$context();
  19504. t4 = t3.canonicalize$1(0, path);
  19505. t0 = t4;
  19506. t4 = t3;
  19507. t3 = t0;
  19508. }
  19509. $async$goto = 6;
  19510. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  19511. case 6:
  19512. // returning from await.
  19513. t4 = $async$result;
  19514. t4.toString;
  19515. stylesheet = t4;
  19516. // goto join
  19517. $async$goto = 4;
  19518. break;
  19519. case 5:
  19520. // else
  19521. t2 = A.readFile0(path);
  19522. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  19523. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  19524. case 4:
  19525. // join
  19526. $async$goto = 7;
  19527. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  19528. case 7:
  19529. // returning from await.
  19530. result = $async$result;
  19531. logger.summarize$1$js(!t1);
  19532. $async$returnValue = result;
  19533. // goto return
  19534. $async$goto = 1;
  19535. break;
  19536. case 1:
  19537. // return
  19538. return A._asyncReturn($async$returnValue, $async$completer);
  19539. }
  19540. });
  19541. return A._asyncStartSync($async$compileAsync0, $async$completer);
  19542. },
  19543. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  19544. var $async$goto = 0,
  19545. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19546. $async$returnValue, t3, t4, stylesheet, result, t1, t2;
  19547. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19548. if ($async$errorCode === 1)
  19549. return A._asyncRethrow($async$result, $async$completer);
  19550. while (true)
  19551. switch ($async$goto) {
  19552. case 0:
  19553. // Function start
  19554. t1 = type$.Deprecation_3;
  19555. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19556. if (silenceDeprecations != null)
  19557. t2.addAll$1(0, silenceDeprecations);
  19558. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19559. if (fatalDeprecations != null)
  19560. t3.addAll$1(0, fatalDeprecations);
  19561. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19562. if (futureDeprecations != null)
  19563. t4.addAll$1(0, futureDeprecations);
  19564. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  19565. logger.validate$0();
  19566. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  19567. if (importer == null)
  19568. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  19569. else
  19570. t1 = importer;
  19571. $async$goto = 3;
  19572. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  19573. case 3:
  19574. // returning from await.
  19575. result = $async$result;
  19576. logger.summarize$1$js(nodeImporter != null);
  19577. $async$returnValue = result;
  19578. // goto return
  19579. $async$goto = 1;
  19580. break;
  19581. case 1:
  19582. // return
  19583. return A._asyncReturn($async$returnValue, $async$completer);
  19584. }
  19585. });
  19586. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  19587. },
  19588. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  19589. var $async$goto = 0,
  19590. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19591. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  19592. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19593. if ($async$errorCode === 1)
  19594. return A._asyncRethrow($async$result, $async$completer);
  19595. while (true)
  19596. switch ($async$goto) {
  19597. case 0:
  19598. // Function start
  19599. $async$goto = 3;
  19600. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  19601. case 3:
  19602. // returning from await.
  19603. evaluateResult = $async$result;
  19604. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  19605. resultSourceMap = serializeResult._1;
  19606. if (resultSourceMap != null && importCache != null)
  19607. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  19608. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  19609. // goto return
  19610. $async$goto = 1;
  19611. break;
  19612. case 1:
  19613. // return
  19614. return A._asyncReturn($async$returnValue, $async$completer);
  19615. }
  19616. });
  19617. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  19618. },
  19619. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  19620. this.stylesheet = t0;
  19621. this.importCache = t1;
  19622. },
  19623. AsyncEnvironment$0() {
  19624. var t1 = type$.String,
  19625. t2 = type$.Module_AsyncCallable_2,
  19626. t3 = type$.AstNode_2,
  19627. t4 = type$.int,
  19628. t5 = type$.AsyncCallable_2,
  19629. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  19630. 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);
  19631. },
  19632. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  19633. var t1 = type$.String,
  19634. t2 = type$.int;
  19635. 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);
  19636. },
  19637. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  19638. var t1, t2, t3, t4, t5, t6, module, result, t7;
  19639. if (forwarded == null)
  19640. forwarded = B.Set_empty6;
  19641. t1 = type$.dynamic;
  19642. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  19643. 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();) {
  19644. t6 = t4.get$current(t4);
  19645. module = t6._0;
  19646. result = A.List_List$from(t6._1, false, t5);
  19647. result.fixed$length = Array;
  19648. result.immutable$list = Array;
  19649. t1.$indexSet(0, module, result);
  19650. }
  19651. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  19652. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  19653. 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);
  19654. 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);
  19655. t5 = type$.Map_String_AsyncCallable_2;
  19656. t6 = type$.AsyncCallable_2;
  19657. 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);
  19658. 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);
  19659. 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());
  19660. 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()));
  19661. },
  19662. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  19663. var modulesByVariable, t1, t2, t3, t4, t5;
  19664. if (forwarded.get$isEmpty(forwarded))
  19665. return B.Map_empty16;
  19666. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  19667. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  19668. t2 = t1.get$current(t1);
  19669. if (t2 instanceof A._EnvironmentModule2) {
  19670. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  19671. t4 = t3.get$current(t3);
  19672. t5 = t4.get$variables();
  19673. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  19674. }
  19675. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  19676. } else {
  19677. t3 = t2.get$variables();
  19678. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  19679. }
  19680. }
  19681. return modulesByVariable;
  19682. },
  19683. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  19684. var t1, t2, t3;
  19685. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  19686. if (otherMaps.get$isEmpty(otherMaps))
  19687. return localMap;
  19688. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  19689. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  19690. t3 = t2.get$current(t2);
  19691. if (t3.get$isNotEmpty(t3))
  19692. t1.push(t3);
  19693. }
  19694. t1.push(localMap);
  19695. if (t1.length === 1)
  19696. return localMap;
  19697. return A.MergedMapView$0(t1, type$.String, $V);
  19698. },
  19699. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  19700. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  19701. },
  19702. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  19703. var _ = this;
  19704. _._async_environment0$_modules = t0;
  19705. _._async_environment0$_namespaceNodes = t1;
  19706. _._async_environment0$_globalModules = t2;
  19707. _._async_environment0$_importedModules = t3;
  19708. _._async_environment0$_forwardedModules = t4;
  19709. _._async_environment0$_nestedForwardedModules = t5;
  19710. _._async_environment0$_allModules = t6;
  19711. _._async_environment0$_variables = t7;
  19712. _._async_environment0$_variableNodes = t8;
  19713. _._async_environment0$_variableIndices = t9;
  19714. _._async_environment0$_functions = t10;
  19715. _._async_environment0$_functionIndices = t11;
  19716. _._async_environment0$_mixins = t12;
  19717. _._async_environment0$_mixinIndices = t13;
  19718. _._async_environment0$_content = t14;
  19719. _._async_environment0$_inMixin = false;
  19720. _._async_environment0$_inSemiGlobalScope = true;
  19721. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  19722. },
  19723. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  19724. this.name = t0;
  19725. },
  19726. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  19727. this.$this = t0;
  19728. this.name = t1;
  19729. },
  19730. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  19731. this.name = t0;
  19732. },
  19733. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  19734. this.$this = t0;
  19735. this.name = t1;
  19736. },
  19737. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  19738. this.name = t0;
  19739. },
  19740. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  19741. this.name = t0;
  19742. },
  19743. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  19744. },
  19745. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  19746. },
  19747. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  19748. var _ = this;
  19749. _.upstream = t0;
  19750. _.variables = t1;
  19751. _.variableNodes = t2;
  19752. _.functions = t3;
  19753. _.mixins = t4;
  19754. _.extensionStore = t5;
  19755. _.css = t6;
  19756. _.preModuleComments = t7;
  19757. _.transitivelyContainsCss = t8;
  19758. _.transitivelyContainsExtensions = t9;
  19759. _._async_environment0$_environment = t10;
  19760. _._async_environment0$_modulesByVariable = t11;
  19761. },
  19762. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  19763. },
  19764. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  19765. },
  19766. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  19767. },
  19768. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  19769. },
  19770. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  19771. },
  19772. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  19773. },
  19774. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  19775. var t4,
  19776. t1 = type$.Uri,
  19777. t2 = type$.Module_AsyncCallable_2,
  19778. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  19779. if (importCache == null)
  19780. t4 = nodeImporter == null ? A.AsyncImportCache$none(logger) : null;
  19781. else
  19782. t4 = importCache;
  19783. 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);
  19784. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  19785. return t1;
  19786. },
  19787. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  19788. var _ = this;
  19789. _._async_evaluate0$_importCache = t0;
  19790. _._async_evaluate0$_nodeImporter = t1;
  19791. _._async_evaluate0$_builtInFunctions = t2;
  19792. _._async_evaluate0$_builtInModules = t3;
  19793. _._async_evaluate0$_modules = t4;
  19794. _._async_evaluate0$_moduleConfigurations = t5;
  19795. _._async_evaluate0$_moduleNodes = t6;
  19796. _._async_evaluate0$_logger = t7;
  19797. _._async_evaluate0$_warningsEmitted = t8;
  19798. _._async_evaluate0$_quietDeps = t9;
  19799. _._async_evaluate0$_sourceMap = t10;
  19800. _._async_evaluate0$_environment = t11;
  19801. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  19802. _._async_evaluate0$_member = "root stylesheet";
  19803. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  19804. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  19805. _._async_evaluate0$_loadedUrls = t12;
  19806. _._async_evaluate0$_activeModules = t13;
  19807. _._async_evaluate0$_stack = t14;
  19808. _._async_evaluate0$_importer = null;
  19809. _._async_evaluate0$_inDependency = false;
  19810. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  19811. _._async_evaluate0$_configuration = t15;
  19812. },
  19813. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  19814. this.$this = t0;
  19815. },
  19816. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  19817. this.$this = t0;
  19818. },
  19819. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  19820. this.$this = t0;
  19821. },
  19822. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  19823. this.$this = t0;
  19824. },
  19825. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  19826. this.$this = t0;
  19827. },
  19828. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  19829. this.$this = t0;
  19830. },
  19831. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  19832. this.$this = t0;
  19833. },
  19834. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  19835. this.$this = t0;
  19836. },
  19837. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  19838. this.$this = t0;
  19839. },
  19840. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  19841. this.$this = t0;
  19842. this.name = t1;
  19843. this.module = t2;
  19844. },
  19845. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  19846. this.$this = t0;
  19847. },
  19848. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  19849. this.$this = t0;
  19850. this.name = t1;
  19851. this.module = t2;
  19852. },
  19853. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  19854. this.$this = t0;
  19855. },
  19856. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  19857. this.$this = t0;
  19858. },
  19859. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  19860. this.values = t0;
  19861. this.span = t1;
  19862. this.callableNode = t2;
  19863. },
  19864. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  19865. this.$this = t0;
  19866. },
  19867. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  19868. this.$this = t0;
  19869. },
  19870. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  19871. this.$this = t0;
  19872. this.node = t1;
  19873. this.importer = t2;
  19874. },
  19875. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  19876. this.$this = t0;
  19877. this.importer = t1;
  19878. this.node = t2;
  19879. },
  19880. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  19881. this._box_1 = t0;
  19882. this.callback = t1;
  19883. },
  19884. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  19885. var _ = this;
  19886. _.$this = t0;
  19887. _.url = t1;
  19888. _.nodeWithSpan = t2;
  19889. _.baseUrl = t3;
  19890. _.namesInErrors = t4;
  19891. _.configuration = t5;
  19892. _.callback = t6;
  19893. },
  19894. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  19895. this.$this = t0;
  19896. this.message = t1;
  19897. },
  19898. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  19899. this._box_0 = t0;
  19900. this.callback = t1;
  19901. this.firstLoad = t2;
  19902. },
  19903. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19904. var _ = this;
  19905. _.$this = t0;
  19906. _.importer = t1;
  19907. _.stylesheet = t2;
  19908. _.extensionStore = t3;
  19909. _.configuration = t4;
  19910. _.css = t5;
  19911. _.preModuleComments = t6;
  19912. },
  19913. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  19914. },
  19915. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  19916. this.selectors = t0;
  19917. },
  19918. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  19919. var _ = this;
  19920. _.$this = t0;
  19921. _.seen = t1;
  19922. _.clone = t2;
  19923. _.css = t3;
  19924. _.imports = t4;
  19925. _.sorted = t5;
  19926. },
  19927. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  19928. this.originalSelectors = t0;
  19929. },
  19930. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  19931. },
  19932. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  19933. this.$this = t0;
  19934. this.node = t1;
  19935. },
  19936. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  19937. this.$this = t0;
  19938. this.node = t1;
  19939. },
  19940. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  19941. this.$this = t0;
  19942. this.newParent = t1;
  19943. this.node = t2;
  19944. },
  19945. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  19946. this.$this = t0;
  19947. this.innerScope = t1;
  19948. },
  19949. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  19950. this.$this = t0;
  19951. this.innerScope = t1;
  19952. },
  19953. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  19954. this.innerScope = t0;
  19955. this.callback = t1;
  19956. },
  19957. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  19958. this.$this = t0;
  19959. this.innerScope = t1;
  19960. },
  19961. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  19962. },
  19963. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  19964. this.$this = t0;
  19965. this.innerScope = t1;
  19966. },
  19967. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  19968. this.$this = t0;
  19969. this.content = t1;
  19970. },
  19971. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  19972. this._box_0 = t0;
  19973. this.$this = t1;
  19974. },
  19975. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  19976. this._box_0 = t0;
  19977. this.$this = t1;
  19978. this.nodeWithSpan = t2;
  19979. },
  19980. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  19981. this._box_0 = t0;
  19982. this.$this = t1;
  19983. this.nodeWithSpan = t2;
  19984. },
  19985. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  19986. var _ = this;
  19987. _.$this = t0;
  19988. _.list = t1;
  19989. _.setVariables = t2;
  19990. _.node = t3;
  19991. },
  19992. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  19993. this.$this = t0;
  19994. this.setVariables = t1;
  19995. this.node = t2;
  19996. },
  19997. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  19998. this.$this = t0;
  19999. },
  20000. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  20001. this.$this = t0;
  20002. },
  20003. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  20004. this.$this = t0;
  20005. this.name = t1;
  20006. this.children = t2;
  20007. },
  20008. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  20009. this.$this = t0;
  20010. this.children = t1;
  20011. },
  20012. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  20013. },
  20014. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  20015. this.$this = t0;
  20016. this.node = t1;
  20017. },
  20018. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  20019. this.$this = t0;
  20020. this.node = t1;
  20021. },
  20022. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  20023. this.fromNumber = t0;
  20024. },
  20025. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  20026. this.toNumber = t0;
  20027. this.fromNumber = t1;
  20028. },
  20029. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  20030. var _ = this;
  20031. _._box_0 = t0;
  20032. _.$this = t1;
  20033. _.node = t2;
  20034. _.from = t3;
  20035. _.direction = t4;
  20036. _.fromNumber = t5;
  20037. },
  20038. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  20039. this.$this = t0;
  20040. },
  20041. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  20042. this.$this = t0;
  20043. this.node = t1;
  20044. },
  20045. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  20046. this.$this = t0;
  20047. this.node = t1;
  20048. },
  20049. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  20050. },
  20051. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  20052. this.$this = t0;
  20053. },
  20054. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  20055. this.$this = t0;
  20056. this.clause = t1;
  20057. },
  20058. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  20059. this.$this = t0;
  20060. },
  20061. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  20062. this.$this = t0;
  20063. this.$import = t1;
  20064. },
  20065. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  20066. this.$this = t0;
  20067. },
  20068. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  20069. },
  20070. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  20071. },
  20072. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  20073. var _ = this;
  20074. _._box_0 = t0;
  20075. _.$this = t1;
  20076. _.loadsUserDefinedModules = t2;
  20077. _.environment = t3;
  20078. _.children = t4;
  20079. },
  20080. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  20081. var _ = this;
  20082. _.$this = t0;
  20083. _.$arguments = t1;
  20084. _.mixin = t2;
  20085. _.nodeWithSpanWithoutContent = t3;
  20086. },
  20087. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  20088. var _ = this;
  20089. _.$this = t0;
  20090. _.$arguments = t1;
  20091. _.mixin = t2;
  20092. _.nodeWithSpanWithoutContent = t3;
  20093. },
  20094. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  20095. var _ = this;
  20096. _.$this = t0;
  20097. _.contentCallable = t1;
  20098. _.mixin = t2;
  20099. _.nodeWithSpanWithoutContent = t3;
  20100. },
  20101. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  20102. this.$this = t0;
  20103. this.mixin = t1;
  20104. this.nodeWithSpanWithoutContent = t2;
  20105. },
  20106. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  20107. this.$this = t0;
  20108. this.mixin = t1;
  20109. this.nodeWithSpanWithoutContent = t2;
  20110. },
  20111. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  20112. this.$this = t0;
  20113. this.statement = t1;
  20114. },
  20115. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  20116. this.$this = t0;
  20117. this.node = t1;
  20118. },
  20119. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  20120. this.$this = t0;
  20121. },
  20122. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  20123. this.node = t0;
  20124. },
  20125. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  20126. this.$this = t0;
  20127. this.queries = t1;
  20128. },
  20129. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  20130. var _ = this;
  20131. _.$this = t0;
  20132. _.mergedQueries = t1;
  20133. _.queries = t2;
  20134. _.mergedSources = t3;
  20135. _.node = t4;
  20136. },
  20137. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  20138. this.$this = t0;
  20139. this.node = t1;
  20140. },
  20141. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  20142. this.$this = t0;
  20143. this.node = t1;
  20144. },
  20145. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  20146. this.mergedSources = t0;
  20147. },
  20148. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  20149. this.$this = t0;
  20150. this.node = t1;
  20151. },
  20152. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  20153. },
  20154. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  20155. this.$this = t0;
  20156. this.rule = t1;
  20157. this.node = t2;
  20158. },
  20159. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  20160. this.$this = t0;
  20161. this.node = t1;
  20162. },
  20163. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  20164. },
  20165. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  20166. },
  20167. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  20168. this.$this = t0;
  20169. this.node = t1;
  20170. },
  20171. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  20172. this.$this = t0;
  20173. this.node = t1;
  20174. },
  20175. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  20176. },
  20177. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  20178. this._box_0 = t0;
  20179. this.$this = t1;
  20180. },
  20181. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  20182. this._box_0 = t0;
  20183. this.$this = t1;
  20184. this.node = t2;
  20185. },
  20186. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  20187. this.$this = t0;
  20188. this.node = t1;
  20189. },
  20190. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  20191. this.$this = t0;
  20192. this.node = t1;
  20193. this.value = t2;
  20194. },
  20195. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  20196. this.$this = t0;
  20197. this.node = t1;
  20198. },
  20199. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  20200. this.$this = t0;
  20201. this.node = t1;
  20202. },
  20203. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  20204. this.$this = t0;
  20205. this.node = t1;
  20206. },
  20207. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  20208. this.$this = t0;
  20209. },
  20210. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  20211. this.$this = t0;
  20212. this.node = t1;
  20213. },
  20214. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  20215. },
  20216. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  20217. this.$this = t0;
  20218. this.node = t1;
  20219. },
  20220. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  20221. this.node = t0;
  20222. this.operand = t1;
  20223. },
  20224. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  20225. this.$this = t0;
  20226. },
  20227. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  20228. this.$this = t0;
  20229. this.node = t1;
  20230. },
  20231. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  20232. },
  20233. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  20234. this._box_0 = t0;
  20235. this.$this = t1;
  20236. this.node = t2;
  20237. },
  20238. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  20239. this.$this = t0;
  20240. this.node = t1;
  20241. },
  20242. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  20243. var _ = this;
  20244. _._box_0 = t0;
  20245. _.$this = t1;
  20246. _.node = t2;
  20247. _.inLegacySassFunction = t3;
  20248. },
  20249. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  20250. this.$this = t0;
  20251. this.node = t1;
  20252. this.$function = t2;
  20253. },
  20254. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  20255. var _ = this;
  20256. _.$this = t0;
  20257. _.callable = t1;
  20258. _.evaluated = t2;
  20259. _.nodeWithSpan = t3;
  20260. _.run = t4;
  20261. _.V = t5;
  20262. },
  20263. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  20264. var _ = this;
  20265. _.$this = t0;
  20266. _.evaluated = t1;
  20267. _.callable = t2;
  20268. _.nodeWithSpan = t3;
  20269. _.run = t4;
  20270. _.V = t5;
  20271. },
  20272. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  20273. var _ = this;
  20274. _.$this = t0;
  20275. _.evaluated = t1;
  20276. _.callable = t2;
  20277. _.nodeWithSpan = t3;
  20278. _.run = t4;
  20279. _.V = t5;
  20280. },
  20281. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  20282. },
  20283. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  20284. this.$this = t0;
  20285. this.callable = t1;
  20286. },
  20287. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  20288. this._box_0 = t0;
  20289. this.evaluated = t1;
  20290. this.namedSet = t2;
  20291. },
  20292. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  20293. this._box_0 = t0;
  20294. this.evaluated = t1;
  20295. },
  20296. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  20297. },
  20298. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  20299. },
  20300. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  20301. this.$this = t0;
  20302. this.restNodeForSpan = t1;
  20303. },
  20304. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  20305. var _ = this;
  20306. _.$this = t0;
  20307. _.named = t1;
  20308. _.restNodeForSpan = t2;
  20309. _.namedNodes = t3;
  20310. },
  20311. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  20312. },
  20313. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  20314. this.restArgs = t0;
  20315. },
  20316. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  20317. this.$this = t0;
  20318. this.restNodeForSpan = t1;
  20319. this.restArgs = t2;
  20320. },
  20321. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  20322. var _ = this;
  20323. _.$this = t0;
  20324. _.named = t1;
  20325. _.restNodeForSpan = t2;
  20326. _.restArgs = t3;
  20327. },
  20328. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  20329. this.$this = t0;
  20330. this.keywordRestNodeForSpan = t1;
  20331. this.keywordRestArgs = t2;
  20332. },
  20333. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  20334. var _ = this;
  20335. _.$this = t0;
  20336. _.values = t1;
  20337. _.convert = t2;
  20338. _.expressionNode = t3;
  20339. _.map = t4;
  20340. _.nodeWithSpan = t5;
  20341. },
  20342. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  20343. this.$arguments = t0;
  20344. this.positional = t1;
  20345. this.named = t2;
  20346. },
  20347. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  20348. this.$this = t0;
  20349. this.node = t1;
  20350. },
  20351. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  20352. },
  20353. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  20354. this.$this = t0;
  20355. this.node = t1;
  20356. },
  20357. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  20358. },
  20359. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  20360. this.$this = t0;
  20361. this.node = t1;
  20362. },
  20363. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  20364. var _ = this;
  20365. _.$this = t0;
  20366. _.mergedQueries = t1;
  20367. _.node = t2;
  20368. _.mergedSources = t3;
  20369. },
  20370. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  20371. this.$this = t0;
  20372. this.node = t1;
  20373. },
  20374. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  20375. this.$this = t0;
  20376. this.node = t1;
  20377. },
  20378. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  20379. this.mergedSources = t0;
  20380. },
  20381. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  20382. this.$this = t0;
  20383. this.rule = t1;
  20384. this.node = t2;
  20385. },
  20386. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  20387. this.$this = t0;
  20388. this.node = t1;
  20389. },
  20390. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  20391. },
  20392. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  20393. this.$this = t0;
  20394. this.node = t1;
  20395. },
  20396. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  20397. this.$this = t0;
  20398. this.node = t1;
  20399. },
  20400. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  20401. },
  20402. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  20403. this.interpolation = t0;
  20404. },
  20405. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  20406. this.value = t0;
  20407. this.quote = t1;
  20408. },
  20409. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  20410. this.$this = t0;
  20411. this.expression = t1;
  20412. },
  20413. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  20414. },
  20415. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  20416. this.$this = t0;
  20417. },
  20418. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  20419. this._async_evaluate0$_visitor = t0;
  20420. },
  20421. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  20422. },
  20423. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  20424. this.hasBeenMerged = t0;
  20425. },
  20426. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  20427. },
  20428. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  20429. },
  20430. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  20431. this._async_evaluate0$_visitor = t0;
  20432. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  20433. },
  20434. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  20435. this._findFileUrl = t0;
  20436. },
  20437. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  20438. this.$this = t0;
  20439. this.url = t1;
  20440. },
  20441. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  20442. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20443. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  20444. t3 = type$.Uri,
  20445. t4 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  20446. return new A.AsyncImportCache0(t4, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  20447. },
  20448. AsyncImportCache$none(logger) {
  20449. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20450. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  20451. t3 = type$.Uri;
  20452. return new A.AsyncImportCache0(B.List_empty25, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  20453. },
  20454. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  20455. var t1, t2, t3, t4, _i, path, _null = null,
  20456. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  20457. if (A.isBrowser()) {
  20458. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20459. if (importers != null)
  20460. B.JSArray_methods.addAll$1(t1, importers);
  20461. return t1;
  20462. }
  20463. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20464. if (importers != null)
  20465. B.JSArray_methods.addAll$1(t1, importers);
  20466. if (loadPaths != null)
  20467. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  20468. t3 = t2.get$current(t2);
  20469. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  20470. }
  20471. if (sassPath != null) {
  20472. t2 = A.isNodeJs() ? self.process : _null;
  20473. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  20474. t4 = t3.length;
  20475. _i = 0;
  20476. for (; _i < t4; ++_i) {
  20477. path = t3[_i];
  20478. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  20479. }
  20480. }
  20481. return t1;
  20482. },
  20483. AsyncImportCache_wrapLogger0(logger, silenceDeprecations, fatalDeprecations, futureDeprecations, color) {
  20484. var t3, t4,
  20485. t1 = type$.Deprecation_3,
  20486. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20487. if (silenceDeprecations != null)
  20488. t2.addAll$1(0, silenceDeprecations);
  20489. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20490. if (fatalDeprecations != null)
  20491. t3.addAll$1(0, fatalDeprecations);
  20492. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20493. if (futureDeprecations != null)
  20494. t4.addAll$1(0, futureDeprecations);
  20495. return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, false);
  20496. },
  20497. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  20498. var _ = this;
  20499. _._async_import_cache0$_importers = t0;
  20500. _._async_import_cache0$_logger = t1;
  20501. _._async_import_cache0$_canonicalizeCache = t2;
  20502. _._async_import_cache0$_perImporterCanonicalizeCache = t3;
  20503. _._async_import_cache0$_nonCanonicalRelativeUrls = t4;
  20504. _._async_import_cache0$_importCache = t5;
  20505. _._async_import_cache0$_resultsCache = t6;
  20506. },
  20507. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  20508. var _ = this;
  20509. _.$this = t0;
  20510. _.baseImporter = t1;
  20511. _.resolvedUrl = t2;
  20512. _.baseUrl = t3;
  20513. _.forImport = t4;
  20514. _.key = t5;
  20515. _.url = t6;
  20516. },
  20517. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  20518. this.importer = t0;
  20519. this.url = t1;
  20520. },
  20521. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  20522. var _ = this;
  20523. _.$this = t0;
  20524. _.importer = t1;
  20525. _.canonicalUrl = t2;
  20526. _.originalUrl = t3;
  20527. _.quiet = t4;
  20528. },
  20529. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  20530. this.canonicalUrl = t0;
  20531. },
  20532. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  20533. },
  20534. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  20535. },
  20536. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  20537. this.canonicalUrl = t0;
  20538. },
  20539. AtRootQueryParser$0(contents, logger, url) {
  20540. var t1 = A.SpanScanner$(contents, url);
  20541. return new A.AtRootQueryParser0(t1, logger, null);
  20542. },
  20543. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  20544. this.scanner = t0;
  20545. this.logger = t1;
  20546. this._parser1$_interpolationMap = t2;
  20547. },
  20548. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  20549. this.$this = t0;
  20550. },
  20551. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  20552. var _ = this;
  20553. _.include = t0;
  20554. _.names = t1;
  20555. _._at_root_query0$_all = t2;
  20556. _._at_root_query0$_rule = t3;
  20557. },
  20558. AtRootRule$0(children, span, query) {
  20559. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20560. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20561. return new A.AtRootRule0(query, span, t1, t2);
  20562. },
  20563. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  20564. var _ = this;
  20565. _.query = t0;
  20566. _.span = t1;
  20567. _.children = t2;
  20568. _.hasDeclarations = t3;
  20569. },
  20570. ModifiableCssAtRule$0($name, span, childless, value) {
  20571. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20572. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20573. },
  20574. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  20575. var _ = this;
  20576. _.name = t0;
  20577. _.value = t1;
  20578. _.isChildless = t2;
  20579. _.span = t3;
  20580. _.children = t4;
  20581. _._node$_children = t5;
  20582. _._node$_indexInParent = _._node$_parent = null;
  20583. _.isGroupEnd = false;
  20584. },
  20585. AtRule$0($name, span, children, value) {
  20586. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  20587. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20588. return new A.AtRule0($name, value, span, t1, t2 === true);
  20589. },
  20590. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  20591. var _ = this;
  20592. _.name = t0;
  20593. _.value = t1;
  20594. _.span = t2;
  20595. _.children = t3;
  20596. _.hasDeclarations = t4;
  20597. },
  20598. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  20599. var _ = this;
  20600. _.name = t0;
  20601. _.op = t1;
  20602. _.value = t2;
  20603. _.modifier = t3;
  20604. _.span = t4;
  20605. },
  20606. AttributeOperator0: function AttributeOperator0(t0, t1) {
  20607. this._attribute0$_text = t0;
  20608. this._name = t1;
  20609. },
  20610. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  20611. var _ = this;
  20612. _.operator = t0;
  20613. _.left = t1;
  20614. _.right = t2;
  20615. _.allowsSlash = t3;
  20616. },
  20617. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  20618. var _ = this;
  20619. _.name = t0;
  20620. _.operator = t1;
  20621. _.precedence = t2;
  20622. _.isAssociative = t3;
  20623. _._name = t4;
  20624. },
  20625. BooleanExpression0: function BooleanExpression0(t0, t1) {
  20626. this.value = t0;
  20627. this.span = t1;
  20628. },
  20629. booleanClass_closure: function booleanClass_closure() {
  20630. },
  20631. booleanClass__closure: function booleanClass__closure() {
  20632. },
  20633. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  20634. },
  20635. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  20636. },
  20637. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  20638. },
  20639. SassBoolean0: function SassBoolean0(t0) {
  20640. this.value = t0;
  20641. },
  20642. Box0: function Box0(t0, t1) {
  20643. this._box0$_inner = t0;
  20644. this.$ti = t1;
  20645. },
  20646. ModifiableBox0: function ModifiableBox0(t0, t1) {
  20647. this.value = t0;
  20648. this.$ti = t1;
  20649. },
  20650. BuiltInCallable$function0($name, $arguments, callback, url) {
  20651. 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);
  20652. },
  20653. BuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  20654. 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);
  20655. },
  20656. BuiltInCallable$overloadedFunction0($name, overloads) {
  20657. var t2, t3, t4, t5, t6, args, callback,
  20658. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2);
  20659. 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();) {
  20660. t6 = t3.get$current(t3);
  20661. args = t6._0;
  20662. callback = t6._1;
  20663. t6 = A.SpanScanner$(t4 + args + ") {", null);
  20664. t1.push(new A._Record_2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), callback));
  20665. }
  20666. return new A.BuiltInCallable0($name, t1, false);
  20667. },
  20668. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  20669. this.name = t0;
  20670. this._built_in$_overloads = t1;
  20671. this.acceptsContent = t2;
  20672. },
  20673. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  20674. this.callback = t0;
  20675. },
  20676. BuiltInModule$0($name, functions, mixins, variables, $T) {
  20677. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  20678. t2 = A.BuiltInModule__callableMap0(functions, $T),
  20679. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  20680. t4 = variables == null ? B.Map_empty13 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  20681. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  20682. },
  20683. BuiltInModule__callableMap0(callables, $T) {
  20684. var t2, _i, callable,
  20685. t1 = type$.String;
  20686. if (callables == null)
  20687. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20688. else {
  20689. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20690. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  20691. callable = callables[_i];
  20692. t1.$indexSet(0, J.get$name$x(callable), callable);
  20693. }
  20694. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20695. }
  20696. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20697. },
  20698. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  20699. var _ = this;
  20700. _.url = t0;
  20701. _.functions = t1;
  20702. _.mixins = t2;
  20703. _.variables = t3;
  20704. _.$ti = t4;
  20705. },
  20706. _assertCalculationValue(arg) {
  20707. var t1;
  20708. $label0$0: {
  20709. if (!(arg instanceof A.SassNumber0))
  20710. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  20711. else
  20712. t1 = true;
  20713. if (t1) {
  20714. t1 = null;
  20715. break $label0$0;
  20716. }
  20717. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  20718. }
  20719. return t1;
  20720. },
  20721. _isValidClampArg(arg) {
  20722. var t1;
  20723. $label0$0: {
  20724. if (!(arg instanceof A.CalculationInterpolation))
  20725. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  20726. else
  20727. t1 = true;
  20728. if (t1)
  20729. break $label0$0;
  20730. break $label0$0;
  20731. }
  20732. return t1;
  20733. },
  20734. calculationClass_closure: function calculationClass_closure() {
  20735. },
  20736. calculationClass__closure: function calculationClass__closure() {
  20737. },
  20738. calculationClass__closure0: function calculationClass__closure0() {
  20739. },
  20740. calculationClass__closure1: function calculationClass__closure1() {
  20741. },
  20742. calculationClass__closure2: function calculationClass__closure2() {
  20743. },
  20744. calculationClass__closure3: function calculationClass__closure3() {
  20745. },
  20746. calculationClass__closure4: function calculationClass__closure4() {
  20747. },
  20748. calculationClass__closure5: function calculationClass__closure5() {
  20749. },
  20750. calculationOperationClass_closure: function calculationOperationClass_closure() {
  20751. },
  20752. calculationOperationClass__closure: function calculationOperationClass__closure() {
  20753. },
  20754. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  20755. this.strOperator = t0;
  20756. },
  20757. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  20758. },
  20759. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  20760. },
  20761. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  20762. },
  20763. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  20764. },
  20765. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  20766. },
  20767. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  20768. },
  20769. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  20770. },
  20771. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  20772. },
  20773. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  20774. },
  20775. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  20776. },
  20777. SassCalculation_calc0(argument) {
  20778. var t1,
  20779. _0_0 = A.SassCalculation__simplify0(argument);
  20780. $label0$0: {
  20781. if (_0_0 instanceof A.SassNumber0) {
  20782. t1 = _0_0;
  20783. break $label0$0;
  20784. }
  20785. if (_0_0 instanceof A.SassCalculation0) {
  20786. t1 = _0_0;
  20787. break $label0$0;
  20788. }
  20789. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  20790. break $label0$0;
  20791. }
  20792. return t1;
  20793. },
  20794. SassCalculation_min0($arguments) {
  20795. var minimum, _i, arg, t2,
  20796. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20797. t1 = args.length;
  20798. if (t1 === 0)
  20799. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  20800. for (minimum = null, _i = 0; _i < t1; ++_i) {
  20801. arg = args[_i];
  20802. if (arg instanceof A.SassNumber0)
  20803. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  20804. else
  20805. t2 = true;
  20806. if (t2) {
  20807. minimum = null;
  20808. break;
  20809. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  20810. minimum = arg;
  20811. }
  20812. if (minimum != null)
  20813. return minimum;
  20814. A.SassCalculation__verifyCompatibleNumbers0(args);
  20815. return new A.SassCalculation0("min", args);
  20816. },
  20817. SassCalculation_max0($arguments) {
  20818. var maximum, _i, arg, t2,
  20819. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20820. t1 = args.length;
  20821. if (t1 === 0)
  20822. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  20823. for (maximum = null, _i = 0; _i < t1; ++_i) {
  20824. arg = args[_i];
  20825. if (arg instanceof A.SassNumber0)
  20826. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  20827. else
  20828. t2 = true;
  20829. if (t2) {
  20830. maximum = null;
  20831. break;
  20832. } else if (maximum == null || maximum.lessThan$1(arg).value)
  20833. maximum = arg;
  20834. }
  20835. if (maximum != null)
  20836. return maximum;
  20837. A.SassCalculation__verifyCompatibleNumbers0(args);
  20838. return new A.SassCalculation0("max", args);
  20839. },
  20840. SassCalculation_hypot0($arguments) {
  20841. var first, subtotal, i, number, value, t2, t3,
  20842. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20843. t1 = args.length;
  20844. if (t1 === 0)
  20845. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  20846. A.SassCalculation__verifyCompatibleNumbers0(args);
  20847. first = B.JSArray_methods.get$first(args);
  20848. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  20849. return new A.SassCalculation0("hypot", args);
  20850. for (subtotal = 0, i = 0; i < t1;) {
  20851. number = args[i];
  20852. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  20853. return new A.SassCalculation0("hypot", args);
  20854. ++i;
  20855. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  20856. subtotal += value * value;
  20857. }
  20858. t1 = Math.sqrt(subtotal);
  20859. t2 = J.getInterceptor$x(first);
  20860. t3 = t2.get$numeratorUnits(first);
  20861. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(first), t3);
  20862. },
  20863. SassCalculation_abs0(argument) {
  20864. argument = A.SassCalculation__simplify0(argument);
  20865. if (!(argument instanceof A.SassNumber0))
  20866. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  20867. if (argument.hasUnit$1("%"))
  20868. A.warnForDeprecation0(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_jYb);
  20869. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  20870. },
  20871. SassCalculation_exp0(argument) {
  20872. argument = A.SassCalculation__simplify0(argument);
  20873. if (!(argument instanceof A.SassNumber0))
  20874. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  20875. argument.assertNoUnits$0();
  20876. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  20877. },
  20878. SassCalculation_sign0(argument) {
  20879. var t1, _0_2, t2, arg;
  20880. argument = A.SassCalculation__simplify0(argument);
  20881. $label0$0: {
  20882. t1 = argument instanceof A.SassNumber0;
  20883. if (t1) {
  20884. _0_2 = argument._number1$_value;
  20885. if (!isNaN(_0_2))
  20886. t2 = 0 === _0_2;
  20887. else
  20888. t2 = true;
  20889. } else
  20890. t2 = false;
  20891. if (t2) {
  20892. t1 = argument;
  20893. break $label0$0;
  20894. }
  20895. if (t1) {
  20896. t1 = !argument.hasUnit$1("%");
  20897. arg = argument;
  20898. } else {
  20899. arg = null;
  20900. t1 = false;
  20901. }
  20902. if (t1) {
  20903. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  20904. break $label0$0;
  20905. }
  20906. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  20907. break $label0$0;
  20908. }
  20909. return t1;
  20910. },
  20911. SassCalculation_clamp0(min, value, max) {
  20912. var t1, args;
  20913. if (value == null && max != null)
  20914. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  20915. min = A.SassCalculation__simplify0(min);
  20916. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  20917. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  20918. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  20919. if (value.lessThanOrEquals$1(min).value)
  20920. return min;
  20921. if (value.greaterThanOrEquals$1(max).value)
  20922. return max;
  20923. return value;
  20924. }
  20925. t1 = [min];
  20926. if (value != null)
  20927. t1.push(value);
  20928. if (max != null)
  20929. t1.push(max);
  20930. args = A.List_List$unmodifiable(t1, type$.Object);
  20931. A.SassCalculation__verifyCompatibleNumbers0(args);
  20932. A.SassCalculation__verifyLength0(args, 3);
  20933. return new A.SassCalculation0("clamp", args);
  20934. },
  20935. SassCalculation_pow0(base, exponent) {
  20936. var t1 = A._setArrayType([base], type$.JSArray_Object);
  20937. if (exponent != null)
  20938. t1.push(exponent);
  20939. A.SassCalculation__verifyLength0(t1, 2);
  20940. base = A.SassCalculation__simplify0(base);
  20941. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  20942. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  20943. return new A.SassCalculation0("pow", t1);
  20944. base.assertNoUnits$0();
  20945. exponent.assertNoUnits$0();
  20946. return A.pow1(base, exponent);
  20947. },
  20948. SassCalculation_log0(number, base) {
  20949. var t1, t2;
  20950. number = A.SassCalculation__simplify0(number);
  20951. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  20952. t1 = A._setArrayType([number], type$.JSArray_Object);
  20953. t2 = base != null;
  20954. if (t2)
  20955. t1.push(base);
  20956. if (number instanceof A.SassNumber0)
  20957. t2 = t2 && !(base instanceof A.SassNumber0);
  20958. else
  20959. t2 = true;
  20960. if (t2)
  20961. return new A.SassCalculation0("log", t1);
  20962. number.assertNoUnits$0();
  20963. if (base instanceof A.SassNumber0) {
  20964. base.assertNoUnits$0();
  20965. return A.log0(number, base);
  20966. }
  20967. return A.log0(number, null);
  20968. },
  20969. SassCalculation_atan20(y, x) {
  20970. var t1;
  20971. y = A.SassCalculation__simplify0(y);
  20972. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  20973. t1 = A._setArrayType([y], type$.JSArray_Object);
  20974. if (x != null)
  20975. t1.push(x);
  20976. A.SassCalculation__verifyLength0(t1, 2);
  20977. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20978. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  20979. return new A.SassCalculation0("atan2", t1);
  20980. 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));
  20981. },
  20982. SassCalculation_rem0(dividend, modulus) {
  20983. var t1, result;
  20984. dividend = A.SassCalculation__simplify0(dividend);
  20985. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  20986. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  20987. if (modulus != null)
  20988. t1.push(modulus);
  20989. A.SassCalculation__verifyLength0(t1, 2);
  20990. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20991. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  20992. return new A.SassCalculation0("rem", t1);
  20993. result = dividend.modulo$1(modulus);
  20994. t1 = modulus._number1$_value;
  20995. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  20996. if (t1 == 1 / 0 || t1 == -1 / 0)
  20997. return dividend;
  20998. if (result._number1$_value === 0)
  20999. return result.unaryMinus$0();
  21000. return result.minus$1(modulus);
  21001. }
  21002. return result;
  21003. },
  21004. SassCalculation_mod0(dividend, modulus) {
  21005. var t1;
  21006. dividend = A.SassCalculation__simplify0(dividend);
  21007. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  21008. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  21009. if (modulus != null)
  21010. t1.push(modulus);
  21011. A.SassCalculation__verifyLength0(t1, 2);
  21012. A.SassCalculation__verifyCompatibleNumbers0(t1);
  21013. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  21014. return new A.SassCalculation0("mod", t1);
  21015. return dividend.modulo$1(modulus);
  21016. },
  21017. SassCalculation_round0(strategyOrNumber, numberOrStep, step) {
  21018. var number, t2, _0_2_isSet, _0_2_isSet0, _0_10_isSet, _0_8, _0_12, _0_14, _0_14_isSet, _0_16, _0_16_isSet, strategy, _0_5_isSet0, _0_12_isSet, t3, t4, _0_8_isSet, _0_8_isSet0, rest, _null = null, _s5_ = "round",
  21019. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  21020. _0_2 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  21021. _0_5 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  21022. _0_10 = _0_1,
  21023. _0_4_isSet = _0_1 instanceof A.SassNumber0,
  21024. _0_4 = _null,
  21025. _0_20 = _null,
  21026. _0_6 = _null,
  21027. _0_6_isSet = false,
  21028. _0_50 = _null,
  21029. _0_5_isSet = false,
  21030. t1 = false;
  21031. if (_0_4_isSet) {
  21032. type$.SassNumber_2._as(_0_10);
  21033. _0_4 = _0_2 == null;
  21034. _0_5_isSet = _0_4;
  21035. _0_20 = _0_2;
  21036. if (_0_5_isSet) {
  21037. _0_6 = _0_5 == null;
  21038. t1 = _0_6;
  21039. _0_50 = _0_5;
  21040. }
  21041. _0_6_isSet = _0_5_isSet;
  21042. number = _0_10;
  21043. _0_1 = number;
  21044. } else {
  21045. number = _null;
  21046. _0_1 = _0_10;
  21047. }
  21048. if (t1) {
  21049. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  21050. t2 = number.get$numeratorUnits(number);
  21051. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  21052. }
  21053. step = _null;
  21054. t1 = false;
  21055. if (_0_1 instanceof A.SassNumber0) {
  21056. _0_2_isSet = true;
  21057. if (_0_4_isSet) {
  21058. t2 = _0_20;
  21059. _0_2_isSet0 = _0_4_isSet;
  21060. } else {
  21061. t2 = _0_2;
  21062. _0_2_isSet0 = _0_2_isSet;
  21063. _0_20 = t2;
  21064. }
  21065. if (t2 instanceof A.SassNumber0) {
  21066. if (_0_2_isSet0) {
  21067. t2 = _0_20;
  21068. _0_2_isSet = _0_2_isSet0;
  21069. } else {
  21070. t2 = _0_2;
  21071. _0_20 = t2;
  21072. }
  21073. type$.SassNumber_2._as(t2);
  21074. if (_0_6_isSet)
  21075. t1 = _0_6;
  21076. else {
  21077. if (_0_5_isSet)
  21078. t1 = _0_50;
  21079. else {
  21080. t1 = _0_5;
  21081. _0_50 = t1;
  21082. _0_5_isSet = true;
  21083. }
  21084. _0_6 = t1 == null;
  21085. t1 = _0_6;
  21086. _0_6_isSet = true;
  21087. }
  21088. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  21089. step = t2;
  21090. } else
  21091. _0_2_isSet = _0_2_isSet0;
  21092. number = _0_1;
  21093. } else {
  21094. number = _null;
  21095. _0_2_isSet = _0_4_isSet;
  21096. }
  21097. if (t1) {
  21098. t1 = type$.JSArray_Object;
  21099. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21100. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  21101. }
  21102. step = _null;
  21103. t1 = false;
  21104. if (_0_1 instanceof A.SassNumber0) {
  21105. _0_2_isSet0 = true;
  21106. if (_0_2_isSet)
  21107. t2 = _0_20;
  21108. else {
  21109. t2 = _0_2;
  21110. _0_2_isSet = _0_2_isSet0;
  21111. _0_20 = t2;
  21112. }
  21113. if (t2 instanceof A.SassNumber0) {
  21114. if (_0_2_isSet)
  21115. t2 = _0_20;
  21116. else {
  21117. t2 = _0_2;
  21118. _0_2_isSet = _0_2_isSet0;
  21119. _0_20 = t2;
  21120. }
  21121. type$.SassNumber_2._as(t2);
  21122. if (_0_6_isSet)
  21123. t1 = _0_6;
  21124. else {
  21125. if (_0_5_isSet)
  21126. t1 = _0_50;
  21127. else {
  21128. t1 = _0_5;
  21129. _0_50 = t1;
  21130. _0_5_isSet = true;
  21131. }
  21132. _0_6 = t1 == null;
  21133. t1 = _0_6;
  21134. _0_6_isSet = true;
  21135. }
  21136. step = t2;
  21137. }
  21138. number = _0_1;
  21139. } else
  21140. number = _null;
  21141. if (t1) {
  21142. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21143. return A.SassCalculation__roundWithStep0("nearest", number, step);
  21144. }
  21145. _0_10_isSet = _0_1 instanceof A.SassString0;
  21146. _0_10 = _null;
  21147. _0_8 = _null;
  21148. _0_12 = _null;
  21149. _0_14 = _null;
  21150. _0_14_isSet = false;
  21151. _0_16 = _null;
  21152. _0_16_isSet = false;
  21153. strategy = _null;
  21154. number = _null;
  21155. step = _null;
  21156. t1 = false;
  21157. if (_0_10_isSet) {
  21158. _0_2_isSet0 = true;
  21159. _0_5_isSet0 = true;
  21160. _0_8 = _0_1._string0$_text;
  21161. t2 = _0_8;
  21162. _0_10 = "nearest" === t2;
  21163. t2 = _0_10;
  21164. _0_12_isSet = !t2;
  21165. t2 = true;
  21166. if (_0_12_isSet) {
  21167. _0_12 = "up" === _0_8;
  21168. t3 = _0_12;
  21169. _0_14_isSet = !t3;
  21170. if (_0_14_isSet) {
  21171. _0_14 = "down" === _0_8;
  21172. t3 = _0_14;
  21173. _0_16_isSet = !t3;
  21174. if (_0_16_isSet) {
  21175. _0_16 = "to-zero" === _0_8;
  21176. t2 = _0_16;
  21177. }
  21178. }
  21179. }
  21180. if (t2) {
  21181. if (_0_2_isSet)
  21182. t2 = _0_20;
  21183. else {
  21184. t2 = _0_2;
  21185. _0_2_isSet = _0_2_isSet0;
  21186. _0_20 = t2;
  21187. }
  21188. if (t2 instanceof A.SassNumber0) {
  21189. if (_0_2_isSet)
  21190. t2 = _0_20;
  21191. else {
  21192. t2 = _0_2;
  21193. _0_2_isSet = _0_2_isSet0;
  21194. _0_20 = t2;
  21195. }
  21196. t3 = type$.SassNumber_2;
  21197. t3._as(t2);
  21198. if (_0_5_isSet)
  21199. t4 = _0_50;
  21200. else {
  21201. t4 = _0_5;
  21202. _0_5_isSet = _0_5_isSet0;
  21203. _0_50 = t4;
  21204. }
  21205. if (t4 instanceof A.SassNumber0) {
  21206. if (_0_5_isSet)
  21207. t1 = _0_50;
  21208. else {
  21209. t1 = _0_5;
  21210. _0_5_isSet = _0_5_isSet0;
  21211. _0_50 = t1;
  21212. }
  21213. t3._as(t1);
  21214. t3 = !t2.hasCompatibleUnits$1(t1);
  21215. step = t1;
  21216. t1 = t3;
  21217. }
  21218. number = t2;
  21219. }
  21220. strategy = _0_1;
  21221. }
  21222. } else
  21223. _0_12_isSet = false;
  21224. if (t1) {
  21225. t1 = type$.JSArray_Object;
  21226. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21227. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  21228. }
  21229. strategy = _null;
  21230. number = _null;
  21231. step = _null;
  21232. t1 = false;
  21233. if (_0_1 instanceof A.SassString0) {
  21234. _0_2_isSet0 = true;
  21235. _0_5_isSet0 = true;
  21236. _0_8_isSet = true;
  21237. if (_0_10_isSet) {
  21238. t2 = _0_10;
  21239. _0_8_isSet0 = _0_10_isSet;
  21240. } else {
  21241. _0_8 = _0_1._string0$_text;
  21242. t2 = _0_8;
  21243. _0_10 = "nearest" === t2;
  21244. t2 = _0_10;
  21245. _0_8_isSet0 = _0_8_isSet;
  21246. _0_10_isSet = true;
  21247. }
  21248. t3 = true;
  21249. if (!t2) {
  21250. if (_0_12_isSet)
  21251. t2 = _0_12;
  21252. else {
  21253. if (_0_8_isSet0)
  21254. t2 = _0_8;
  21255. else {
  21256. _0_8 = _0_1._string0$_text;
  21257. t2 = _0_8;
  21258. _0_8_isSet0 = _0_8_isSet;
  21259. }
  21260. _0_12 = "up" === t2;
  21261. t2 = _0_12;
  21262. _0_12_isSet = true;
  21263. }
  21264. if (!t2) {
  21265. if (_0_14_isSet)
  21266. t2 = _0_14;
  21267. else {
  21268. if (_0_8_isSet0)
  21269. t2 = _0_8;
  21270. else {
  21271. _0_8 = _0_1._string0$_text;
  21272. t2 = _0_8;
  21273. _0_8_isSet0 = _0_8_isSet;
  21274. }
  21275. _0_14 = "down" === t2;
  21276. t2 = _0_14;
  21277. _0_14_isSet = true;
  21278. }
  21279. if (!t2)
  21280. if (_0_16_isSet) {
  21281. t2 = _0_16;
  21282. _0_8_isSet = _0_8_isSet0;
  21283. } else {
  21284. if (_0_8_isSet0) {
  21285. t2 = _0_8;
  21286. _0_8_isSet = _0_8_isSet0;
  21287. } else {
  21288. _0_8 = _0_1._string0$_text;
  21289. t2 = _0_8;
  21290. }
  21291. _0_16 = "to-zero" === t2;
  21292. t2 = _0_16;
  21293. _0_16_isSet = true;
  21294. }
  21295. else {
  21296. t2 = t3;
  21297. _0_8_isSet = _0_8_isSet0;
  21298. }
  21299. } else {
  21300. t2 = t3;
  21301. _0_8_isSet = _0_8_isSet0;
  21302. }
  21303. } else {
  21304. t2 = t3;
  21305. _0_8_isSet = _0_8_isSet0;
  21306. }
  21307. if (t2) {
  21308. if (_0_2_isSet)
  21309. t2 = _0_20;
  21310. else {
  21311. t2 = _0_2;
  21312. _0_2_isSet = _0_2_isSet0;
  21313. _0_20 = t2;
  21314. }
  21315. if (t2 instanceof A.SassNumber0) {
  21316. if (_0_2_isSet)
  21317. t2 = _0_20;
  21318. else {
  21319. t2 = _0_2;
  21320. _0_2_isSet = _0_2_isSet0;
  21321. _0_20 = t2;
  21322. }
  21323. t3 = type$.SassNumber_2;
  21324. t3._as(t2);
  21325. if (_0_5_isSet)
  21326. t1 = _0_50;
  21327. else {
  21328. t1 = _0_5;
  21329. _0_5_isSet = _0_5_isSet0;
  21330. _0_50 = t1;
  21331. }
  21332. t1 = t1 instanceof A.SassNumber0;
  21333. if (t1) {
  21334. if (_0_5_isSet)
  21335. t4 = _0_50;
  21336. else {
  21337. t4 = _0_5;
  21338. _0_5_isSet = _0_5_isSet0;
  21339. _0_50 = t4;
  21340. }
  21341. t3._as(t4);
  21342. step = t4;
  21343. }
  21344. number = t2;
  21345. }
  21346. strategy = _0_1;
  21347. }
  21348. } else
  21349. _0_8_isSet = _0_10_isSet;
  21350. if (t1) {
  21351. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21352. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  21353. }
  21354. strategy = _null;
  21355. rest = _null;
  21356. t1 = false;
  21357. if (_0_1 instanceof A.SassString0) {
  21358. _0_2_isSet0 = true;
  21359. _0_8_isSet0 = true;
  21360. if (_0_10_isSet)
  21361. t2 = _0_10;
  21362. else {
  21363. if (_0_8_isSet)
  21364. t2 = _0_8;
  21365. else {
  21366. _0_8 = _0_1._string0$_text;
  21367. t2 = _0_8;
  21368. _0_8_isSet = _0_8_isSet0;
  21369. }
  21370. _0_10 = "nearest" === t2;
  21371. t2 = _0_10;
  21372. _0_10_isSet = true;
  21373. }
  21374. t3 = true;
  21375. if (!t2) {
  21376. if (_0_12_isSet)
  21377. t2 = _0_12;
  21378. else {
  21379. if (_0_8_isSet)
  21380. t2 = _0_8;
  21381. else {
  21382. _0_8 = _0_1._string0$_text;
  21383. t2 = _0_8;
  21384. _0_8_isSet = _0_8_isSet0;
  21385. }
  21386. _0_12 = "up" === t2;
  21387. t2 = _0_12;
  21388. _0_12_isSet = true;
  21389. }
  21390. if (!t2) {
  21391. if (_0_14_isSet)
  21392. t2 = _0_14;
  21393. else {
  21394. if (_0_8_isSet)
  21395. t2 = _0_8;
  21396. else {
  21397. _0_8 = _0_1._string0$_text;
  21398. t2 = _0_8;
  21399. _0_8_isSet = _0_8_isSet0;
  21400. }
  21401. _0_14 = "down" === t2;
  21402. t2 = _0_14;
  21403. _0_14_isSet = true;
  21404. }
  21405. if (!t2)
  21406. if (_0_16_isSet)
  21407. t2 = _0_16;
  21408. else {
  21409. if (_0_8_isSet)
  21410. t2 = _0_8;
  21411. else {
  21412. _0_8 = _0_1._string0$_text;
  21413. t2 = _0_8;
  21414. _0_8_isSet = _0_8_isSet0;
  21415. }
  21416. _0_16 = "to-zero" === t2;
  21417. t2 = _0_16;
  21418. _0_16_isSet = true;
  21419. }
  21420. else
  21421. t2 = t3;
  21422. } else
  21423. t2 = t3;
  21424. } else
  21425. t2 = t3;
  21426. if (t2) {
  21427. if (_0_2_isSet)
  21428. t2 = _0_20;
  21429. else {
  21430. t2 = _0_2;
  21431. _0_2_isSet = _0_2_isSet0;
  21432. _0_20 = t2;
  21433. }
  21434. if (t2 instanceof A.SassString0) {
  21435. if (_0_2_isSet)
  21436. t2 = _0_20;
  21437. else {
  21438. t2 = _0_2;
  21439. _0_2_isSet = _0_2_isSet0;
  21440. _0_20 = t2;
  21441. }
  21442. type$.SassString_2._as(t2);
  21443. if (_0_6_isSet)
  21444. t1 = _0_6;
  21445. else {
  21446. if (_0_5_isSet)
  21447. t1 = _0_50;
  21448. else {
  21449. t1 = _0_5;
  21450. _0_50 = t1;
  21451. _0_5_isSet = true;
  21452. }
  21453. _0_6 = t1 == null;
  21454. t1 = _0_6;
  21455. _0_6_isSet = true;
  21456. }
  21457. rest = t2;
  21458. }
  21459. strategy = _0_1;
  21460. }
  21461. }
  21462. if (t1)
  21463. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  21464. t1 = false;
  21465. if (_0_1 instanceof A.SassString0) {
  21466. _0_8_isSet0 = true;
  21467. if (_0_10_isSet)
  21468. t2 = _0_10;
  21469. else {
  21470. if (_0_8_isSet)
  21471. t2 = _0_8;
  21472. else {
  21473. _0_8 = _0_1._string0$_text;
  21474. t2 = _0_8;
  21475. _0_8_isSet = _0_8_isSet0;
  21476. }
  21477. _0_10 = "nearest" === t2;
  21478. t2 = _0_10;
  21479. _0_10_isSet = true;
  21480. }
  21481. t3 = true;
  21482. if (!t2) {
  21483. if (_0_12_isSet)
  21484. t2 = _0_12;
  21485. else {
  21486. if (_0_8_isSet)
  21487. t2 = _0_8;
  21488. else {
  21489. _0_8 = _0_1._string0$_text;
  21490. t2 = _0_8;
  21491. _0_8_isSet = _0_8_isSet0;
  21492. }
  21493. _0_12 = "up" === t2;
  21494. t2 = _0_12;
  21495. _0_12_isSet = true;
  21496. }
  21497. if (!t2) {
  21498. if (_0_14_isSet)
  21499. t2 = _0_14;
  21500. else {
  21501. if (_0_8_isSet)
  21502. t2 = _0_8;
  21503. else {
  21504. _0_8 = _0_1._string0$_text;
  21505. t2 = _0_8;
  21506. _0_8_isSet = _0_8_isSet0;
  21507. }
  21508. _0_14 = "down" === t2;
  21509. t2 = _0_14;
  21510. _0_14_isSet = true;
  21511. }
  21512. if (!t2)
  21513. if (_0_16_isSet)
  21514. t2 = _0_16;
  21515. else {
  21516. if (_0_8_isSet)
  21517. t2 = _0_8;
  21518. else {
  21519. _0_8 = _0_1._string0$_text;
  21520. t2 = _0_8;
  21521. _0_8_isSet = _0_8_isSet0;
  21522. }
  21523. _0_16 = "to-zero" === t2;
  21524. t2 = _0_16;
  21525. _0_16_isSet = true;
  21526. }
  21527. else
  21528. t2 = t3;
  21529. } else
  21530. t2 = t3;
  21531. } else
  21532. t2 = t3;
  21533. if (t2) {
  21534. if (_0_2_isSet)
  21535. t2 = _0_20;
  21536. else {
  21537. t2 = _0_2;
  21538. _0_20 = t2;
  21539. _0_2_isSet = true;
  21540. }
  21541. if (t2 != null)
  21542. if (_0_6_isSet)
  21543. t1 = _0_6;
  21544. else {
  21545. if (_0_5_isSet)
  21546. t1 = _0_50;
  21547. else {
  21548. t1 = _0_5;
  21549. _0_50 = t1;
  21550. _0_5_isSet = true;
  21551. }
  21552. _0_6 = t1 == null;
  21553. t1 = _0_6;
  21554. _0_6_isSet = true;
  21555. }
  21556. }
  21557. }
  21558. if (t1)
  21559. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  21560. t1 = false;
  21561. if (_0_1 instanceof A.SassString0) {
  21562. _0_8_isSet0 = true;
  21563. if (_0_10_isSet)
  21564. t2 = _0_10;
  21565. else {
  21566. if (_0_8_isSet)
  21567. t2 = _0_8;
  21568. else {
  21569. _0_8 = _0_1._string0$_text;
  21570. t2 = _0_8;
  21571. _0_8_isSet = _0_8_isSet0;
  21572. }
  21573. _0_10 = "nearest" === t2;
  21574. t2 = _0_10;
  21575. _0_10_isSet = true;
  21576. }
  21577. t3 = true;
  21578. if (!t2) {
  21579. if (_0_12_isSet)
  21580. t2 = _0_12;
  21581. else {
  21582. if (_0_8_isSet)
  21583. t2 = _0_8;
  21584. else {
  21585. _0_8 = _0_1._string0$_text;
  21586. t2 = _0_8;
  21587. _0_8_isSet = _0_8_isSet0;
  21588. }
  21589. _0_12 = "up" === t2;
  21590. t2 = _0_12;
  21591. _0_12_isSet = true;
  21592. }
  21593. if (!t2) {
  21594. if (_0_14_isSet)
  21595. t2 = _0_14;
  21596. else {
  21597. if (_0_8_isSet)
  21598. t2 = _0_8;
  21599. else {
  21600. _0_8 = _0_1._string0$_text;
  21601. t2 = _0_8;
  21602. _0_8_isSet = _0_8_isSet0;
  21603. }
  21604. _0_14 = "down" === t2;
  21605. t2 = _0_14;
  21606. _0_14_isSet = true;
  21607. }
  21608. if (!t2)
  21609. if (_0_16_isSet)
  21610. t2 = _0_16;
  21611. else {
  21612. if (_0_8_isSet)
  21613. t2 = _0_8;
  21614. else {
  21615. _0_8 = _0_1._string0$_text;
  21616. t2 = _0_8;
  21617. _0_8_isSet = _0_8_isSet0;
  21618. }
  21619. _0_16 = "to-zero" === t2;
  21620. t2 = _0_16;
  21621. _0_16_isSet = true;
  21622. }
  21623. else
  21624. t2 = t3;
  21625. } else
  21626. t2 = t3;
  21627. } else
  21628. t2 = t3;
  21629. if (t2) {
  21630. if (_0_4_isSet)
  21631. t2 = _0_4;
  21632. else {
  21633. if (_0_2_isSet)
  21634. t2 = _0_20;
  21635. else {
  21636. t2 = _0_2;
  21637. _0_20 = t2;
  21638. _0_2_isSet = true;
  21639. }
  21640. _0_4 = t2 == null;
  21641. t2 = _0_4;
  21642. _0_4_isSet = true;
  21643. }
  21644. if (t2)
  21645. if (_0_6_isSet)
  21646. t1 = _0_6;
  21647. else {
  21648. if (_0_5_isSet)
  21649. t1 = _0_50;
  21650. else {
  21651. t1 = _0_5;
  21652. _0_50 = t1;
  21653. _0_5_isSet = true;
  21654. }
  21655. _0_6 = t1 == null;
  21656. t1 = _0_6;
  21657. _0_6_isSet = true;
  21658. }
  21659. }
  21660. }
  21661. if (t1)
  21662. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  21663. t1 = false;
  21664. if (_0_1 instanceof A.SassString0) {
  21665. if (_0_4_isSet)
  21666. t2 = _0_4;
  21667. else {
  21668. if (_0_2_isSet)
  21669. t2 = _0_20;
  21670. else {
  21671. t2 = _0_2;
  21672. _0_20 = t2;
  21673. _0_2_isSet = true;
  21674. }
  21675. _0_4 = t2 == null;
  21676. t2 = _0_4;
  21677. _0_4_isSet = true;
  21678. }
  21679. if (t2)
  21680. if (_0_6_isSet)
  21681. t1 = _0_6;
  21682. else {
  21683. if (_0_5_isSet)
  21684. t1 = _0_50;
  21685. else {
  21686. t1 = _0_5;
  21687. _0_50 = t1;
  21688. _0_5_isSet = true;
  21689. }
  21690. _0_6 = t1 == null;
  21691. t1 = _0_6;
  21692. _0_6_isSet = true;
  21693. }
  21694. rest = _0_1;
  21695. } else
  21696. rest = _null;
  21697. if (t1)
  21698. return new A.SassCalculation0(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  21699. t1 = false;
  21700. if (_0_4_isSet)
  21701. t2 = _0_4;
  21702. else {
  21703. if (_0_2_isSet)
  21704. t2 = _0_20;
  21705. else {
  21706. t2 = _0_2;
  21707. _0_20 = t2;
  21708. _0_2_isSet = true;
  21709. }
  21710. _0_4 = t2 == null;
  21711. t2 = _0_4;
  21712. }
  21713. if (t2)
  21714. if (_0_6_isSet)
  21715. t1 = _0_6;
  21716. else {
  21717. if (_0_5_isSet)
  21718. t1 = _0_50;
  21719. else {
  21720. t1 = _0_5;
  21721. _0_50 = t1;
  21722. _0_5_isSet = true;
  21723. }
  21724. _0_6 = t1 == null;
  21725. t1 = _0_6;
  21726. _0_6_isSet = true;
  21727. }
  21728. if (t1)
  21729. throw A.wrapException(A.SassScriptException$0("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  21730. step = _null;
  21731. t1 = false;
  21732. _0_2_isSet0 = true;
  21733. if (_0_2_isSet)
  21734. t2 = _0_20;
  21735. else {
  21736. t2 = _0_2;
  21737. _0_2_isSet = _0_2_isSet0;
  21738. _0_20 = t2;
  21739. }
  21740. if (t2 != null) {
  21741. if (_0_2_isSet)
  21742. step = _0_20;
  21743. else {
  21744. step = _0_2;
  21745. _0_2_isSet = _0_2_isSet0;
  21746. _0_20 = step;
  21747. }
  21748. if (step == null)
  21749. step = type$.Object._as(step);
  21750. if (_0_6_isSet)
  21751. t1 = _0_6;
  21752. else {
  21753. if (_0_5_isSet)
  21754. t1 = _0_50;
  21755. else {
  21756. t1 = _0_5;
  21757. _0_50 = t1;
  21758. _0_5_isSet = true;
  21759. }
  21760. _0_6 = t1 == null;
  21761. t1 = _0_6;
  21762. }
  21763. }
  21764. if (t1)
  21765. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  21766. if (_0_1 instanceof A.SassString0) {
  21767. t1 = true;
  21768. if (_0_10_isSet)
  21769. t2 = _0_10;
  21770. else {
  21771. if (_0_8_isSet)
  21772. t2 = _0_8;
  21773. else {
  21774. _0_8 = _0_1._string0$_text;
  21775. t2 = _0_8;
  21776. _0_8_isSet = true;
  21777. }
  21778. _0_10 = "nearest" === t2;
  21779. t2 = _0_10;
  21780. }
  21781. if (!t2) {
  21782. if (_0_12_isSet)
  21783. t2 = _0_12;
  21784. else {
  21785. if (_0_8_isSet)
  21786. t2 = _0_8;
  21787. else {
  21788. _0_8 = _0_1._string0$_text;
  21789. t2 = _0_8;
  21790. _0_8_isSet = true;
  21791. }
  21792. _0_12 = "up" === t2;
  21793. t2 = _0_12;
  21794. }
  21795. if (!t2) {
  21796. if (_0_14_isSet)
  21797. t2 = _0_14;
  21798. else {
  21799. if (_0_8_isSet)
  21800. t2 = _0_8;
  21801. else {
  21802. _0_8 = _0_1._string0$_text;
  21803. t2 = _0_8;
  21804. _0_8_isSet = true;
  21805. }
  21806. _0_14 = "down" === t2;
  21807. t2 = _0_14;
  21808. }
  21809. if (!t2)
  21810. if (_0_16_isSet)
  21811. t1 = _0_16;
  21812. else {
  21813. if (_0_8_isSet)
  21814. t1 = _0_8;
  21815. else {
  21816. _0_8 = _0_1._string0$_text;
  21817. t1 = _0_8;
  21818. }
  21819. _0_16 = "to-zero" === t1;
  21820. t1 = _0_16;
  21821. }
  21822. }
  21823. }
  21824. } else
  21825. t1 = false;
  21826. if (!t1)
  21827. if (_0_1 instanceof A.SassString0)
  21828. t1 = _0_1.get$isVar();
  21829. else
  21830. t1 = false;
  21831. else
  21832. t1 = true;
  21833. number = _null;
  21834. step = _null;
  21835. t2 = false;
  21836. if (t1) {
  21837. _0_2_isSet0 = true;
  21838. _0_5_isSet0 = true;
  21839. type$.SassString_2._as(_0_1);
  21840. if (_0_2_isSet)
  21841. t1 = _0_20;
  21842. else {
  21843. t1 = _0_2;
  21844. _0_2_isSet = _0_2_isSet0;
  21845. _0_20 = t1;
  21846. }
  21847. if (t1 != null) {
  21848. if (_0_2_isSet)
  21849. number = _0_20;
  21850. else {
  21851. number = _0_2;
  21852. _0_2_isSet = _0_2_isSet0;
  21853. _0_20 = number;
  21854. }
  21855. if (number == null)
  21856. number = type$.Object._as(number);
  21857. if (_0_5_isSet)
  21858. t1 = _0_50;
  21859. else {
  21860. t1 = _0_5;
  21861. _0_5_isSet = _0_5_isSet0;
  21862. _0_50 = t1;
  21863. }
  21864. t1 = t1 != null;
  21865. if (t1) {
  21866. if (_0_5_isSet)
  21867. step = _0_50;
  21868. else {
  21869. step = _0_5;
  21870. _0_5_isSet = _0_5_isSet0;
  21871. _0_50 = step;
  21872. }
  21873. if (step == null)
  21874. step = type$.Object._as(step);
  21875. }
  21876. } else
  21877. t1 = t2;
  21878. strategy = _0_1;
  21879. } else {
  21880. t1 = t2;
  21881. strategy = _null;
  21882. }
  21883. if (t1)
  21884. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  21885. t1 = false;
  21886. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  21887. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  21888. if (t1)
  21889. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  21890. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  21891. throw A.wrapException(t1);
  21892. },
  21893. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify) {
  21894. var t1;
  21895. if (!simplify)
  21896. return new A.CalculationOperation0(operator, left, right);
  21897. left = A.SassCalculation__simplify0(left);
  21898. right = A.SassCalculation__simplify0(right);
  21899. if (B.CalculationOperator_g2q0 === operator || B.CalculationOperator_CxF0 === operator) {
  21900. t1 = false;
  21901. if (left instanceof A.SassNumber0)
  21902. if (right instanceof A.SassNumber0)
  21903. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  21904. if (t1)
  21905. return operator === B.CalculationOperator_g2q0 ? left.plus$1(right) : left.minus$1(right);
  21906. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  21907. if (right instanceof A.SassNumber0) {
  21908. t1 = right._number1$_value;
  21909. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  21910. } else
  21911. t1 = false;
  21912. if (t1) {
  21913. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  21914. operator = operator === B.CalculationOperator_g2q0 ? B.CalculationOperator_CxF0 : B.CalculationOperator_g2q0;
  21915. }
  21916. return new A.CalculationOperation0(operator, left, right);
  21917. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  21918. return operator === B.CalculationOperator_1710 ? left.times$1(right) : left.dividedBy$1(right);
  21919. else
  21920. return new A.CalculationOperation0(operator, left, right);
  21921. },
  21922. SassCalculation__roundWithStep0(strategy, number, step) {
  21923. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  21924. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  21925. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  21926. _0_2 = number._number1$_value;
  21927. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  21928. t1 = step._number1$_value;
  21929. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  21930. } else
  21931. t1 = false;
  21932. if (!t1) {
  21933. t1 = step._number1$_value;
  21934. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  21935. } else
  21936. t1 = true;
  21937. if (t1) {
  21938. t1 = number.get$numeratorUnits(number);
  21939. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  21940. }
  21941. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  21942. return number;
  21943. t1 = step._number1$_value;
  21944. if (t1 == 1 / 0 || t1 == -1 / 0) {
  21945. $label0$0: {
  21946. if (0 === _0_2) {
  21947. t1 = number;
  21948. break $label0$0;
  21949. }
  21950. _0_6 = "nearest" === strategy;
  21951. t1 = _0_6;
  21952. _0_8_isSet = !t1;
  21953. _0_8 = _null;
  21954. if (_0_8_isSet) {
  21955. _0_8 = "to-zero" === strategy;
  21956. _0_9_isSet = _0_8;
  21957. } else
  21958. _0_9_isSet = true;
  21959. _0_9 = _null;
  21960. if (_0_9_isSet) {
  21961. _0_9 = _0_2 > 0;
  21962. t1 = _0_9;
  21963. } else
  21964. t1 = false;
  21965. if (t1) {
  21966. t1 = number.get$numeratorUnits(number);
  21967. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  21968. break $label0$0;
  21969. }
  21970. if (!_0_6)
  21971. if (_0_8_isSet)
  21972. t1 = _0_8;
  21973. else {
  21974. _0_8 = "to-zero" === strategy;
  21975. t1 = _0_8;
  21976. }
  21977. else
  21978. t1 = true;
  21979. if (t1) {
  21980. t1 = number.get$numeratorUnits(number);
  21981. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  21982. break $label0$0;
  21983. }
  21984. _0_11 = "up" === strategy;
  21985. t1 = _0_11;
  21986. if (t1)
  21987. if (_0_9_isSet)
  21988. t1 = _0_9;
  21989. else {
  21990. _0_9 = _0_2 > 0;
  21991. t1 = _0_9;
  21992. }
  21993. else
  21994. t1 = false;
  21995. if (t1) {
  21996. t1 = number.get$numeratorUnits(number);
  21997. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  21998. break $label0$0;
  21999. }
  22000. if (_0_11) {
  22001. t1 = number.get$numeratorUnits(number);
  22002. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  22003. break $label0$0;
  22004. }
  22005. _0_13 = "down" === strategy;
  22006. t1 = _0_13;
  22007. if (t1)
  22008. t1 = _0_2 < 0;
  22009. else
  22010. t1 = false;
  22011. if (t1) {
  22012. t1 = number.get$numeratorUnits(number);
  22013. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  22014. break $label0$0;
  22015. }
  22016. if (_0_13) {
  22017. t1 = number.get$numeratorUnits(number);
  22018. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  22019. break $label0$0;
  22020. }
  22021. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  22022. }
  22023. return t1;
  22024. }
  22025. stepWithNumberUnit = step.convertValueToMatch$1(number);
  22026. $label1$1: {
  22027. if ("nearest" === strategy) {
  22028. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  22029. t2 = number.get$numeratorUnits(number);
  22030. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22031. t1 = t2;
  22032. break $label1$1;
  22033. }
  22034. if ("up" === strategy) {
  22035. t2 = _0_2 / stepWithNumberUnit;
  22036. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  22037. t2 = number.get$numeratorUnits(number);
  22038. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22039. t1 = t2;
  22040. break $label1$1;
  22041. }
  22042. if ("down" === strategy) {
  22043. t2 = _0_2 / stepWithNumberUnit;
  22044. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  22045. t2 = number.get$numeratorUnits(number);
  22046. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22047. t1 = t2;
  22048. break $label1$1;
  22049. }
  22050. if ("to-zero" === strategy) {
  22051. t1 = _0_2 / stepWithNumberUnit;
  22052. if (_0_2 < 0) {
  22053. t1 = B.JSNumber_methods.ceil$0(t1);
  22054. t2 = number.get$numeratorUnits(number);
  22055. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22056. t1 = t2;
  22057. } else {
  22058. t1 = B.JSNumber_methods.floor$0(t1);
  22059. t2 = number.get$numeratorUnits(number);
  22060. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22061. t1 = t2;
  22062. }
  22063. break $label1$1;
  22064. }
  22065. t1 = number.get$numeratorUnits(number);
  22066. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  22067. break $label1$1;
  22068. }
  22069. return t1;
  22070. },
  22071. SassCalculation__simplify0(arg) {
  22072. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  22073. _s32_ = " can't be used in a calculation.";
  22074. $label0$0: {
  22075. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  22076. t1 = arg;
  22077. break $label0$0;
  22078. }
  22079. if (arg instanceof A.CalculationInterpolation) {
  22080. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  22081. break $label0$0;
  22082. }
  22083. t1 = arg instanceof A.SassString0;
  22084. t2 = _null;
  22085. if (t1 && !arg._string0$_hasQuotes) {
  22086. t1 = arg;
  22087. break $label0$0;
  22088. }
  22089. if (t1)
  22090. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  22091. _0_11_isSet = arg instanceof A.SassCalculation0;
  22092. _0_15 = _null;
  22093. _0_12 = _null;
  22094. _0_16_isSet = false;
  22095. text = _null;
  22096. t1 = false;
  22097. if (_0_11_isSet) {
  22098. _0_11 = "calc" === arg.name;
  22099. if (_0_11) {
  22100. _0_12 = arg.$arguments;
  22101. _0_15 = _0_12.length === 1;
  22102. _0_16_isSet = _0_15;
  22103. if (_0_16_isSet) {
  22104. _0_16 = _0_12[0];
  22105. t2 = _0_16;
  22106. if (t2 instanceof A.SassString0) {
  22107. type$.SassString_2._as(_0_16);
  22108. if (!_0_16._string0$_hasQuotes) {
  22109. text = _0_16._string0$_text;
  22110. t1 = A.SassCalculation__needsParentheses0(text);
  22111. }
  22112. }
  22113. } else
  22114. _0_16 = t2;
  22115. } else
  22116. _0_16 = t2;
  22117. _0_12_isSet = _0_11;
  22118. _0_15_isSet = _0_12_isSet;
  22119. } else {
  22120. _0_16 = t2;
  22121. _0_11 = _null;
  22122. _0_15_isSet = false;
  22123. _0_12_isSet = false;
  22124. }
  22125. if (t1) {
  22126. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  22127. break $label0$0;
  22128. }
  22129. t1 = false;
  22130. if (_0_11_isSet)
  22131. if (_0_11)
  22132. if (_0_15_isSet)
  22133. t1 = _0_15;
  22134. else {
  22135. if (_0_12_isSet)
  22136. t1 = _0_12;
  22137. else {
  22138. _0_12 = arg.$arguments;
  22139. t1 = _0_12;
  22140. _0_12_isSet = true;
  22141. }
  22142. _0_15 = t1.length === 1;
  22143. t1 = _0_15;
  22144. }
  22145. if (t1) {
  22146. if (_0_16_isSet)
  22147. value = _0_16;
  22148. else {
  22149. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  22150. value = _0_16;
  22151. }
  22152. t1 = value;
  22153. break $label0$0;
  22154. }
  22155. if (_0_11_isSet) {
  22156. t1 = arg;
  22157. break $label0$0;
  22158. }
  22159. if (arg instanceof A.Value0)
  22160. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  22161. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  22162. }
  22163. return t1;
  22164. },
  22165. SassCalculation__needsParentheses0(text) {
  22166. var t1, couldBeVar, second, third, fourth, i, t2,
  22167. first = text.charCodeAt(0);
  22168. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  22169. return true;
  22170. t1 = text.length;
  22171. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  22172. if (t1 < 2)
  22173. return false;
  22174. second = text.charCodeAt(1);
  22175. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  22176. return true;
  22177. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  22178. if (t1 < 3)
  22179. return false;
  22180. third = text.charCodeAt(2);
  22181. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  22182. return true;
  22183. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  22184. if (t1 < 4)
  22185. return false;
  22186. fourth = text.charCodeAt(3);
  22187. if (couldBeVar && fourth === 40)
  22188. return true;
  22189. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  22190. return true;
  22191. for (i = 4; i < t1; ++i) {
  22192. t2 = text.charCodeAt(i);
  22193. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  22194. return true;
  22195. }
  22196. return false;
  22197. },
  22198. SassCalculation__verifyCompatibleNumbers0(args) {
  22199. var t1, _i, t2, arg, i, number1, j, number2;
  22200. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  22201. arg = args[_i];
  22202. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  22203. throw A.wrapException(A.SassScriptException$0("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  22204. }
  22205. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  22206. number1 = args[i];
  22207. if (!(number1 instanceof A.SassNumber0))
  22208. continue;
  22209. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  22210. number2 = args[j];
  22211. if (!(number2 instanceof A.SassNumber0))
  22212. continue;
  22213. if (number1.hasPossiblyCompatibleUnits$1(number2))
  22214. continue;
  22215. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  22216. }
  22217. }
  22218. },
  22219. SassCalculation__verifyLength0(args, expectedLength) {
  22220. var t1;
  22221. if (args.length === expectedLength)
  22222. return;
  22223. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  22224. return;
  22225. t1 = args.length;
  22226. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  22227. },
  22228. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  22229. argument = A.SassCalculation__simplify0(argument);
  22230. if (!(argument instanceof A.SassNumber0))
  22231. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  22232. if (forbidUnits)
  22233. argument.assertNoUnits$0();
  22234. return mathFunc.call$1(argument);
  22235. },
  22236. SassCalculation0: function SassCalculation0(t0, t1) {
  22237. this.name = t0;
  22238. this.$arguments = t1;
  22239. },
  22240. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  22241. },
  22242. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  22243. this._calculation0$_operator = t0;
  22244. this._calculation0$_left = t1;
  22245. this._calculation0$_right = t2;
  22246. },
  22247. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  22248. var _ = this;
  22249. _.name = t0;
  22250. _.operator = t1;
  22251. _.precedence = t2;
  22252. _._name = t3;
  22253. },
  22254. CalculationInterpolation: function CalculationInterpolation(t0) {
  22255. this._calculation0$_value = t0;
  22256. },
  22257. CallableDeclaration0: function CallableDeclaration0() {
  22258. },
  22259. updateCanonicalizeContextPrototype() {
  22260. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  22261. A.LinkedHashMap_LinkedHashMap$_literal(["fromImport", new A.updateCanonicalizeContextPrototype_closure(), "containingUrl", new A.updateCanonicalizeContextPrototype_closure0()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  22262. return null;
  22263. },
  22264. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  22265. },
  22266. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  22267. },
  22268. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  22269. this._canonicalize_context$_fromImport = t0;
  22270. this._canonicalize_context$_containingUrl = t1;
  22271. this._canonicalize_context$_wasContainingUrlAccessed = false;
  22272. },
  22273. Chokidar0: function Chokidar0() {
  22274. },
  22275. ChokidarOptions0: function ChokidarOptions0() {
  22276. },
  22277. ChokidarWatcher0: function ChokidarWatcher0() {
  22278. },
  22279. ClassSelector0: function ClassSelector0(t0, t1) {
  22280. this.name = t0;
  22281. this.span = t1;
  22282. },
  22283. cloneCssStylesheet0(stylesheet, extensionStore) {
  22284. var _0_0 = extensionStore.clone$0();
  22285. 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);
  22286. },
  22287. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  22288. this._clone_css$_oldToNewSelectors = t0;
  22289. },
  22290. ColorExpression0: function ColorExpression0(t0, t1) {
  22291. this.value = t0;
  22292. this.span = t1;
  22293. },
  22294. _updateComponents0($arguments, adjust, change, scale) {
  22295. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  22296. t1 = J.getInterceptor$asx($arguments),
  22297. color = t1.$index($arguments, 0).assertColor$1("color"),
  22298. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  22299. if (argumentList._list1$_contents.length !== 0)
  22300. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  22301. argumentList._argument_list$_wereKeywordsAccessed = true;
  22302. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  22303. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  22304. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  22305. red = t1.call$2("red", 255);
  22306. green = t1.call$2("green", 255);
  22307. blue = t1.call$2("blue", 255);
  22308. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  22309. saturation = t1.call$3$checkPercent("saturation", 100, true);
  22310. lightness = t1.call$3$checkPercent("lightness", 100, true);
  22311. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  22312. blackness = t1.call$3$assertPercent("blackness", 100, true);
  22313. t1 = keywords.__js_helper$_length;
  22314. if (t1 !== 0)
  22315. 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));
  22316. hasRgb = red != null || green != null || blue != null;
  22317. hasSL = saturation != null || lightness != null;
  22318. hasWB = whiteness != null || blackness != null;
  22319. if (hasRgb)
  22320. t1 = hasSL || hasWB || hue != null;
  22321. else
  22322. t1 = false;
  22323. if (t1)
  22324. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  22325. if (hasSL && hasWB)
  22326. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  22327. t1 = new A._updateComponents_updateValue0(change, adjust);
  22328. t2 = new A._updateComponents_updateRgb0(t1);
  22329. if (hasRgb) {
  22330. t3 = t2.call$2(color.get$red(0), red);
  22331. t4 = t2.call$2(color.get$green(0), green);
  22332. t2 = t2.call$2(color.get$blue(0), blue);
  22333. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22334. } else if (hasWB) {
  22335. if (change)
  22336. t2 = hue;
  22337. else {
  22338. t2 = color.get$hue(0);
  22339. t2 += hue == null ? 0 : hue;
  22340. }
  22341. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  22342. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  22343. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  22344. } else {
  22345. t2 = hue == null;
  22346. if (!t2 || hasSL) {
  22347. if (change)
  22348. t2 = hue;
  22349. else {
  22350. t3 = color.get$hue(0);
  22351. t3 += t2 ? 0 : hue;
  22352. t2 = t3;
  22353. }
  22354. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  22355. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  22356. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22357. } else if (alpha != null)
  22358. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  22359. else
  22360. return color;
  22361. }
  22362. },
  22363. _functionString0($name, $arguments) {
  22364. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  22365. },
  22366. _removedColorFunction0($name, argument, negative) {
  22367. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  22368. },
  22369. _rgb0($name, $arguments) {
  22370. var red, green, blue, t3, t4,
  22371. t1 = J.getInterceptor$asx($arguments),
  22372. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  22373. t2 = true;
  22374. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22375. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22376. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22377. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22378. t2 = t2 === true;
  22379. }
  22380. if (t2)
  22381. return A._functionString0($name, $arguments);
  22382. red = t1.$index($arguments, 0).assertNumber$1("red");
  22383. green = t1.$index($arguments, 1).assertNumber$1("green");
  22384. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  22385. t1 = A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red"));
  22386. t2 = A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green"));
  22387. t3 = A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue"));
  22388. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  22389. return A.SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction0);
  22390. },
  22391. _rgbTwoArg0($name, $arguments) {
  22392. var t2, color,
  22393. t1 = J.getInterceptor$asx($arguments);
  22394. if (!t1.$index($arguments, 0).get$isVar())
  22395. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor0) && t1.$index($arguments, 1).get$isVar();
  22396. else
  22397. t2 = true;
  22398. if (t2)
  22399. return A._functionString0($name, $arguments);
  22400. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  22401. color = t1.$index($arguments, 0).assertColor$1("color");
  22402. 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);
  22403. }
  22404. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  22405. },
  22406. _hsl0($name, $arguments) {
  22407. var hue, saturation, lightness, t3,
  22408. _s10_ = "saturation",
  22409. _s9_ = "lightness",
  22410. t1 = J.getInterceptor$asx($arguments),
  22411. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  22412. t2 = true;
  22413. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22414. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22415. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22416. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22417. t2 = t2 === true;
  22418. }
  22419. if (t2)
  22420. return A._functionString0($name, $arguments);
  22421. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  22422. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  22423. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  22424. A._checkPercent0(saturation, _s10_);
  22425. A._checkPercent0(lightness, _s9_);
  22426. t1 = B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100);
  22427. t2 = B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100);
  22428. t3 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  22429. return A.SassColor$hslInternal0(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction0);
  22430. },
  22431. _angleValue0(angleValue, $name) {
  22432. var angle = angleValue.assertNumber$1($name);
  22433. if (angle.compatibleWithUnit$1("deg"))
  22434. return angle.coerceValueToUnit$1("deg");
  22435. A.warnForDeprecation0("$" + $name + ": Passing a unit other than deg (" + angle.toString$0(0) + string$.x29x20is_d + angle.unitSuggestion$1($name) + string$.x0a_See_, B.Deprecation_oCX);
  22436. return angle._number1$_value;
  22437. },
  22438. _checkPercent0(number, $name) {
  22439. if (number.hasUnit$1("%"))
  22440. return;
  22441. A.warnForDeprecation0("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3a, B.Deprecation_oCX);
  22442. },
  22443. _hwb0($arguments) {
  22444. var t2, t3,
  22445. _s9_ = "whiteness",
  22446. _s9_0 = "blackness",
  22447. t1 = J.getInterceptor$asx($arguments),
  22448. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  22449. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  22450. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  22451. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  22452. whiteness.assertUnit$2("%", _s9_);
  22453. blackness.assertUnit$2("%", _s9_0);
  22454. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  22455. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  22456. t3 = A.NullableExtension_andThen0(alpha, new A._hwb_closure0());
  22457. return A.SassColor_SassColor$hwb0(hue, t1, t2, t3 == null ? 1 : t3);
  22458. },
  22459. _parseChannels0($name, argumentNames, channels) {
  22460. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, t2, _1_0, _1_2_isSet, _1_2, _null = null,
  22461. _s17_ = "$channels must be";
  22462. if (channels.get$isVar())
  22463. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22464. if (channels.get$separator(channels) === B.ListSeparator_cQA0) {
  22465. list = channels.get$asList();
  22466. t1 = list.length;
  22467. if (t1 !== 2)
  22468. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  22469. channels0 = list[0];
  22470. alphaFromSlashList = list[1];
  22471. if (!alphaFromSlashList.get$isSpecialNumber())
  22472. alphaFromSlashList.assertNumber$1("alpha");
  22473. if (list[0].get$isVar())
  22474. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22475. } else {
  22476. alphaFromSlashList = _null;
  22477. channels0 = channels;
  22478. }
  22479. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_ECn0;
  22480. isBracketed = channels0.get$hasBrackets();
  22481. if (isCommaSeparated || isBracketed) {
  22482. buffer = new A.StringBuffer(_s17_);
  22483. if (isBracketed) {
  22484. t1 = _s17_ + " an unbracketed";
  22485. buffer._contents = t1;
  22486. } else
  22487. t1 = _s17_;
  22488. if (isCommaSeparated) {
  22489. t1 += isBracketed ? "," : " a";
  22490. buffer._contents = t1;
  22491. t1 = buffer._contents = t1 + " space-separated";
  22492. }
  22493. buffer._contents = t1 + " list.";
  22494. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  22495. }
  22496. list = channels0.get$asList();
  22497. t1 = false;
  22498. if (list.length >= 2) {
  22499. _0_4 = list[0];
  22500. t2 = _0_4;
  22501. if (t2 instanceof A.SassString0) {
  22502. type$.SassString_2._as(_0_4);
  22503. t1 = !_0_4._string0$_hasQuotes && A.equalsIgnoreCase0(_0_4._string0$_text, "from");
  22504. }
  22505. }
  22506. if (t1)
  22507. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22508. t1 = list.length;
  22509. if (t1 > 3)
  22510. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  22511. else if (t1 < 3) {
  22512. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0())) {
  22513. t1 = false;
  22514. if (list.length !== 0) {
  22515. t2 = B.JSArray_methods.get$last(list);
  22516. if (t2 instanceof A.SassString0)
  22517. if (t2._string0$_hasQuotes) {
  22518. t1 = t2._string0$_text;
  22519. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  22520. }
  22521. }
  22522. } else
  22523. t1 = true;
  22524. if (t1)
  22525. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22526. else
  22527. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  22528. }
  22529. if (alphaFromSlashList != null) {
  22530. t1 = A.List_List$of(list, true, type$.Value_2);
  22531. t1.push(alphaFromSlashList);
  22532. return t1;
  22533. }
  22534. _1_0 = list[2];
  22535. $label0$0: {
  22536. _1_2_isSet = _1_0 instanceof A.SassNumber0;
  22537. if (_1_2_isSet) {
  22538. _1_2 = _1_0.asSlash;
  22539. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  22540. } else {
  22541. _1_2 = _null;
  22542. t1 = false;
  22543. }
  22544. if (t1) {
  22545. if (_1_2_isSet)
  22546. t1 = _1_2;
  22547. else {
  22548. _1_2 = _1_0.asSlash;
  22549. t1 = _1_2;
  22550. _1_2_isSet = true;
  22551. }
  22552. if (t1 == null)
  22553. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  22554. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  22555. if (t2 == null)
  22556. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  22557. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value_2);
  22558. t1 = t2;
  22559. break $label0$0;
  22560. }
  22561. t1 = false;
  22562. if (_1_0 instanceof A.SassString0)
  22563. if (!_1_0._string0$_hasQuotes)
  22564. t1 = B.JSString_methods.contains$1(_1_0._string0$_text, "/");
  22565. if (t1) {
  22566. t1 = A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  22567. break $label0$0;
  22568. }
  22569. t1 = list;
  22570. break $label0$0;
  22571. }
  22572. return t1;
  22573. },
  22574. _percentageOrUnitless0(number, max, $name) {
  22575. var value;
  22576. if (!number.get$hasUnits())
  22577. value = number._number1$_value;
  22578. else if (number.hasUnit$1("%"))
  22579. value = max * number._number1$_value / 100;
  22580. else
  22581. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  22582. return B.JSNumber_methods.clamp$2(value, 0, max);
  22583. },
  22584. _mixColors0(color1, color2, weight) {
  22585. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  22586. A._checkPercent0(weight, "weight");
  22587. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  22588. normalizedWeight = weightScale * 2 - 1;
  22589. t1 = color1._color1$_alpha;
  22590. t2 = color2._color1$_alpha;
  22591. alphaDistance = t1 - t2;
  22592. t3 = normalizedWeight * alphaDistance;
  22593. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  22594. weight2 = 1 - weight1;
  22595. 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));
  22596. },
  22597. _opacify0($arguments) {
  22598. var t1 = J.getInterceptor$asx($arguments),
  22599. color = t1.$index($arguments, 0).assertColor$1("color");
  22600. 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));
  22601. },
  22602. _transparentize0($arguments) {
  22603. var t1 = J.getInterceptor$asx($arguments),
  22604. color = t1.$index($arguments, 0).assertColor$1("color");
  22605. 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));
  22606. },
  22607. _function11($name, $arguments, callback) {
  22608. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  22609. },
  22610. global_closure32: function global_closure32() {
  22611. },
  22612. global_closure33: function global_closure33() {
  22613. },
  22614. global_closure34: function global_closure34() {
  22615. },
  22616. global_closure35: function global_closure35() {
  22617. },
  22618. global_closure36: function global_closure36() {
  22619. },
  22620. global_closure37: function global_closure37() {
  22621. },
  22622. global_closure38: function global_closure38() {
  22623. },
  22624. global_closure39: function global_closure39() {
  22625. },
  22626. global_closure40: function global_closure40() {
  22627. },
  22628. global_closure41: function global_closure41() {
  22629. },
  22630. global_closure42: function global_closure42() {
  22631. },
  22632. global_closure43: function global_closure43() {
  22633. },
  22634. global_closure44: function global_closure44() {
  22635. },
  22636. global_closure45: function global_closure45() {
  22637. },
  22638. global_closure46: function global_closure46() {
  22639. },
  22640. global_closure47: function global_closure47() {
  22641. },
  22642. global_closure48: function global_closure48() {
  22643. },
  22644. global_closure49: function global_closure49() {
  22645. },
  22646. global_closure50: function global_closure50() {
  22647. },
  22648. global_closure51: function global_closure51() {
  22649. },
  22650. global_closure52: function global_closure52() {
  22651. },
  22652. global_closure53: function global_closure53() {
  22653. },
  22654. global_closure54: function global_closure54() {
  22655. },
  22656. global_closure55: function global_closure55() {
  22657. },
  22658. global_closure56: function global_closure56() {
  22659. },
  22660. global_closure57: function global_closure57() {
  22661. },
  22662. global__closure0: function global__closure0() {
  22663. },
  22664. global_closure58: function global_closure58() {
  22665. },
  22666. module_closure12: function module_closure12() {
  22667. },
  22668. module_closure13: function module_closure13() {
  22669. },
  22670. module_closure14: function module_closure14() {
  22671. },
  22672. module_closure15: function module_closure15() {
  22673. },
  22674. module_closure16: function module_closure16() {
  22675. },
  22676. module_closure17: function module_closure17() {
  22677. },
  22678. module_closure18: function module_closure18() {
  22679. },
  22680. module_closure19: function module_closure19() {
  22681. },
  22682. module__closure4: function module__closure4() {
  22683. },
  22684. module_closure20: function module_closure20() {
  22685. },
  22686. _red_closure0: function _red_closure0() {
  22687. },
  22688. _green_closure0: function _green_closure0() {
  22689. },
  22690. _blue_closure0: function _blue_closure0() {
  22691. },
  22692. _mix_closure0: function _mix_closure0() {
  22693. },
  22694. _hue_closure0: function _hue_closure0() {
  22695. },
  22696. _saturation_closure0: function _saturation_closure0() {
  22697. },
  22698. _lightness_closure0: function _lightness_closure0() {
  22699. },
  22700. _complement_closure0: function _complement_closure0() {
  22701. },
  22702. _adjust_closure0: function _adjust_closure0() {
  22703. },
  22704. _scale_closure0: function _scale_closure0() {
  22705. },
  22706. _change_closure0: function _change_closure0() {
  22707. },
  22708. _ieHexStr_closure0: function _ieHexStr_closure0() {
  22709. },
  22710. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  22711. },
  22712. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  22713. this.keywords = t0;
  22714. this.scale = t1;
  22715. this.change = t2;
  22716. },
  22717. _updateComponents_closure1: function _updateComponents_closure1() {
  22718. },
  22719. _updateComponents_closure2: function _updateComponents_closure2() {
  22720. },
  22721. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  22722. this.change = t0;
  22723. this.adjust = t1;
  22724. },
  22725. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  22726. this.updateValue = t0;
  22727. },
  22728. _functionString_closure0: function _functionString_closure0() {
  22729. },
  22730. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  22731. this.name = t0;
  22732. this.argument = t1;
  22733. this.negative = t2;
  22734. },
  22735. _rgb_closure0: function _rgb_closure0() {
  22736. },
  22737. _hsl_closure0: function _hsl_closure0() {
  22738. },
  22739. _hwb_closure0: function _hwb_closure0() {
  22740. },
  22741. _parseChannels_closure0: function _parseChannels_closure0() {
  22742. },
  22743. colorClass_closure: function colorClass_closure() {
  22744. },
  22745. colorClass__closure: function colorClass__closure() {
  22746. },
  22747. colorClass__closure0: function colorClass__closure0() {
  22748. },
  22749. colorClass__closure1: function colorClass__closure1() {
  22750. },
  22751. colorClass__closure2: function colorClass__closure2() {
  22752. },
  22753. colorClass__closure3: function colorClass__closure3() {
  22754. },
  22755. colorClass__closure4: function colorClass__closure4() {
  22756. },
  22757. colorClass__closure5: function colorClass__closure5() {
  22758. },
  22759. colorClass__closure6: function colorClass__closure6() {
  22760. },
  22761. colorClass__closure7: function colorClass__closure7() {
  22762. },
  22763. colorClass__closure8: function colorClass__closure8() {
  22764. },
  22765. colorClass__closure9: function colorClass__closure9() {
  22766. },
  22767. _Channels: function _Channels() {
  22768. },
  22769. _NodeSassColor: function _NodeSassColor() {
  22770. },
  22771. legacyColorClass_closure: function legacyColorClass_closure() {
  22772. },
  22773. legacyColorClass_closure0: function legacyColorClass_closure0() {
  22774. },
  22775. legacyColorClass_closure1: function legacyColorClass_closure1() {
  22776. },
  22777. legacyColorClass_closure2: function legacyColorClass_closure2() {
  22778. },
  22779. legacyColorClass_closure3: function legacyColorClass_closure3() {
  22780. },
  22781. legacyColorClass_closure4: function legacyColorClass_closure4() {
  22782. },
  22783. legacyColorClass_closure5: function legacyColorClass_closure5() {
  22784. },
  22785. legacyColorClass_closure6: function legacyColorClass_closure6() {
  22786. },
  22787. legacyColorClass_closure7: function legacyColorClass_closure7() {
  22788. },
  22789. SassColor$rgb0(red, green, blue, alpha) {
  22790. var _null = null,
  22791. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, A.fuzzyAssertRange0(A.SassColor__handleNullAlpha0(alpha), 0, 1, "alpha"), _null);
  22792. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  22793. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  22794. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  22795. return t1;
  22796. },
  22797. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  22798. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  22799. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  22800. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  22801. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  22802. return t1;
  22803. },
  22804. SassColor$hsl(hue, saturation, lightness, alpha) {
  22805. var _null = null,
  22806. t1 = A.SassColor__handleNullAlpha0(alpha);
  22807. 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);
  22808. },
  22809. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  22810. 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);
  22811. },
  22812. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  22813. var t2, t1 = {},
  22814. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  22815. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  22816. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  22817. sum = scaledWhiteness + scaledBlackness;
  22818. if (sum > 1) {
  22819. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  22820. scaledBlackness /= sum;
  22821. } else
  22822. t2 = scaledWhiteness;
  22823. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  22824. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  22825. },
  22826. SassColor__handleNullAlpha0(alpha) {
  22827. if (alpha != null)
  22828. return alpha;
  22829. A.warnForDeprecation0("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_omH);
  22830. return 1;
  22831. },
  22832. SassColor__hueToRgb0(m1, m2, hue) {
  22833. var t1;
  22834. if (hue < 0)
  22835. ++hue;
  22836. if (hue > 1)
  22837. --hue;
  22838. $label0$0: {
  22839. if (hue < 0.16666666666666666) {
  22840. t1 = m1 + (m2 - m1) * hue * 6;
  22841. break $label0$0;
  22842. }
  22843. if (hue < 0.5) {
  22844. t1 = m2;
  22845. break $label0$0;
  22846. }
  22847. if (hue < 0.6666666666666666) {
  22848. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  22849. break $label0$0;
  22850. }
  22851. t1 = m1;
  22852. break $label0$0;
  22853. }
  22854. return t1;
  22855. },
  22856. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  22857. var _ = this;
  22858. _._color1$_red = t0;
  22859. _._color1$_green = t1;
  22860. _._color1$_blue = t2;
  22861. _._color1$_hue = t3;
  22862. _._color1$_saturation = t4;
  22863. _._color1$_lightness = t5;
  22864. _._color1$_alpha = t6;
  22865. _.format = t7;
  22866. },
  22867. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  22868. this._box_0 = t0;
  22869. this.factor = t1;
  22870. },
  22871. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  22872. this._color1$_name = t0;
  22873. },
  22874. SpanColorFormat0: function SpanColorFormat0(t0) {
  22875. this._color1$_span = t0;
  22876. },
  22877. Combinator0: function Combinator0(t0, t1) {
  22878. this._combinator0$_text = t0;
  22879. this._name = t1;
  22880. },
  22881. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  22882. var _ = this;
  22883. _.text = t0;
  22884. _.span = t1;
  22885. _._node$_indexInParent = _._node$_parent = null;
  22886. _.isGroupEnd = false;
  22887. },
  22888. compile0(path, options) {
  22889. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null;
  22890. if (!A.isNodeJs())
  22891. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  22892. t1 = options == null;
  22893. color0 = t1 ? _null : J.get$alertColor$x(options);
  22894. color = color0 == null ? A.hasTerminal0() : color0;
  22895. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  22896. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  22897. t2 = t1 ? _null : J.get$logger$x(options);
  22898. t3 = ascii;
  22899. if (t3 == null)
  22900. t3 = $._glyphs === B.C_AsciiGlyphSet;
  22901. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  22902. try {
  22903. t2 = t1 ? _null : J.get$loadPaths$x(options);
  22904. t3 = t1 ? _null : J.get$quietDeps$x(options);
  22905. if (t3 == null)
  22906. t3 = false;
  22907. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  22908. t5 = t1 ? _null : J.get$verbose$x(options);
  22909. if (t5 == null)
  22910. t5 = false;
  22911. t6 = t1 ? _null : J.get$charset$x(options);
  22912. if (t6 == null)
  22913. t6 = true;
  22914. t7 = t1 ? _null : J.get$sourceMap$x(options);
  22915. if (t7 == null)
  22916. t7 = false;
  22917. t8 = logger;
  22918. if (t1)
  22919. t9 = _null;
  22920. else {
  22921. t9 = J.get$importers$x(options);
  22922. t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
  22923. }
  22924. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  22925. t11 = t1 ? _null : J.get$fatalDeprecations$x(options);
  22926. t11 = A.parseDeprecations(logger, t11, true);
  22927. t12 = t1 ? _null : J.get$silenceDeprecations$x(options);
  22928. t12 = A.parseDeprecations(logger, t12, false);
  22929. t13 = t1 ? _null : J.get$futureDeprecations$x(options);
  22930. t13 = A.parseDeprecations(logger, t13, false);
  22931. result = A.compile(path, t6, t11, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable>")), t13, A.ImportCache$0(t9, t2, A.ImportCache_wrapLogger0(t8, t12, t11, t13, color), _null), _null, _null, t8, _null, t3, t12, t7, t4, _null, true, t5);
  22932. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  22933. if (t1 == null)
  22934. t1 = false;
  22935. t1 = A._convertResult(result, t1);
  22936. return t1;
  22937. } catch (exception) {
  22938. t1 = A.unwrapException(exception);
  22939. if (t1 instanceof A.SassException0) {
  22940. error = t1;
  22941. stackTrace = A.getTraceFromException(exception);
  22942. A.throwNodeException(error, ascii, color, stackTrace);
  22943. } else
  22944. throw exception;
  22945. }
  22946. },
  22947. compileString0(text, options) {
  22948. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null,
  22949. t1 = options == null,
  22950. color0 = t1 ? _null : J.get$alertColor$x(options),
  22951. color = color0 == null ? A.hasTerminal0() : color0,
  22952. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  22953. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  22954. t2 = t1 ? _null : J.get$logger$x(options),
  22955. t3 = ascii;
  22956. if (t3 == null)
  22957. t3 = $._glyphs === B.C_AsciiGlyphSet;
  22958. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  22959. try {
  22960. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  22961. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  22962. t4 = t1 ? _null : J.get$loadPaths$x(options);
  22963. t5 = t1 ? _null : J.get$quietDeps$x(options);
  22964. if (t5 == null)
  22965. t5 = false;
  22966. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  22967. t7 = t1 ? _null : J.get$verbose$x(options);
  22968. if (t7 == null)
  22969. t7 = false;
  22970. t8 = t1 ? _null : J.get$charset$x(options);
  22971. if (t8 == null)
  22972. t8 = true;
  22973. t9 = t1 ? _null : J.get$sourceMap$x(options);
  22974. if (t9 == null)
  22975. t9 = false;
  22976. t10 = logger;
  22977. if (t1)
  22978. t11 = _null;
  22979. else {
  22980. t11 = J.get$importers$x(options);
  22981. t11 = t11 == null ? _null : J.map$1$1$ax(t11, A.compile___parseImporter$closure(), type$.Importer);
  22982. }
  22983. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  22984. if (t12 == null)
  22985. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  22986. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  22987. t14 = t1 ? _null : J.get$fatalDeprecations$x(options);
  22988. t14 = A.parseDeprecations(logger, t14, true);
  22989. t15 = t1 ? _null : J.get$silenceDeprecations$x(options);
  22990. t15 = A.parseDeprecations(logger, t15, false);
  22991. t16 = t1 ? _null : J.get$futureDeprecations$x(options);
  22992. t16 = A.parseDeprecations(logger, t16, false);
  22993. result = A.compileString(text, t8, t14, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable>")), t16, A.ImportCache$0(t11, t4, A.ImportCache_wrapLogger0(t10, t15, t14, t16, color), _null), t12, _null, _null, t10, _null, t5, t15, t9, t6, t2, t3, true, t7);
  22994. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  22995. if (t1 == null)
  22996. t1 = false;
  22997. t1 = A._convertResult(result, t1);
  22998. return t1;
  22999. } catch (exception) {
  23000. t1 = A.unwrapException(exception);
  23001. if (t1 instanceof A.SassException0) {
  23002. error = t1;
  23003. stackTrace = A.getTraceFromException(exception);
  23004. A.throwNodeException(error, ascii, color, stackTrace);
  23005. } else
  23006. throw exception;
  23007. }
  23008. },
  23009. compileAsync1(path, options) {
  23010. var t1, color, ascii;
  23011. if (!A.isNodeJs())
  23012. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  23013. t1 = options == null;
  23014. color = t1 ? null : J.get$alertColor$x(options);
  23015. if (color == null)
  23016. color = A.hasTerminal0();
  23017. ascii = t1 ? null : J.get$alertAscii$x(options);
  23018. if (ascii == null)
  23019. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23020. t1 = t1 ? null : J.get$logger$x(options);
  23021. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  23022. },
  23023. compileStringAsync1(text, options) {
  23024. var ascii,
  23025. t1 = options == null,
  23026. color = t1 ? null : J.get$alertColor$x(options);
  23027. if (color == null)
  23028. color = A.hasTerminal0();
  23029. ascii = t1 ? null : J.get$alertAscii$x(options);
  23030. if (ascii == null)
  23031. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23032. t1 = t1 ? null : J.get$logger$x(options);
  23033. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  23034. },
  23035. _convertResult(result, includeSourceContents) {
  23036. var loadedUrls,
  23037. t1 = result._compile_result$_serialize,
  23038. t2 = t1._1,
  23039. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  23040. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  23041. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  23042. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils1__dartToJSUrl$closure(), type$.nullable_Object));
  23043. t1 = t1._0;
  23044. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  23045. },
  23046. _wrapAsyncSassExceptions(promise, ascii, color) {
  23047. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  23048. },
  23049. _parseOutputStyle0(style) {
  23050. var t1;
  23051. $label0$0: {
  23052. if (style == null || "expanded" === style) {
  23053. t1 = B.OutputStyle_00;
  23054. break $label0$0;
  23055. }
  23056. if ("compressed" === style) {
  23057. t1 = B.OutputStyle_10;
  23058. break $label0$0;
  23059. }
  23060. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  23061. }
  23062. return t1;
  23063. },
  23064. _parseAsyncImporter(importer) {
  23065. var t1, canonicalize, load, _0_0;
  23066. if (importer instanceof A.NodePackageImporter0)
  23067. return importer;
  23068. if (importer == null)
  23069. A.jsThrow(new self.Error("Importers may not be null."));
  23070. type$.JSImporter._as(importer);
  23071. t1 = J.getInterceptor$x(importer);
  23072. canonicalize = t1.get$canonicalize(importer);
  23073. load = t1.get$load(importer);
  23074. _0_0 = t1.get$findFileUrl(importer);
  23075. if (_0_0 != null)
  23076. if (canonicalize != null || load != null)
  23077. A.jsThrow(new self.Error(string$.An_impa));
  23078. else
  23079. return new A.JSToDartAsyncFileImporter(_0_0);
  23080. else if (canonicalize == null || load == null)
  23081. A.jsThrow(new self.Error(string$.An_impu));
  23082. else {
  23083. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23084. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23085. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23086. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  23087. }
  23088. },
  23089. _parseImporter0(importer) {
  23090. var t1, canonicalize, load, _0_0;
  23091. if (importer instanceof A.NodePackageImporter0)
  23092. return importer;
  23093. if (importer == null)
  23094. A.jsThrow(new self.Error("Importers may not be null."));
  23095. type$.JSImporter._as(importer);
  23096. t1 = J.getInterceptor$x(importer);
  23097. canonicalize = t1.get$canonicalize(importer);
  23098. load = t1.get$load(importer);
  23099. _0_0 = t1.get$findFileUrl(importer);
  23100. if (_0_0 != null)
  23101. if (canonicalize != null || load != null)
  23102. A.jsThrow(new self.Error(string$.An_impa));
  23103. else
  23104. return new A.JSToDartFileImporter(_0_0);
  23105. else if (canonicalize == null || load == null)
  23106. A.jsThrow(new self.Error(string$.An_impu));
  23107. else {
  23108. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23109. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23110. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23111. return new A.JSToDartImporter(canonicalize, load, t1);
  23112. }
  23113. },
  23114. _normalizeNonCanonicalSchemes(schemes) {
  23115. var t1;
  23116. $label0$0: {
  23117. if (typeof schemes == "string") {
  23118. t1 = A._setArrayType([schemes], type$.JSArray_String);
  23119. break $label0$0;
  23120. }
  23121. if (type$.List_dynamic._is(schemes)) {
  23122. t1 = J.cast$1$0$ax(schemes, type$.String);
  23123. break $label0$0;
  23124. }
  23125. if (schemes == null) {
  23126. t1 = null;
  23127. break $label0$0;
  23128. }
  23129. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  23130. }
  23131. return t1;
  23132. },
  23133. _simplifyValue(value) {
  23134. var _0_1, t1, t2, _0_4, _0_3, _0_4_isSet, _0_5, _0_40, _0_8, first, _0_10, min, _null = null;
  23135. $label1$1: {
  23136. if (value instanceof A.SassCalculation0) {
  23137. _0_1 = value.name;
  23138. t1 = value.$arguments;
  23139. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  23140. _0_4 = A.List_List$of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), true, t2._eval$1("ListIterable.E"));
  23141. $label0$0: {
  23142. _0_3 = "calc" === _0_1;
  23143. _0_4_isSet = _0_3;
  23144. _0_5 = _null;
  23145. _0_40 = _null;
  23146. if (_0_4_isSet) {
  23147. _0_5 = _0_4.length;
  23148. t1 = _0_5;
  23149. _0_40 = _0_4;
  23150. t1 = t1 === 1;
  23151. } else
  23152. t1 = false;
  23153. if (t1) {
  23154. _0_8 = (_0_4_isSet ? _0_40 : _0_4)[0];
  23155. first = _0_8;
  23156. type$.Value_2._as(first);
  23157. t1 = first;
  23158. break $label0$0;
  23159. }
  23160. if (_0_3)
  23161. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  23162. _0_10 = "clamp" === _0_1;
  23163. t1 = _0_10;
  23164. if (t1) {
  23165. if (_0_4_isSet)
  23166. t1 = _0_5;
  23167. else {
  23168. _0_5 = _0_4.length;
  23169. t1 = _0_5;
  23170. _0_40 = _0_4;
  23171. _0_4_isSet = true;
  23172. }
  23173. t1 = t1 === 3;
  23174. } else
  23175. t1 = false;
  23176. if (t1) {
  23177. if (_0_4_isSet)
  23178. t1 = _0_40;
  23179. else {
  23180. t1 = _0_4;
  23181. _0_40 = t1;
  23182. _0_4_isSet = true;
  23183. }
  23184. _0_8 = t1[0];
  23185. min = _0_8;
  23186. if (_0_4_isSet)
  23187. t1 = _0_40;
  23188. else {
  23189. t1 = _0_4;
  23190. _0_40 = t1;
  23191. _0_4_isSet = true;
  23192. }
  23193. value = t1[1];
  23194. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  23195. break $label0$0;
  23196. }
  23197. if (_0_10)
  23198. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  23199. if ("min" === _0_1) {
  23200. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  23201. break $label0$0;
  23202. }
  23203. if ("max" === _0_1) {
  23204. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  23205. break $label0$0;
  23206. }
  23207. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  23208. }
  23209. break $label1$1;
  23210. }
  23211. t1 = value;
  23212. break $label1$1;
  23213. }
  23214. return t1;
  23215. },
  23216. _simplifyCalcArg(value) {
  23217. var t1;
  23218. $label0$0: {
  23219. if (value instanceof A.SassCalculation0) {
  23220. t1 = A._simplifyValue(value);
  23221. break $label0$0;
  23222. }
  23223. if (value instanceof A.CalculationOperation0) {
  23224. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), false, true);
  23225. break $label0$0;
  23226. }
  23227. t1 = value;
  23228. break $label0$0;
  23229. }
  23230. return t1;
  23231. },
  23232. _parseFunctions0(functions, asynch) {
  23233. var result;
  23234. if (functions == null)
  23235. return B.List_empty24;
  23236. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  23237. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  23238. return result;
  23239. },
  23240. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  23241. var _ = this;
  23242. _.path = t0;
  23243. _.color = t1;
  23244. _.options = t2;
  23245. _.logger = t3;
  23246. },
  23247. compileAsync__closure: function compileAsync__closure() {
  23248. },
  23249. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  23250. var _ = this;
  23251. _.text = t0;
  23252. _.options = t1;
  23253. _.color = t2;
  23254. _.logger = t3;
  23255. },
  23256. compileStringAsync__closure: function compileStringAsync__closure() {
  23257. },
  23258. compileStringAsync__closure0: function compileStringAsync__closure0() {
  23259. },
  23260. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  23261. this.color = t0;
  23262. this.ascii = t1;
  23263. },
  23264. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  23265. this.asynch = t0;
  23266. this.result = t1;
  23267. },
  23268. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  23269. this.callback = t0;
  23270. this.callable = t1;
  23271. },
  23272. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  23273. this.callback = t0;
  23274. this.$arguments = t1;
  23275. },
  23276. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  23277. this.callback = t0;
  23278. this.callable = t1;
  23279. },
  23280. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  23281. this.callback = t0;
  23282. this.$arguments = t1;
  23283. },
  23284. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  23285. },
  23286. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  23287. },
  23288. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  23289. var t3, t4, t0, stylesheet, result, _null = null,
  23290. t1 = type$.Deprecation_3,
  23291. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23292. if (silenceDeprecations != null)
  23293. t2.addAll$1(0, silenceDeprecations);
  23294. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23295. if (fatalDeprecations != null)
  23296. t3.addAll$1(0, fatalDeprecations);
  23297. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23298. if (futureDeprecations != null)
  23299. t4.addAll$1(0, futureDeprecations);
  23300. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  23301. logger.validate$0();
  23302. t1 = nodeImporter == null;
  23303. if (t1)
  23304. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  23305. else
  23306. t2 = false;
  23307. if (t2) {
  23308. if (importCache == null)
  23309. importCache = A.ImportCache$none(logger);
  23310. t2 = $.$get$FilesystemImporter_cwd0();
  23311. t3 = A.isNodeJs() ? self.process : _null;
  23312. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  23313. t3 = A.isNodeJs() ? self.process : _null;
  23314. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  23315. } else
  23316. t3 = true;
  23317. if (t3) {
  23318. t3 = $.$get$context();
  23319. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  23320. t0 = t4;
  23321. t4 = t3;
  23322. t3 = t0;
  23323. } else {
  23324. t3 = $.$get$context();
  23325. t4 = t3.canonicalize$1(0, path);
  23326. t0 = t4;
  23327. t4 = t3;
  23328. t3 = t0;
  23329. }
  23330. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  23331. t4.toString;
  23332. stylesheet = t4;
  23333. } else {
  23334. t2 = A.readFile0(path);
  23335. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  23336. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  23337. }
  23338. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23339. logger.summarize$1$js(!t1);
  23340. return result;
  23341. },
  23342. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  23343. var t3, t4, stylesheet, result,
  23344. t1 = type$.Deprecation_3,
  23345. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23346. if (silenceDeprecations != null)
  23347. t2.addAll$1(0, silenceDeprecations);
  23348. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23349. if (fatalDeprecations != null)
  23350. t3.addAll$1(0, fatalDeprecations);
  23351. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23352. if (futureDeprecations != null)
  23353. t4.addAll$1(0, futureDeprecations);
  23354. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  23355. logger.validate$0();
  23356. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  23357. if (importer == null)
  23358. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  23359. else
  23360. t1 = importer;
  23361. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23362. logger.summarize$1$js(nodeImporter != null);
  23363. return result;
  23364. },
  23365. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  23366. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  23367. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  23368. resultSourceMap = serializeResult._1;
  23369. if (resultSourceMap != null && importCache != null)
  23370. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  23371. return new A.CompileResult0(evaluateResult, serializeResult);
  23372. },
  23373. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  23374. this.stylesheet = t0;
  23375. this.importCache = t1;
  23376. },
  23377. CompileOptions: function CompileOptions() {
  23378. },
  23379. CompileStringOptions: function CompileStringOptions() {
  23380. },
  23381. NodeCompileResult: function NodeCompileResult() {
  23382. },
  23383. CompileResult0: function CompileResult0(t0, t1) {
  23384. this._evaluate = t0;
  23385. this._compile_result$_serialize = t1;
  23386. },
  23387. initCompiler() {
  23388. return new A.Compiler();
  23389. },
  23390. initAsyncCompiler() {
  23391. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  23392. },
  23393. Compiler: function Compiler() {
  23394. this._disposed = false;
  23395. },
  23396. AsyncCompiler: function AsyncCompiler(t0) {
  23397. this.compilations = t0;
  23398. this._disposed = false;
  23399. },
  23400. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  23401. },
  23402. compilerClass_closure: function compilerClass_closure() {
  23403. },
  23404. compilerClass__closure: function compilerClass__closure() {
  23405. },
  23406. compilerClass__closure0: function compilerClass__closure0() {
  23407. },
  23408. compilerClass__closure1: function compilerClass__closure1() {
  23409. },
  23410. compilerClass__closure2: function compilerClass__closure2() {
  23411. },
  23412. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  23413. },
  23414. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  23415. },
  23416. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  23417. },
  23418. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  23419. },
  23420. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  23421. },
  23422. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  23423. this.self = t0;
  23424. },
  23425. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  23426. },
  23427. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  23428. var _ = this;
  23429. _._complex0$_numeratorUnits = t0;
  23430. _._complex0$_denominatorUnits = t1;
  23431. _._number1$_value = t2;
  23432. _.hashCache = null;
  23433. _.asSlash = t3;
  23434. },
  23435. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  23436. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  23437. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  23438. if (t1.length === 0 && t2.length === 0)
  23439. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  23440. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  23441. },
  23442. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  23443. var _ = this;
  23444. _.leadingCombinators = t0;
  23445. _.components = t1;
  23446. _.lineBreak = t2;
  23447. _._complex$__ComplexSelector_specificity_FI = $;
  23448. _.span = t3;
  23449. },
  23450. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  23451. },
  23452. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  23453. this.selector = t0;
  23454. this.combinators = t1;
  23455. this.span = t2;
  23456. },
  23457. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  23458. },
  23459. CompoundSelector$0(components, span) {
  23460. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  23461. if (t1.length === 0)
  23462. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  23463. return new A.CompoundSelector0(t1, span);
  23464. },
  23465. CompoundSelector0: function CompoundSelector0(t0, t1) {
  23466. var _ = this;
  23467. _.components = t0;
  23468. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  23469. _.span = t1;
  23470. },
  23471. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  23472. },
  23473. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  23474. },
  23475. Configuration0: function Configuration0(t0, t1) {
  23476. this._configuration0$_values = t0;
  23477. this._configuration0$__originalConfiguration = t1;
  23478. },
  23479. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  23480. this.nodeWithSpan = t0;
  23481. this._configuration0$_values = t1;
  23482. this._configuration0$__originalConfiguration = t2;
  23483. },
  23484. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  23485. this.value = t0;
  23486. this.configurationSpan = t1;
  23487. this.assignmentNode = t2;
  23488. },
  23489. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  23490. var _ = this;
  23491. _.name = t0;
  23492. _.expression = t1;
  23493. _.isGuarded = t2;
  23494. _.span = t3;
  23495. },
  23496. ContentBlock$0($arguments, children, span) {
  23497. var _s8_ = "@content",
  23498. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  23499. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  23500. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  23501. return new A.ContentBlock0(t1, _s8_, $arguments, span, t2, t3);
  23502. },
  23503. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  23504. var _ = this;
  23505. _.name = t0;
  23506. _.originalName = t1;
  23507. _.$arguments = t2;
  23508. _.span = t3;
  23509. _.children = t4;
  23510. _.hasDeclarations = t5;
  23511. },
  23512. ContentRule0: function ContentRule0(t0, t1) {
  23513. this.$arguments = t0;
  23514. this.span = t1;
  23515. },
  23516. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  23517. },
  23518. CssParser0: function CssParser0(t0, t1, t2, t3) {
  23519. var _ = this;
  23520. _._stylesheet0$_isUseAllowed = true;
  23521. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  23522. _._stylesheet0$_globalVariables = t0;
  23523. _.lastSilentComment = null;
  23524. _.scanner = t1;
  23525. _.logger = t2;
  23526. _._parser1$_interpolationMap = t3;
  23527. },
  23528. DebugRule0: function DebugRule0(t0, t1) {
  23529. this.expression = t0;
  23530. this.span = t1;
  23531. },
  23532. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  23533. var t2,
  23534. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  23535. if (parsedAsCustomProperty)
  23536. if (!J.startsWith$1$s($name.value, "--"))
  23537. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  23538. else {
  23539. t2 = value.value;
  23540. if (!(t2 instanceof A.SassString0))
  23541. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  23542. }
  23543. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  23544. },
  23545. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  23546. var _ = this;
  23547. _.name = t0;
  23548. _.value = t1;
  23549. _.parsedAsCustomProperty = t2;
  23550. _.valueSpanForMap = t3;
  23551. _.span = t4;
  23552. _._node$_indexInParent = _._node$_parent = null;
  23553. _.isGroupEnd = false;
  23554. },
  23555. Declaration$0($name, value, span) {
  23556. return new A.Declaration0($name, value, span, null, false);
  23557. },
  23558. Declaration$nested0($name, children, span, value) {
  23559. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23560. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23561. return new A.Declaration0($name, value, span, t1, t2);
  23562. },
  23563. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  23564. var _ = this;
  23565. _.name = t0;
  23566. _.value = t1;
  23567. _.span = t2;
  23568. _.children = t3;
  23569. _.hasDeclarations = t4;
  23570. },
  23571. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  23572. this.name = t0;
  23573. this.value = t1;
  23574. this.span = t2;
  23575. },
  23576. Deprecation_fromId0(id) {
  23577. return A.IterableExtension_firstWhereOrNull(B.List_OPz, new A.Deprecation_fromId_closure0(id));
  23578. },
  23579. Deprecation_forVersion0(version) {
  23580. var t2, _i, deprecation, $self, t3,
  23581. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  23582. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 20; ++_i) {
  23583. deprecation = B.List_OPz[_i];
  23584. $self = deprecation._deprecation$_deprecatedIn;
  23585. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  23586. t3 = t3 == null ? null : t2.call$1(t3);
  23587. if (t3 == null ? false : t3)
  23588. t1.add$1(0, deprecation);
  23589. }
  23590. return t1;
  23591. },
  23592. Deprecation0: function Deprecation0(t0, t1, t2, t3, t4) {
  23593. var _ = this;
  23594. _.id = t0;
  23595. _._deprecation$_deprecatedIn = t1;
  23596. _.description = t2;
  23597. _.isFuture = t3;
  23598. _._name = t4;
  23599. },
  23600. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  23601. this.id = t0;
  23602. },
  23603. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  23604. var _ = this;
  23605. _._deprecation_processing$_warningCounts = t0;
  23606. _._deprecation_processing$_inner = t1;
  23607. _.silenceDeprecations = t2;
  23608. _.fatalDeprecations = t3;
  23609. _.futureDeprecations = t4;
  23610. _.limitRepetition = t5;
  23611. },
  23612. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  23613. },
  23614. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  23615. },
  23616. parseDeprecations(logger, deprecations, supportVersions) {
  23617. if (deprecations == null)
  23618. return null;
  23619. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  23620. },
  23621. Deprecation1: function Deprecation1() {
  23622. },
  23623. deprecations_closure: function deprecations_closure(t0) {
  23624. this.deprecation = t0;
  23625. },
  23626. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  23627. this.deprecations = t0;
  23628. this.logger = t1;
  23629. this.supportVersions = t2;
  23630. },
  23631. versionClass_closure: function versionClass_closure() {
  23632. },
  23633. versionClass__closure: function versionClass__closure() {
  23634. },
  23635. versionClass__closure0: function versionClass__closure0() {
  23636. },
  23637. DynamicImport0: function DynamicImport0(t0, t1) {
  23638. this.urlString = t0;
  23639. this.span = t1;
  23640. },
  23641. EachRule$0(variables, list, children, span) {
  23642. var t1 = A.List_List$unmodifiable(variables, type$.String),
  23643. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  23644. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  23645. return new A.EachRule0(t1, list, span, t2, t3);
  23646. },
  23647. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  23648. var _ = this;
  23649. _.variables = t0;
  23650. _.list = t1;
  23651. _.span = t2;
  23652. _.children = t3;
  23653. _.hasDeclarations = t4;
  23654. },
  23655. EachRule_toString_closure0: function EachRule_toString_closure0() {
  23656. },
  23657. EmptyExtensionStore0: function EmptyExtensionStore0() {
  23658. },
  23659. Environment$0() {
  23660. var t1 = type$.String,
  23661. t2 = type$.Module_Callable_2,
  23662. t3 = type$.AstNode_2,
  23663. t4 = type$.int,
  23664. t5 = type$.Callable_2,
  23665. t6 = type$.JSArray_Map_String_Callable_2;
  23666. 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);
  23667. },
  23668. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  23669. var t1 = type$.String,
  23670. t2 = type$.int;
  23671. 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);
  23672. },
  23673. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  23674. var t1, t2, t3, t4, t5, t6, module, result, t7;
  23675. if (forwarded == null)
  23676. forwarded = B.Set_empty4;
  23677. t1 = type$.dynamic;
  23678. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  23679. 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();) {
  23680. t6 = t4.get$current(t4);
  23681. module = t6._0;
  23682. result = A.List_List$from(t6._1, false, t5);
  23683. result.fixed$length = Array;
  23684. result.immutable$list = Array;
  23685. t1.$indexSet(0, module, result);
  23686. }
  23687. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  23688. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  23689. 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);
  23690. 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);
  23691. t5 = type$.Map_String_Callable_2;
  23692. t6 = type$.Callable_2;
  23693. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  23694. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  23695. 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());
  23696. 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()));
  23697. },
  23698. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  23699. var modulesByVariable, t1, t2, t3, t4, t5;
  23700. if (forwarded.get$isEmpty(forwarded))
  23701. return B.Map_empty10;
  23702. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  23703. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  23704. t2 = t1.get$current(t1);
  23705. if (t2 instanceof A._EnvironmentModule1) {
  23706. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  23707. t4 = t3.get$current(t3);
  23708. t5 = t4.get$variables();
  23709. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  23710. }
  23711. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  23712. } else {
  23713. t3 = t2.get$variables();
  23714. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  23715. }
  23716. }
  23717. return modulesByVariable;
  23718. },
  23719. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  23720. var t1, t2, t3;
  23721. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  23722. if (otherMaps.get$isEmpty(otherMaps))
  23723. return localMap;
  23724. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  23725. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  23726. t3 = t2.get$current(t2);
  23727. if (t3.get$isNotEmpty(t3))
  23728. t1.push(t3);
  23729. }
  23730. t1.push(localMap);
  23731. if (t1.length === 1)
  23732. return localMap;
  23733. return A.MergedMapView$0(t1, type$.String, $V);
  23734. },
  23735. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  23736. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  23737. },
  23738. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  23739. var _ = this;
  23740. _._environment0$_modules = t0;
  23741. _._environment0$_namespaceNodes = t1;
  23742. _._environment0$_globalModules = t2;
  23743. _._environment0$_importedModules = t3;
  23744. _._environment0$_forwardedModules = t4;
  23745. _._environment0$_nestedForwardedModules = t5;
  23746. _._environment0$_allModules = t6;
  23747. _._environment0$_variables = t7;
  23748. _._environment0$_variableNodes = t8;
  23749. _._environment0$_variableIndices = t9;
  23750. _._environment0$_functions = t10;
  23751. _._environment0$_functionIndices = t11;
  23752. _._environment0$_mixins = t12;
  23753. _._environment0$_mixinIndices = t13;
  23754. _._environment0$_content = t14;
  23755. _._environment0$_inMixin = false;
  23756. _._environment0$_inSemiGlobalScope = true;
  23757. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  23758. },
  23759. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  23760. this.name = t0;
  23761. },
  23762. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  23763. this.$this = t0;
  23764. this.name = t1;
  23765. },
  23766. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  23767. this.name = t0;
  23768. },
  23769. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  23770. this.$this = t0;
  23771. this.name = t1;
  23772. },
  23773. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  23774. this.name = t0;
  23775. },
  23776. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  23777. this.name = t0;
  23778. },
  23779. Environment_toModule_closure0: function Environment_toModule_closure0() {
  23780. },
  23781. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  23782. },
  23783. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  23784. var _ = this;
  23785. _.upstream = t0;
  23786. _.variables = t1;
  23787. _.variableNodes = t2;
  23788. _.functions = t3;
  23789. _.mixins = t4;
  23790. _.extensionStore = t5;
  23791. _.css = t6;
  23792. _.preModuleComments = t7;
  23793. _.transitivelyContainsCss = t8;
  23794. _.transitivelyContainsExtensions = t9;
  23795. _._environment0$_environment = t10;
  23796. _._environment0$_modulesByVariable = t11;
  23797. },
  23798. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  23799. },
  23800. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  23801. },
  23802. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  23803. },
  23804. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  23805. },
  23806. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  23807. },
  23808. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  23809. },
  23810. ErrorRule0: function ErrorRule0(t0, t1) {
  23811. this.expression = t0;
  23812. this.span = t1;
  23813. },
  23814. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  23815. var t4,
  23816. t1 = type$.Uri,
  23817. t2 = type$.Module_Callable_2,
  23818. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  23819. if (importCache == null)
  23820. t4 = nodeImporter == null ? A.ImportCache$none(logger) : null;
  23821. else
  23822. t4 = importCache;
  23823. 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);
  23824. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  23825. return t1;
  23826. },
  23827. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  23828. var _ = this;
  23829. _._evaluate0$_importCache = t0;
  23830. _._nodeImporter = t1;
  23831. _._evaluate0$_builtInFunctions = t2;
  23832. _._evaluate0$_builtInModules = t3;
  23833. _._evaluate0$_modules = t4;
  23834. _._evaluate0$_moduleConfigurations = t5;
  23835. _._evaluate0$_moduleNodes = t6;
  23836. _._evaluate0$_logger = t7;
  23837. _._evaluate0$_warningsEmitted = t8;
  23838. _._evaluate0$_quietDeps = t9;
  23839. _._evaluate0$_sourceMap = t10;
  23840. _._evaluate0$_environment = t11;
  23841. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  23842. _._evaluate0$_member = "root stylesheet";
  23843. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  23844. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  23845. _._evaluate0$_loadedUrls = t12;
  23846. _._evaluate0$_activeModules = t13;
  23847. _._evaluate0$_stack = t14;
  23848. _._evaluate0$_importer = null;
  23849. _._evaluate0$_inDependency = false;
  23850. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  23851. _._evaluate0$_configuration = t15;
  23852. },
  23853. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  23854. this.$this = t0;
  23855. },
  23856. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  23857. this.$this = t0;
  23858. },
  23859. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  23860. this.$this = t0;
  23861. },
  23862. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  23863. this.$this = t0;
  23864. },
  23865. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  23866. this.$this = t0;
  23867. },
  23868. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  23869. this.$this = t0;
  23870. },
  23871. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  23872. this.$this = t0;
  23873. },
  23874. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  23875. this.$this = t0;
  23876. },
  23877. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  23878. this.$this = t0;
  23879. },
  23880. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  23881. this.$this = t0;
  23882. this.name = t1;
  23883. this.module = t2;
  23884. },
  23885. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  23886. this.$this = t0;
  23887. },
  23888. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  23889. this.$this = t0;
  23890. this.name = t1;
  23891. this.module = t2;
  23892. },
  23893. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  23894. this.$this = t0;
  23895. },
  23896. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  23897. this.$this = t0;
  23898. },
  23899. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  23900. this.values = t0;
  23901. this.span = t1;
  23902. this.callableNode = t2;
  23903. },
  23904. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  23905. this.$this = t0;
  23906. },
  23907. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  23908. this.$this = t0;
  23909. },
  23910. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  23911. this.$this = t0;
  23912. this.node = t1;
  23913. this.importer = t2;
  23914. },
  23915. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  23916. this.$this = t0;
  23917. this.importer = t1;
  23918. this.node = t2;
  23919. },
  23920. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  23921. this._box_1 = t0;
  23922. this.callback = t1;
  23923. },
  23924. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  23925. var _ = this;
  23926. _.$this = t0;
  23927. _.url = t1;
  23928. _.nodeWithSpan = t2;
  23929. _.baseUrl = t3;
  23930. _.namesInErrors = t4;
  23931. _.configuration = t5;
  23932. _.callback = t6;
  23933. },
  23934. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  23935. this.$this = t0;
  23936. this.message = t1;
  23937. },
  23938. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  23939. this._box_0 = t0;
  23940. this.callback = t1;
  23941. this.firstLoad = t2;
  23942. },
  23943. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  23944. var _ = this;
  23945. _.$this = t0;
  23946. _.importer = t1;
  23947. _.stylesheet = t2;
  23948. _.extensionStore = t3;
  23949. _.configuration = t4;
  23950. _.css = t5;
  23951. _.preModuleComments = t6;
  23952. },
  23953. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  23954. },
  23955. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  23956. this.selectors = t0;
  23957. },
  23958. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  23959. var _ = this;
  23960. _.$this = t0;
  23961. _.seen = t1;
  23962. _.clone = t2;
  23963. _.css = t3;
  23964. _.imports = t4;
  23965. _.sorted = t5;
  23966. },
  23967. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  23968. this.originalSelectors = t0;
  23969. },
  23970. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  23971. },
  23972. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  23973. this.$this = t0;
  23974. this.node = t1;
  23975. },
  23976. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  23977. this.$this = t0;
  23978. this.node = t1;
  23979. },
  23980. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  23981. this.$this = t0;
  23982. this.newParent = t1;
  23983. this.node = t2;
  23984. },
  23985. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  23986. this.$this = t0;
  23987. this.innerScope = t1;
  23988. },
  23989. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  23990. this.$this = t0;
  23991. this.innerScope = t1;
  23992. },
  23993. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  23994. this.innerScope = t0;
  23995. this.callback = t1;
  23996. },
  23997. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  23998. this.$this = t0;
  23999. this.innerScope = t1;
  24000. },
  24001. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  24002. },
  24003. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  24004. this.$this = t0;
  24005. this.innerScope = t1;
  24006. },
  24007. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  24008. this.$this = t0;
  24009. this.content = t1;
  24010. },
  24011. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  24012. this._box_0 = t0;
  24013. this.$this = t1;
  24014. },
  24015. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  24016. this._box_0 = t0;
  24017. this.$this = t1;
  24018. this.nodeWithSpan = t2;
  24019. },
  24020. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  24021. this._box_0 = t0;
  24022. this.$this = t1;
  24023. this.nodeWithSpan = t2;
  24024. },
  24025. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  24026. var _ = this;
  24027. _.$this = t0;
  24028. _.list = t1;
  24029. _.setVariables = t2;
  24030. _.node = t3;
  24031. },
  24032. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  24033. this.$this = t0;
  24034. this.setVariables = t1;
  24035. this.node = t2;
  24036. },
  24037. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  24038. this.$this = t0;
  24039. },
  24040. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  24041. this.$this = t0;
  24042. },
  24043. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  24044. this.$this = t0;
  24045. this.name = t1;
  24046. this.children = t2;
  24047. },
  24048. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  24049. this.$this = t0;
  24050. this.children = t1;
  24051. },
  24052. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  24053. },
  24054. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  24055. this.$this = t0;
  24056. this.node = t1;
  24057. },
  24058. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  24059. this.$this = t0;
  24060. this.node = t1;
  24061. },
  24062. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  24063. this.fromNumber = t0;
  24064. },
  24065. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  24066. this.toNumber = t0;
  24067. this.fromNumber = t1;
  24068. },
  24069. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  24070. var _ = this;
  24071. _._box_0 = t0;
  24072. _.$this = t1;
  24073. _.node = t2;
  24074. _.from = t3;
  24075. _.direction = t4;
  24076. _.fromNumber = t5;
  24077. },
  24078. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  24079. this.$this = t0;
  24080. },
  24081. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  24082. this.$this = t0;
  24083. this.node = t1;
  24084. },
  24085. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  24086. this.$this = t0;
  24087. this.node = t1;
  24088. },
  24089. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  24090. },
  24091. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  24092. this.$this = t0;
  24093. },
  24094. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  24095. this.$this = t0;
  24096. this.clause = t1;
  24097. },
  24098. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  24099. this.$this = t0;
  24100. },
  24101. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  24102. this.$this = t0;
  24103. this.$import = t1;
  24104. },
  24105. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  24106. this.$this = t0;
  24107. },
  24108. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  24109. },
  24110. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  24111. },
  24112. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  24113. var _ = this;
  24114. _._box_0 = t0;
  24115. _.$this = t1;
  24116. _.loadsUserDefinedModules = t2;
  24117. _.environment = t3;
  24118. _.children = t4;
  24119. },
  24120. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  24121. var _ = this;
  24122. _.$this = t0;
  24123. _.$arguments = t1;
  24124. _.mixin = t2;
  24125. _.nodeWithSpanWithoutContent = t3;
  24126. },
  24127. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  24128. var _ = this;
  24129. _.$this = t0;
  24130. _.$arguments = t1;
  24131. _.mixin = t2;
  24132. _.nodeWithSpanWithoutContent = t3;
  24133. },
  24134. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  24135. var _ = this;
  24136. _.$this = t0;
  24137. _.contentCallable = t1;
  24138. _.mixin = t2;
  24139. _.nodeWithSpanWithoutContent = t3;
  24140. },
  24141. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  24142. this.$this = t0;
  24143. this.mixin = t1;
  24144. this.nodeWithSpanWithoutContent = t2;
  24145. },
  24146. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  24147. this.$this = t0;
  24148. this.mixin = t1;
  24149. this.nodeWithSpanWithoutContent = t2;
  24150. },
  24151. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  24152. this.$this = t0;
  24153. this.statement = t1;
  24154. },
  24155. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  24156. this.$this = t0;
  24157. this.node = t1;
  24158. },
  24159. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  24160. this.$this = t0;
  24161. },
  24162. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  24163. this.node = t0;
  24164. },
  24165. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  24166. this.$this = t0;
  24167. this.queries = t1;
  24168. },
  24169. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  24170. var _ = this;
  24171. _.$this = t0;
  24172. _.mergedQueries = t1;
  24173. _.queries = t2;
  24174. _.mergedSources = t3;
  24175. _.node = t4;
  24176. },
  24177. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  24178. this.$this = t0;
  24179. this.node = t1;
  24180. },
  24181. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  24182. this.$this = t0;
  24183. this.node = t1;
  24184. },
  24185. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  24186. this.mergedSources = t0;
  24187. },
  24188. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  24189. this.$this = t0;
  24190. this.node = t1;
  24191. },
  24192. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  24193. },
  24194. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  24195. this.$this = t0;
  24196. this.rule = t1;
  24197. this.node = t2;
  24198. },
  24199. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  24200. this.$this = t0;
  24201. this.node = t1;
  24202. },
  24203. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  24204. },
  24205. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  24206. },
  24207. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  24208. this.$this = t0;
  24209. this.node = t1;
  24210. },
  24211. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  24212. this.$this = t0;
  24213. this.node = t1;
  24214. },
  24215. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  24216. },
  24217. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  24218. this._box_0 = t0;
  24219. this.$this = t1;
  24220. },
  24221. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  24222. this._box_0 = t0;
  24223. this.$this = t1;
  24224. this.node = t2;
  24225. },
  24226. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  24227. this.$this = t0;
  24228. this.node = t1;
  24229. },
  24230. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  24231. this.$this = t0;
  24232. this.node = t1;
  24233. this.value = t2;
  24234. },
  24235. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  24236. this.$this = t0;
  24237. this.node = t1;
  24238. },
  24239. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  24240. this.$this = t0;
  24241. this.node = t1;
  24242. },
  24243. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  24244. this.$this = t0;
  24245. this.node = t1;
  24246. },
  24247. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  24248. this.$this = t0;
  24249. },
  24250. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  24251. this.$this = t0;
  24252. this.node = t1;
  24253. },
  24254. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  24255. },
  24256. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  24257. this.$this = t0;
  24258. this.node = t1;
  24259. },
  24260. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  24261. this.node = t0;
  24262. this.operand = t1;
  24263. },
  24264. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  24265. this.$this = t0;
  24266. },
  24267. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  24268. this.$this = t0;
  24269. this.node = t1;
  24270. },
  24271. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  24272. },
  24273. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  24274. this._box_0 = t0;
  24275. this.$this = t1;
  24276. this.node = t2;
  24277. },
  24278. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  24279. this.$this = t0;
  24280. this.node = t1;
  24281. },
  24282. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  24283. var _ = this;
  24284. _._box_0 = t0;
  24285. _.$this = t1;
  24286. _.node = t2;
  24287. _.inLegacySassFunction = t3;
  24288. },
  24289. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  24290. this.$this = t0;
  24291. this.node = t1;
  24292. this.$function = t2;
  24293. },
  24294. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  24295. var _ = this;
  24296. _.$this = t0;
  24297. _.callable = t1;
  24298. _.evaluated = t2;
  24299. _.nodeWithSpan = t3;
  24300. _.run = t4;
  24301. _.V = t5;
  24302. },
  24303. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  24304. var _ = this;
  24305. _.$this = t0;
  24306. _.evaluated = t1;
  24307. _.callable = t2;
  24308. _.nodeWithSpan = t3;
  24309. _.run = t4;
  24310. _.V = t5;
  24311. },
  24312. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  24313. var _ = this;
  24314. _.$this = t0;
  24315. _.evaluated = t1;
  24316. _.callable = t2;
  24317. _.nodeWithSpan = t3;
  24318. _.run = t4;
  24319. _.V = t5;
  24320. },
  24321. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  24322. },
  24323. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  24324. this.$this = t0;
  24325. this.callable = t1;
  24326. },
  24327. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  24328. this._box_0 = t0;
  24329. this.evaluated = t1;
  24330. this.namedSet = t2;
  24331. },
  24332. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  24333. this._box_0 = t0;
  24334. this.evaluated = t1;
  24335. },
  24336. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  24337. },
  24338. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  24339. },
  24340. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  24341. this.$this = t0;
  24342. this.restNodeForSpan = t1;
  24343. },
  24344. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  24345. var _ = this;
  24346. _.$this = t0;
  24347. _.named = t1;
  24348. _.restNodeForSpan = t2;
  24349. _.namedNodes = t3;
  24350. },
  24351. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  24352. },
  24353. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  24354. this.restArgs = t0;
  24355. },
  24356. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  24357. this.$this = t0;
  24358. this.restNodeForSpan = t1;
  24359. this.restArgs = t2;
  24360. },
  24361. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  24362. var _ = this;
  24363. _.$this = t0;
  24364. _.named = t1;
  24365. _.restNodeForSpan = t2;
  24366. _.restArgs = t3;
  24367. },
  24368. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  24369. this.$this = t0;
  24370. this.keywordRestNodeForSpan = t1;
  24371. this.keywordRestArgs = t2;
  24372. },
  24373. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  24374. var _ = this;
  24375. _.$this = t0;
  24376. _.values = t1;
  24377. _.convert = t2;
  24378. _.expressionNode = t3;
  24379. _.map = t4;
  24380. _.nodeWithSpan = t5;
  24381. },
  24382. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  24383. this.$arguments = t0;
  24384. this.positional = t1;
  24385. this.named = t2;
  24386. },
  24387. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  24388. this.$this = t0;
  24389. this.node = t1;
  24390. },
  24391. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  24392. },
  24393. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  24394. this.$this = t0;
  24395. this.node = t1;
  24396. },
  24397. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  24398. },
  24399. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  24400. this.$this = t0;
  24401. this.node = t1;
  24402. },
  24403. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  24404. var _ = this;
  24405. _.$this = t0;
  24406. _.mergedQueries = t1;
  24407. _.node = t2;
  24408. _.mergedSources = t3;
  24409. },
  24410. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  24411. this.$this = t0;
  24412. this.node = t1;
  24413. },
  24414. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  24415. this.$this = t0;
  24416. this.node = t1;
  24417. },
  24418. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  24419. this.mergedSources = t0;
  24420. },
  24421. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  24422. this.$this = t0;
  24423. this.rule = t1;
  24424. this.node = t2;
  24425. },
  24426. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  24427. this.$this = t0;
  24428. this.node = t1;
  24429. },
  24430. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  24431. },
  24432. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  24433. this.$this = t0;
  24434. this.node = t1;
  24435. },
  24436. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  24437. this.$this = t0;
  24438. this.node = t1;
  24439. },
  24440. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  24441. },
  24442. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  24443. this.interpolation = t0;
  24444. },
  24445. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  24446. this.value = t0;
  24447. this.quote = t1;
  24448. },
  24449. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  24450. this.$this = t0;
  24451. this.expression = t1;
  24452. },
  24453. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  24454. },
  24455. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  24456. this.$this = t0;
  24457. },
  24458. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  24459. this._evaluate0$_visitor = t0;
  24460. },
  24461. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  24462. },
  24463. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  24464. this.hasBeenMerged = t0;
  24465. },
  24466. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  24467. },
  24468. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  24469. },
  24470. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  24471. this._evaluate0$_visitor = t0;
  24472. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  24473. },
  24474. EveryCssVisitor0: function EveryCssVisitor0() {
  24475. },
  24476. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  24477. this.$this = t0;
  24478. },
  24479. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  24480. this.$this = t0;
  24481. },
  24482. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  24483. this.$this = t0;
  24484. },
  24485. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  24486. this.$this = t0;
  24487. },
  24488. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  24489. this.$this = t0;
  24490. },
  24491. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  24492. this.$this = t0;
  24493. },
  24494. throwNodeException(exception, ascii, color, trace) {
  24495. var wasAscii, jsException, t1, trace0;
  24496. trace = trace;
  24497. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  24498. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24499. try {
  24500. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  24501. jsException = type$._NodeException._as(t1);
  24502. trace0 = A.getTrace0(exception);
  24503. trace = trace0 == null ? trace : trace0;
  24504. if (trace != null)
  24505. A.attachJsStack(jsException, trace);
  24506. A.jsThrow(jsException);
  24507. } finally {
  24508. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24509. }
  24510. },
  24511. _NodeException: function _NodeException() {
  24512. },
  24513. exceptionClass_closure: function exceptionClass_closure() {
  24514. },
  24515. exceptionClass__closure: function exceptionClass__closure() {
  24516. },
  24517. exceptionClass__closure0: function exceptionClass__closure0() {
  24518. },
  24519. exceptionClass__closure1: function exceptionClass__closure1() {
  24520. },
  24521. SassException$0(message, span, loadedUrls) {
  24522. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24523. },
  24524. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24525. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24526. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24527. },
  24528. SassRuntimeException$0(message, span, trace, loadedUrls) {
  24529. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24530. },
  24531. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  24532. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24533. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24534. },
  24535. SassFormatException$0(message, span, loadedUrls) {
  24536. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24537. },
  24538. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24539. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24540. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24541. },
  24542. SassScriptException$0(message, argumentName) {
  24543. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  24544. },
  24545. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  24546. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24547. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  24548. },
  24549. SassException0: function SassException0(t0, t1, t2) {
  24550. this.loadedUrls = t0;
  24551. this._span_exception$_message = t1;
  24552. this._span = t2;
  24553. },
  24554. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  24555. var _ = this;
  24556. _.primaryLabel = t0;
  24557. _.secondarySpans = t1;
  24558. _.loadedUrls = t2;
  24559. _._span_exception$_message = t3;
  24560. _._span = t4;
  24561. },
  24562. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  24563. var _ = this;
  24564. _.trace = t0;
  24565. _.loadedUrls = t1;
  24566. _._span_exception$_message = t2;
  24567. _._span = t3;
  24568. },
  24569. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  24570. var _ = this;
  24571. _.trace = t0;
  24572. _.primaryLabel = t1;
  24573. _.secondarySpans = t2;
  24574. _.loadedUrls = t3;
  24575. _._span_exception$_message = t4;
  24576. _._span = t5;
  24577. },
  24578. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  24579. this.loadedUrls = t0;
  24580. this._span_exception$_message = t1;
  24581. this._span = t2;
  24582. },
  24583. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  24584. var _ = this;
  24585. _.primaryLabel = t0;
  24586. _.secondarySpans = t1;
  24587. _.loadedUrls = t2;
  24588. _._span_exception$_message = t3;
  24589. _._span = t4;
  24590. },
  24591. SassScriptException0: function SassScriptException0(t0) {
  24592. this.message = t0;
  24593. },
  24594. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  24595. this.primaryLabel = t0;
  24596. this.secondarySpans = t1;
  24597. this.message = t2;
  24598. },
  24599. Exports: function Exports() {
  24600. },
  24601. LoggerNamespace: function LoggerNamespace() {
  24602. },
  24603. Expression0: function Expression0() {
  24604. },
  24605. _IsCalculationSafeVisitor0: function _IsCalculationSafeVisitor0() {
  24606. },
  24607. _IsCalculationSafeVisitor_visitListExpression_closure0: function _IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  24608. this.$this = t0;
  24609. },
  24610. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  24611. this._expression$_inner = t0;
  24612. },
  24613. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  24614. },
  24615. expressionToCalc0(expression) {
  24616. var t4,
  24617. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  24618. t2 = expression.get$span(0),
  24619. t3 = type$.Expression_2;
  24620. t1 = A.List_List$unmodifiable(t1, t3);
  24621. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  24622. t4 = expression.get$span(0);
  24623. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentInvocation0(t1, t3, null, null, t2), t4);
  24624. },
  24625. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  24626. },
  24627. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  24628. },
  24629. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  24630. this.selector = t0;
  24631. this.isOptional = t1;
  24632. this.span = t2;
  24633. },
  24634. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  24635. var _ = this;
  24636. _.extender = t0;
  24637. _.target = t1;
  24638. _.mediaContext = t2;
  24639. _.isOptional = t3;
  24640. _.span = t4;
  24641. },
  24642. Extender0: function Extender0(t0, t1) {
  24643. this.selector = t0;
  24644. this.isOriginal = t1;
  24645. this._extension$_extension = null;
  24646. },
  24647. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  24648. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  24649. extender = A.ExtensionStore$_mode0(mode);
  24650. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  24651. extender._extension_store$_originals.addAll$1(0, selector.components);
  24652. 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) {
  24653. complex = t1[_i];
  24654. compound = complex.get$singleCompound();
  24655. if (compound == null)
  24656. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  24657. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  24658. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  24659. simple = t10[_i0];
  24660. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  24661. for (_i1 = 0; _i1 < t4; ++_i1) {
  24662. complex = t3[_i1];
  24663. complex.get$specificity();
  24664. t13 = new A.Extender0(complex, false);
  24665. t14 = new A.Extension0(t13, simple, null, true, span);
  24666. t13._extension$_extension = t14;
  24667. t12.$indexSet(0, complex, t14);
  24668. }
  24669. t9.$indexSet(0, simple, t12);
  24670. }
  24671. selector = extender._extension_store$_extendList$2(selector, t9);
  24672. }
  24673. return selector;
  24674. },
  24675. ExtensionStore$0() {
  24676. var t1 = type$.SimpleSelector_2;
  24677. 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);
  24678. },
  24679. ExtensionStore$_mode0(_mode) {
  24680. var t1 = type$.SimpleSelector_2;
  24681. 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);
  24682. },
  24683. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  24684. var _ = this;
  24685. _._extension_store$_selectors = t0;
  24686. _._extension_store$_extensions = t1;
  24687. _._extension_store$_extensionsByExtender = t2;
  24688. _._extension_store$_mediaContexts = t3;
  24689. _._extension_store$_sourceSpecificity = t4;
  24690. _._extension_store$_originals = t5;
  24691. _._extension_store$_mode = t6;
  24692. },
  24693. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  24694. },
  24695. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  24696. },
  24697. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  24698. },
  24699. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  24700. },
  24701. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  24702. this.complex = t0;
  24703. },
  24704. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  24705. },
  24706. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  24707. },
  24708. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  24709. },
  24710. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  24711. this._box_0 = t0;
  24712. this.$this = t1;
  24713. this.complex = t2;
  24714. },
  24715. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  24716. this._box_0 = t0;
  24717. this.$this = t1;
  24718. this.complex = t2;
  24719. },
  24720. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  24721. },
  24722. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  24723. },
  24724. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  24725. this.original = t0;
  24726. },
  24727. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  24728. this.$this = t0;
  24729. this.extensions = t1;
  24730. this.targetsUsed = t2;
  24731. },
  24732. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  24733. this.$this = t0;
  24734. this.withoutPseudo = t1;
  24735. },
  24736. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  24737. },
  24738. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  24739. },
  24740. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  24741. },
  24742. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  24743. },
  24744. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  24745. this.pseudo = t0;
  24746. },
  24747. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  24748. this.pseudo = t0;
  24749. this.selector = t1;
  24750. },
  24751. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  24752. this._box_0 = t0;
  24753. this.complex1 = t1;
  24754. },
  24755. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  24756. this._box_0 = t0;
  24757. this.complex1 = t1;
  24758. },
  24759. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  24760. var _ = this;
  24761. _.$this = t0;
  24762. _.newSelectors = t1;
  24763. _.oldToNewSelectors = t2;
  24764. _.newMediaContexts = t3;
  24765. },
  24766. FiberClass: function FiberClass() {
  24767. },
  24768. Fiber: function Fiber() {
  24769. },
  24770. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  24771. this._file0$_findFileUrl = t0;
  24772. },
  24773. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  24774. this.$this = t0;
  24775. this.url = t1;
  24776. },
  24777. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  24778. this._filesystem$_loadPath = t0;
  24779. this._filesystem$_loadPathDeprecated = t1;
  24780. },
  24781. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  24782. },
  24783. ForRule$0(variable, from, to, children, span, exclusive) {
  24784. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  24785. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  24786. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  24787. },
  24788. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  24789. var _ = this;
  24790. _.variable = t0;
  24791. _.from = t1;
  24792. _.to = t2;
  24793. _.isExclusive = t3;
  24794. _.span = t4;
  24795. _.children = t5;
  24796. _.hasDeclarations = t6;
  24797. },
  24798. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  24799. var _ = this;
  24800. _.url = t0;
  24801. _.shownMixinsAndFunctions = t1;
  24802. _.shownVariables = t2;
  24803. _.hiddenMixinsAndFunctions = t3;
  24804. _.hiddenVariables = t4;
  24805. _.prefix = t5;
  24806. _.configuration = t6;
  24807. _.span = t7;
  24808. },
  24809. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  24810. var t2,
  24811. t1 = false;
  24812. if (rule.prefix == null)
  24813. if (rule.shownMixinsAndFunctions == null)
  24814. if (rule.shownVariables == null) {
  24815. t2 = rule.hiddenMixinsAndFunctions;
  24816. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  24817. if (t2 === true) {
  24818. t1 = rule.hiddenVariables;
  24819. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  24820. t1 = t1 === true;
  24821. }
  24822. }
  24823. if (t1)
  24824. return inner;
  24825. else
  24826. return A.ForwardedModuleView$0(inner, rule, $T);
  24827. },
  24828. ForwardedModuleView$0(_inner, _rule, $T) {
  24829. var t1 = _rule.prefix,
  24830. t2 = _rule.shownVariables,
  24831. t3 = _rule.hiddenVariables,
  24832. t4 = _rule.shownMixinsAndFunctions,
  24833. t5 = _rule.hiddenMixinsAndFunctions;
  24834. 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>"));
  24835. },
  24836. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  24837. var t1 = prefix == null,
  24838. t2 = false;
  24839. if (t1)
  24840. if (safelist == null)
  24841. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  24842. if (t2)
  24843. return map;
  24844. if (!t1)
  24845. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  24846. if (safelist != null)
  24847. 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>"));
  24848. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  24849. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  24850. return map;
  24851. },
  24852. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  24853. var _ = this;
  24854. _._forwarded_view0$_inner = t0;
  24855. _._forwarded_view0$_rule = t1;
  24856. _.variables = t2;
  24857. _.variableNodes = t3;
  24858. _.functions = t4;
  24859. _.mixins = t5;
  24860. _.$ti = t6;
  24861. },
  24862. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  24863. var _ = this;
  24864. _.namespace = t0;
  24865. _.name = t1;
  24866. _.originalName = t2;
  24867. _.$arguments = t3;
  24868. _.span = t4;
  24869. },
  24870. JSFunction0: function JSFunction0() {
  24871. },
  24872. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  24873. this.name = t0;
  24874. this.$arguments = t1;
  24875. this.span = t2;
  24876. },
  24877. functionClass_closure: function functionClass_closure() {
  24878. },
  24879. functionClass__closure: function functionClass__closure() {
  24880. },
  24881. functionClass__closure0: function functionClass__closure0() {
  24882. },
  24883. SassFunction0: function SassFunction0(t0) {
  24884. this.callable = t0;
  24885. },
  24886. FunctionRule$0($name, $arguments, children, span, comment) {
  24887. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  24888. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  24889. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  24890. return new A.FunctionRule0(t1, $name, $arguments, span, t2, t3);
  24891. },
  24892. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  24893. var _ = this;
  24894. _.name = t0;
  24895. _.originalName = t1;
  24896. _.$arguments = t2;
  24897. _.span = t3;
  24898. _.children = t4;
  24899. _.hasDeclarations = t5;
  24900. },
  24901. unifyComplex0(complexes, span) {
  24902. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  24903. t1 = J.getInterceptor$asx(complexes);
  24904. if (t1.get$length(complexes) === 1)
  24905. return complexes;
  24906. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  24907. t3 = t2.get$current(t2);
  24908. if (t3.accept$1(B.C__IsUselessVisitor0))
  24909. return _null;
  24910. t4 = t3.components;
  24911. _0_6_isSet = t4.length === 1;
  24912. if (_0_6_isSet) {
  24913. _0_6 = t3.leadingCombinators;
  24914. t5 = _0_6.length === 1;
  24915. } else {
  24916. _0_6 = _null;
  24917. t5 = false;
  24918. }
  24919. if (t5) {
  24920. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  24921. if (leadingCombinator == null)
  24922. leadingCombinator = newLeadingCombinator;
  24923. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  24924. return _null;
  24925. }
  24926. base = B.JSArray_methods.get$last(t4);
  24927. _1_1 = base.combinators;
  24928. if (_1_1.length === 1) {
  24929. newTrailingCombinator = _1_1[0];
  24930. if (trailingCombinator != null)
  24931. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  24932. else
  24933. t3 = false;
  24934. if (t3)
  24935. return _null;
  24936. trailingCombinator = newTrailingCombinator;
  24937. }
  24938. if (unifiedBase == null)
  24939. unifiedBase = base.selector.components;
  24940. else
  24941. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  24942. unifiedBase = t3[_i].unify$1(unifiedBase);
  24943. if (unifiedBase == null)
  24944. return _null;
  24945. }
  24946. }
  24947. t2 = type$.JSArray_ComplexSelector_2;
  24948. t3 = A._setArrayType([], t2);
  24949. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  24950. t5 = t4.get$current(t4);
  24951. t6 = t5.components;
  24952. t7 = t6.length;
  24953. if (t7 > 1) {
  24954. t8 = t5.leadingCombinators;
  24955. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  24956. }
  24957. }
  24958. t4 = leadingCombinator == null ? B.List_empty13 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  24959. unifiedBase.toString;
  24960. t5 = A.CompoundSelector$0(unifiedBase, span);
  24961. t6 = trailingCombinator == null ? B.List_empty13 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  24962. 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()));
  24963. if (t3.length === 0)
  24964. t1 = A._setArrayType([base], t2);
  24965. else {
  24966. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  24967. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  24968. }
  24969. return A.weave0(t1, span, false);
  24970. },
  24971. unifyCompound0(compound1, compound2) {
  24972. var t1, t2, _i, unified,
  24973. result = compound2.components;
  24974. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  24975. unified = t1[_i].unify$1(result);
  24976. if (unified == null)
  24977. return null;
  24978. }
  24979. return A.CompoundSelector$0(result, compound1.span);
  24980. },
  24981. unifyUniversalAndElement0(selector1, selector2) {
  24982. var namespace, $name, t1,
  24983. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  24984. namespace1 = _0_0._0,
  24985. name1 = _0_0._1,
  24986. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  24987. namespace2 = _1_0._0,
  24988. name2 = _1_0._1;
  24989. if (namespace1 == namespace2 || namespace2 === "*")
  24990. namespace = namespace1;
  24991. else {
  24992. if (namespace1 !== "*")
  24993. return null;
  24994. namespace = namespace2;
  24995. }
  24996. if (name1 == name2 || name2 == null)
  24997. $name = name1;
  24998. else {
  24999. if (!(name1 == null || name1 === "*"))
  25000. return null;
  25001. $name = name2;
  25002. }
  25003. t1 = selector1.span;
  25004. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  25005. },
  25006. _namespaceAndName0(selector, $name) {
  25007. var t1, _0_4;
  25008. $label0$0: {
  25009. if (selector instanceof A.UniversalSelector0) {
  25010. t1 = new A._Record_2(selector.namespace, null);
  25011. break $label0$0;
  25012. }
  25013. if (selector instanceof A.TypeSelector0) {
  25014. _0_4 = selector.name;
  25015. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  25016. break $label0$0;
  25017. }
  25018. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  25019. }
  25020. return t1;
  25021. },
  25022. weave0(complexes, span, forceLineBreak) {
  25023. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  25024. t1 = J.getInterceptor$asx(complexes);
  25025. if (t1.get$length(complexes) === 1) {
  25026. complex = t1.$index(complexes, 0);
  25027. if (!forceLineBreak || complex.lineBreak)
  25028. return complexes;
  25029. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  25030. }
  25031. t2 = type$.JSArray_ComplexSelector_2;
  25032. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  25033. for (t1 = t1.skip$1(complexes, 1), t3 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t3._eval$1("ListIterator<ListIterable.E>")), t4 = type$.ComplexSelectorComponent_2, t3 = t3._eval$1("ListIterable.E"); t1.moveNext$0();) {
  25034. t5 = t1.__internal$_current;
  25035. if (t5 == null)
  25036. t5 = t3._as(t5);
  25037. t6 = t5.components;
  25038. if (t6.length === 1) {
  25039. for (i = 0; i < prefixes.length; ++i)
  25040. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  25041. continue;
  25042. }
  25043. t7 = A._setArrayType([], t2);
  25044. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  25045. t9 = A._weaveParents0(prefixes[_i], t5, span);
  25046. if (t9 == null)
  25047. t9 = B.List_empty14;
  25048. t10 = t9.length;
  25049. _i0 = 0;
  25050. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  25051. parentPrefix = t9[_i0];
  25052. t11 = B.JSArray_methods.get$last(t6);
  25053. t12 = A.List_List$of(parentPrefix.components, true, t4);
  25054. t12.push(t11);
  25055. t11 = parentPrefix.lineBreak || forceLineBreak;
  25056. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  25057. }
  25058. }
  25059. prefixes = t7;
  25060. }
  25061. return prefixes;
  25062. },
  25063. _weaveParents0(prefix, base, span) {
  25064. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, _0_30, rootish2, t2, rootish1, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  25065. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  25066. if (leadingCombinators == null)
  25067. return _null;
  25068. t1 = type$.ComplexSelectorComponent_2;
  25069. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  25070. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  25071. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  25072. if (trailingCombinators == null)
  25073. return _null;
  25074. $label0$0: {
  25075. _0_1 = A._firstIfRootish0(queue1);
  25076. _0_3 = A._firstIfRootish0(queue2);
  25077. _0_3_isSet = _0_1 != null;
  25078. _0_30 = _null;
  25079. rootish2 = _null;
  25080. t2 = false;
  25081. if (_0_3_isSet) {
  25082. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  25083. t2 = _0_3 != null;
  25084. if (t2)
  25085. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  25086. _0_30 = _0_3;
  25087. } else
  25088. rootish1 = _null;
  25089. if (t2) {
  25090. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  25091. if (rootish == null)
  25092. return _null;
  25093. t1 = rootish1.combinators;
  25094. t2 = rootish1.span;
  25095. t3 = type$.CssValue_Combinator_2;
  25096. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  25097. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  25098. break $label0$0;
  25099. }
  25100. t2 = _null;
  25101. t3 = false;
  25102. if (_0_1 != null) {
  25103. rootish_case_0 = _0_1;
  25104. if (_0_3_isSet)
  25105. t2 = _0_30;
  25106. else {
  25107. t2 = _0_3;
  25108. _0_30 = t2;
  25109. _0_3_isSet = true;
  25110. }
  25111. t2 = t2 == null;
  25112. t3 = t2 ? rootish_case_0 : _null;
  25113. t0 = t3;
  25114. t3 = t2;
  25115. t2 = t0;
  25116. }
  25117. if (!t3)
  25118. if (_0_1 == null) {
  25119. if (_0_3_isSet)
  25120. t3 = _0_30;
  25121. else {
  25122. t3 = _0_3;
  25123. _0_30 = t3;
  25124. _0_3_isSet = true;
  25125. }
  25126. t3 = t3 != null;
  25127. if (t3) {
  25128. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  25129. if (rootish_case_1 == null)
  25130. rootish_case_1 = t1._as(rootish_case_1);
  25131. t1 = rootish_case_1;
  25132. } else
  25133. t1 = t2;
  25134. t2 = t3;
  25135. } else {
  25136. t1 = t2;
  25137. t2 = false;
  25138. }
  25139. else {
  25140. t1 = t2;
  25141. t2 = true;
  25142. }
  25143. if (t2) {
  25144. queue1.addFirst$1(t1);
  25145. queue2.addFirst$1(t1);
  25146. }
  25147. }
  25148. groups1 = A._groupSelectors0(queue1);
  25149. groups2 = A._groupSelectors0(queue2);
  25150. t1 = type$.List_ComplexSelectorComponent_2;
  25151. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  25152. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  25153. 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) {
  25154. group = lcs[_i];
  25155. t5 = A._setArrayType([], t3);
  25156. 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) {
  25157. chunk = t6[_i0];
  25158. t8 = A._setArrayType([], t4);
  25159. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  25160. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  25161. t5.push(t8);
  25162. }
  25163. choices.push(t5);
  25164. choices.push(A._setArrayType([group], t3));
  25165. groups1.removeFirst$0();
  25166. groups2.removeFirst$0();
  25167. }
  25168. t2 = A._setArrayType([], t3);
  25169. 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) {
  25170. chunk = t1[_i];
  25171. t5 = A._setArrayType([], t4);
  25172. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  25173. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  25174. t2.push(t5);
  25175. }
  25176. choices.push(t2);
  25177. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  25178. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  25179. 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();) {
  25180. t6 = t2.get$current(t2);
  25181. t7 = A._setArrayType([], t4);
  25182. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  25183. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  25184. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  25185. }
  25186. return t1;
  25187. },
  25188. _firstIfRootish0(queue) {
  25189. var first, t1, t2, _i, simple, t3;
  25190. if (queue.get$length(0) >= 1) {
  25191. first = queue.$index(0, 0);
  25192. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  25193. simple = t1[_i];
  25194. t3 = false;
  25195. if (simple instanceof A.PseudoSelector0)
  25196. if (simple.isClass)
  25197. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  25198. if (t3) {
  25199. queue.removeFirst$0();
  25200. return first;
  25201. }
  25202. }
  25203. }
  25204. return null;
  25205. },
  25206. _mergeLeadingCombinators0(combinators1, combinators2) {
  25207. var _0_4, t1, t2, _0_7_isSet, _0_7, t3, _0_4_isSet, _0_11, _0_11_isSet, combinators, _null = null;
  25208. $label0$0: {
  25209. _0_4 = combinators2;
  25210. t1 = _null;
  25211. t2 = type$.List_CssValue_Combinator_2;
  25212. _0_7_isSet = t2._is(combinators1);
  25213. _0_7 = _null;
  25214. if (_0_7_isSet) {
  25215. _0_7 = combinators1.length;
  25216. t3 = _0_7;
  25217. t3 = t3 > 1;
  25218. } else
  25219. t3 = false;
  25220. _0_4_isSet = true;
  25221. _0_11 = _null;
  25222. if (!t3) {
  25223. t3 = _0_4;
  25224. _0_11_isSet = t2._is(t3);
  25225. if (_0_11_isSet) {
  25226. t3 = _0_4;
  25227. _0_11 = (t3 == null ? t2._as(t3) : t3).length;
  25228. t3 = _0_11;
  25229. t3 = t3 > 1;
  25230. } else
  25231. t3 = false;
  25232. } else {
  25233. _0_11_isSet = false;
  25234. t3 = true;
  25235. }
  25236. if (t3)
  25237. break $label0$0;
  25238. if (t2._is(combinators1)) {
  25239. if (_0_7_isSet)
  25240. t3 = _0_7;
  25241. else {
  25242. _0_7 = combinators1.length;
  25243. t3 = _0_7;
  25244. }
  25245. t3 = t3 <= 0;
  25246. if (t3)
  25247. if (_0_4_isSet)
  25248. combinators = _0_4;
  25249. else {
  25250. combinators = combinators2;
  25251. _0_4 = combinators;
  25252. _0_4_isSet = true;
  25253. }
  25254. else
  25255. combinators = t1;
  25256. t1 = t3;
  25257. } else {
  25258. combinators = t1;
  25259. t1 = false;
  25260. }
  25261. if (!t1) {
  25262. t1 = false;
  25263. if (_0_4_isSet)
  25264. t3 = _0_4;
  25265. else {
  25266. t3 = combinators2;
  25267. _0_4 = t3;
  25268. _0_4_isSet = true;
  25269. }
  25270. if (t2._is(t3)) {
  25271. if (_0_11_isSet)
  25272. t1 = _0_11;
  25273. else {
  25274. t1 = _0_4_isSet ? _0_4 : combinators2;
  25275. _0_11 = (t1 == null ? t2._as(t1) : t1).length;
  25276. t1 = _0_11;
  25277. }
  25278. t1 = t1 <= 0;
  25279. }
  25280. combinators = combinators1;
  25281. } else
  25282. t1 = true;
  25283. if (t1) {
  25284. t1 = combinators;
  25285. break $label0$0;
  25286. }
  25287. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  25288. break $label0$0;
  25289. }
  25290. return t1;
  25291. },
  25292. _mergeTrailingCombinators0(components1, components2, span, result) {
  25293. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_5, _4_4, component1, component2, t4, t5, choices, _2_0, _4_9, _4_6, _4_7, followingComponents, nextComponents, _4_4_isSet0, _4_6_isSet, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, t6, combinator2, unified, t7, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  25294. if (result == null)
  25295. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  25296. $label0$0: {
  25297. _0_1 = components1.get$length(0);
  25298. if (_0_1 >= 1) {
  25299. t1 = components1.$index(0, _0_1 - 1).combinators;
  25300. break $label0$0;
  25301. }
  25302. t1 = B.List_empty13;
  25303. break $label0$0;
  25304. }
  25305. $label1$1: {
  25306. _1_1 = components2.get$length(0);
  25307. if (_1_1 >= 1) {
  25308. t2 = components2.$index(0, _1_1 - 1).combinators;
  25309. break $label1$1;
  25310. }
  25311. t2 = B.List_empty13;
  25312. break $label1$1;
  25313. }
  25314. t3 = t1.length;
  25315. if (t3 === 0 && t2.length === 0)
  25316. return result;
  25317. if (t3 > 1 || t2.length > 1)
  25318. return _null;
  25319. $label2$2: {
  25320. t3 = A.IterableExtension_get_firstOrNull(t1);
  25321. t3 = t3 == null ? _null : t3.value;
  25322. t2 = A.IterableExtension_get_firstOrNull(t2);
  25323. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  25324. _4_1 = t2[0];
  25325. _4_3 = B.Combinator_y180 === _4_1;
  25326. _4_4_isSet = _4_3;
  25327. _4_5 = _null;
  25328. _4_4 = _null;
  25329. if (_4_4_isSet) {
  25330. _4_4 = t2[1];
  25331. _4_5 = B.Combinator_y180 === _4_4;
  25332. t3 = _4_5;
  25333. } else
  25334. t3 = false;
  25335. if (t3) {
  25336. component1 = components1.removeLast$0(0);
  25337. component2 = components2.removeLast$0(0);
  25338. t2 = component1.selector;
  25339. t3 = component2.selector;
  25340. if (A.compoundIsSuperselector0(t2, t3, _null))
  25341. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25342. else {
  25343. t4 = type$.JSArray_ComplexSelectorComponent_2;
  25344. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  25345. if (A.compoundIsSuperselector0(t3, t2, _null))
  25346. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  25347. else {
  25348. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  25349. _2_0 = A.unifyCompound0(t2, t3);
  25350. if (_2_0 != null)
  25351. 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));
  25352. result.addFirst$1(choices);
  25353. }
  25354. }
  25355. break $label2$2;
  25356. }
  25357. _4_9 = _null;
  25358. _4_6 = _null;
  25359. _4_7 = _null;
  25360. followingComponents = _null;
  25361. nextComponents = _null;
  25362. if (_4_3) {
  25363. if (_4_4_isSet) {
  25364. t3 = _4_4;
  25365. _4_4_isSet0 = _4_4_isSet;
  25366. } else {
  25367. _4_4 = t2[1];
  25368. t3 = _4_4;
  25369. _4_4_isSet0 = true;
  25370. }
  25371. _4_9 = B.Combinator_gRV0 === t3;
  25372. _4_6_isSet = _4_9;
  25373. if (_4_6_isSet) {
  25374. _4_6 = t2[2];
  25375. _4_7 = t2[3];
  25376. nextComponents = _4_7;
  25377. followingComponents = _4_6;
  25378. }
  25379. t3 = _4_6_isSet;
  25380. _4_7_isSet = t3;
  25381. } else {
  25382. _4_4_isSet0 = _4_4_isSet;
  25383. _4_6_isSet = false;
  25384. _4_7_isSet = false;
  25385. t3 = false;
  25386. }
  25387. _4_10_isSet = !t3;
  25388. _4_10 = _null;
  25389. if (_4_10_isSet) {
  25390. _4_10 = B.Combinator_gRV0 === _4_1;
  25391. t3 = _4_10;
  25392. if (t3) {
  25393. if (_4_4_isSet) {
  25394. t3 = _4_5;
  25395. _4_5_isSet = _4_4_isSet;
  25396. _4_4_isSet = _4_4_isSet0;
  25397. } else {
  25398. if (_4_4_isSet0) {
  25399. t3 = _4_4;
  25400. _4_4_isSet = _4_4_isSet0;
  25401. } else {
  25402. _4_4 = t2[1];
  25403. t3 = _4_4;
  25404. _4_4_isSet = true;
  25405. }
  25406. _4_5 = B.Combinator_y180 === t3;
  25407. t3 = _4_5;
  25408. _4_5_isSet = true;
  25409. }
  25410. if (t3) {
  25411. if (_4_6_isSet)
  25412. nextComponents = _4_6;
  25413. else {
  25414. _4_6 = t2[2];
  25415. nextComponents = _4_6;
  25416. _4_6_isSet = true;
  25417. }
  25418. if (_4_7_isSet)
  25419. followingComponents = _4_7;
  25420. else {
  25421. _4_7 = t2[3];
  25422. followingComponents = _4_7;
  25423. _4_7_isSet = true;
  25424. }
  25425. }
  25426. } else {
  25427. _4_5_isSet = _4_4_isSet;
  25428. _4_4_isSet = _4_4_isSet0;
  25429. t3 = false;
  25430. }
  25431. } else {
  25432. _4_5_isSet = _4_4_isSet;
  25433. _4_4_isSet = _4_4_isSet0;
  25434. t3 = true;
  25435. }
  25436. if (t3) {
  25437. next = nextComponents.removeLast$0(0);
  25438. following = followingComponents.removeLast$0(0);
  25439. t1 = following.selector;
  25440. t2 = next.selector;
  25441. t3 = type$.JSArray_ComplexSelectorComponent_2;
  25442. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  25443. if (A.compoundIsSuperselector0(t1, t2, _null))
  25444. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  25445. else {
  25446. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  25447. _3_0 = A.unifyCompound0(t1, t2);
  25448. if (_3_0 != null)
  25449. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  25450. result.addFirst$1(t4);
  25451. }
  25452. break $label2$2;
  25453. }
  25454. t3 = _null;
  25455. if (B.Combinator_8I80 === _4_1) {
  25456. _4_4_isSet0 = true;
  25457. if (_4_3)
  25458. t4 = _4_9;
  25459. else {
  25460. if (_4_4_isSet)
  25461. t4 = _4_4;
  25462. else {
  25463. _4_4 = t2[1];
  25464. t4 = _4_4;
  25465. _4_4_isSet = _4_4_isSet0;
  25466. }
  25467. _4_9 = B.Combinator_gRV0 === t4;
  25468. t4 = _4_9;
  25469. }
  25470. if (!t4)
  25471. if (_4_5_isSet)
  25472. t4 = _4_5;
  25473. else {
  25474. if (_4_4_isSet)
  25475. t4 = _4_4;
  25476. else {
  25477. _4_4 = t2[1];
  25478. t4 = _4_4;
  25479. _4_4_isSet = _4_4_isSet0;
  25480. }
  25481. _4_5 = B.Combinator_y180 === t4;
  25482. t4 = _4_5;
  25483. }
  25484. else
  25485. t4 = true;
  25486. if (t4) {
  25487. if (_4_7_isSet)
  25488. siblingComponents_case_0 = _4_7;
  25489. else {
  25490. _4_7 = t2[3];
  25491. siblingComponents_case_0 = _4_7;
  25492. _4_7_isSet = true;
  25493. }
  25494. t3 = siblingComponents_case_0;
  25495. }
  25496. } else
  25497. t4 = false;
  25498. if (!t4) {
  25499. if (_4_10_isSet)
  25500. t4 = _4_10;
  25501. else {
  25502. _4_10 = B.Combinator_gRV0 === _4_1;
  25503. t4 = _4_10;
  25504. }
  25505. if (!t4)
  25506. t4 = _4_3;
  25507. else
  25508. t4 = true;
  25509. if (t4) {
  25510. if (_4_4_isSet)
  25511. t4 = _4_4;
  25512. else {
  25513. _4_4 = t2[1];
  25514. t4 = _4_4;
  25515. _4_4_isSet = true;
  25516. }
  25517. t4 = B.Combinator_8I80 === t4;
  25518. if (t4) {
  25519. if (_4_6_isSet)
  25520. siblingComponents_case_1 = _4_6;
  25521. else {
  25522. _4_6 = t2[2];
  25523. siblingComponents_case_1 = _4_6;
  25524. _4_6_isSet = true;
  25525. }
  25526. t3 = siblingComponents_case_1;
  25527. }
  25528. } else
  25529. t4 = false;
  25530. } else
  25531. t4 = true;
  25532. if (t4) {
  25533. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25534. break $label2$2;
  25535. }
  25536. t3 = _4_1 == null;
  25537. t4 = !t3;
  25538. t5 = false;
  25539. if (t4) {
  25540. _4_4_isSet0 = true;
  25541. combinator1 = _4_1;
  25542. if (_4_4_isSet)
  25543. t6 = _4_4;
  25544. else {
  25545. _4_4 = t2[1];
  25546. t6 = _4_4;
  25547. _4_4_isSet = _4_4_isSet0;
  25548. }
  25549. if (t6 != null) {
  25550. if (_4_4_isSet)
  25551. combinator2 = _4_4;
  25552. else {
  25553. _4_4 = t2[1];
  25554. combinator2 = _4_4;
  25555. _4_4_isSet = _4_4_isSet0;
  25556. }
  25557. t5 = combinator1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  25558. }
  25559. }
  25560. if (t5) {
  25561. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  25562. if (unified == null)
  25563. return _null;
  25564. 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));
  25565. break $label2$2;
  25566. }
  25567. t1 = _null;
  25568. t5 = _null;
  25569. t6 = _null;
  25570. t7 = false;
  25571. if (t4) {
  25572. combinator_case_0 = _4_1;
  25573. if (_4_4_isSet)
  25574. t4 = _4_4;
  25575. else {
  25576. _4_4 = t2[1];
  25577. t4 = _4_4;
  25578. _4_4_isSet = true;
  25579. }
  25580. t4 = t4 == null;
  25581. if (t4) {
  25582. if (_4_6_isSet)
  25583. combinatorComponents_case_0 = _4_6;
  25584. else {
  25585. _4_6 = t2[2];
  25586. combinatorComponents_case_0 = _4_6;
  25587. _4_6_isSet = true;
  25588. }
  25589. if (_4_7_isSet)
  25590. descendantComponents_case_0 = _4_7;
  25591. else {
  25592. _4_7 = t2[3];
  25593. descendantComponents_case_0 = _4_7;
  25594. _4_7_isSet = true;
  25595. }
  25596. t1 = descendantComponents_case_0;
  25597. t6 = t1;
  25598. t1 = combinator_case_0;
  25599. t5 = combinatorComponents_case_0;
  25600. }
  25601. t0 = t6;
  25602. t6 = t4;
  25603. t4 = t5;
  25604. t5 = t0;
  25605. } else {
  25606. t4 = t5;
  25607. t5 = t6;
  25608. t6 = t7;
  25609. }
  25610. if (!t6)
  25611. if (t3) {
  25612. if (_4_4_isSet)
  25613. t3 = _4_4;
  25614. else {
  25615. _4_4 = t2[1];
  25616. t3 = _4_4;
  25617. _4_4_isSet = true;
  25618. }
  25619. t3 = t3 != null;
  25620. if (t3) {
  25621. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  25622. if (combinator_case_1 == null)
  25623. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  25624. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  25625. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  25626. t1 = combinatorComponents_case_1;
  25627. t2 = descendantComponents_case_1;
  25628. t4 = t2;
  25629. t2 = t1;
  25630. t1 = combinator_case_1;
  25631. } else {
  25632. t2 = t4;
  25633. t4 = t5;
  25634. }
  25635. t0 = t4;
  25636. t4 = t3;
  25637. t3 = t0;
  25638. } else {
  25639. t3 = t5;
  25640. t2 = t4;
  25641. t4 = false;
  25642. }
  25643. else {
  25644. t3 = t5;
  25645. t2 = t4;
  25646. t4 = true;
  25647. }
  25648. if (t4) {
  25649. if (t1 === B.Combinator_8I80) {
  25650. t1 = A.IterableExtension_get_lastOrNull(t3);
  25651. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  25652. t1 = t1 === true;
  25653. } else
  25654. t1 = false;
  25655. if (t1)
  25656. t3.removeLast$0(0);
  25657. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25658. break $label2$2;
  25659. }
  25660. return _null;
  25661. }
  25662. return A._mergeTrailingCombinators0(components1, components2, span, result);
  25663. },
  25664. _mustUnify0(complex1, complex2) {
  25665. var t2, t3, t4,
  25666. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  25667. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  25668. 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();)
  25669. t1.add$1(0, t3.get$current(0));
  25670. if (t1._collection$_length === 0)
  25671. return false;
  25672. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  25673. },
  25674. _isUnique0(simple) {
  25675. var t1;
  25676. if (!(simple instanceof A.IDSelector0))
  25677. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  25678. else
  25679. t1 = true;
  25680. return t1;
  25681. },
  25682. _chunks0(queue1, queue2, done, $T) {
  25683. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  25684. t1 = $T._eval$1("JSArray<0>"),
  25685. chunk1 = A._setArrayType([], t1);
  25686. for (; !done.call$1(queue1);)
  25687. chunk1.push(queue1.removeFirst$0());
  25688. chunk2 = A._setArrayType([], t1);
  25689. for (; !done.call$1(queue2);)
  25690. chunk2.push(queue2.removeFirst$0());
  25691. $label0$0: {
  25692. _0_4 = chunk1.length <= 0;
  25693. _0_5_isSet = _0_4;
  25694. _0_1 = chunk1;
  25695. _0_7 = _null;
  25696. _0_5 = _null;
  25697. if (_0_5_isSet) {
  25698. _0_7 = chunk2.length <= 0;
  25699. t1 = _0_7;
  25700. _0_5 = chunk2;
  25701. } else
  25702. t1 = false;
  25703. if (t1) {
  25704. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  25705. break $label0$0;
  25706. }
  25707. if (_0_4)
  25708. if (_0_5_isSet) {
  25709. chunk = _0_5;
  25710. _0_5_isSet0 = _0_5_isSet;
  25711. } else {
  25712. chunk = chunk2;
  25713. _0_5 = chunk;
  25714. _0_5_isSet0 = true;
  25715. }
  25716. else {
  25717. chunk = _null;
  25718. _0_5_isSet0 = _0_5_isSet;
  25719. }
  25720. if (!_0_4) {
  25721. if (_0_5_isSet)
  25722. t1 = _0_7;
  25723. else {
  25724. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  25725. t1 = _0_7;
  25726. }
  25727. chunk = _0_1;
  25728. } else
  25729. t1 = true;
  25730. if (t1) {
  25731. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  25732. break $label0$0;
  25733. }
  25734. t1 = A.List_List$of(chunk1, true, $T);
  25735. B.JSArray_methods.addAll$1(t1, chunk2);
  25736. t2 = A.List_List$of(chunk2, true, $T);
  25737. B.JSArray_methods.addAll$1(t2, chunk1);
  25738. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  25739. t1 = t2;
  25740. break $label0$0;
  25741. }
  25742. return t1;
  25743. },
  25744. paths0(choices, $T) {
  25745. 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));
  25746. },
  25747. _groupSelectors0(complex) {
  25748. var t2, t3, t4,
  25749. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  25750. t1 = type$.JSArray_ComplexSelectorComponent_2,
  25751. group = A._setArrayType([], t1);
  25752. 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();) {
  25753. t4 = t3.__internal$_current;
  25754. if (t4 == null)
  25755. t4 = t2._as(t4);
  25756. group.push(t4);
  25757. if (t4.combinators.length === 0) {
  25758. groups._queue_list$_add$1(group);
  25759. group = A._setArrayType([], t1);
  25760. }
  25761. }
  25762. if (group.length !== 0)
  25763. groups._queue_list$_add$1(group);
  25764. return groups;
  25765. },
  25766. listIsSuperselector0(list1, list2) {
  25767. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  25768. },
  25769. _complexIsParentSuperselector0(complex1, complex2) {
  25770. var t1, base, t2;
  25771. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  25772. return false;
  25773. t1 = $.$get$bogusSpan0();
  25774. 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_empty13, type$.CssValue_Combinator_2), t1);
  25775. t1 = type$.ComplexSelectorComponent_2;
  25776. t2 = A.List_List$of(complex1, true, t1);
  25777. t2.push(base);
  25778. t1 = A.List_List$of(complex2, true, t1);
  25779. t1.push(base);
  25780. return A.complexIsSuperselector0(t2, t1);
  25781. },
  25782. complexIsSuperselector0(complex1, complex2) {
  25783. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  25784. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  25785. return false;
  25786. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  25787. return false;
  25788. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  25789. remaining1 = complex1.length - i1;
  25790. remaining2 = complex2.length - i2;
  25791. if (remaining1 === 0 || remaining2 === 0)
  25792. return false;
  25793. if (remaining1 > remaining2)
  25794. return false;
  25795. component1 = complex1[i1];
  25796. t3 = component1.combinators;
  25797. if (t3.length > 1)
  25798. return false;
  25799. if (remaining1 === 1)
  25800. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  25801. return false;
  25802. else {
  25803. t1 = component1.selector;
  25804. t2 = B.JSArray_methods.get$last(complex2).selector;
  25805. return A.compoundIsSuperselector0(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  25806. }
  25807. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  25808. component2 = complex2[endOfSubselector];
  25809. if (component2.combinators.length > 1)
  25810. return false;
  25811. t5 = component2.selector;
  25812. if (A.compoundIsSuperselector0(t4, t5, t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null))
  25813. break;
  25814. ++endOfSubselector;
  25815. if (endOfSubselector === complex2.length - 1)
  25816. return false;
  25817. }
  25818. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  25819. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  25820. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  25821. return false;
  25822. component2 = complex2[endOfSubselector];
  25823. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  25824. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  25825. return false;
  25826. ++i1;
  25827. i2 = endOfSubselector + 1;
  25828. if (complex1.length - i1 === 1) {
  25829. t3 = combinator1 == null;
  25830. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_y180)) {
  25831. t3 = complex2.length - 1;
  25832. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  25833. t4.SubListIterable$3(complex2, 0, t3, t2);
  25834. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  25835. return false;
  25836. } else if (!t3)
  25837. if (complex2.length - i2 > 1)
  25838. return false;
  25839. }
  25840. }
  25841. },
  25842. _compatibleWithPreviousCombinator0(previous, parents) {
  25843. if (parents.get$isEmpty(parents))
  25844. return true;
  25845. if (previous == null)
  25846. return true;
  25847. if (previous.value !== B.Combinator_y180)
  25848. return false;
  25849. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  25850. },
  25851. _isSupercombinator0(combinator1, combinator2) {
  25852. var t2, t3,
  25853. t1 = true;
  25854. if (!J.$eq$(combinator1, combinator2)) {
  25855. t2 = combinator1 == null;
  25856. if (t2)
  25857. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_8I80);
  25858. else
  25859. t3 = false;
  25860. if (!t3)
  25861. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_y180))
  25862. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_gRV0);
  25863. else
  25864. t1 = false;
  25865. }
  25866. return t1;
  25867. },
  25868. compoundIsSuperselector0(compound1, compound2, parents) {
  25869. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  25870. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  25871. t1 = compound1.components;
  25872. if (t1.length > compound2.components.length)
  25873. return false;
  25874. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  25875. }
  25876. _0_1 = A._findPseudoElementIndexed0(compound1);
  25877. _0_5 = A._findPseudoElementIndexed0(compound2);
  25878. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  25879. _0_5_isSet = t1._is(_0_1);
  25880. _0_50 = _null;
  25881. index1 = _null;
  25882. pseudo2 = _null;
  25883. index2 = _null;
  25884. t2 = false;
  25885. if (_0_5_isSet) {
  25886. t3 = _0_1 == null;
  25887. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  25888. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  25889. t2 = t1._is(_0_5);
  25890. if (t2) {
  25891. t3 = _0_5 == null;
  25892. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  25893. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  25894. }
  25895. t1 = t2;
  25896. _0_50 = _0_5;
  25897. } else {
  25898. t1 = t2;
  25899. pseudo1 = _null;
  25900. }
  25901. if (t1) {
  25902. if (pseudo1.isSuperselector$1(pseudo2)) {
  25903. t1 = compound1.components;
  25904. t2 = type$.int;
  25905. t3 = A._arrayInstanceType(t1)._precomputed1;
  25906. t4 = compound2.components;
  25907. t5 = A._arrayInstanceType(t4)._precomputed1;
  25908. 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);
  25909. } else
  25910. t1 = false;
  25911. return t1;
  25912. }
  25913. if (_0_1 == null)
  25914. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  25915. else
  25916. t1 = true;
  25917. if (t1)
  25918. return false;
  25919. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  25920. simple1 = t1[_i];
  25921. if (simple1 instanceof A.PseudoSelector0)
  25922. t4 = simple1.selector != null;
  25923. else
  25924. t4 = false;
  25925. if (t4) {
  25926. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  25927. return false;
  25928. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  25929. return false;
  25930. }
  25931. return true;
  25932. },
  25933. _findPseudoElementIndexed0(compound) {
  25934. var t1, t2, i, simple;
  25935. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  25936. simple = t1[i];
  25937. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  25938. return new A._Record_2(simple, i);
  25939. }
  25940. return null;
  25941. },
  25942. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  25943. var t1;
  25944. if (compound1.get$length(0) === 0)
  25945. return true;
  25946. if (compound2.get$length(0) === 0)
  25947. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  25948. t1 = $.$get$bogusSpan0();
  25949. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  25950. },
  25951. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  25952. var selector1 = pseudo1.selector;
  25953. if (selector1 == null)
  25954. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  25955. switch (pseudo1.normalizedName) {
  25956. case "is":
  25957. case "matches":
  25958. case "any":
  25959. case "where":
  25960. 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));
  25961. case "has":
  25962. case "host":
  25963. case "host-context":
  25964. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  25965. case "slotted":
  25966. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  25967. case "not":
  25968. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  25969. case "current":
  25970. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  25971. case "nth-child":
  25972. case "nth-last-child":
  25973. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  25974. default:
  25975. throw A.wrapException("unreachable");
  25976. }
  25977. },
  25978. _selectorPseudoArgs0(compound, $name, isClass) {
  25979. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  25980. return new A.NonNullsIterable(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$.NonNullsIterable_SelectorList_2);
  25981. },
  25982. unifyComplex_closure0: function unifyComplex_closure0() {
  25983. },
  25984. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  25985. this.span = t0;
  25986. },
  25987. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  25988. this.group = t0;
  25989. },
  25990. _weaveParents_closure5: function _weaveParents_closure5() {
  25991. },
  25992. _weaveParents_closure6: function _weaveParents_closure6() {
  25993. },
  25994. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  25995. this.uniqueSelectors = t0;
  25996. },
  25997. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  25998. this.uniqueSelectors = t0;
  25999. },
  26000. paths_closure0: function paths_closure0(t0) {
  26001. this.T = t0;
  26002. },
  26003. paths__closure0: function paths__closure0(t0, t1) {
  26004. this.paths = t0;
  26005. this.T = t1;
  26006. },
  26007. paths___closure0: function paths___closure0(t0, t1) {
  26008. this.option = t0;
  26009. this.T = t1;
  26010. },
  26011. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  26012. this.list1 = t0;
  26013. },
  26014. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  26015. this.complex1 = t0;
  26016. },
  26017. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  26018. },
  26019. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  26020. this.combinator1 = t0;
  26021. },
  26022. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  26023. },
  26024. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  26025. this.compound2 = t0;
  26026. },
  26027. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  26028. this.selector1 = t0;
  26029. },
  26030. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  26031. this.parents = t0;
  26032. this.compound2 = t1;
  26033. },
  26034. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  26035. this.selector1 = t0;
  26036. },
  26037. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  26038. this.selector1 = t0;
  26039. },
  26040. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  26041. this.compound2 = t0;
  26042. this.pseudo1 = t1;
  26043. },
  26044. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  26045. this.complex = t0;
  26046. this.pseudo1 = t1;
  26047. },
  26048. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  26049. this.simple2 = t0;
  26050. },
  26051. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  26052. this.simple2 = t0;
  26053. },
  26054. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  26055. this.selector1 = t0;
  26056. },
  26057. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  26058. this.pseudo1 = t0;
  26059. this.selector1 = t1;
  26060. },
  26061. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  26062. this.isClass = t0;
  26063. this.name = t1;
  26064. },
  26065. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  26066. },
  26067. globalFunctions_closure0: function globalFunctions_closure0() {
  26068. },
  26069. IDSelector0: function IDSelector0(t0, t1) {
  26070. this.name = t0;
  26071. this.span = t1;
  26072. },
  26073. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  26074. this.$this = t0;
  26075. },
  26076. IfExpression0: function IfExpression0(t0, t1) {
  26077. this.$arguments = t0;
  26078. this.span = t1;
  26079. },
  26080. IfClause$0(expression, children) {
  26081. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26082. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26083. },
  26084. ElseClause$0(children) {
  26085. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26086. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26087. },
  26088. IfRule0: function IfRule0(t0, t1, t2) {
  26089. this.clauses = t0;
  26090. this.lastClause = t1;
  26091. this.span = t2;
  26092. },
  26093. IfRule_toString_closure0: function IfRule_toString_closure0() {
  26094. },
  26095. IfRuleClause0: function IfRuleClause0() {
  26096. },
  26097. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  26098. },
  26099. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  26100. },
  26101. IfClause0: function IfClause0(t0, t1, t2) {
  26102. this.expression = t0;
  26103. this.children = t1;
  26104. this.hasDeclarations = t2;
  26105. },
  26106. ElseClause0: function ElseClause0(t0, t1) {
  26107. this.children = t0;
  26108. this.hasDeclarations = t1;
  26109. },
  26110. jsToDartList(list) {
  26111. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  26112. },
  26113. dartMapToImmutableMap(dartMap) {
  26114. var t1, t2,
  26115. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  26116. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  26117. t2 = t1.get$current(t1);
  26118. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  26119. }
  26120. return J.asImmutable$0$x(immutableMap);
  26121. },
  26122. immutableMapToDartMap(immutableMap) {
  26123. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  26124. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  26125. return dartMap;
  26126. },
  26127. ImmutableList0: function ImmutableList0() {
  26128. },
  26129. ImmutableMap0: function ImmutableMap0() {
  26130. },
  26131. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  26132. this.dartMap = t0;
  26133. },
  26134. NodeImporter__addSassPath(includePaths) {
  26135. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  26136. },
  26137. NodeImporter__addSassPath$body($async$includePaths) {
  26138. return function() {
  26139. var includePaths = $async$includePaths;
  26140. var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath, t1;
  26141. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  26142. if ($async$errorCode === 1) {
  26143. $async$currentError = $async$result;
  26144. $async$goto = $async$handler;
  26145. }
  26146. while (true)
  26147. switch ($async$goto) {
  26148. case 0:
  26149. // Function start
  26150. $async$goto = 3;
  26151. return $async$iterator._yieldStar$1(includePaths);
  26152. case 3:
  26153. // after yield
  26154. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26155. if (sassPath == null) {
  26156. // goto return
  26157. $async$goto = 1;
  26158. break;
  26159. }
  26160. t1 = A.isNodeJs() ? self.process : null;
  26161. $async$goto = 4;
  26162. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  26163. case 4:
  26164. // after yield
  26165. case 1:
  26166. // return
  26167. return 0;
  26168. case 2:
  26169. // rethrow
  26170. return $async$iterator._datum = $async$currentError, 3;
  26171. }
  26172. };
  26173. };
  26174. },
  26175. NodeImporter: function NodeImporter(t0, t1, t2) {
  26176. this._implementation$_options = t0;
  26177. this._includePaths = t1;
  26178. this._implementation$_importers = t2;
  26179. },
  26180. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  26181. var _ = this;
  26182. _.$this = t0;
  26183. _.importer = t1;
  26184. _.forImport = t2;
  26185. _.url = t3;
  26186. _.previousString = t4;
  26187. },
  26188. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  26189. this.path = t0;
  26190. },
  26191. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  26192. },
  26193. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  26194. var _ = this;
  26195. _.$this = t0;
  26196. _.importer = t1;
  26197. _.forImport = t2;
  26198. _.url = t3;
  26199. _.previousString = t4;
  26200. _.completer = t5;
  26201. },
  26202. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  26203. var _ = this;
  26204. _.url = t0;
  26205. _.modifiers = t1;
  26206. _.span = t2;
  26207. _._node$_indexInParent = _._node$_parent = null;
  26208. _.isGroupEnd = false;
  26209. },
  26210. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  26211. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26212. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  26213. t3 = type$.Uri,
  26214. t4 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  26215. return new A.ImportCache0(t4, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  26216. },
  26217. ImportCache$none(logger) {
  26218. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26219. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  26220. t3 = type$.Uri;
  26221. return new A.ImportCache0(B.List_empty23, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.ImporterResult_2));
  26222. },
  26223. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  26224. var t1, t2, t3, t4, _i, path, _null = null,
  26225. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26226. if (A.isBrowser()) {
  26227. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26228. if (importers != null)
  26229. B.JSArray_methods.addAll$1(t1, importers);
  26230. return t1;
  26231. }
  26232. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26233. if (importers != null)
  26234. B.JSArray_methods.addAll$1(t1, importers);
  26235. if (loadPaths != null)
  26236. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  26237. t3 = t2.get$current(t2);
  26238. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  26239. }
  26240. if (sassPath != null) {
  26241. t2 = A.isNodeJs() ? self.process : _null;
  26242. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  26243. t4 = t3.length;
  26244. _i = 0;
  26245. for (; _i < t4; ++_i) {
  26246. path = t3[_i];
  26247. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false));
  26248. }
  26249. }
  26250. return t1;
  26251. },
  26252. ImportCache_wrapLogger0(logger, silenceDeprecations, fatalDeprecations, futureDeprecations, color) {
  26253. var t3, t4,
  26254. t1 = type$.Deprecation_3,
  26255. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  26256. if (silenceDeprecations != null)
  26257. t2.addAll$1(0, silenceDeprecations);
  26258. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  26259. if (fatalDeprecations != null)
  26260. t3.addAll$1(0, fatalDeprecations);
  26261. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  26262. if (futureDeprecations != null)
  26263. t4.addAll$1(0, futureDeprecations);
  26264. return new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, false);
  26265. },
  26266. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  26267. var _ = this;
  26268. _._import_cache$_importers = t0;
  26269. _._import_cache$_logger = t1;
  26270. _._import_cache$_canonicalizeCache = t2;
  26271. _._import_cache$_perImporterCanonicalizeCache = t3;
  26272. _._import_cache$_nonCanonicalRelativeUrls = t4;
  26273. _._import_cache$_importCache = t5;
  26274. _._import_cache$_resultsCache = t6;
  26275. },
  26276. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  26277. var _ = this;
  26278. _.$this = t0;
  26279. _.baseImporter = t1;
  26280. _.resolvedUrl = t2;
  26281. _.baseUrl = t3;
  26282. _.forImport = t4;
  26283. _.key = t5;
  26284. _.url = t6;
  26285. },
  26286. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  26287. this.importer = t0;
  26288. this.url = t1;
  26289. },
  26290. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  26291. var _ = this;
  26292. _.$this = t0;
  26293. _.importer = t1;
  26294. _.canonicalUrl = t2;
  26295. _.originalUrl = t3;
  26296. _.quiet = t4;
  26297. },
  26298. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  26299. this.canonicalUrl = t0;
  26300. },
  26301. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  26302. },
  26303. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  26304. },
  26305. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  26306. this.canonicalUrl = t0;
  26307. },
  26308. ImportRule0: function ImportRule0(t0, t1) {
  26309. this.imports = t0;
  26310. this.span = t1;
  26311. },
  26312. JSImporter: function JSImporter() {
  26313. },
  26314. JSImporterResult: function JSImporterResult() {
  26315. },
  26316. Importer0: function Importer0() {
  26317. },
  26318. NodeImporterResult0: function NodeImporterResult0() {
  26319. },
  26320. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  26321. var _ = this;
  26322. _.namespace = t0;
  26323. _.name = t1;
  26324. _.originalName = t2;
  26325. _.$arguments = t3;
  26326. _.content = t4;
  26327. _.span = t5;
  26328. },
  26329. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  26330. this.name = t0;
  26331. this.$arguments = t1;
  26332. this.span = t2;
  26333. },
  26334. Interpolation$0(contents, span) {
  26335. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  26336. t1.Interpolation$20(contents, span);
  26337. return t1;
  26338. },
  26339. Interpolation0: function Interpolation0(t0, t1) {
  26340. this.contents = t0;
  26341. this.span = t1;
  26342. },
  26343. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  26344. },
  26345. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  26346. this.expression = t0;
  26347. this.span = t1;
  26348. },
  26349. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  26350. this._interpolation_buffer0$_text = t0;
  26351. this._interpolation_buffer0$_contents = t1;
  26352. },
  26353. InterpolationMap$0(_interpolation, targetLocations) {
  26354. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  26355. t2 = _interpolation.contents.length,
  26356. expectedLocations = Math.max(0, t2 - 1);
  26357. if (t1.length !== expectedLocations)
  26358. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  26359. return new A.InterpolationMap0(_interpolation, t1);
  26360. },
  26361. InterpolationMap0: function InterpolationMap0(t0, t1) {
  26362. this._interpolation_map$_interpolation = t0;
  26363. this._interpolation_map$_targetLocations = t1;
  26364. },
  26365. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  26366. },
  26367. _realCasePath0(path) {
  26368. var prefix, _null = null,
  26369. t1 = A.isNodeJs() ? self.process : _null;
  26370. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26371. t1 = A.isNodeJs() ? self.process : _null;
  26372. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  26373. } else
  26374. t1 = true;
  26375. if (!t1)
  26376. return path;
  26377. t1 = A.isNodeJs() ? self.process : _null;
  26378. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26379. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  26380. t1 = prefix.length;
  26381. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  26382. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  26383. }
  26384. return new A._realCasePath_helper0().call$1(path);
  26385. },
  26386. _realCasePath_helper0: function _realCasePath_helper0() {
  26387. },
  26388. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  26389. this.helper = t0;
  26390. this.dirname = t1;
  26391. this.path = t2;
  26392. },
  26393. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  26394. this.basename = t0;
  26395. },
  26396. printError0(message) {
  26397. var t1 = A.isNodeJs() ? self.process : null;
  26398. if (t1 != null) {
  26399. t1 = J.get$stderr$x(t1);
  26400. J.write$1$x(t1, A.S(message) + "\n");
  26401. } else {
  26402. t1 = self.console;
  26403. J.error$1$x(t1, message);
  26404. }
  26405. },
  26406. readFile0(path) {
  26407. var contents, sourceFile, t1, i;
  26408. if (!A.isNodeJs())
  26409. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  26410. contents = A._asString(A._readFile0(path, "utf8"));
  26411. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  26412. return contents;
  26413. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  26414. for (t1 = contents.length, i = 0; i < t1; ++i) {
  26415. if (contents.charCodeAt(i) !== 65533)
  26416. continue;
  26417. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  26418. }
  26419. return contents;
  26420. },
  26421. _readFile0(path, encoding) {
  26422. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  26423. },
  26424. fileExists0(path) {
  26425. if (!A.isNodeJs())
  26426. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  26427. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  26428. },
  26429. dirExists0(path) {
  26430. if (!A.isNodeJs())
  26431. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  26432. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  26433. },
  26434. listDir0(path) {
  26435. if (!A.isNodeJs())
  26436. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  26437. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  26438. },
  26439. getEnvironmentVariable0($name) {
  26440. var t1 = A.isNodeJs() ? self.process : null,
  26441. env = t1 == null ? null : J.get$env$x(t1);
  26442. if (env == null)
  26443. t1 = null;
  26444. else
  26445. t1 = A._asStringQ(env[$name]);
  26446. return t1;
  26447. },
  26448. _systemErrorToFileSystemException0(callback) {
  26449. var error, t1, exception, t2;
  26450. try {
  26451. t1 = callback.call$0();
  26452. return t1;
  26453. } catch (exception) {
  26454. error = A.unwrapException(exception);
  26455. if (!type$.JsSystemError._is(error))
  26456. throw exception;
  26457. t1 = error;
  26458. t2 = J.getInterceptor$x(t1);
  26459. 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)));
  26460. }
  26461. },
  26462. hasTerminal0() {
  26463. var t1 = A.isNodeJs() ? self.process : null;
  26464. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  26465. },
  26466. FileSystemException0: function FileSystemException0(t0, t1) {
  26467. this.message = t0;
  26468. this.path = t1;
  26469. },
  26470. _readFile_closure0: function _readFile_closure0(t0, t1) {
  26471. this.path = t0;
  26472. this.encoding = t1;
  26473. },
  26474. fileExists_closure0: function fileExists_closure0(t0) {
  26475. this.path = t0;
  26476. },
  26477. dirExists_closure0: function dirExists_closure0(t0) {
  26478. this.path = t0;
  26479. },
  26480. listDir_closure0: function listDir_closure0(t0, t1) {
  26481. this.recursive = t0;
  26482. this.path = t1;
  26483. },
  26484. listDir__closure1: function listDir__closure1(t0) {
  26485. this.path = t0;
  26486. },
  26487. listDir__closure2: function listDir__closure2() {
  26488. },
  26489. listDir_closure_list0: function listDir_closure_list0() {
  26490. },
  26491. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  26492. this.parent = t0;
  26493. this.list = t1;
  26494. },
  26495. main() {
  26496. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  26497. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  26498. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  26499. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  26500. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  26501. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  26502. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  26503. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  26504. J.set$Value$x(self.exports, $.$get$valueClass());
  26505. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  26506. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  26507. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  26508. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  26509. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  26510. J.set$SassColor$x(self.exports, $.$get$colorClass());
  26511. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  26512. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  26513. J.set$SassList$x(self.exports, $.$get$listClass());
  26514. J.set$SassMap$x(self.exports, $.$get$mapClass());
  26515. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  26516. J.set$SassString$x(self.exports, $.$get$stringClass());
  26517. J.set$sassNull$x(self.exports, B.C__SassNull0);
  26518. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  26519. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  26520. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  26521. 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())}});
  26522. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  26523. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  26524. J.set$Version$x(self.exports, $.$get$versionClass());
  26525. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  26526. J.set$info$x(self.exports, "dart-sass\t1.78.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.5.2\t(Dart Compiler)\t[Dart]");
  26527. A.updateCanonicalizeContextPrototype();
  26528. A.updateSourceSpanPrototype();
  26529. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  26530. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  26531. 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});
  26532. J.set$NULL$x(self.exports, B.C__SassNull0);
  26533. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  26534. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  26535. },
  26536. main_closure: function main_closure() {
  26537. },
  26538. main_closure0: function main_closure0() {
  26539. },
  26540. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  26541. this._node = t0;
  26542. this._fallback = t1;
  26543. this._ascii = t2;
  26544. },
  26545. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  26546. var _ = this;
  26547. _.$this = t0;
  26548. _.message = t1;
  26549. _.span = t2;
  26550. _.trace = t3;
  26551. _.deprecation = t4;
  26552. },
  26553. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  26554. this.$this = t0;
  26555. this.message = t1;
  26556. this.span = t2;
  26557. },
  26558. ModifiableCssKeyframeBlock$0(selector, span) {
  26559. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  26560. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  26561. },
  26562. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  26563. var _ = this;
  26564. _.selector = t0;
  26565. _.span = t1;
  26566. _.children = t2;
  26567. _._node$_children = t3;
  26568. _._node$_indexInParent = _._node$_parent = null;
  26569. _.isGroupEnd = false;
  26570. },
  26571. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  26572. var t1 = A.SpanScanner$(contents, null);
  26573. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  26574. },
  26575. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  26576. this.scanner = t0;
  26577. this.logger = t1;
  26578. this._parser1$_interpolationMap = t2;
  26579. },
  26580. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  26581. this.$this = t0;
  26582. },
  26583. LazyFileSpan0: function LazyFileSpan0(t0) {
  26584. this._lazy_file_span0$_builder = t0;
  26585. this._lazy_file_span0$_span = null;
  26586. },
  26587. render(options, callback) {
  26588. var _0_0;
  26589. if (!A.isNodeJs())
  26590. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  26591. _0_0 = J.get$fiber$x(options);
  26592. if (_0_0 != null)
  26593. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  26594. else
  26595. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  26596. },
  26597. _renderAsync(options) {
  26598. var $async$goto = 0,
  26599. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  26600. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  26601. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  26602. if ($async$errorCode === 1)
  26603. return A._asyncRethrow($async$result, $async$completer);
  26604. while (true)
  26605. switch ($async$goto) {
  26606. case 0:
  26607. // Function start
  26608. start = new A.DateTime(Date.now(), 0, false);
  26609. t1 = J.getInterceptor$x(options);
  26610. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  26611. t2 = t1.get$logger(options);
  26612. t3 = A.hasTerminal0();
  26613. t4 = $._glyphs;
  26614. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  26615. _0_0 = t1.get$data(options);
  26616. $async$goto = _0_0 != null ? 3 : 5;
  26617. break;
  26618. case 3:
  26619. // then
  26620. t2 = A._parseImporter(options, start);
  26621. t3 = A._parsePackageImportersAsync(options, start);
  26622. t4 = A._parseFunctions(options, start, true);
  26623. t5 = t1.get$indentedSyntax(options);
  26624. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  26625. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26626. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26627. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26628. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26629. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  26630. t11 = t1.get$quietDeps(options);
  26631. if (t11 == null)
  26632. t11 = false;
  26633. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  26634. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  26635. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  26636. t15 = t1.get$verbose(options);
  26637. if (t15 == null)
  26638. t15 = false;
  26639. t1 = t1.get$charset(options);
  26640. if (t1 == null)
  26641. t1 = true;
  26642. $async$goto = 6;
  26643. return A._asyncAwait(A.compileStringAsync0(_0_0, t1, t12, t4, t13, t3, null, t8, t9, logger, t2, t11, t14, A._enableSourceMaps(options), t6, t5, t10, !t7, t15), $async$_renderAsync);
  26644. case 6:
  26645. // returning from await.
  26646. result = $async$result;
  26647. // goto join
  26648. $async$goto = 4;
  26649. break;
  26650. case 5:
  26651. // else
  26652. $async$goto = file != null ? 7 : 9;
  26653. break;
  26654. case 7:
  26655. // then
  26656. t2 = A._parseImporter(options, start);
  26657. t3 = A._parsePackageImportersAsync(options, start);
  26658. t4 = A._parseFunctions(options, start, true);
  26659. t5 = t1.get$indentedSyntax(options);
  26660. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  26661. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26662. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26663. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26664. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26665. t10 = t1.get$quietDeps(options);
  26666. if (t10 == null)
  26667. t10 = false;
  26668. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  26669. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  26670. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  26671. t14 = t1.get$verbose(options);
  26672. if (t14 == null)
  26673. t14 = false;
  26674. t1 = t1.get$charset(options);
  26675. if (t1 == null)
  26676. t1 = true;
  26677. $async$goto = 10;
  26678. return A._asyncAwait(A.compileAsync0(file, t1, t11, t4, t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14), $async$_renderAsync);
  26679. case 10:
  26680. // returning from await.
  26681. result = $async$result;
  26682. // goto join
  26683. $async$goto = 8;
  26684. break;
  26685. case 9:
  26686. // else
  26687. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  26688. case 8:
  26689. // join
  26690. case 4:
  26691. // join
  26692. $async$returnValue = A._newRenderResult(options, result, start);
  26693. // goto return
  26694. $async$goto = 1;
  26695. break;
  26696. case 1:
  26697. // return
  26698. return A._asyncReturn($async$returnValue, $async$completer);
  26699. }
  26700. });
  26701. return A._asyncStartSync($async$_renderAsync, $async$completer);
  26702. },
  26703. renderSync(options) {
  26704. var start, result, file, logger, _0_0, data, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null;
  26705. if (!A.isNodeJs())
  26706. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  26707. try {
  26708. start = new A.DateTime(Date.now(), 0, false);
  26709. result = null;
  26710. t1 = J.getInterceptor$x(options);
  26711. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  26712. t2 = t1.get$logger(options);
  26713. t3 = A.hasTerminal0();
  26714. t4 = $._glyphs;
  26715. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  26716. _0_0 = t1.get$data(options);
  26717. data = null;
  26718. if (_0_0 != null) {
  26719. data = _0_0;
  26720. t2 = data;
  26721. t3 = A._parseImporter(options, start);
  26722. t4 = A._parsePackageImporters(options, start);
  26723. t5 = A._parseFunctions(options, start, false);
  26724. t6 = t1.get$indentedSyntax(options);
  26725. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  26726. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  26727. t8 = J.$eq$(t1.get$indentType(options), "tab");
  26728. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  26729. t10 = A._parseLineFeed(t1.get$linefeed(options));
  26730. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  26731. t12 = t1.get$quietDeps(options);
  26732. if (t12 == null)
  26733. t12 = false;
  26734. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  26735. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  26736. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  26737. t16 = t1.get$verbose(options);
  26738. if (t16 == null)
  26739. t16 = false;
  26740. t1 = t1.get$charset(options);
  26741. if (t1 == null)
  26742. t1 = true;
  26743. result = A.compileString(t2, t1, t13, new A.CastList(t5, A._arrayInstanceType(t5)._eval$1("CastList<1,Callable>")), t14, t4, _null, t9, t10, logger, t3, t12, t15, A._enableSourceMaps(options), t7, t6, t11, !t8, t16);
  26744. } else if (file != null) {
  26745. t2 = A._parseImporter(options, start);
  26746. t3 = A._parsePackageImporters(options, start);
  26747. t4 = A._parseFunctions(options, start, false);
  26748. t5 = t1.get$indentedSyntax(options);
  26749. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  26750. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26751. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26752. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26753. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26754. t10 = t1.get$quietDeps(options);
  26755. if (t10 == null)
  26756. t10 = false;
  26757. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  26758. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  26759. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  26760. t14 = t1.get$verbose(options);
  26761. if (t14 == null)
  26762. t14 = false;
  26763. t1 = t1.get$charset(options);
  26764. if (t1 == null)
  26765. t1 = true;
  26766. result = A.compile(file, t1, t11, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), t12, t3, t8, t9, logger, t2, t10, t13, A._enableSourceMaps(options), t6, t5, !t7, t14);
  26767. } else {
  26768. t1 = A.ArgumentError$(string$.Either, _null);
  26769. throw A.wrapException(t1);
  26770. }
  26771. t1 = A._newRenderResult(options, result, start);
  26772. return t1;
  26773. } catch (exception) {
  26774. t1 = A.unwrapException(exception);
  26775. if (t1 instanceof A.SassException0) {
  26776. error = t1;
  26777. stackTrace = A.getTraceFromException(exception);
  26778. A.jsThrow(A._wrapException(error, stackTrace));
  26779. } else {
  26780. error0 = t1;
  26781. stackTrace0 = A.getTraceFromException(exception);
  26782. t1 = J.toString$0$(error0);
  26783. t2 = A.getTrace0(error0);
  26784. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  26785. }
  26786. }
  26787. },
  26788. _wrapException(exception, stackTrace) {
  26789. var t2, t3, t4, t5,
  26790. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  26791. _0_0 = t1.get$sourceUrl(t1);
  26792. $label0$0: {
  26793. if (_0_0 == null) {
  26794. t1 = "stdin";
  26795. break $label0$0;
  26796. }
  26797. if ("file" === _0_0.get$scheme()) {
  26798. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  26799. break $label0$0;
  26800. }
  26801. t1 = _0_0.toString$0(0);
  26802. break $label0$0;
  26803. }
  26804. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  26805. t3 = A.getTrace0(exception);
  26806. if (t3 == null)
  26807. t3 = stackTrace;
  26808. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  26809. t4 = t4.get$start(t4);
  26810. t4 = t4.file.getLine$1(t4.offset);
  26811. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  26812. t5 = t5.get$start(t5);
  26813. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  26814. },
  26815. _parseFunctions(options, start, asynch) {
  26816. var result,
  26817. functions = J.get$functions$x(options);
  26818. if (functions == null)
  26819. return B.List_empty24;
  26820. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  26821. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  26822. return result;
  26823. },
  26824. _parseImporter(options, start) {
  26825. var t2, t3, contextOptions, _1_0, importers, _box_0 = {},
  26826. t1 = J.getInterceptor$x(options),
  26827. _0_0 = t1.get$importer(options);
  26828. $label0$0: {
  26829. if (_0_0 == null) {
  26830. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  26831. break $label0$0;
  26832. }
  26833. if (type$.List_nullable_Object._is(_0_0)) {
  26834. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  26835. break $label0$0;
  26836. }
  26837. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  26838. break $label0$0;
  26839. }
  26840. t3 = J.getInterceptor$asx(t2);
  26841. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  26842. _1_0 = t1.get$fiber(options);
  26843. _box_0.fiber = null;
  26844. if (_1_0 != null) {
  26845. _box_0.fiber = _1_0;
  26846. t2 = t3.map$1$1(t2, new A._parseImporter_closure(_box_0), type$.JSFunction);
  26847. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  26848. } else
  26849. importers = t2;
  26850. t1 = t1.get$includePaths(options);
  26851. if (t1 == null)
  26852. t1 = [];
  26853. t2 = type$.String;
  26854. 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));
  26855. },
  26856. _parsePackageImportersAsync(options, start) {
  26857. var t2, t3, t4,
  26858. t1 = J.getInterceptor$x(options);
  26859. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  26860. t1 = t1.get$pkgImporter(options);
  26861. t1.toString;
  26862. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  26863. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  26864. t4 = type$.Uri;
  26865. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_AsyncImporter), type$.AsyncImporter);
  26866. return new A.AsyncImportCache0(t1, new A.StderrLogger0(false), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2));
  26867. }
  26868. return null;
  26869. },
  26870. _parsePackageImporters(options, start) {
  26871. var t2, t3, t4,
  26872. t1 = J.getInterceptor$x(options);
  26873. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  26874. t1 = t1.get$pkgImporter(options);
  26875. t1.toString;
  26876. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  26877. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  26878. t4 = type$.Uri;
  26879. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_Importer_2), type$.Importer);
  26880. return new A.ImportCache0(t1, new A.StderrLogger0(false), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ImporterResult_2));
  26881. }
  26882. return null;
  26883. },
  26884. _contextOptions(options, start) {
  26885. var includePaths, t3, t4, t5, t6, t7,
  26886. t1 = J.getInterceptor$x(options),
  26887. t2 = t1.get$includePaths(options);
  26888. if (t2 == null)
  26889. t2 = [];
  26890. includePaths = A.List_List$from(t2, true, type$.String);
  26891. t2 = t1.get$file(options);
  26892. t3 = t1.get$data(options);
  26893. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  26894. B.JSArray_methods.addAll$1(t4, includePaths);
  26895. t5 = A.isNodeJs() ? self.process : null;
  26896. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  26897. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  26898. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  26899. if (t6 == null)
  26900. t6 = 2;
  26901. t7 = A._parseLineFeed(t1.get$linefeed(options));
  26902. t1 = t1.get$file(options);
  26903. if (t1 == null)
  26904. t1 = "data";
  26905. return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._value, entry: t1}}};
  26906. },
  26907. _parseOutputStyle(style) {
  26908. var t1;
  26909. $label0$0: {
  26910. if (style == null || "expanded" === style) {
  26911. t1 = B.OutputStyle_00;
  26912. break $label0$0;
  26913. }
  26914. if ("compressed" === style) {
  26915. t1 = B.OutputStyle_10;
  26916. break $label0$0;
  26917. }
  26918. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  26919. }
  26920. return t1;
  26921. },
  26922. _parseIndentWidth(width) {
  26923. var t1;
  26924. $label0$0: {
  26925. if (width == null) {
  26926. t1 = null;
  26927. break $label0$0;
  26928. }
  26929. if (A._isInt(width)) {
  26930. t1 = width;
  26931. break $label0$0;
  26932. }
  26933. t1 = A.int_parse(J.toString$0$(width), null);
  26934. break $label0$0;
  26935. }
  26936. return t1;
  26937. },
  26938. _parseLineFeed(str) {
  26939. var t1;
  26940. $label0$0: {
  26941. if ("cr" === str) {
  26942. t1 = B.LineFeed_89t;
  26943. break $label0$0;
  26944. }
  26945. if ("crlf" === str) {
  26946. t1 = B.LineFeed_A4L;
  26947. break $label0$0;
  26948. }
  26949. if ("lfcr" === str) {
  26950. t1 = B.LineFeed_75j;
  26951. break $label0$0;
  26952. }
  26953. t1 = B.LineFeed_LvD;
  26954. break $label0$0;
  26955. }
  26956. return t1;
  26957. },
  26958. _newRenderResult(options, result, start) {
  26959. var t2, sourceMapOption, sourceMapPath, t3, sourceMapDir, outFile, _0_0, t4, sourceMapDirUrl, i, source, t5, buffer, indices, url, t6, t7, t8, _null = null,
  26960. end = new A.DateTime(Date.now(), 0, false),
  26961. t1 = result._compile_result$_serialize,
  26962. css = t1._0,
  26963. sourceMapBytes = type$.Null._as(self.undefined);
  26964. if (A._enableSourceMaps(options)) {
  26965. t2 = J.getInterceptor$x(options);
  26966. sourceMapOption = t2.get$sourceMap(options);
  26967. if (typeof sourceMapOption == "string")
  26968. sourceMapPath = sourceMapOption;
  26969. else {
  26970. t3 = t2.get$outFile(options);
  26971. t3.toString;
  26972. sourceMapPath = J.$add$ansx(t3, ".map");
  26973. }
  26974. t3 = $.$get$context();
  26975. sourceMapDir = t3.dirname$1(sourceMapPath);
  26976. t1 = t1._1;
  26977. t1.toString;
  26978. t1.sourceRoot = t2.get$sourceMapRoot(options);
  26979. outFile = t2.get$outFile(options);
  26980. if (outFile == null) {
  26981. _0_0 = t2.get$file(options);
  26982. $label0$0: {
  26983. if (_0_0 != null) {
  26984. t4 = t3.toUri$1(t3.withoutExtension$1(_0_0) + ".css").toString$0(0);
  26985. break $label0$0;
  26986. }
  26987. t4 = t1.targetUrl = "stdin.css";
  26988. break $label0$0;
  26989. }
  26990. t1.targetUrl = t4;
  26991. } else
  26992. t1.targetUrl = t3.toUri$1(t3.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  26993. sourceMapDirUrl = t3.toUri$1(sourceMapDir).toString$0(0);
  26994. for (t3 = t1.urls, i = 0; i < t3.length; ++i) {
  26995. source = t3[i];
  26996. if (source === "stdin")
  26997. continue;
  26998. t4 = $.$get$url();
  26999. t5 = t4.style;
  27000. if (t5.rootLength$1(source) <= 0 || t5.isRootRelative$1(source))
  27001. continue;
  27002. t3[i] = t4.relative$2$from(source, sourceMapDirUrl);
  27003. }
  27004. t3 = t2.get$sourceMapContents(options);
  27005. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t1.toJson$1$includeSourceContents(!J.$eq$(t3, false) && t3 != null), _null), "utf8");
  27006. t1 = t2.get$omitSourceMapUrl(options);
  27007. if (!(!J.$eq$(t1, false) && t1 != null)) {
  27008. t1 = t2.get$sourceMapEmbed(options);
  27009. if (!J.$eq$(t1, false) && t1 != null) {
  27010. buffer = new A.StringBuffer("");
  27011. indices = A._setArrayType([-1], type$.JSArray_int);
  27012. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  27013. indices.push(buffer._contents.length);
  27014. t1 = buffer._contents += ";base64,";
  27015. indices.push(t1.length - 1);
  27016. t1 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  27017. t2 = sourceMapBytes.length;
  27018. A.RangeError_checkValidRange(0, t2, t2);
  27019. t1._convert$_add$4(sourceMapBytes, 0, t2, true);
  27020. t1 = buffer._contents;
  27021. url = new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri();
  27022. } else {
  27023. if (outFile == null)
  27024. t1 = sourceMapPath;
  27025. else {
  27026. t1 = $.$get$context();
  27027. t1 = t1.relative$2$from(sourceMapPath, t1.dirname$1(outFile));
  27028. }
  27029. url = $.$get$context().toUri$1(t1);
  27030. }
  27031. t1 = url.toString$0(0);
  27032. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t1, "*/", "%2A/") + " */";
  27033. }
  27034. }
  27035. t1 = self.Buffer.from(css, "utf8");
  27036. t2 = J.get$file$x(options);
  27037. if (t2 == null)
  27038. t2 = "data";
  27039. t3 = start._value;
  27040. t4 = end._value;
  27041. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(end._microsecond - start._microsecond, t4 - t3)._duration, 1000);
  27042. t6 = A._setArrayType([], type$.JSArray_String);
  27043. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  27044. t8 = t7.get$current(t7);
  27045. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  27046. }
  27047. return {css: t1, map: sourceMapBytes, stats: {entry: t2, start: t3, end: t4, duration: t5, includedFiles: t6}};
  27048. },
  27049. _enableSourceMaps(options) {
  27050. var t2,
  27051. t1 = J.getInterceptor$x(options);
  27052. if (typeof t1.get$sourceMap(options) != "string") {
  27053. t2 = t1.get$sourceMap(options);
  27054. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  27055. } else
  27056. t1 = true;
  27057. return t1;
  27058. },
  27059. _newRenderError(message, stackTrace, column, file, line, $status) {
  27060. var error = new self.Error(message);
  27061. error.formatted = "Error: " + message;
  27062. if (line != null)
  27063. error.line = line;
  27064. if (column != null)
  27065. error.column = column;
  27066. if (file != null)
  27067. error.file = file;
  27068. error.status = $status;
  27069. A.attachJsStack(error, stackTrace);
  27070. return error;
  27071. },
  27072. render_closure: function render_closure(t0, t1) {
  27073. this.callback = t0;
  27074. this.options = t1;
  27075. },
  27076. render_closure0: function render_closure0(t0) {
  27077. this.callback = t0;
  27078. },
  27079. render_closure1: function render_closure1(t0) {
  27080. this.callback = t0;
  27081. },
  27082. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  27083. var _ = this;
  27084. _.options = t0;
  27085. _.start = t1;
  27086. _.result = t2;
  27087. _.asynch = t3;
  27088. },
  27089. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  27090. this._box_0 = t0;
  27091. this.callback = t1;
  27092. this.context = t2;
  27093. },
  27094. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  27095. this.currentFiber = t0;
  27096. },
  27097. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  27098. this.currentFiber = t0;
  27099. this.result = t1;
  27100. },
  27101. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  27102. this.callback = t0;
  27103. this.context = t1;
  27104. this.jsArguments = t2;
  27105. },
  27106. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  27107. this._box_0 = t0;
  27108. },
  27109. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  27110. this.callback = t0;
  27111. this.context = t1;
  27112. },
  27113. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  27114. this.callback = t0;
  27115. this.context = t1;
  27116. this.$arguments = t2;
  27117. },
  27118. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  27119. this.callback = t0;
  27120. this.context = t1;
  27121. },
  27122. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  27123. this.completer = t0;
  27124. },
  27125. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  27126. this.callback = t0;
  27127. this.context = t1;
  27128. this.jsArguments = t2;
  27129. },
  27130. _parseImporter_closure: function _parseImporter_closure(t0) {
  27131. this._box_0 = t0;
  27132. },
  27133. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  27134. this._box_0 = t0;
  27135. this.importer = t1;
  27136. },
  27137. _parseImporter___closure: function _parseImporter___closure(t0) {
  27138. this.currentFiber = t0;
  27139. },
  27140. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  27141. this.currentFiber = t0;
  27142. this.result = t1;
  27143. },
  27144. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  27145. this._box_0 = t0;
  27146. },
  27147. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  27148. var t2, key,
  27149. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  27150. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  27151. key = t2.get$current(t2);
  27152. if (!blocklist.contains$1(0, key))
  27153. t1.add$1(0, key);
  27154. }
  27155. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  27156. },
  27157. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  27158. this._limited_map_view0$_map = t0;
  27159. this._limited_map_view0$_keys = t1;
  27160. this.$ti = t2;
  27161. },
  27162. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  27163. var _ = this;
  27164. _.contents = t0;
  27165. _.separator = t1;
  27166. _.hasBrackets = t2;
  27167. _.span = t3;
  27168. },
  27169. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  27170. this.$this = t0;
  27171. },
  27172. _function10($name, $arguments, callback) {
  27173. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  27174. },
  27175. _length_closure2: function _length_closure2() {
  27176. },
  27177. _nth_closure0: function _nth_closure0() {
  27178. },
  27179. _setNth_closure0: function _setNth_closure0() {
  27180. },
  27181. _join_closure0: function _join_closure0() {
  27182. },
  27183. _append_closure2: function _append_closure2() {
  27184. },
  27185. _zip_closure0: function _zip_closure0() {
  27186. },
  27187. _zip__closure2: function _zip__closure2() {
  27188. },
  27189. _zip__closure3: function _zip__closure3(t0) {
  27190. this._box_0 = t0;
  27191. },
  27192. _zip__closure4: function _zip__closure4(t0) {
  27193. this._box_0 = t0;
  27194. },
  27195. _index_closure2: function _index_closure2() {
  27196. },
  27197. _separator_closure0: function _separator_closure0() {
  27198. },
  27199. _isBracketed_closure0: function _isBracketed_closure0() {
  27200. },
  27201. _slash_closure0: function _slash_closure0() {
  27202. },
  27203. SelectorList$0(components, span) {
  27204. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  27205. if (t1.length === 0)
  27206. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  27207. return new A.SelectorList0(t1, span);
  27208. },
  27209. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, logger, plainCss) {
  27210. return A.SelectorParser$0(contents, allowParent, interpolationMap, logger, plainCss, null).parse$0(0);
  27211. },
  27212. SelectorList0: function SelectorList0(t0, t1) {
  27213. this.components = t0;
  27214. this.span = t1;
  27215. },
  27216. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  27217. },
  27218. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  27219. var _ = this;
  27220. _.$this = t0;
  27221. _.preserveParentSelectors = t1;
  27222. _.implicitParent = t2;
  27223. _.parent = t3;
  27224. },
  27225. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  27226. this.complex = t0;
  27227. },
  27228. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  27229. this.complex = t0;
  27230. },
  27231. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  27232. },
  27233. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  27234. this.parent = t0;
  27235. },
  27236. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  27237. this.parentSelector = t0;
  27238. this.resolvedSimples = t1;
  27239. this.component = t2;
  27240. },
  27241. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  27242. this.combinators = t0;
  27243. },
  27244. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  27245. },
  27246. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  27247. },
  27248. listClass_closure: function listClass_closure() {
  27249. },
  27250. listClass__closure: function listClass__closure() {
  27251. },
  27252. listClass__closure0: function listClass__closure0() {
  27253. },
  27254. _ConstructorOptions: function _ConstructorOptions() {
  27255. },
  27256. _NodeSassList: function _NodeSassList() {
  27257. },
  27258. legacyListClass_closure: function legacyListClass_closure() {
  27259. },
  27260. legacyListClass__closure: function legacyListClass__closure() {
  27261. },
  27262. legacyListClass_closure0: function legacyListClass_closure0() {
  27263. },
  27264. legacyListClass_closure1: function legacyListClass_closure1() {
  27265. },
  27266. legacyListClass_closure2: function legacyListClass_closure2() {
  27267. },
  27268. legacyListClass_closure3: function legacyListClass_closure3() {
  27269. },
  27270. legacyListClass_closure4: function legacyListClass_closure4() {
  27271. },
  27272. SassList$0(contents, _separator, brackets) {
  27273. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  27274. t1.SassList$3$brackets0(contents, _separator, brackets);
  27275. return t1;
  27276. },
  27277. SassList0: function SassList0(t0, t1, t2) {
  27278. this._list1$_contents = t0;
  27279. this._list1$_separator = t1;
  27280. this._list1$_hasBrackets = t2;
  27281. },
  27282. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  27283. },
  27284. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  27285. this._list1$_name = t0;
  27286. this.separator = t1;
  27287. this._name = t2;
  27288. },
  27289. JSLogger: function JSLogger() {
  27290. },
  27291. WarnOptions: function WarnOptions() {
  27292. },
  27293. DebugOptions: function DebugOptions() {
  27294. },
  27295. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  27296. if (deprecation.isFuture && !(_this instanceof A.DeprecationProcessingLogger0))
  27297. return;
  27298. if (_this instanceof A.LoggerWithDeprecationType)
  27299. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  27300. else
  27301. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  27302. },
  27303. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  27304. },
  27305. _QuietLogger0: function _QuietLogger0() {
  27306. },
  27307. LoudComment0: function LoudComment0(t0) {
  27308. this.text = t0;
  27309. },
  27310. MapExpression0: function MapExpression0(t0, t1) {
  27311. this.pairs = t0;
  27312. this.span = t1;
  27313. },
  27314. _modify0(map, keys, modify, addNesting) {
  27315. var keyIterator = J.get$iterator$ax(keys);
  27316. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  27317. },
  27318. _deepMergeImpl0(map1, map2) {
  27319. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  27320. t1 = map1._map0$_contents;
  27321. if (t1.get$isEmpty(t1))
  27322. return map2;
  27323. t2 = map2._map0$_contents;
  27324. if (t2.get$isEmpty(t2))
  27325. return map1;
  27326. t3 = type$.Value_2;
  27327. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  27328. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  27329. t4 = t1.get$current(t1);
  27330. key = t4._0;
  27331. value = t4._1;
  27332. t4 = result.$index(0, key);
  27333. _1_1 = t4 == null ? null : t4.tryMap$0();
  27334. _1_3 = value.tryMap$0();
  27335. _1_3_isSet = _1_1 != null;
  27336. _1_30 = null;
  27337. t4 = false;
  27338. if (_1_3_isSet) {
  27339. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  27340. t4 = _1_3 != null;
  27341. _1_30 = _1_3;
  27342. } else
  27343. resultMap = null;
  27344. if (t4) {
  27345. valueMap = _1_3_isSet ? _1_30 : _1_3;
  27346. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  27347. if (merged === resultMap)
  27348. continue;
  27349. result.$indexSet(0, key, merged);
  27350. } else
  27351. result.$indexSet(0, key, value);
  27352. }
  27353. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  27354. },
  27355. _function9($name, $arguments, callback) {
  27356. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  27357. },
  27358. _get_closure0: function _get_closure0() {
  27359. },
  27360. _set_closure1: function _set_closure1() {
  27361. },
  27362. _set__closure2: function _set__closure2(t0) {
  27363. this.$arguments = t0;
  27364. },
  27365. _set_closure2: function _set_closure2() {
  27366. },
  27367. _set__closure1: function _set__closure1(t0) {
  27368. this._box_0 = t0;
  27369. },
  27370. _merge_closure1: function _merge_closure1() {
  27371. },
  27372. _merge_closure2: function _merge_closure2() {
  27373. },
  27374. _merge__closure0: function _merge__closure0(t0) {
  27375. this.map2 = t0;
  27376. },
  27377. _deepMerge_closure0: function _deepMerge_closure0() {
  27378. },
  27379. _deepRemove_closure0: function _deepRemove_closure0() {
  27380. },
  27381. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  27382. this.keys = t0;
  27383. },
  27384. _remove_closure1: function _remove_closure1() {
  27385. },
  27386. _remove_closure2: function _remove_closure2() {
  27387. },
  27388. _keys_closure0: function _keys_closure0() {
  27389. },
  27390. _values_closure0: function _values_closure0() {
  27391. },
  27392. _hasKey_closure0: function _hasKey_closure0() {
  27393. },
  27394. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  27395. this.keyIterator = t0;
  27396. this.modify = t1;
  27397. this.addNesting = t2;
  27398. },
  27399. MapExtensions_get_pairs0(_this, $K, $V) {
  27400. 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)"));
  27401. },
  27402. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  27403. this.K = t0;
  27404. this.V = t1;
  27405. },
  27406. mapClass_closure: function mapClass_closure() {
  27407. },
  27408. mapClass__closure: function mapClass__closure() {
  27409. },
  27410. mapClass__closure0: function mapClass__closure0() {
  27411. },
  27412. mapClass__closure1: function mapClass__closure1() {
  27413. },
  27414. _NodeSassMap: function _NodeSassMap() {
  27415. },
  27416. legacyMapClass_closure: function legacyMapClass_closure() {
  27417. },
  27418. legacyMapClass__closure: function legacyMapClass__closure() {
  27419. },
  27420. legacyMapClass__closure0: function legacyMapClass__closure0() {
  27421. },
  27422. legacyMapClass_closure0: function legacyMapClass_closure0() {
  27423. },
  27424. legacyMapClass_closure1: function legacyMapClass_closure1() {
  27425. },
  27426. legacyMapClass_closure2: function legacyMapClass_closure2() {
  27427. },
  27428. legacyMapClass_closure3: function legacyMapClass_closure3() {
  27429. },
  27430. legacyMapClass_closure4: function legacyMapClass_closure4() {
  27431. },
  27432. SassMap0: function SassMap0(t0) {
  27433. this._map0$_contents = t0;
  27434. },
  27435. _singleArgumentMathFunc0($name, mathFunc) {
  27436. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  27437. },
  27438. _numberFunction0($name, transform) {
  27439. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  27440. },
  27441. _function8($name, $arguments, callback) {
  27442. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  27443. },
  27444. global_closure31: function global_closure31() {
  27445. },
  27446. module_closure11: function module_closure11() {
  27447. },
  27448. _ceil_closure0: function _ceil_closure0() {
  27449. },
  27450. _clamp_closure0: function _clamp_closure0() {
  27451. },
  27452. _floor_closure0: function _floor_closure0() {
  27453. },
  27454. _max_closure0: function _max_closure0() {
  27455. },
  27456. _min_closure0: function _min_closure0() {
  27457. },
  27458. _round_closure0: function _round_closure0() {
  27459. },
  27460. _hypot_closure0: function _hypot_closure0() {
  27461. },
  27462. _hypot__closure0: function _hypot__closure0() {
  27463. },
  27464. _log_closure0: function _log_closure0() {
  27465. },
  27466. _pow_closure0: function _pow_closure0() {
  27467. },
  27468. _atan2_closure0: function _atan2_closure0() {
  27469. },
  27470. _compatible_closure0: function _compatible_closure0() {
  27471. },
  27472. _isUnitless_closure0: function _isUnitless_closure0() {
  27473. },
  27474. _unit_closure0: function _unit_closure0() {
  27475. },
  27476. _percentage_closure0: function _percentage_closure0() {
  27477. },
  27478. _randomFunction_closure0: function _randomFunction_closure0() {
  27479. },
  27480. _div_closure0: function _div_closure0() {
  27481. },
  27482. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  27483. this.mathFunc = t0;
  27484. },
  27485. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  27486. this.transform = t0;
  27487. },
  27488. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  27489. var t1 = A.SpanScanner$(contents, null);
  27490. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0(0);
  27491. },
  27492. CssMediaQuery$type0(type, conditions, modifier) {
  27493. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  27494. },
  27495. CssMediaQuery$condition0(conditions, conjunction) {
  27496. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  27497. if (t1.length > 1 && conjunction == null)
  27498. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  27499. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  27500. },
  27501. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  27502. var _ = this;
  27503. _.modifier = t0;
  27504. _.type = t1;
  27505. _.conjunction = t2;
  27506. _.conditions = t3;
  27507. },
  27508. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  27509. this._name = t0;
  27510. },
  27511. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  27512. this.query = t0;
  27513. },
  27514. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  27515. this.scanner = t0;
  27516. this.logger = t1;
  27517. this._parser1$_interpolationMap = t2;
  27518. },
  27519. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  27520. this.$this = t0;
  27521. },
  27522. ModifiableCssMediaRule$0(queries, span) {
  27523. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  27524. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27525. if (J.get$isEmpty$asx(queries))
  27526. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  27527. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  27528. },
  27529. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  27530. var _ = this;
  27531. _.queries = t0;
  27532. _.span = t1;
  27533. _.children = t2;
  27534. _._node$_children = t3;
  27535. _._node$_indexInParent = _._node$_parent = null;
  27536. _.isGroupEnd = false;
  27537. },
  27538. MediaRule$0(query, children, span) {
  27539. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  27540. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  27541. return new A.MediaRule0(query, span, t1, t2);
  27542. },
  27543. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  27544. var _ = this;
  27545. _.query = t0;
  27546. _.span = t1;
  27547. _.children = t2;
  27548. _.hasDeclarations = t3;
  27549. },
  27550. MergedExtension_merge0(left, right) {
  27551. var t2, t3, t4,
  27552. t1 = left.extender.selector;
  27553. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  27554. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  27555. t2 = left.mediaContext;
  27556. t3 = t2 == null;
  27557. if (!t3) {
  27558. t4 = right.mediaContext;
  27559. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  27560. } else
  27561. t4 = false;
  27562. if (t4)
  27563. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  27564. if (right.isOptional && right.mediaContext == null)
  27565. return left;
  27566. if (left.isOptional && t3)
  27567. return right;
  27568. if (t3)
  27569. t2 = right.mediaContext;
  27570. t1.get$specificity();
  27571. t1 = new A.Extender0(t1, false);
  27572. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  27573. },
  27574. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  27575. var _ = this;
  27576. _.left = t0;
  27577. _.right = t1;
  27578. _.extender = t2;
  27579. _.target = t3;
  27580. _.mediaContext = t4;
  27581. _.isOptional = t5;
  27582. _.span = t6;
  27583. },
  27584. MergedMapView$0(maps, $K, $V) {
  27585. var t1 = $K._eval$1("@<0>")._bind$1($V);
  27586. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  27587. t1.MergedMapView$10(maps, $K, $V);
  27588. return t1;
  27589. },
  27590. MergedMapView0: function MergedMapView0(t0, t1) {
  27591. this._merged_map_view$_mapsByKey = t0;
  27592. this.$ti = t1;
  27593. },
  27594. _function12($name, $arguments, callback) {
  27595. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  27596. },
  27597. global_closure59: function global_closure59() {
  27598. },
  27599. global_closure60: function global_closure60() {
  27600. },
  27601. global_closure61: function global_closure61() {
  27602. },
  27603. global_closure62: function global_closure62() {
  27604. },
  27605. local_closure2: function local_closure2() {
  27606. },
  27607. local_closure3: function local_closure3() {
  27608. },
  27609. local__closure0: function local__closure0() {
  27610. },
  27611. local_closure4: function local_closure4() {
  27612. },
  27613. mixinClass_closure: function mixinClass_closure() {
  27614. },
  27615. mixinClass__closure: function mixinClass__closure() {
  27616. },
  27617. mixinClass__closure0: function mixinClass__closure0() {
  27618. },
  27619. SassMixin0: function SassMixin0(t0) {
  27620. this.callable = t0;
  27621. },
  27622. MixinRule$0($name, $arguments, children, span, comment) {
  27623. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  27624. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  27625. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  27626. return new A.MixinRule0(t1, $name, $arguments, span, t2, t3);
  27627. },
  27628. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  27629. var _ = this;
  27630. _._mixin_rule$__MixinRule_hasContent_FI = $;
  27631. _.name = t0;
  27632. _.originalName = t1;
  27633. _.$arguments = t2;
  27634. _.span = t3;
  27635. _.children = t4;
  27636. _.hasDeclarations = t5;
  27637. },
  27638. _HasContentVisitor0: function _HasContentVisitor0() {
  27639. },
  27640. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  27641. },
  27642. ExtendMode0: function ExtendMode0(t0, t1) {
  27643. this.name = t0;
  27644. this._name = t1;
  27645. },
  27646. JSModule0: function JSModule0() {
  27647. },
  27648. JSModuleRequire0: function JSModuleRequire0() {
  27649. },
  27650. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  27651. this._multi_span0$_primary = t0;
  27652. this.primaryLabel = t1;
  27653. this.secondarySpans = t2;
  27654. },
  27655. SupportsNegation0: function SupportsNegation0(t0, t1) {
  27656. this.condition = t0;
  27657. this.span = t1;
  27658. },
  27659. NoOpImporter0: function NoOpImporter0() {
  27660. },
  27661. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  27662. this._no_source_map_buffer0$_buffer = t0;
  27663. },
  27664. _FakeAstNode0: function _FakeAstNode0(t0) {
  27665. this._node0$_callback = t0;
  27666. },
  27667. CssNode0: function CssNode0() {
  27668. },
  27669. CssParentNode0: function CssParentNode0() {
  27670. },
  27671. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  27672. this.includeBogus = t0;
  27673. this.includeComments = t1;
  27674. },
  27675. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  27676. },
  27677. ModifiableCssNode0: function ModifiableCssNode0() {
  27678. },
  27679. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  27680. },
  27681. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  27682. },
  27683. NodePackageImporter0: function NodePackageImporter0() {
  27684. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  27685. },
  27686. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  27687. },
  27688. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  27689. },
  27690. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  27691. },
  27692. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  27693. this.$this = t0;
  27694. this.exports = t1;
  27695. this.packageRoot = t2;
  27696. },
  27697. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  27698. this.$this = t0;
  27699. this.variant = t1;
  27700. this.packageRoot = t2;
  27701. },
  27702. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  27703. },
  27704. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  27705. },
  27706. NullExpression0: function NullExpression0(t0) {
  27707. this.span = t0;
  27708. },
  27709. legacyNullClass_closure: function legacyNullClass_closure() {
  27710. },
  27711. legacyNullClass__closure: function legacyNullClass__closure() {
  27712. },
  27713. _SassNull0: function _SassNull0() {
  27714. },
  27715. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  27716. this.value = t0;
  27717. this.unit = t1;
  27718. this.span = t2;
  27719. },
  27720. numberClass_closure: function numberClass_closure() {
  27721. },
  27722. numberClass__closure: function numberClass__closure() {
  27723. },
  27724. numberClass__closure0: function numberClass__closure0() {
  27725. },
  27726. numberClass__closure1: function numberClass__closure1() {
  27727. },
  27728. numberClass__closure2: function numberClass__closure2() {
  27729. },
  27730. numberClass__closure3: function numberClass__closure3() {
  27731. },
  27732. numberClass__closure4: function numberClass__closure4() {
  27733. },
  27734. numberClass__closure5: function numberClass__closure5() {
  27735. },
  27736. numberClass__closure6: function numberClass__closure6() {
  27737. },
  27738. numberClass__closure7: function numberClass__closure7() {
  27739. },
  27740. numberClass__closure8: function numberClass__closure8() {
  27741. },
  27742. numberClass__closure9: function numberClass__closure9() {
  27743. },
  27744. numberClass__closure10: function numberClass__closure10() {
  27745. },
  27746. numberClass__closure11: function numberClass__closure11() {
  27747. },
  27748. numberClass__closure12: function numberClass__closure12() {
  27749. },
  27750. numberClass__closure13: function numberClass__closure13() {
  27751. },
  27752. numberClass__closure14: function numberClass__closure14() {
  27753. },
  27754. numberClass__closure15: function numberClass__closure15() {
  27755. },
  27756. numberClass__closure16: function numberClass__closure16() {
  27757. },
  27758. numberClass__closure17: function numberClass__closure17() {
  27759. },
  27760. numberClass__closure18: function numberClass__closure18() {
  27761. },
  27762. numberClass__closure19: function numberClass__closure19() {
  27763. },
  27764. _ConstructorOptions0: function _ConstructorOptions0() {
  27765. },
  27766. _parseNumber(value, unit) {
  27767. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  27768. if (unit == null || unit.length === 0)
  27769. return A.SassNumber_SassNumber0(value, null);
  27770. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  27771. return A.SassNumber_SassNumber0(value, unit);
  27772. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  27773. operands = unit.split("/");
  27774. t1 = operands.length;
  27775. if (t1 > 2)
  27776. throw A.wrapException(invalidUnit);
  27777. numerator = operands[0];
  27778. denominator = t1 === 1 ? null : operands[1];
  27779. t1 = type$.JSArray_String;
  27780. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  27781. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  27782. throw A.wrapException(invalidUnit);
  27783. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  27784. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  27785. throw A.wrapException(invalidUnit);
  27786. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  27787. },
  27788. _NodeSassNumber: function _NodeSassNumber() {
  27789. },
  27790. legacyNumberClass_closure: function legacyNumberClass_closure() {
  27791. },
  27792. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  27793. },
  27794. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  27795. },
  27796. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  27797. },
  27798. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  27799. },
  27800. _parseNumber_closure: function _parseNumber_closure() {
  27801. },
  27802. _parseNumber_closure0: function _parseNumber_closure0() {
  27803. },
  27804. conversionFactor0(unit1, unit2) {
  27805. var _0_0;
  27806. if (unit1 === unit2)
  27807. return 1;
  27808. _0_0 = B.Map_gQqJO.$index(0, unit1);
  27809. if (_0_0 != null)
  27810. return _0_0.$index(0, unit2);
  27811. return null;
  27812. },
  27813. SassNumber_SassNumber0(value, unit) {
  27814. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  27815. },
  27816. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  27817. var _0_8_isSet, _0_8, _0_10, _0_10_isSet, _0_7, unit, t2, _0_7_isSet, t3, _0_4_isSet, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  27818. _0_3 = numeratorUnits == null,
  27819. t1 = _0_3,
  27820. _0_6_isSet = !t1,
  27821. _0_6 = _null,
  27822. _0_4 = _null;
  27823. if (_0_6_isSet) {
  27824. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  27825. t1 = _0_4;
  27826. _0_6 = t1 <= 0;
  27827. _0_8_isSet = _0_6;
  27828. } else
  27829. _0_8_isSet = true;
  27830. _0_8 = _null;
  27831. _0_10 = _null;
  27832. if (_0_8_isSet) {
  27833. _0_8 = denominatorUnits == null;
  27834. t1 = _0_8;
  27835. _0_10_isSet = !t1;
  27836. if (_0_10_isSet) {
  27837. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  27838. t1 = _0_10;
  27839. } else
  27840. t1 = true;
  27841. _0_7 = denominatorUnits;
  27842. } else {
  27843. _0_7 = _null;
  27844. _0_10_isSet = false;
  27845. t1 = false;
  27846. }
  27847. if (t1)
  27848. return new A.UnitlessSassNumber0(value, _null);
  27849. t1 = type$.List_String;
  27850. unit = _null;
  27851. t2 = false;
  27852. if (t1._is(numeratorUnits)) {
  27853. _0_7_isSet = true;
  27854. if (_0_6_isSet) {
  27855. t3 = _0_4;
  27856. _0_4_isSet = _0_6_isSet;
  27857. } else {
  27858. _0_4 = J.get$length$asx(numeratorUnits);
  27859. t3 = _0_4;
  27860. _0_4_isSet = true;
  27861. }
  27862. if (t3 === 1) {
  27863. unit = J.$index$asx(numeratorUnits, 0);
  27864. if (_0_8_isSet) {
  27865. t2 = _0_8;
  27866. _0_7_isSet0 = _0_8_isSet;
  27867. } else {
  27868. _0_8 = denominatorUnits == null;
  27869. t2 = _0_8;
  27870. _0_7_isSet0 = _0_7_isSet;
  27871. _0_7 = denominatorUnits;
  27872. _0_8_isSet = true;
  27873. }
  27874. if (!t2)
  27875. if (_0_10_isSet) {
  27876. t2 = _0_10;
  27877. _0_7_isSet = _0_7_isSet0;
  27878. } else {
  27879. if (_0_7_isSet0) {
  27880. t2 = _0_7;
  27881. _0_7_isSet = _0_7_isSet0;
  27882. } else {
  27883. t2 = denominatorUnits;
  27884. _0_7 = t2;
  27885. }
  27886. _0_10 = J.get$length$asx(t2 == null ? t1._as(t2) : t2) <= 0;
  27887. t2 = _0_10;
  27888. _0_10_isSet = true;
  27889. }
  27890. else {
  27891. _0_7_isSet = _0_7_isSet0;
  27892. t2 = true;
  27893. }
  27894. } else
  27895. _0_7_isSet = _0_8_isSet;
  27896. } else {
  27897. _0_7_isSet = _0_8_isSet;
  27898. _0_4_isSet = _0_6_isSet;
  27899. }
  27900. if (t2)
  27901. return new A.SingleUnitSassNumber0(unit, value, _null);
  27902. t2 = numeratorUnits == null;
  27903. t3 = false;
  27904. if (!t2) {
  27905. _0_7_isSet0 = true;
  27906. numerators = numeratorUnits;
  27907. if (_0_8_isSet)
  27908. t3 = _0_8;
  27909. else {
  27910. if (_0_7_isSet)
  27911. t3 = _0_7;
  27912. else {
  27913. t3 = denominatorUnits;
  27914. _0_7_isSet = _0_7_isSet0;
  27915. _0_7 = t3;
  27916. }
  27917. _0_8 = t3 == null;
  27918. t3 = _0_8;
  27919. }
  27920. if (!t3)
  27921. if (_0_10_isSet)
  27922. t3 = _0_10;
  27923. else {
  27924. if (_0_7_isSet)
  27925. t3 = _0_7;
  27926. else {
  27927. t3 = denominatorUnits;
  27928. _0_7_isSet = _0_7_isSet0;
  27929. _0_7 = t3;
  27930. }
  27931. _0_10 = J.get$length$asx(t3 == null ? t1._as(t3) : t3) <= 0;
  27932. t3 = _0_10;
  27933. }
  27934. else
  27935. t3 = true;
  27936. } else
  27937. numerators = _null;
  27938. if (t3)
  27939. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  27940. if (!_0_3)
  27941. if (_0_6_isSet)
  27942. t2 = _0_6;
  27943. else {
  27944. if (_0_4_isSet)
  27945. t2 = _0_4;
  27946. else {
  27947. _0_4 = J.get$length$asx(t2 ? t1._as(numeratorUnits) : numeratorUnits);
  27948. t2 = _0_4;
  27949. }
  27950. _0_6 = t2 <= 0;
  27951. t2 = _0_6;
  27952. }
  27953. else
  27954. t2 = true;
  27955. denominators = _null;
  27956. if (t2) {
  27957. if (_0_7_isSet)
  27958. t2 = _0_7;
  27959. else {
  27960. t2 = denominatorUnits;
  27961. _0_7 = t2;
  27962. _0_7_isSet = true;
  27963. }
  27964. t2 = t2 != null;
  27965. if (t2) {
  27966. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  27967. if (denominators == null)
  27968. denominators = t1._as(denominators);
  27969. }
  27970. t1 = t2;
  27971. } else
  27972. t1 = false;
  27973. if (t1)
  27974. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  27975. numeratorUnits.toString;
  27976. numerators = J.toList$0$ax(numeratorUnits);
  27977. denominatorUnits.toString;
  27978. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  27979. denominators = A._setArrayType([], type$.JSArray_String);
  27980. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  27981. denominator = unsimplifiedDenominators[_i];
  27982. i = 0;
  27983. while (true) {
  27984. if (!(i < numerators.length)) {
  27985. simplifiedAway = false;
  27986. break;
  27987. }
  27988. c$0: {
  27989. factor = A.conversionFactor0(denominator, numerators[i]);
  27990. if (factor == null)
  27991. break c$0;
  27992. valueDouble *= factor;
  27993. B.JSArray_methods.removeAt$1(numerators, i);
  27994. simplifiedAway = true;
  27995. break;
  27996. }
  27997. ++i;
  27998. }
  27999. if (!simplifiedAway)
  28000. denominators.push(denominator);
  28001. }
  28002. $label0$1: {
  28003. _1_2 = numerators.length;
  28004. t1 = _1_2;
  28005. _1_7_isSet = t1 <= 0;
  28006. if (_1_7_isSet) {
  28007. _1_7 = denominators.length <= 0;
  28008. t1 = _1_7;
  28009. } else {
  28010. _1_7 = _null;
  28011. t1 = false;
  28012. }
  28013. if (t1) {
  28014. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  28015. break $label0$1;
  28016. }
  28017. t1 = false;
  28018. if (_1_2 === 1) {
  28019. unit = numerators[0];
  28020. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  28021. } else
  28022. unit = _null;
  28023. if (t1) {
  28024. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  28025. break $label0$1;
  28026. }
  28027. t1 = type$.String;
  28028. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  28029. break $label0$1;
  28030. }
  28031. return t1;
  28032. },
  28033. SassNumber0: function SassNumber0() {
  28034. },
  28035. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  28036. var _ = this;
  28037. _.$this = t0;
  28038. _.other = t1;
  28039. _.otherName = t2;
  28040. _.otherHasUnits = t3;
  28041. _.name = t4;
  28042. _.newNumerators = t5;
  28043. _.newDenominators = t6;
  28044. },
  28045. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  28046. this._box_0 = t0;
  28047. this.newNumerator = t1;
  28048. },
  28049. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  28050. this.compatibilityException = t0;
  28051. },
  28052. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  28053. this._box_0 = t0;
  28054. this.newDenominator = t1;
  28055. },
  28056. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  28057. this.compatibilityException = t0;
  28058. },
  28059. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  28060. },
  28061. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  28062. },
  28063. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  28064. this._box_0 = t0;
  28065. this.numerator = t1;
  28066. },
  28067. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  28068. this.newNumerators = t0;
  28069. this.numerator = t1;
  28070. },
  28071. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  28072. this._box_0 = t0;
  28073. this.numerator = t1;
  28074. },
  28075. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  28076. this.newNumerators = t0;
  28077. this.numerator = t1;
  28078. },
  28079. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  28080. this.units2 = t0;
  28081. },
  28082. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  28083. },
  28084. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  28085. this.$this = t0;
  28086. },
  28087. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  28088. },
  28089. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  28090. },
  28091. SupportsOperation$0(left, right, operator, span) {
  28092. var lowerOperator = operator.toLowerCase();
  28093. if (lowerOperator !== "and" && lowerOperator !== "or")
  28094. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  28095. return new A.SupportsOperation0(left, right, operator, span);
  28096. },
  28097. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  28098. var _ = this;
  28099. _.left = t0;
  28100. _.right = t1;
  28101. _.operator = t2;
  28102. _.span = t3;
  28103. },
  28104. ParentSelector0: function ParentSelector0(t0, t1) {
  28105. this.suffix = t0;
  28106. this.span = t1;
  28107. },
  28108. ParentStatement0: function ParentStatement0() {
  28109. },
  28110. ParentStatement_closure0: function ParentStatement_closure0() {
  28111. },
  28112. ParentStatement__closure0: function ParentStatement__closure0() {
  28113. },
  28114. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  28115. this.expression = t0;
  28116. this.span = t1;
  28117. },
  28118. loadParserExports() {
  28119. A._updateAstPrototypes();
  28120. return {parse: A.allowInterop(A.parser0___parse$closure()), createExpressionVisitor: A.allowInterop(new A.loadParserExports_closure()), createStatementVisitor: A.allowInterop(new A.loadParserExports_closure0())};
  28121. },
  28122. _updateAstPrototypes() {
  28123. var t2, interpolation, string, _i, t3, t4,
  28124. t1 = type$.JSClass;
  28125. J.get$$prototype$x(t1._as(A.SourceFile$fromString("", null).constructor)).getText = A.allowInteropCaptureThisNamed("getText", new A._updateAstPrototypes_closure());
  28126. t2 = $.$get$bogusSpan0();
  28127. interpolation = A.Interpolation$0(B.List_empty26, t2);
  28128. A.defineGetter(J.get$$prototype$x(t1._as(interpolation.constructor)), "asPlain", new A._updateAstPrototypes_closure0(), null);
  28129. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(new A.ExtendRule0(interpolation, false, t2).constructor))).constructor)).accept = A.allowInteropCaptureThisNamed("accept", new A._updateAstPrototypes_closure1());
  28130. string = new A.StringExpression0(interpolation, false);
  28131. J.get$$prototype$x(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(string.constructor))).constructor)).accept = A.allowInteropCaptureThisNamed("accept", new A._updateAstPrototypes_closure2());
  28132. for (t2 = [string, new A.BinaryOperationExpression0(B.BinaryOperator_u150, string, string, false), new A.SupportsExpression0(new A.SupportsAnything0(interpolation, t2)), new A.LoudComment0(interpolation)], _i = 0; _i < 4; ++_i) {
  28133. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  28134. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure3()), enumerable: false};
  28135. self.Object.defineProperty(t3, "span", t4);
  28136. }
  28137. },
  28138. _parse(css, syntax, path, logger) {
  28139. var t1, t2, t3;
  28140. $label0$0: {
  28141. if ("scss" === syntax) {
  28142. t1 = B.Syntax_SCSS_scss0;
  28143. break $label0$0;
  28144. }
  28145. if ("sass" === syntax) {
  28146. t1 = B.Syntax_Sass_sass0;
  28147. break $label0$0;
  28148. }
  28149. if ("css" === syntax) {
  28150. t1 = B.Syntax_CSS_css0;
  28151. break $label0$0;
  28152. }
  28153. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  28154. }
  28155. t2 = A.NullableExtension_andThen0(path, A.path__toUri$closure());
  28156. t3 = $._glyphs;
  28157. return A.Stylesheet_Stylesheet$parse0(css, t1, new A.JSToDartLogger(logger, new A.StderrLogger0(false), t3 === B.C_AsciiGlyphSet), t2);
  28158. },
  28159. ParserExports: function ParserExports() {
  28160. },
  28161. loadParserExports_closure: function loadParserExports_closure() {
  28162. },
  28163. loadParserExports_closure0: function loadParserExports_closure0() {
  28164. },
  28165. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  28166. },
  28167. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  28168. },
  28169. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  28170. },
  28171. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  28172. },
  28173. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  28174. },
  28175. Parser_isIdentifier0(text) {
  28176. var t1, t2, exception, logger = null;
  28177. try {
  28178. t1 = logger;
  28179. t2 = A.SpanScanner$(text, null);
  28180. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser1$_parseIdentifier$0();
  28181. return true;
  28182. } catch (exception) {
  28183. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  28184. return false;
  28185. else
  28186. throw exception;
  28187. }
  28188. },
  28189. Parser1: function Parser1(t0, t1, t2) {
  28190. this.scanner = t0;
  28191. this.logger = t1;
  28192. this._parser1$_interpolationMap = t2;
  28193. },
  28194. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  28195. this.$this = t0;
  28196. },
  28197. Parser_escape_closure0: function Parser_escape_closure0() {
  28198. },
  28199. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  28200. this.caseSensitive = t0;
  28201. this.char = t1;
  28202. },
  28203. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  28204. this.$this = t0;
  28205. this.span = t1;
  28206. },
  28207. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  28208. this.name = t0;
  28209. this.span = t1;
  28210. },
  28211. PlainCssCallable0: function PlainCssCallable0(t0) {
  28212. this.name = t0;
  28213. },
  28214. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  28215. this._prefixed_map_view0$_map = t0;
  28216. this._prefixed_map_view0$_prefix = t1;
  28217. this.$ti = t2;
  28218. },
  28219. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  28220. this._prefixed_map_view0$_view = t0;
  28221. },
  28222. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  28223. this.$this = t0;
  28224. },
  28225. PseudoSelector$0($name, span, argument, element, selector) {
  28226. var t1 = !element,
  28227. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  28228. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  28229. },
  28230. PseudoSelector__isFakePseudoElement0($name) {
  28231. switch ($name.charCodeAt(0)) {
  28232. case 97:
  28233. case 65:
  28234. return A.equalsIgnoreCase0($name, "after");
  28235. case 98:
  28236. case 66:
  28237. return A.equalsIgnoreCase0($name, "before");
  28238. case 102:
  28239. case 70:
  28240. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  28241. default:
  28242. return false;
  28243. }
  28244. },
  28245. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  28246. var _ = this;
  28247. _.name = t0;
  28248. _.normalizedName = t1;
  28249. _.isClass = t2;
  28250. _.isSyntacticClass = t3;
  28251. _.argument = t4;
  28252. _.selector = t5;
  28253. _._pseudo$__PseudoSelector_specificity_FI = $;
  28254. _.span = t6;
  28255. },
  28256. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  28257. this.$this = t0;
  28258. },
  28259. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  28260. },
  28261. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  28262. },
  28263. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  28264. },
  28265. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  28266. this._public_member_map_view0$_inner = t0;
  28267. this.$ti = t1;
  28268. },
  28269. QualifiedName0: function QualifiedName0(t0, t1) {
  28270. this.name = t0;
  28271. this.namespace = t1;
  28272. },
  28273. createJSClass($name, $constructor) {
  28274. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  28275. },
  28276. JSClassExtension_injectSuperclass(_this, superclass) {
  28277. var t1 = J.getInterceptor$x(superclass),
  28278. t2 = J.getInterceptor$x(_this);
  28279. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  28280. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  28281. },
  28282. JSClassExtension_setCustomInspect(_this, inspect) {
  28283. if (self.util == null)
  28284. return;
  28285. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  28286. },
  28287. JSClassExtension_get_defineStaticMethod(_this) {
  28288. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  28289. },
  28290. JSClassExtension_get_defineMethod(_this) {
  28291. return new A.JSClassExtension_get_defineMethod_closure(_this);
  28292. },
  28293. JSClassExtension_defineMethods(_this, methods) {
  28294. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  28295. },
  28296. JSClassExtension_get_defineGetter(_this) {
  28297. return new A.JSClassExtension_get_defineGetter_closure(_this);
  28298. },
  28299. JSClass0: function JSClass0() {
  28300. },
  28301. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  28302. this.inspect = t0;
  28303. },
  28304. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  28305. this._this = t0;
  28306. },
  28307. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  28308. this._this = t0;
  28309. },
  28310. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  28311. this._this = t0;
  28312. },
  28313. RenderContext0: function RenderContext0() {
  28314. },
  28315. RenderContextOptions0: function RenderContextOptions0() {
  28316. },
  28317. RenderContextResult0: function RenderContextResult0() {
  28318. },
  28319. RenderContextResultStats0: function RenderContextResultStats0() {
  28320. },
  28321. RenderOptions: function RenderOptions() {
  28322. },
  28323. RenderResult: function RenderResult() {
  28324. },
  28325. RenderResultStats: function RenderResultStats() {
  28326. },
  28327. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  28328. },
  28329. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  28330. this.$this = t0;
  28331. },
  28332. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  28333. this.$this = t0;
  28334. },
  28335. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  28336. this.$this = t0;
  28337. },
  28338. ImporterResult$(contents, sourceMapUrl, syntax) {
  28339. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  28340. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  28341. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  28342. },
  28343. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  28344. this.contents = t0;
  28345. this._result$_sourceMapUrl = t1;
  28346. this.syntax = t2;
  28347. },
  28348. ReturnRule0: function ReturnRule0(t0, t1) {
  28349. this.expression = t0;
  28350. this.span = t1;
  28351. },
  28352. SassParser0: function SassParser0(t0, t1, t2, t3) {
  28353. var _ = this;
  28354. _._sass0$_currentIndentation = 0;
  28355. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  28356. _._stylesheet0$_isUseAllowed = true;
  28357. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28358. _._stylesheet0$_globalVariables = t0;
  28359. _.lastSilentComment = null;
  28360. _.scanner = t1;
  28361. _.logger = t2;
  28362. _._parser1$_interpolationMap = t3;
  28363. },
  28364. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  28365. },
  28366. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  28367. this.$this = t0;
  28368. this.child = t1;
  28369. this.children = t2;
  28370. },
  28371. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  28372. },
  28373. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  28374. },
  28375. _translateReturnValue(val) {
  28376. if (val instanceof A._Future)
  28377. return A.futureToPromise(val, type$.dynamic);
  28378. else
  28379. return val;
  28380. },
  28381. main2() {
  28382. new Uint8Array(0);
  28383. A.main();
  28384. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  28385. },
  28386. _wrapMain(main) {
  28387. if (type$.dynamic_Function._is(main))
  28388. return A.allowInterop(new A._wrapMain_closure(main));
  28389. else
  28390. return A.allowInterop(new A._wrapMain_closure0(main));
  28391. },
  28392. _Exports: function _Exports() {
  28393. },
  28394. _wrapMain_closure: function _wrapMain_closure(t0) {
  28395. this.main = t0;
  28396. },
  28397. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  28398. this.main = t0;
  28399. },
  28400. ScssParser$0(contents, logger, url) {
  28401. var t1 = A.SpanScanner$(contents, url),
  28402. t2 = logger == null ? B.StderrLogger_false0 : logger;
  28403. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  28404. },
  28405. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  28406. var _ = this;
  28407. _._stylesheet0$_isUseAllowed = true;
  28408. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28409. _._stylesheet0$_globalVariables = t0;
  28410. _.lastSilentComment = null;
  28411. _.scanner = t1;
  28412. _.logger = t2;
  28413. _._parser1$_interpolationMap = t3;
  28414. },
  28415. Selector0: function Selector0() {
  28416. },
  28417. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  28418. this.includeBogus = t0;
  28419. },
  28420. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  28421. this.includeLeadingCombinator = t0;
  28422. },
  28423. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  28424. this.$this = t0;
  28425. },
  28426. _IsUselessVisitor0: function _IsUselessVisitor0() {
  28427. },
  28428. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  28429. this.$this = t0;
  28430. },
  28431. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  28432. },
  28433. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  28434. },
  28435. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  28436. },
  28437. SelectorExpression0: function SelectorExpression0(t0) {
  28438. this.span = t0;
  28439. },
  28440. _prependParent0(compound) {
  28441. var _0_3, _0_4, _0_40, t2, _0_4_isSet, t3, rest, _null = null,
  28442. t1 = A.EvaluationContext_currentOrNull0(),
  28443. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  28444. _0_0 = compound.components;
  28445. $label0$0: {
  28446. _0_3 = _0_0.length >= 1;
  28447. _0_4 = _null;
  28448. if (_0_3) {
  28449. _0_40 = _0_0[0];
  28450. t1 = _0_40;
  28451. _0_4 = t1;
  28452. t1 = t1 instanceof A.UniversalSelector0;
  28453. } else
  28454. t1 = false;
  28455. t2 = _null;
  28456. if (t1) {
  28457. t1 = t2;
  28458. break $label0$0;
  28459. }
  28460. t1 = false;
  28461. if (_0_3) {
  28462. _0_4_isSet = true;
  28463. t3 = _0_4;
  28464. if (t3 instanceof A.TypeSelector0) {
  28465. t1 = _0_4;
  28466. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  28467. }
  28468. } else
  28469. _0_4_isSet = _0_3;
  28470. if (t1) {
  28471. t1 = t2;
  28472. break $label0$0;
  28473. }
  28474. if (_0_3) {
  28475. if (_0_4_isSet)
  28476. t1 = _0_4;
  28477. else {
  28478. _0_4 = _0_0[0];
  28479. t1 = _0_4;
  28480. _0_4_isSet = true;
  28481. }
  28482. t1 = t1 instanceof A.TypeSelector0;
  28483. } else
  28484. t1 = false;
  28485. if (t1) {
  28486. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  28487. type$.TypeSelector_2._as(t1);
  28488. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  28489. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  28490. B.JSArray_methods.addAll$1(t1, rest);
  28491. t1 = A.CompoundSelector$0(t1, span);
  28492. break $label0$0;
  28493. }
  28494. t1 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  28495. B.JSArray_methods.addAll$1(t1, _0_0);
  28496. t1 = A.CompoundSelector$0(t1, span);
  28497. break $label0$0;
  28498. }
  28499. return t1;
  28500. },
  28501. _function7($name, $arguments, callback) {
  28502. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  28503. },
  28504. _nest_closure0: function _nest_closure0() {
  28505. },
  28506. _nest__closure1: function _nest__closure1(t0) {
  28507. this._box_0 = t0;
  28508. },
  28509. _nest__closure2: function _nest__closure2() {
  28510. },
  28511. _append_closure1: function _append_closure1() {
  28512. },
  28513. _append__closure1: function _append__closure1() {
  28514. },
  28515. _append__closure2: function _append__closure2(t0) {
  28516. this.span = t0;
  28517. },
  28518. _append___closure0: function _append___closure0(t0, t1) {
  28519. this.parent = t0;
  28520. this.span = t1;
  28521. },
  28522. _extend_closure0: function _extend_closure0() {
  28523. },
  28524. _replace_closure0: function _replace_closure0() {
  28525. },
  28526. _unify_closure0: function _unify_closure0() {
  28527. },
  28528. _isSuperselector_closure0: function _isSuperselector_closure0() {
  28529. },
  28530. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  28531. },
  28532. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  28533. },
  28534. _parse_closure0: function _parse_closure0() {
  28535. },
  28536. SelectorParser$0(contents, allowParent, interpolationMap, logger, plainCss, url) {
  28537. var t1 = A.SpanScanner$(contents, url);
  28538. return new A.SelectorParser0(allowParent, plainCss, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  28539. },
  28540. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  28541. var _ = this;
  28542. _._selector$_allowParent = t0;
  28543. _._selector$_plainCss = t1;
  28544. _.scanner = t2;
  28545. _.logger = t3;
  28546. _._parser1$_interpolationMap = t4;
  28547. },
  28548. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  28549. this.$this = t0;
  28550. },
  28551. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  28552. this.$this = t0;
  28553. },
  28554. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  28555. },
  28556. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  28557. this.$this = t0;
  28558. },
  28559. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  28560. this.$this = t0;
  28561. },
  28562. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  28563. var t1, css, t2, prefix,
  28564. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  28565. node.accept$1(visitor);
  28566. t1 = visitor._serialize0$_buffer;
  28567. css = t1.toString$0(0);
  28568. if (charset) {
  28569. t2 = new A.CodeUnits(css);
  28570. t2 = t2.any$1(t2, new A.serialize_closure0());
  28571. } else
  28572. t2 = false;
  28573. if (t2)
  28574. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  28575. else
  28576. prefix = "";
  28577. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  28578. return new A._Record_2_sourceMap(prefix + css, t1);
  28579. },
  28580. serializeValue0(value, inspect, quote) {
  28581. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  28582. value.accept$1(visitor);
  28583. return visitor._serialize0$_buffer.toString$0(0);
  28584. },
  28585. serializeSelector0(selector, inspect) {
  28586. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  28587. selector.accept$1(visitor);
  28588. return visitor._serialize0$_buffer.toString$0(0);
  28589. },
  28590. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  28591. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  28592. t2 = style == null ? B.OutputStyle_00 : style,
  28593. t3 = useSpaces ? 32 : 9,
  28594. t4 = indentWidth == null ? 2 : indentWidth,
  28595. t5 = lineFeed == null ? B.LineFeed_LvD : lineFeed;
  28596. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  28597. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  28598. },
  28599. serialize_closure0: function serialize_closure0() {
  28600. },
  28601. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  28602. var _ = this;
  28603. _._serialize0$_buffer = t0;
  28604. _._serialize0$_indentation = 0;
  28605. _._serialize0$_style = t1;
  28606. _._serialize0$_inspect = t2;
  28607. _._serialize0$_quote = t3;
  28608. _._serialize0$_indentCharacter = t4;
  28609. _._serialize0$_indentWidth = t5;
  28610. _._lineFeed = t6;
  28611. },
  28612. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  28613. this.$this = t0;
  28614. this.node = t1;
  28615. },
  28616. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  28617. this.$this = t0;
  28618. this.node = t1;
  28619. },
  28620. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  28621. this.$this = t0;
  28622. this.node = t1;
  28623. },
  28624. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  28625. this.$this = t0;
  28626. this.node = t1;
  28627. },
  28628. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  28629. this.$this = t0;
  28630. this.node = t1;
  28631. },
  28632. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  28633. this.$this = t0;
  28634. this.node = t1;
  28635. },
  28636. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  28637. this.$this = t0;
  28638. this.node = t1;
  28639. },
  28640. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  28641. this.$this = t0;
  28642. this.node = t1;
  28643. },
  28644. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  28645. this.$this = t0;
  28646. this.node = t1;
  28647. },
  28648. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  28649. this.$this = t0;
  28650. this.node = t1;
  28651. },
  28652. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  28653. },
  28654. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  28655. this.$this = t0;
  28656. this.value = t1;
  28657. },
  28658. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  28659. this.$this = t0;
  28660. },
  28661. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  28662. this.$this = t0;
  28663. },
  28664. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  28665. },
  28666. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  28667. this.$this = t0;
  28668. this.value = t1;
  28669. },
  28670. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  28671. this.$this = t0;
  28672. this.child = t1;
  28673. },
  28674. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  28675. this.$this = t0;
  28676. this.child = t1;
  28677. },
  28678. OutputStyle0: function OutputStyle0(t0) {
  28679. this._name = t0;
  28680. },
  28681. LineFeed0: function LineFeed0(t0, t1, t2) {
  28682. this.name = t0;
  28683. this.text = t1;
  28684. this._name = t2;
  28685. },
  28686. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  28687. 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;
  28688. },
  28689. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  28690. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  28691. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  28692. },
  28693. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  28694. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  28695. },
  28696. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  28697. var _ = this;
  28698. _._shadowed_view0$_inner = t0;
  28699. _.variables = t1;
  28700. _.variableNodes = t2;
  28701. _.functions = t3;
  28702. _.mixins = t4;
  28703. _.$ti = t5;
  28704. },
  28705. SilentComment0: function SilentComment0(t0, t1) {
  28706. this.text = t0;
  28707. this.span = t1;
  28708. },
  28709. SimpleSelector0: function SimpleSelector0() {
  28710. },
  28711. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  28712. this.$this = t0;
  28713. },
  28714. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  28715. this.$this = t0;
  28716. },
  28717. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  28718. var _ = this;
  28719. _._single_unit$_unit = t0;
  28720. _._number1$_value = t1;
  28721. _.hashCache = null;
  28722. _.asSlash = t2;
  28723. },
  28724. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  28725. this.$this = t0;
  28726. this.unit = t1;
  28727. },
  28728. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  28729. this.$this = t0;
  28730. },
  28731. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  28732. this._box_0 = t0;
  28733. this.$this = t1;
  28734. },
  28735. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  28736. this._box_0 = t0;
  28737. this.$this = t1;
  28738. },
  28739. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  28740. var _ = this;
  28741. _._source_map_buffer0$_buffer = t0;
  28742. _._source_map_buffer0$_entries = t1;
  28743. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  28744. _._source_map_buffer0$_inSpan = false;
  28745. },
  28746. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  28747. this._box_0 = t0;
  28748. this.prefixLength = t1;
  28749. },
  28750. updateSourceSpanPrototype() {
  28751. var t3, t4, _i, t5,
  28752. span = A.SourceFile$fromString("", null).span$1(0, 0),
  28753. t1 = type$.SourceSpan,
  28754. t2 = type$.String;
  28755. 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) {
  28756. t5 = t3._as(t1[_i].constructor);
  28757. 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));
  28758. }
  28759. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  28760. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  28761. },
  28762. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  28763. this.span = t0;
  28764. },
  28765. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  28766. },
  28767. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  28768. },
  28769. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  28770. },
  28771. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  28772. },
  28773. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  28774. },
  28775. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  28776. },
  28777. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  28778. },
  28779. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  28780. },
  28781. Statement0: function Statement0() {
  28782. },
  28783. JSStatementVisitor: function JSStatementVisitor(t0) {
  28784. this._statement$_inner = t0;
  28785. },
  28786. JSStatementVisitorObject: function JSStatementVisitorObject() {
  28787. },
  28788. StatementSearchVisitor0: function StatementSearchVisitor0() {
  28789. },
  28790. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  28791. this.$this = t0;
  28792. },
  28793. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  28794. this.$this = t0;
  28795. },
  28796. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  28797. this.$this = t0;
  28798. },
  28799. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  28800. this.$this = t0;
  28801. },
  28802. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  28803. this.$this = t0;
  28804. },
  28805. StaticImport0: function StaticImport0(t0, t1, t2) {
  28806. this.url = t0;
  28807. this.modifiers = t1;
  28808. this.span = t2;
  28809. },
  28810. StderrLogger0: function StderrLogger0(t0) {
  28811. this.color = t0;
  28812. },
  28813. StringExpression_quoteText0(text) {
  28814. var t1,
  28815. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  28816. buffer = new A.StringBuffer("");
  28817. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  28818. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  28819. t1 = A.Primitives_stringFromCharCode(quote);
  28820. t1 = buffer._contents += t1;
  28821. return t1.charCodeAt(0) == 0 ? t1 : t1;
  28822. },
  28823. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  28824. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  28825. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  28826. _1_0 = text.charCodeAt(i);
  28827. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  28828. buffer.writeCharCode$1(92);
  28829. buffer.writeCharCode$1(97);
  28830. if (i !== t2) {
  28831. _0_0 = text.charCodeAt(i + 1);
  28832. t3 = true;
  28833. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  28834. if (!(_0_0 >= 48 && _0_0 <= 57))
  28835. if (!(_0_0 >= 97 && _0_0 <= 102))
  28836. t3 = _0_0 >= 65 && _0_0 <= 70;
  28837. if (t3)
  28838. buffer.writeCharCode$1(32);
  28839. }
  28840. continue;
  28841. }
  28842. t3 = 92 === _1_0;
  28843. if (t3)
  28844. t4 = _1_0;
  28845. else
  28846. t4 = null;
  28847. if (!t3) {
  28848. t3 = false;
  28849. t5 = _1_0 === quote;
  28850. if (t5)
  28851. t4 = _1_0;
  28852. if (!t5)
  28853. if (35 === _1_0)
  28854. if ($static)
  28855. if (i < t2) {
  28856. t3 = text.charCodeAt(i + 1) === 123;
  28857. if (t3)
  28858. t4 = _1_0;
  28859. t0 = t4;
  28860. t4 = t3;
  28861. t3 = t0;
  28862. } else {
  28863. t0 = t4;
  28864. t4 = t3;
  28865. t3 = t0;
  28866. }
  28867. else {
  28868. t0 = t4;
  28869. t4 = t3;
  28870. t3 = t0;
  28871. }
  28872. else {
  28873. t0 = t4;
  28874. t4 = t3;
  28875. t3 = t0;
  28876. }
  28877. else {
  28878. t3 = t4;
  28879. t4 = true;
  28880. }
  28881. } else {
  28882. t3 = t4;
  28883. t4 = true;
  28884. }
  28885. if (t4) {
  28886. buffer.writeCharCode$1(92);
  28887. buffer.writeCharCode$1(t3);
  28888. continue;
  28889. }
  28890. buffer.writeCharCode$1(_1_0);
  28891. }
  28892. },
  28893. StringExpression__bestQuote0(strings) {
  28894. var t1, t2, t3, containsDoubleQuote, t4, t5;
  28895. 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();)
  28896. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  28897. t5 = t4.__internal$_current;
  28898. if (t5 == null)
  28899. t5 = t2._as(t5);
  28900. if (t5 === 39)
  28901. return 34;
  28902. if (t5 === 34)
  28903. containsDoubleQuote = true;
  28904. }
  28905. return containsDoubleQuote ? 39 : 34;
  28906. },
  28907. StringExpression0: function StringExpression0(t0, t1) {
  28908. this.text = t0;
  28909. this.hasQuotes = t1;
  28910. },
  28911. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  28912. var result;
  28913. if (index === 0)
  28914. return 0;
  28915. if (index > 0)
  28916. return Math.min(index - 1, lengthInCodepoints);
  28917. result = lengthInCodepoints + index;
  28918. if (result < 0 && !allowNegative)
  28919. return 0;
  28920. return result;
  28921. },
  28922. _function6($name, $arguments, callback) {
  28923. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  28924. },
  28925. module_closure10: function module_closure10() {
  28926. },
  28927. module__closure2: function module__closure2(t0) {
  28928. this.string = t0;
  28929. },
  28930. module__closure3: function module__closure3(t0) {
  28931. this.string = t0;
  28932. },
  28933. _unquote_closure0: function _unquote_closure0() {
  28934. },
  28935. _quote_closure0: function _quote_closure0() {
  28936. },
  28937. _length_closure1: function _length_closure1() {
  28938. },
  28939. _insert_closure0: function _insert_closure0() {
  28940. },
  28941. _index_closure1: function _index_closure1() {
  28942. },
  28943. _slice_closure0: function _slice_closure0() {
  28944. },
  28945. _toUpperCase_closure0: function _toUpperCase_closure0() {
  28946. },
  28947. _toLowerCase_closure0: function _toLowerCase_closure0() {
  28948. },
  28949. _uniqueId_closure0: function _uniqueId_closure0() {
  28950. },
  28951. stringClass_closure: function stringClass_closure() {
  28952. },
  28953. stringClass__closure: function stringClass__closure() {
  28954. },
  28955. stringClass__closure0: function stringClass__closure0() {
  28956. },
  28957. stringClass__closure1: function stringClass__closure1() {
  28958. },
  28959. stringClass__closure2: function stringClass__closure2() {
  28960. },
  28961. stringClass__closure3: function stringClass__closure3() {
  28962. },
  28963. _ConstructorOptions1: function _ConstructorOptions1() {
  28964. },
  28965. _NodeSassString: function _NodeSassString() {
  28966. },
  28967. legacyStringClass_closure: function legacyStringClass_closure() {
  28968. },
  28969. legacyStringClass_closure0: function legacyStringClass_closure0() {
  28970. },
  28971. legacyStringClass_closure1: function legacyStringClass_closure1() {
  28972. },
  28973. SassString$0(_text, quotes) {
  28974. return new A.SassString0(_text, quotes);
  28975. },
  28976. SassString0: function SassString0(t0, t1) {
  28977. var _ = this;
  28978. _._string0$_text = t0;
  28979. _._string0$_hasQuotes = t1;
  28980. _._string0$__SassString__sassLength_FI = $;
  28981. _._string0$_hashCache = null;
  28982. },
  28983. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  28984. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28985. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28986. },
  28987. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  28988. var _ = this;
  28989. _._style_rule0$_selector = t0;
  28990. _.originalSelector = t1;
  28991. _.span = t2;
  28992. _.fromPlainCss = t3;
  28993. _.children = t4;
  28994. _._node$_children = t5;
  28995. _._node$_indexInParent = _._node$_parent = null;
  28996. _.isGroupEnd = false;
  28997. },
  28998. StyleRule$0(selector, children, span) {
  28999. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29000. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29001. return new A.StyleRule0(selector, span, t1, t2);
  29002. },
  29003. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  29004. var _ = this;
  29005. _.selector = t0;
  29006. _.span = t1;
  29007. _.children = t2;
  29008. _.hasDeclarations = t3;
  29009. },
  29010. CssStylesheet0: function CssStylesheet0(t0, t1) {
  29011. this.children = t0;
  29012. this.span = t1;
  29013. },
  29014. ModifiableCssStylesheet$0(span) {
  29015. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29016. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29017. },
  29018. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  29019. var _ = this;
  29020. _.span = t0;
  29021. _.children = t1;
  29022. _._node$_children = t2;
  29023. _._node$_indexInParent = _._node$_parent = null;
  29024. _.isGroupEnd = false;
  29025. },
  29026. StylesheetParser0: function StylesheetParser0() {
  29027. },
  29028. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  29029. this.$this = t0;
  29030. },
  29031. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  29032. this.$this = t0;
  29033. },
  29034. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  29035. },
  29036. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  29037. this.$this = t0;
  29038. },
  29039. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  29040. this.$this = t0;
  29041. this.production = t1;
  29042. this.T = t2;
  29043. },
  29044. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  29045. this.$this = t0;
  29046. this.requireParens = t1;
  29047. },
  29048. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  29049. this.$this = t0;
  29050. },
  29051. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  29052. this.$this = t0;
  29053. this.start = t1;
  29054. },
  29055. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  29056. this.declaration = t0;
  29057. },
  29058. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  29059. var _ = this;
  29060. _._box_0 = t0;
  29061. _.$this = t1;
  29062. _.wasInStyleRule = t2;
  29063. _.start = t3;
  29064. },
  29065. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  29066. this.name = t0;
  29067. this.value = t1;
  29068. },
  29069. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  29070. this.query = t0;
  29071. },
  29072. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  29073. },
  29074. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  29075. var _ = this;
  29076. _.$this = t0;
  29077. _.wasInControlDirective = t1;
  29078. _.variables = t2;
  29079. _.list = t3;
  29080. },
  29081. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  29082. this.name = t0;
  29083. this.$arguments = t1;
  29084. this.precedingComment = t2;
  29085. },
  29086. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  29087. this._box_0 = t0;
  29088. this.$this = t1;
  29089. },
  29090. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  29091. var _ = this;
  29092. _._box_0 = t0;
  29093. _.$this = t1;
  29094. _.wasInControlDirective = t2;
  29095. _.variable = t3;
  29096. _.from = t4;
  29097. _.to = t5;
  29098. },
  29099. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  29100. this.$this = t0;
  29101. this.variables = t1;
  29102. this.identifiers = t2;
  29103. },
  29104. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  29105. this.contentArguments_ = t0;
  29106. },
  29107. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  29108. this.query = t0;
  29109. },
  29110. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  29111. var _ = this;
  29112. _.$this = t0;
  29113. _.name = t1;
  29114. _.$arguments = t2;
  29115. _.precedingComment = t3;
  29116. },
  29117. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  29118. var _ = this;
  29119. _._box_0 = t0;
  29120. _.$this = t1;
  29121. _.name = t2;
  29122. _.value = t3;
  29123. },
  29124. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  29125. this.condition = t0;
  29126. },
  29127. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  29128. this.$this = t0;
  29129. this.wasInControlDirective = t1;
  29130. this.condition = t2;
  29131. },
  29132. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  29133. this._box_0 = t0;
  29134. this.name = t1;
  29135. },
  29136. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  29137. this._box_0 = t0;
  29138. this.$this = t1;
  29139. this.start = t2;
  29140. },
  29141. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  29142. this._box_0 = t0;
  29143. this.$this = t1;
  29144. },
  29145. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  29146. this._box_0 = t0;
  29147. this.resolveOneOperation = t1;
  29148. },
  29149. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  29150. var _ = this;
  29151. _._box_0 = t0;
  29152. _.$this = t1;
  29153. _.resetState = t2;
  29154. _.resolveOperations = t3;
  29155. },
  29156. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  29157. this._box_0 = t0;
  29158. this.$this = t1;
  29159. this.resolveOneOperation = t2;
  29160. },
  29161. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  29162. this._box_0 = t0;
  29163. this.$this = t1;
  29164. this.resolveOperations = t2;
  29165. },
  29166. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  29167. this.$this = t0;
  29168. },
  29169. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  29170. },
  29171. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  29172. },
  29173. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  29174. },
  29175. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  29176. this.$this = t0;
  29177. this.start = t1;
  29178. },
  29179. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  29180. },
  29181. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  29182. this.$this = t0;
  29183. },
  29184. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  29185. this.$this = t0;
  29186. this.start = t1;
  29187. },
  29188. Stylesheet$internal0(children, span, plainCss) {
  29189. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  29190. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  29191. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  29192. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  29193. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  29194. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  29195. return t1;
  29196. },
  29197. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  29198. var error, stackTrace, url0, t1, exception, t2;
  29199. try {
  29200. switch (syntax) {
  29201. case B.Syntax_Sass_sass0:
  29202. t1 = A.SpanScanner$(contents, url);
  29203. t1 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0(0);
  29204. return t1;
  29205. case B.Syntax_SCSS_scss0:
  29206. t1 = A.ScssParser$0(contents, logger, url).parse$0(0);
  29207. return t1;
  29208. case B.Syntax_CSS_css0:
  29209. t1 = A.SpanScanner$(contents, url);
  29210. t1 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0(0);
  29211. return t1;
  29212. }
  29213. } catch (exception) {
  29214. t1 = A.unwrapException(exception);
  29215. if (t1 instanceof A.SassException0) {
  29216. error = t1;
  29217. stackTrace = A.getTraceFromException(exception);
  29218. t1 = error;
  29219. t2 = J.getInterceptor$z(t1);
  29220. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  29221. url0 = t1.get$sourceUrl(t1);
  29222. if (url0 == null || J.toString$0$(url0) === "stdin")
  29223. throw exception;
  29224. t1 = type$.Uri;
  29225. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  29226. } else
  29227. throw exception;
  29228. }
  29229. },
  29230. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  29231. var _ = this;
  29232. _.span = t0;
  29233. _.plainCss = t1;
  29234. _._stylesheet1$_uses = t2;
  29235. _._stylesheet1$_forwards = t3;
  29236. _.children = t4;
  29237. _.hasDeclarations = t5;
  29238. },
  29239. SupportsExpression0: function SupportsExpression0(t0) {
  29240. this.condition = t0;
  29241. },
  29242. ModifiableCssSupportsRule$0(condition, span) {
  29243. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29244. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29245. },
  29246. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  29247. var _ = this;
  29248. _.condition = t0;
  29249. _.span = t1;
  29250. _.children = t2;
  29251. _._node$_children = t3;
  29252. _._node$_indexInParent = _._node$_parent = null;
  29253. _.isGroupEnd = false;
  29254. },
  29255. SupportsRule$0(condition, children, span) {
  29256. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29257. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29258. return new A.SupportsRule0(condition, span, t1, t2);
  29259. },
  29260. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  29261. var _ = this;
  29262. _.condition = t0;
  29263. _.span = t1;
  29264. _.children = t2;
  29265. _.hasDeclarations = t3;
  29266. },
  29267. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  29268. this._sync$_canonicalize = t0;
  29269. this._sync$_load = t1;
  29270. this._sync$_nonCanonicalSchemes = t2;
  29271. },
  29272. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  29273. this.$this = t0;
  29274. this.url = t1;
  29275. },
  29276. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  29277. this.$this = t0;
  29278. this.url = t1;
  29279. },
  29280. Syntax_forPath0(path) {
  29281. var t1,
  29282. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29283. $label0$0: {
  29284. if (".sass" === _0_0) {
  29285. t1 = B.Syntax_Sass_sass0;
  29286. break $label0$0;
  29287. }
  29288. if (".css" === _0_0) {
  29289. t1 = B.Syntax_CSS_css0;
  29290. break $label0$0;
  29291. }
  29292. t1 = B.Syntax_SCSS_scss0;
  29293. break $label0$0;
  29294. }
  29295. return t1;
  29296. },
  29297. Syntax0: function Syntax0(t0, t1) {
  29298. this._syntax0$_name = t0;
  29299. this._name = t1;
  29300. },
  29301. TypeSelector0: function TypeSelector0(t0, t1) {
  29302. this.name = t0;
  29303. this.span = t1;
  29304. },
  29305. Types: function Types() {
  29306. },
  29307. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  29308. this.operator = t0;
  29309. this.operand = t1;
  29310. this.span = t2;
  29311. },
  29312. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  29313. this.name = t0;
  29314. this.operator = t1;
  29315. this._name = t2;
  29316. },
  29317. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  29318. this._number1$_value = t0;
  29319. this.hashCache = null;
  29320. this.asSlash = t1;
  29321. },
  29322. UniversalSelector0: function UniversalSelector0(t0, t1) {
  29323. this.namespace = t0;
  29324. this.span = t1;
  29325. },
  29326. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  29327. this._unprefixed_map_view0$_map = t0;
  29328. this._unprefixed_map_view0$_prefix = t1;
  29329. this.$ti = t2;
  29330. },
  29331. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  29332. this._unprefixed_map_view0$_view = t0;
  29333. },
  29334. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  29335. this.$this = t0;
  29336. },
  29337. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  29338. this.$this = t0;
  29339. },
  29340. JSUrl0: function JSUrl0() {
  29341. },
  29342. UseRule0: function UseRule0(t0, t1, t2, t3) {
  29343. var _ = this;
  29344. _.url = t0;
  29345. _.namespace = t1;
  29346. _.configuration = t2;
  29347. _.span = t3;
  29348. },
  29349. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  29350. var _ = this;
  29351. _.declaration = t0;
  29352. _.environment = t1;
  29353. _.inDependency = t2;
  29354. _.$ti = t3;
  29355. },
  29356. fromImport0() {
  29357. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  29358. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  29359. return t1 === true;
  29360. },
  29361. canonicalizeContext0() {
  29362. var t1,
  29363. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  29364. $label0$0: {
  29365. if (_0_0 == null)
  29366. A.throwExpression(A.StateError$(string$.canoni));
  29367. if (_0_0 instanceof A.CanonicalizeContext0) {
  29368. t1 = _0_0;
  29369. break $label0$0;
  29370. }
  29371. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  29372. }
  29373. return t1;
  29374. },
  29375. inImportRule(callback, $T) {
  29376. var t1,
  29377. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  29378. $label0$0: {
  29379. if (_0_0 == null) {
  29380. t1 = type$.nullable_Object;
  29381. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  29382. break $label0$0;
  29383. }
  29384. if (_0_0 instanceof A.CanonicalizeContext0) {
  29385. t1 = _0_0.withFromImport$2(true, callback);
  29386. break $label0$0;
  29387. }
  29388. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  29389. }
  29390. return t1;
  29391. },
  29392. resolveImportPath0(path) {
  29393. var t1,
  29394. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29395. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  29396. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  29397. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  29398. }
  29399. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  29400. if (t1 == null)
  29401. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  29402. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  29403. },
  29404. _tryPathWithExtensions0(path) {
  29405. var result = A._tryPath0(path + ".sass");
  29406. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  29407. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  29408. },
  29409. _tryPath0(path) {
  29410. var t1 = $.$get$context(),
  29411. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  29412. t1 = A._setArrayType([], type$.JSArray_String);
  29413. if (A.fileExists0(partial))
  29414. t1.push(partial);
  29415. if (A.fileExists0(path))
  29416. t1.push(path);
  29417. return t1;
  29418. },
  29419. _tryPathAsDirectory0(path) {
  29420. var t1;
  29421. if (!A.dirExists0(path))
  29422. return null;
  29423. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  29424. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  29425. },
  29426. _exactlyOne0(paths) {
  29427. var _0_1, t1, path;
  29428. $label0$0: {
  29429. _0_1 = paths.length;
  29430. if (_0_1 <= 0) {
  29431. t1 = null;
  29432. break $label0$0;
  29433. }
  29434. if (_0_1 === 1) {
  29435. path = paths[0];
  29436. t1 = path;
  29437. break $label0$0;
  29438. }
  29439. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  29440. }
  29441. return t1;
  29442. },
  29443. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  29444. this.path = t0;
  29445. this.extension = t1;
  29446. },
  29447. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  29448. this.path = t0;
  29449. },
  29450. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  29451. this.path = t0;
  29452. },
  29453. _exactlyOne_closure0: function _exactlyOne_closure0() {
  29454. },
  29455. jsThrow(error) {
  29456. return type$.Never._as($.$get$_jsThrow().call$1(error));
  29457. },
  29458. attachJsStack(error, trace) {
  29459. var traceString = trace.toString$0(0),
  29460. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  29461. if (firstRealLine !== -1)
  29462. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  29463. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  29464. },
  29465. jsForEach(object, callback) {
  29466. var t1, t2;
  29467. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  29468. t2 = t1.get$current(t1);
  29469. callback.call$2(t2, object[t2]);
  29470. }
  29471. },
  29472. jsType(value) {
  29473. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  29474. 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));
  29475. },
  29476. defineGetter(object, $name, get, value) {
  29477. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  29478. },
  29479. allowInteropNamed($name, $function) {
  29480. $function = A.allowInterop($function);
  29481. A.defineGetter($function, "name", null, $name);
  29482. A._hideDartProperties($function);
  29483. return $function;
  29484. },
  29485. allowInteropCaptureThisNamed($name, $function) {
  29486. $function = A.allowInteropCaptureThis($function);
  29487. A.defineGetter($function, "name", null, $name);
  29488. A._hideDartProperties($function);
  29489. return $function;
  29490. },
  29491. _hideDartProperties(object) {
  29492. var t1, t2, t3, t4;
  29493. 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();) {
  29494. t3 = t1.__internal$_current;
  29495. if (t3 == null)
  29496. t3 = t2._as(t3);
  29497. if (B.JSString_methods.startsWith$1(t3, "_")) {
  29498. t4 = {value: object[t3], enumerable: false};
  29499. self.Object.defineProperty(object, t3, t4);
  29500. }
  29501. }
  29502. },
  29503. futureToPromise0(future) {
  29504. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  29505. },
  29506. jsToDartUrl(url) {
  29507. return A.Uri_parse(J.toString$0$(url));
  29508. },
  29509. dartToJSUrl(url) {
  29510. return new self.URL(url.toString$0(0));
  29511. },
  29512. toJSArray(iterable) {
  29513. var t1, t2,
  29514. array = new self.Array();
  29515. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  29516. t2.push$1(array, t1.get$current(t1));
  29517. return array;
  29518. },
  29519. objectToMap(object) {
  29520. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  29521. A.jsForEach(object, new A.objectToMap_closure(map));
  29522. return map;
  29523. },
  29524. jsToDartSeparator(separator) {
  29525. var t1;
  29526. $label0$0: {
  29527. if (" " === separator) {
  29528. t1 = B.ListSeparator_nbm0;
  29529. break $label0$0;
  29530. }
  29531. if ("," === separator) {
  29532. t1 = B.ListSeparator_ECn0;
  29533. break $label0$0;
  29534. }
  29535. if ("/" === separator) {
  29536. t1 = B.ListSeparator_cQA0;
  29537. break $label0$0;
  29538. }
  29539. if (separator == null) {
  29540. t1 = B.ListSeparator_undecided_null_undecided0;
  29541. break $label0$0;
  29542. }
  29543. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  29544. }
  29545. return t1;
  29546. },
  29547. parseSyntax(syntax) {
  29548. var t1;
  29549. $label0$0: {
  29550. if (syntax == null || "scss" === syntax) {
  29551. t1 = B.Syntax_SCSS_scss0;
  29552. break $label0$0;
  29553. }
  29554. if ("indented" === syntax) {
  29555. t1 = B.Syntax_Sass_sass0;
  29556. break $label0$0;
  29557. }
  29558. if ("css" === syntax) {
  29559. t1 = B.Syntax_CSS_css0;
  29560. break $label0$0;
  29561. }
  29562. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  29563. }
  29564. return t1;
  29565. },
  29566. entrypointFilename() {
  29567. var _1_0, _1_5_isSet, _1_5, t2, path,
  29568. t1 = self.require.main,
  29569. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  29570. if (_0_0 != null)
  29571. return _0_0;
  29572. else {
  29573. _1_0 = J.get$argv$x(self.process);
  29574. t1 = J.getInterceptor$asx(_1_0);
  29575. _1_5_isSet = t1.get$length(_1_0) >= 2;
  29576. if (_1_5_isSet) {
  29577. _1_5 = t1.$index(_1_0, 1);
  29578. t2 = typeof _1_5 == "string";
  29579. } else {
  29580. _1_5 = null;
  29581. t2 = false;
  29582. }
  29583. if (t2) {
  29584. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  29585. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  29586. } else
  29587. return null;
  29588. }
  29589. },
  29590. _PropertyDescriptor0: function _PropertyDescriptor0() {
  29591. },
  29592. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  29593. this.future = t0;
  29594. },
  29595. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  29596. this.resolve = t0;
  29597. },
  29598. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  29599. this.reject = t0;
  29600. },
  29601. objectToMap_closure: function objectToMap_closure(t0) {
  29602. this.map = t0;
  29603. },
  29604. _RequireMain0: function _RequireMain0() {
  29605. },
  29606. toSentence0(iter, conjunction) {
  29607. if (iter.get$length(iter) === 1)
  29608. return J.toString$0$(iter.get$first(iter));
  29609. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  29610. },
  29611. indent0(string, indentation) {
  29612. 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");
  29613. },
  29614. pluralize0($name, number, plural) {
  29615. if (number === 1)
  29616. return $name;
  29617. if (plural != null)
  29618. return plural;
  29619. return $name + "s";
  29620. },
  29621. trimAscii0(string, excludeEscape) {
  29622. var t1,
  29623. start = A._firstNonWhitespace0(string);
  29624. if (start == null)
  29625. t1 = "";
  29626. else {
  29627. t1 = A._lastNonWhitespace0(string, true);
  29628. t1.toString;
  29629. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  29630. }
  29631. return t1;
  29632. },
  29633. trimAsciiRight0(string, excludeEscape) {
  29634. var end = A._lastNonWhitespace0(string, excludeEscape);
  29635. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  29636. },
  29637. _firstNonWhitespace0(string) {
  29638. var t1, i, t2;
  29639. for (t1 = string.length, i = 0; i < t1; ++i) {
  29640. t2 = string.charCodeAt(i);
  29641. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  29642. return i;
  29643. }
  29644. return null;
  29645. },
  29646. _lastNonWhitespace0(string, excludeEscape) {
  29647. var i, i0, codeUnit;
  29648. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  29649. codeUnit = string.charCodeAt(i0);
  29650. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  29651. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  29652. return i0 + 1;
  29653. else
  29654. return i0;
  29655. }
  29656. return null;
  29657. },
  29658. isPublic0(member) {
  29659. var start = member.charCodeAt(0);
  29660. return start !== 45 && start !== 95;
  29661. },
  29662. flattenVertically0(iterable, $T) {
  29663. var result,
  29664. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  29665. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  29666. if (queues.length === 1)
  29667. return B.JSArray_methods.get$first(queues);
  29668. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  29669. for (; queues.length !== 0;) {
  29670. if (!!queues.fixed$length)
  29671. A.throwExpression(A.UnsupportedError$("removeWhere"));
  29672. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  29673. }
  29674. return result;
  29675. },
  29676. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  29677. var codeUnitIndex, i, codeUnitIndex0;
  29678. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  29679. codeUnitIndex0 = codeUnitIndex + 1;
  29680. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  29681. }
  29682. return codeUnitIndex;
  29683. },
  29684. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  29685. var codepointIndex, i;
  29686. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  29687. ++codepointIndex;
  29688. return codepointIndex;
  29689. },
  29690. frameForSpan0(span, member, url) {
  29691. var t2, t3,
  29692. t1 = url == null ? span.get$sourceUrl(span) : url;
  29693. if (t1 == null)
  29694. t1 = $.$get$_noSourceUrl0();
  29695. t2 = span.get$start(span);
  29696. t2 = t2.file.getLine$1(t2.offset);
  29697. t3 = span.get$start(span);
  29698. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  29699. },
  29700. declarationName0(span) {
  29701. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  29702. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  29703. },
  29704. unvendor0($name) {
  29705. var i,
  29706. t1 = $name.length;
  29707. if (t1 < 2)
  29708. return $name;
  29709. if ($name.charCodeAt(0) !== 45)
  29710. return $name;
  29711. if ($name.charCodeAt(1) === 45)
  29712. return $name;
  29713. for (i = 2; i < t1; ++i)
  29714. if ($name.charCodeAt(i) === 45)
  29715. return B.JSString_methods.substring$1($name, i + 1);
  29716. return $name;
  29717. },
  29718. equalsIgnoreCase0(string1, string2) {
  29719. var t1, i;
  29720. if (string1 === string2)
  29721. return true;
  29722. if (string1 == null)
  29723. return false;
  29724. t1 = string1.length;
  29725. if (t1 !== string2.length)
  29726. return false;
  29727. for (i = 0; i < t1; ++i)
  29728. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  29729. return false;
  29730. return true;
  29731. },
  29732. startsWithIgnoreCase0(string, prefix) {
  29733. var i,
  29734. t1 = prefix.length;
  29735. if (string.length < t1)
  29736. return false;
  29737. for (i = 0; i < t1; ++i)
  29738. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  29739. return false;
  29740. return true;
  29741. },
  29742. mapInPlace0(list, $function) {
  29743. var i;
  29744. for (i = 0; i < list.length; ++i)
  29745. list[i] = $function.call$1(list[i]);
  29746. },
  29747. longestCommonSubsequence0(list1, list2, select, $T) {
  29748. var t1, _i, selections, i, i0, j, selection, j0,
  29749. _length = list1.get$length(0) + 1,
  29750. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  29751. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  29752. 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);
  29753. _length = list1.get$length(0);
  29754. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  29755. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  29756. 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);
  29757. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  29758. 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) {
  29759. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  29760. selections[i][j] = selection;
  29761. t1 = lengths[i0];
  29762. j0 = j + 1;
  29763. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  29764. }
  29765. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  29766. },
  29767. removeFirstWhere0(list, test, orElse) {
  29768. var i;
  29769. for (i = 0; i < list.length; ++i) {
  29770. if (!test.call$1(list[i]))
  29771. continue;
  29772. B.JSArray_methods.removeAt$1(list, i);
  29773. return;
  29774. }
  29775. orElse.call$0();
  29776. },
  29777. mapAddAll20(destination, source, K1, K2, $V) {
  29778. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  29779. },
  29780. setAll0(map, keys, value) {
  29781. var t1;
  29782. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  29783. map.$indexSet(0, t1.get$current(t1), value);
  29784. },
  29785. rotateSlice0(list, start, end) {
  29786. var i, next,
  29787. element = list.$index(0, end - 1);
  29788. for (i = start; i < end; ++i, element = next) {
  29789. next = list.$index(0, i);
  29790. list.$indexSet(0, i, element);
  29791. }
  29792. },
  29793. mapAsync0(iterable, callback, $E, $F) {
  29794. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  29795. },
  29796. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  29797. var $async$goto = 0,
  29798. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  29799. $async$returnValue, t2, _i, t1, $async$temp1;
  29800. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29801. if ($async$errorCode === 1)
  29802. return A._asyncRethrow($async$result, $async$completer);
  29803. while (true)
  29804. switch ($async$goto) {
  29805. case 0:
  29806. // Function start
  29807. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  29808. t2 = iterable.length, _i = 0;
  29809. case 3:
  29810. // for condition
  29811. if (!(_i < t2)) {
  29812. // goto after for
  29813. $async$goto = 5;
  29814. break;
  29815. }
  29816. $async$temp1 = t1;
  29817. $async$goto = 6;
  29818. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  29819. case 6:
  29820. // returning from await.
  29821. $async$temp1.push($async$result);
  29822. case 4:
  29823. // for update
  29824. ++_i;
  29825. // goto for condition
  29826. $async$goto = 3;
  29827. break;
  29828. case 5:
  29829. // after for
  29830. $async$returnValue = t1;
  29831. // goto return
  29832. $async$goto = 1;
  29833. break;
  29834. case 1:
  29835. // return
  29836. return A._asyncReturn($async$returnValue, $async$completer);
  29837. }
  29838. });
  29839. return A._asyncStartSync($async$mapAsync0, $async$completer);
  29840. },
  29841. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  29842. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  29843. },
  29844. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  29845. var $async$goto = 0,
  29846. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  29847. $async$returnValue, t1, value;
  29848. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29849. if ($async$errorCode === 1)
  29850. return A._asyncRethrow($async$result, $async$completer);
  29851. while (true)
  29852. switch ($async$goto) {
  29853. case 0:
  29854. // Function start
  29855. if (map.containsKey$1(key)) {
  29856. t1 = map.$index(0, key);
  29857. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  29858. // goto return
  29859. $async$goto = 1;
  29860. break;
  29861. }
  29862. $async$goto = 3;
  29863. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  29864. case 3:
  29865. // returning from await.
  29866. value = $async$result;
  29867. map.$indexSet(0, key, value);
  29868. $async$returnValue = value;
  29869. // goto return
  29870. $async$goto = 1;
  29871. break;
  29872. case 1:
  29873. // return
  29874. return A._asyncReturn($async$returnValue, $async$completer);
  29875. }
  29876. });
  29877. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  29878. },
  29879. copyMapOfMap0(map, K1, K2, $V) {
  29880. var t3, key, child,
  29881. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  29882. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  29883. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  29884. t3 = t1.get$current(t1);
  29885. key = t3._0;
  29886. child = t3._1;
  29887. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  29888. t3.addAll$1(0, child);
  29889. t2.$indexSet(0, key, t3);
  29890. }
  29891. return t2;
  29892. },
  29893. copyMapOfList0(map, $K, $E) {
  29894. var t3,
  29895. t1 = $E._eval$1("List<0>"),
  29896. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  29897. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  29898. t3 = t1.get$current(t1);
  29899. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  29900. }
  29901. return t2;
  29902. },
  29903. consumeEscapedCharacter0(scanner) {
  29904. var _1_0, value, i, next, t1;
  29905. scanner.expectChar$1(92);
  29906. _1_0 = scanner.peekChar$0();
  29907. if (_1_0 == null)
  29908. return 65533;
  29909. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  29910. scanner.error$1(0, "Expected escape sequence.");
  29911. if (A.CharacterExtension_get_isHex0(_1_0)) {
  29912. for (value = 0, i = 0; i < 6; ++i) {
  29913. next = scanner.peekChar$0();
  29914. if (next != null) {
  29915. t1 = true;
  29916. if (!(next >= 48 && next <= 57))
  29917. if (!(next >= 97 && next <= 102))
  29918. t1 = next >= 65 && next <= 70;
  29919. t1 = !t1;
  29920. } else
  29921. t1 = true;
  29922. if (t1)
  29923. break;
  29924. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  29925. }
  29926. t1 = scanner.peekChar$0();
  29927. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  29928. scanner.readChar$0();
  29929. $label0$1: {
  29930. if (0 !== value)
  29931. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  29932. else
  29933. t1 = true;
  29934. if (t1) {
  29935. t1 = 65533;
  29936. break $label0$1;
  29937. }
  29938. t1 = value;
  29939. break $label0$1;
  29940. }
  29941. return t1;
  29942. }
  29943. return scanner.readChar$0();
  29944. },
  29945. throwWithTrace0(error, originalError, trace) {
  29946. var t1 = A.getTrace0(originalError);
  29947. A.attachTrace0(error, t1 == null ? trace : t1);
  29948. throw A.wrapException(error);
  29949. },
  29950. attachTrace0(error, trace) {
  29951. var t1;
  29952. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  29953. return;
  29954. if (trace.toString$0(0).length === 0)
  29955. return;
  29956. t1 = $.$get$_traces0();
  29957. A.Expando__checkType(error);
  29958. if (t1._jsWeakMap.get(error) == null)
  29959. t1.$indexSet(0, error, trace);
  29960. },
  29961. getTrace0(error) {
  29962. var t1;
  29963. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  29964. t1 = null;
  29965. else {
  29966. t1 = $.$get$_traces0();
  29967. A.Expando__checkType(error);
  29968. t1 = t1._jsWeakMap.get(error);
  29969. }
  29970. return t1;
  29971. },
  29972. parseSignature(signature, requireParens) {
  29973. var error, stackTrace, t1, exception, t2;
  29974. try {
  29975. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  29976. return t1;
  29977. } catch (exception) {
  29978. t1 = A.unwrapException(exception);
  29979. if (type$.SassFormatException_2._is(t1)) {
  29980. error = t1;
  29981. stackTrace = A.getTraceFromException(exception);
  29982. t1 = error._span_exception$_message;
  29983. t2 = J.get$span$z(error);
  29984. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  29985. } else
  29986. throw exception;
  29987. }
  29988. },
  29989. indent_closure0: function indent_closure0(t0) {
  29990. this.indentation = t0;
  29991. },
  29992. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  29993. this.T = t0;
  29994. },
  29995. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  29996. this.result = t0;
  29997. this.T = t1;
  29998. },
  29999. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  30000. this.selections = t0;
  30001. this.lengths = t1;
  30002. this.T = t2;
  30003. },
  30004. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  30005. var _ = this;
  30006. _.destination = t0;
  30007. _.K1 = t1;
  30008. _.K2 = t2;
  30009. _.V = t3;
  30010. },
  30011. CssValue0: function CssValue0(t0, t1, t2) {
  30012. this.value = t0;
  30013. this.span = t1;
  30014. this.$ti = t2;
  30015. },
  30016. ValueExpression0: function ValueExpression0(t0, t1) {
  30017. this.value = t0;
  30018. this.span = t1;
  30019. },
  30020. valueClass_closure: function valueClass_closure() {
  30021. },
  30022. valueClass__closure: function valueClass__closure() {
  30023. },
  30024. valueClass__closure0: function valueClass__closure0() {
  30025. },
  30026. valueClass__closure1: function valueClass__closure1() {
  30027. },
  30028. valueClass__closure2: function valueClass__closure2() {
  30029. },
  30030. valueClass__closure3: function valueClass__closure3() {
  30031. },
  30032. valueClass__closure4: function valueClass__closure4() {
  30033. },
  30034. valueClass__closure5: function valueClass__closure5() {
  30035. },
  30036. valueClass__closure6: function valueClass__closure6() {
  30037. },
  30038. valueClass__closure7: function valueClass__closure7() {
  30039. },
  30040. valueClass__closure8: function valueClass__closure8() {
  30041. },
  30042. valueClass__closure9: function valueClass__closure9() {
  30043. },
  30044. valueClass__closure10: function valueClass__closure10() {
  30045. },
  30046. valueClass__closure11: function valueClass__closure11() {
  30047. },
  30048. valueClass__closure12: function valueClass__closure12() {
  30049. },
  30050. valueClass__closure13: function valueClass__closure13() {
  30051. },
  30052. valueClass__closure14: function valueClass__closure14() {
  30053. },
  30054. valueClass__closure15: function valueClass__closure15() {
  30055. },
  30056. valueClass__closure16: function valueClass__closure16() {
  30057. },
  30058. valueClass__closure17: function valueClass__closure17() {
  30059. },
  30060. valueClass__closure18: function valueClass__closure18() {
  30061. },
  30062. SassApiValue_assertSelector0(_this, allowParent, $name) {
  30063. var error, stackTrace, t1, exception,
  30064. string = _this._value$_selectorString$1($name);
  30065. try {
  30066. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, null, false);
  30067. return t1;
  30068. } catch (exception) {
  30069. t1 = A.unwrapException(exception);
  30070. if (type$.SassFormatException_2._is(t1)) {
  30071. error = t1;
  30072. stackTrace = A.getTraceFromException(exception);
  30073. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30074. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  30075. } else
  30076. throw exception;
  30077. }
  30078. },
  30079. SassApiValue_assertCompoundSelector0(_this, $name) {
  30080. var error, stackTrace, t1, exception,
  30081. allowParent = false,
  30082. string = _this._value$_selectorString$1($name);
  30083. try {
  30084. t1 = A.SelectorParser$0(string, allowParent, null, null, false, null).parseCompoundSelector$0();
  30085. return t1;
  30086. } catch (exception) {
  30087. t1 = A.unwrapException(exception);
  30088. if (type$.SassFormatException_2._is(t1)) {
  30089. error = t1;
  30090. stackTrace = A.getTraceFromException(exception);
  30091. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30092. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  30093. } else
  30094. throw exception;
  30095. }
  30096. },
  30097. Value0: function Value0() {
  30098. },
  30099. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  30100. this.namespace = t0;
  30101. this.name = t1;
  30102. this.span = t2;
  30103. },
  30104. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  30105. if (namespace != null && global)
  30106. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  30107. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  30108. },
  30109. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  30110. var _ = this;
  30111. _.namespace = t0;
  30112. _.name = t1;
  30113. _.expression = t2;
  30114. _.isGuarded = t3;
  30115. _.isGlobal = t4;
  30116. _.span = t5;
  30117. },
  30118. WarnRule0: function WarnRule0(t0, t1) {
  30119. this.expression = t0;
  30120. this.span = t1;
  30121. },
  30122. WhileRule$0(condition, children, span) {
  30123. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  30124. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  30125. return new A.WhileRule0(condition, span, t1, t2);
  30126. },
  30127. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  30128. var _ = this;
  30129. _.condition = t0;
  30130. _.span = t1;
  30131. _.children = t2;
  30132. _.hasDeclarations = t3;
  30133. },
  30134. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  30135. var _0_0 = A.parseSignature(signature, requireParens);
  30136. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  30137. },
  30138. Callable_Callable$fromSignature(signature, callback, requireParens) {
  30139. var _0_0 = A.parseSignature(signature, requireParens);
  30140. 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);
  30141. },
  30142. printString(string) {
  30143. if (typeof dartPrint == "function") {
  30144. dartPrint(string);
  30145. return;
  30146. }
  30147. if (typeof console == "object" && typeof console.log != "undefined") {
  30148. console.log(string);
  30149. return;
  30150. }
  30151. if (typeof print == "function") {
  30152. print(string);
  30153. return;
  30154. }
  30155. throw "Unable to print message: " + String(string);
  30156. },
  30157. mergeMaps(map1, map2, $K, $V) {
  30158. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  30159. result.addAll$1(0, map2);
  30160. return result;
  30161. },
  30162. groupBy(values, key, $S, $T) {
  30163. var t1, t2, _i, element, t3, t4,
  30164. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  30165. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  30166. element = values[_i];
  30167. t3 = key.call$1(element);
  30168. t4 = map.$index(0, t3);
  30169. if (t4 == null) {
  30170. t4 = A._setArrayType([], t2);
  30171. map.$indexSet(0, t3, t4);
  30172. t3 = t4;
  30173. } else
  30174. t3 = t4;
  30175. J.add$1$ax(t3, element);
  30176. }
  30177. return map;
  30178. },
  30179. minBy(values, orderBy) {
  30180. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  30181. for (t1 = values.$ti, 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();) {
  30182. element = t2.__internal$_current;
  30183. if (element == null)
  30184. element = t1._as(element);
  30185. elementOrderBy = orderBy.call$1(element);
  30186. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  30187. minOrderBy = elementOrderBy;
  30188. minValue = element;
  30189. }
  30190. }
  30191. return minValue;
  30192. },
  30193. IterableExtension_firstWhereOrNull(_this, test) {
  30194. var t1, element;
  30195. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  30196. element = t1.get$current(t1);
  30197. if (test.call$1(element))
  30198. return element;
  30199. }
  30200. return null;
  30201. },
  30202. IterableExtension_get_firstOrNull(_this) {
  30203. var iterator = J.get$iterator$ax(_this);
  30204. if (iterator.moveNext$0())
  30205. return iterator.get$current(iterator);
  30206. return null;
  30207. },
  30208. IterableExtension_get_lastOrNull(_this) {
  30209. if (_this.get$length(0) === 0)
  30210. return null;
  30211. return _this.get$last(_this);
  30212. },
  30213. IterableExtension_get_singleOrNull(_this) {
  30214. var result,
  30215. iterator = J.get$iterator$ax(_this);
  30216. if (iterator.moveNext$0()) {
  30217. result = iterator.get$current(iterator);
  30218. if (!iterator.moveNext$0())
  30219. return result;
  30220. }
  30221. return null;
  30222. },
  30223. IterableNullableExtension_whereNotNull(_this, $T) {
  30224. return new A._SyncStarIterable(A.IterableNullableExtension_whereNotNull$body(_this, $T), $T._eval$1("_SyncStarIterable<0>"));
  30225. },
  30226. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T) {
  30227. return function() {
  30228. var _this = $async$_this,
  30229. $T = $async$$T;
  30230. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  30231. return function $async$IterableNullableExtension_whereNotNull($async$iterator, $async$errorCode, $async$result) {
  30232. if ($async$errorCode === 1) {
  30233. $async$currentError = $async$result;
  30234. $async$goto = $async$handler;
  30235. }
  30236. while (true)
  30237. switch ($async$goto) {
  30238. case 0:
  30239. // Function start
  30240. t1 = _this.get$iterator(_this);
  30241. case 2:
  30242. // for condition
  30243. if (!t1.moveNext$0()) {
  30244. // goto after for
  30245. $async$goto = 3;
  30246. break;
  30247. }
  30248. element = t1.get$current(t1);
  30249. $async$goto = element != null ? 4 : 5;
  30250. break;
  30251. case 4:
  30252. // then
  30253. $async$goto = 6;
  30254. return $async$iterator._async$_current = element, 1;
  30255. case 6:
  30256. // after yield
  30257. case 5:
  30258. // join
  30259. // goto for condition
  30260. $async$goto = 2;
  30261. break;
  30262. case 3:
  30263. // after for
  30264. // implicit return
  30265. return 0;
  30266. case 1:
  30267. // rethrow
  30268. return $async$iterator._datum = $async$currentError, 3;
  30269. }
  30270. };
  30271. };
  30272. },
  30273. IterableIntegerExtension_get_maxOrNull(_this) {
  30274. var value, newValue,
  30275. t1 = _this.$ti,
  30276. iterator = new A.ListIterator(_this, _this.get$length(0), t1._eval$1("ListIterator<ListIterable.E>"));
  30277. if (iterator.moveNext$0()) {
  30278. value = iterator.__internal$_current;
  30279. if (value == null)
  30280. value = t1._eval$1("ListIterable.E")._as(value);
  30281. for (t1 = t1._eval$1("ListIterable.E"); iterator.moveNext$0();) {
  30282. newValue = iterator.__internal$_current;
  30283. if (newValue == null)
  30284. newValue = t1._as(newValue);
  30285. if (newValue > value)
  30286. value = newValue;
  30287. }
  30288. return value;
  30289. }
  30290. return null;
  30291. },
  30292. IterableIntegerExtension_get_max(_this) {
  30293. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  30294. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  30295. },
  30296. IterableIntegerExtension_get_sum(_this) {
  30297. var t1, t2, result, t3;
  30298. for (t1 = _this.$ti, 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();) {
  30299. t3 = t2.__internal$_current;
  30300. result += t3 == null ? t1._as(t3) : t3;
  30301. }
  30302. return result;
  30303. },
  30304. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  30305. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  30306. },
  30307. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  30308. return function() {
  30309. var _this = $async$_this,
  30310. convert = $async$convert,
  30311. $E = $async$$E,
  30312. $R = $async$$R;
  30313. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  30314. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  30315. if ($async$errorCode === 1) {
  30316. $async$currentError = $async$result;
  30317. $async$goto = $async$handler;
  30318. }
  30319. while (true)
  30320. switch ($async$goto) {
  30321. case 0:
  30322. // Function start
  30323. t1 = _this.length, index = 0;
  30324. case 2:
  30325. // for condition
  30326. if (!(index < t1)) {
  30327. // goto after for
  30328. $async$goto = 4;
  30329. break;
  30330. }
  30331. $async$goto = 5;
  30332. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  30333. case 5:
  30334. // after yield
  30335. case 3:
  30336. // for update
  30337. ++index;
  30338. // goto for condition
  30339. $async$goto = 2;
  30340. break;
  30341. case 4:
  30342. // after for
  30343. // implicit return
  30344. return 0;
  30345. case 1:
  30346. // rethrow
  30347. return $async$iterator._datum = $async$currentError, 3;
  30348. }
  30349. };
  30350. };
  30351. },
  30352. ListExtensions_elementAtOrNull(_this, index) {
  30353. var t1 = J.getInterceptor$asx(_this);
  30354. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  30355. },
  30356. defaultCompare(value1, value2) {
  30357. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  30358. },
  30359. current() {
  30360. var exception, t1, path, lastIndex, uri = null;
  30361. try {
  30362. uri = A.Uri_base();
  30363. } catch (exception) {
  30364. if (type$.Exception._is(A.unwrapException(exception))) {
  30365. t1 = $._current;
  30366. if (t1 != null)
  30367. return t1;
  30368. throw exception;
  30369. } else
  30370. throw exception;
  30371. }
  30372. if (J.$eq$(uri, $._currentUriBase)) {
  30373. t1 = $._current;
  30374. t1.toString;
  30375. return t1;
  30376. }
  30377. $._currentUriBase = uri;
  30378. if ($.$get$Style_platform() === $.$get$Style_url())
  30379. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  30380. else {
  30381. path = uri.toFilePath$0();
  30382. lastIndex = path.length - 1;
  30383. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  30384. }
  30385. return t1;
  30386. },
  30387. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  30388. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  30389. },
  30390. join(part1, part2, part3) {
  30391. var _null = null;
  30392. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  30393. },
  30394. toUri(path) {
  30395. return $.$get$context().toUri$1(path);
  30396. },
  30397. prettyUri(uri) {
  30398. var t1 = $.$get$context();
  30399. uri.toString;
  30400. return t1.prettyUri$1(uri);
  30401. },
  30402. isAlphabetic(char) {
  30403. var t1;
  30404. if (!(char >= 65 && char <= 90))
  30405. t1 = char >= 97 && char <= 122;
  30406. else
  30407. t1 = true;
  30408. return t1;
  30409. },
  30410. driveLetterEnd(path, index) {
  30411. var t2, t3, _null = null,
  30412. t1 = path.length,
  30413. index0 = index + 2;
  30414. if (t1 < index0)
  30415. return _null;
  30416. if (!A.isAlphabetic(path.charCodeAt(index)))
  30417. return _null;
  30418. t2 = index + 1;
  30419. if (path.charCodeAt(t2) !== 58) {
  30420. t3 = index + 4;
  30421. if (t1 < t3)
  30422. return _null;
  30423. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  30424. return _null;
  30425. index = index0;
  30426. }
  30427. t2 = index + 2;
  30428. if (t1 === t2)
  30429. return t2;
  30430. if (path.charCodeAt(t2) !== 47)
  30431. return _null;
  30432. return index + 3;
  30433. },
  30434. main0(args) {
  30435. var $async$goto = 0,
  30436. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30437. t1;
  30438. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30439. if ($async$errorCode === 1)
  30440. return A._asyncRethrow($async$result, $async$completer);
  30441. while (true)
  30442. switch ($async$goto) {
  30443. case 0:
  30444. // Function start
  30445. A.printError("sass --embedded is unavailable in pure JS mode.");
  30446. t1 = A.isNodeJs() ? self.process : null;
  30447. if (t1 != null)
  30448. J.set$exitCode$x(t1, 1);
  30449. // implicit return
  30450. return A._asyncReturn(null, $async$completer);
  30451. }
  30452. });
  30453. return A._asyncStartSync($async$main0, $async$completer);
  30454. },
  30455. EvaluationContext_currentOrNull() {
  30456. var t1,
  30457. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  30458. $label0$0: {
  30459. if (type$.EvaluationContext._is(_0_0)) {
  30460. t1 = _0_0;
  30461. break $label0$0;
  30462. }
  30463. t1 = null;
  30464. break $label0$0;
  30465. }
  30466. return t1;
  30467. },
  30468. warn(message) {
  30469. var t1,
  30470. _0_0 = A.EvaluationContext_currentOrNull();
  30471. $label0$0: {
  30472. if (_0_0 != null) {
  30473. t1 = _0_0.warn$2(0, message, null);
  30474. break $label0$0;
  30475. }
  30476. t1 = B.StderrLogger_false.warn$1(0, message);
  30477. break $label0$0;
  30478. }
  30479. return t1;
  30480. },
  30481. warnForDeprecation(message, deprecation) {
  30482. var t1,
  30483. _0_0 = A.EvaluationContext_currentOrNull();
  30484. $label0$0: {
  30485. if (_0_0 != null) {
  30486. t1 = _0_0.warn$2(0, message, deprecation);
  30487. break $label0$0;
  30488. }
  30489. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  30490. break $label0$0;
  30491. }
  30492. return t1;
  30493. },
  30494. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  30495. var $async$goto = 0,
  30496. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  30497. $async$returnValue, t2, _1_4, source, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  30498. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30499. if ($async$errorCode === 1)
  30500. return A._asyncRethrow($async$result, $async$completer);
  30501. while (true)
  30502. switch ($async$goto) {
  30503. case 0:
  30504. // Function start
  30505. t1 = type$.nullable_String;
  30506. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  30507. t2 = t1.length;
  30508. $async$goto = t2 === 1 ? 4 : 5;
  30509. break;
  30510. case 4:
  30511. // then
  30512. _1_4 = t1[0];
  30513. source = _1_4._0;
  30514. $async$temp1 = A;
  30515. $async$goto = 6;
  30516. return A._asyncAwait(A.compileStylesheet(options, graph, source, _1_4._1, ifModified), $async$compileStylesheets);
  30517. case 6:
  30518. // returning from await.
  30519. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  30520. // goto break $label0$0
  30521. $async$goto = 3;
  30522. break;
  30523. case 5:
  30524. // join
  30525. t3 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  30526. for (_i = 0; _i < t2; ++_i) {
  30527. t4 = t1[_i];
  30528. t3.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  30529. }
  30530. $async$goto = 7;
  30531. 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);
  30532. case 7:
  30533. // returning from await.
  30534. t1 = $async$result;
  30535. // goto break $label0$0
  30536. $async$goto = 3;
  30537. break;
  30538. case 3:
  30539. // break $label0$0
  30540. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  30541. errorWithStackTrace = t1.get$current(t1);
  30542. if (errorWithStackTrace == null)
  30543. continue;
  30544. code = errorWithStackTrace._0;
  30545. error = errorWithStackTrace._1;
  30546. stackTrace = errorWithStackTrace._2;
  30547. t2 = self.process;
  30548. if (t2 == null)
  30549. t2 = null;
  30550. else {
  30551. t2 = J.get$release$x(t2);
  30552. t2 = t2 == null ? null : J.get$name$x(t2);
  30553. }
  30554. t2 = J.$eq$(t2, "node") ? self.process : null;
  30555. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  30556. if (t2 == null)
  30557. t2 = 0;
  30558. t2 = Math.max(t2, code);
  30559. t3 = self.process;
  30560. if (t3 == null)
  30561. t3 = null;
  30562. else {
  30563. t3 = J.get$release$x(t3);
  30564. t3 = t3 == null ? null : J.get$name$x(t3);
  30565. }
  30566. t3 = J.$eq$(t3, "node") ? self.process : null;
  30567. if (t3 != null)
  30568. J.set$exitCode$x(t3, t2);
  30569. buffer = new A.StringBuffer("");
  30570. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  30571. buffer._contents = t2;
  30572. if (stackTrace != null) {
  30573. t2 += "\n";
  30574. buffer._contents = t2;
  30575. t2 += "\n";
  30576. buffer._contents = t2;
  30577. buffer._contents = t2 + stackTrace;
  30578. }
  30579. A.printError(buffer);
  30580. printedError = true;
  30581. }
  30582. $async$returnValue = !printedError;
  30583. // goto return
  30584. $async$goto = 1;
  30585. break;
  30586. case 1:
  30587. // return
  30588. return A._asyncReturn($async$returnValue, $async$completer);
  30589. }
  30590. });
  30591. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  30592. },
  30593. repl(options) {
  30594. return A.repl$body(options);
  30595. },
  30596. repl$body(options) {
  30597. var $async$goto = 0,
  30598. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30599. $async$handler = 1, $async$currentError, $async$next = [], repl, trackingLogger, logger, evaluator, line, declaration, error, stackTrace, logger0, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
  30600. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30601. if ($async$errorCode === 1) {
  30602. $async$currentError = $async$result;
  30603. $async$goto = $async$handler;
  30604. }
  30605. while (true)
  30606. switch ($async$goto) {
  30607. case 0:
  30608. // Function start
  30609. t1 = A._setArrayType([], type$.JSArray_String);
  30610. t2 = B.JSString_methods.$mul(" ", 3);
  30611. t3 = $.$get$alwaysValid();
  30612. repl0 = new A.Repl(">> ", t2, t3, t1);
  30613. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  30614. repl = repl0;
  30615. t1 = options._options;
  30616. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  30617. logger0 = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), trackingLogger, options.get$silenceDeprecations(0), options.get$fatalDeprecations(0), options.get$futureDeprecations(0), !A._asBool(t1.$index(0, "verbose")));
  30618. logger0.validate$0();
  30619. logger = logger0;
  30620. t2 = $.$get$FilesystemImporter_cwd();
  30621. 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);
  30622. t2 = repl.__Repl__adapter_A;
  30623. t2 === $ && A.throwUnnamedLateFieldNI();
  30624. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  30625. $async$handler = 2;
  30626. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  30627. case 5:
  30628. // for condition
  30629. $async$goto = 7;
  30630. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  30631. case 7:
  30632. // returning from await.
  30633. if (!$async$result) {
  30634. // goto after for
  30635. $async$goto = 6;
  30636. break;
  30637. }
  30638. line = t2.get$current(0);
  30639. if (J.trim$0$s(line).length === 0) {
  30640. // goto for condition
  30641. $async$goto = 5;
  30642. break;
  30643. }
  30644. try {
  30645. if (J.startsWith$1$s(line, "@")) {
  30646. t5 = evaluator;
  30647. t6 = logger;
  30648. t7 = A.SpanScanner$(line, null);
  30649. if (t6 == null)
  30650. t6 = B.StderrLogger_false;
  30651. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  30652. t5._visitor.runStatement$2(t5._importer, t6);
  30653. // goto for condition
  30654. $async$goto = 5;
  30655. break;
  30656. }
  30657. t5 = A.SpanScanner$(line, null);
  30658. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  30659. t5 = logger;
  30660. t6 = A.SpanScanner$(line, null);
  30661. if (t5 == null)
  30662. t5 = B.StderrLogger_false;
  30663. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  30664. t5 = evaluator;
  30665. t5._visitor.runStatement$2(t5._importer, declaration);
  30666. t5 = evaluator;
  30667. t6 = declaration.name;
  30668. t7 = declaration.span;
  30669. t8 = declaration.namespace;
  30670. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  30671. toZone = $.printToZone;
  30672. if (toZone == null)
  30673. A.printString(line0);
  30674. else
  30675. toZone.call$1(line0);
  30676. } else {
  30677. t5 = evaluator;
  30678. t6 = logger;
  30679. t7 = A.SpanScanner$(line, null);
  30680. if (t6 == null)
  30681. t6 = B.StderrLogger_false;
  30682. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  30683. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  30684. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  30685. toZone = $.printToZone;
  30686. if (toZone == null)
  30687. A.printString(line0);
  30688. else
  30689. toZone.call$1(line0);
  30690. }
  30691. } catch (exception) {
  30692. t5 = A.unwrapException(exception);
  30693. if (t5 instanceof A.SassException) {
  30694. error = t5;
  30695. stackTrace = A.getTraceFromException(exception);
  30696. t5 = error;
  30697. t6 = typeof t5 != "string";
  30698. if (!t6 || typeof t5 == "number" || A._isBool(t5))
  30699. t5 = null;
  30700. else {
  30701. t7 = $.$get$_traces();
  30702. if (A._isBool(t5) || typeof t5 == "number" || !t6 || t5 instanceof A._Record)
  30703. A.Expando__badExpandoKey(t5);
  30704. t5 = t7._jsWeakMap.get(t5);
  30705. }
  30706. if (t5 == null)
  30707. t5 = stackTrace;
  30708. A._logError(error, t5, line, repl, options, trackingLogger);
  30709. } else
  30710. throw exception;
  30711. }
  30712. // goto for condition
  30713. $async$goto = 5;
  30714. break;
  30715. case 6:
  30716. // after for
  30717. $async$next.push(4);
  30718. // goto finally
  30719. $async$goto = 3;
  30720. break;
  30721. case 2:
  30722. // uncaught
  30723. $async$next = [1];
  30724. case 3:
  30725. // finally
  30726. $async$handler = 1;
  30727. $async$goto = 8;
  30728. return A._asyncAwait(t2.cancel$0(), $async$repl);
  30729. case 8:
  30730. // returning from await.
  30731. // goto the next finally handler
  30732. $async$goto = $async$next.pop();
  30733. break;
  30734. case 4:
  30735. // after finally
  30736. // implicit return
  30737. return A._asyncReturn(null, $async$completer);
  30738. case 1:
  30739. // rethrow
  30740. return A._asyncRethrow($async$currentError, $async$completer);
  30741. }
  30742. });
  30743. return A._asyncStartSync($async$repl, $async$completer);
  30744. },
  30745. _logError(error, stackTrace, line, repl, options, logger) {
  30746. var t2, spacesBeforeError, t3,
  30747. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30748. if (t1.get$sourceUrl(t1) == null)
  30749. if (!A._asBool(options._options.$index(0, "quiet")))
  30750. t1 = logger._emittedDebug || logger._emittedWarning;
  30751. else
  30752. t1 = false;
  30753. else
  30754. t1 = true;
  30755. if (t1) {
  30756. A.print(error.toString$1$color(0, options.get$color()));
  30757. return;
  30758. }
  30759. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  30760. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30761. t2 = t2.get$start(t2);
  30762. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  30763. if (options.get$color()) {
  30764. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30765. t2 = t2.get$start(t2);
  30766. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  30767. } else
  30768. t2 = false;
  30769. if (t2)
  30770. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  30771. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  30772. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30773. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  30774. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  30775. t1 += "Error: " + error._span_exception$_message + "\n";
  30776. if (A._asBool(options._options.$index(0, "trace")))
  30777. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  30778. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  30779. },
  30780. CharacterExtension_get_isAlphabetic(_this) {
  30781. var t1;
  30782. if (!(_this >= 97 && _this <= 122))
  30783. t1 = _this >= 65 && _this <= 90;
  30784. else
  30785. t1 = true;
  30786. return t1;
  30787. },
  30788. CharacterExtension_get_isHex(_this) {
  30789. var t1 = true;
  30790. if (!(_this >= 48 && _this <= 57))
  30791. if (!(_this >= 97 && _this <= 102))
  30792. t1 = _this >= 65 && _this <= 70;
  30793. return t1;
  30794. },
  30795. asHex(character) {
  30796. var t1;
  30797. $label0$0: {
  30798. if (character <= 57) {
  30799. t1 = character - 48;
  30800. break $label0$0;
  30801. }
  30802. if (character <= 70) {
  30803. t1 = 10 + character - 65;
  30804. break $label0$0;
  30805. }
  30806. t1 = 10 + character - 97;
  30807. break $label0$0;
  30808. }
  30809. return t1;
  30810. },
  30811. hexCharFor(number) {
  30812. return number < 10 ? 48 + number : 87 + number;
  30813. },
  30814. opposite(character) {
  30815. var t1;
  30816. $label0$0: {
  30817. if (40 === character) {
  30818. t1 = 41;
  30819. break $label0$0;
  30820. }
  30821. if (123 === character) {
  30822. t1 = 125;
  30823. break $label0$0;
  30824. }
  30825. if (91 === character) {
  30826. t1 = 93;
  30827. break $label0$0;
  30828. }
  30829. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  30830. }
  30831. return t1;
  30832. },
  30833. characterEqualsIgnoreCase(character1, character2) {
  30834. var upperCase1;
  30835. if (character1 === character2)
  30836. return true;
  30837. if ((character1 ^ character2) >>> 0 !== 32)
  30838. return false;
  30839. upperCase1 = (character1 & 4294967263) >>> 0;
  30840. return upperCase1 >= 65 && upperCase1 <= 90;
  30841. },
  30842. IterableExtension_search(_this, callback) {
  30843. var t1, _0_0;
  30844. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  30845. _0_0 = callback.call$1(t1.get$current(t1));
  30846. if (_0_0 != null)
  30847. return _0_0;
  30848. }
  30849. return null;
  30850. },
  30851. IterableExtension_get_exceptLast(_this) {
  30852. var t1 = J.getInterceptor$asx(_this),
  30853. size = t1.get$length(_this) - 1;
  30854. if (size < 0)
  30855. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  30856. return t1.take$1(_this, size);
  30857. },
  30858. NullableExtension_andThen(_this, fn) {
  30859. return _this == null ? null : fn.call$1(_this);
  30860. },
  30861. SetExtension_removeNull(_this, $T) {
  30862. _this.remove$1(0, null);
  30863. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  30864. },
  30865. fuzzyEquals(number1, number2) {
  30866. var t1;
  30867. if (number1 === number2)
  30868. return true;
  30869. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  30870. t1 = $.$get$_inverseEpsilon();
  30871. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  30872. } else
  30873. t1 = false;
  30874. return t1;
  30875. },
  30876. fuzzyHashCode(number) {
  30877. if (!isFinite(number))
  30878. return B.JSNumber_methods.get$hashCode(number);
  30879. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  30880. },
  30881. fuzzyLessThan(number1, number2) {
  30882. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  30883. },
  30884. fuzzyLessThanOrEquals(number1, number2) {
  30885. return number1 < number2 || A.fuzzyEquals(number1, number2);
  30886. },
  30887. fuzzyGreaterThan(number1, number2) {
  30888. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  30889. },
  30890. fuzzyGreaterThanOrEquals(number1, number2) {
  30891. return number1 > number2 || A.fuzzyEquals(number1, number2);
  30892. },
  30893. fuzzyAsInt(number) {
  30894. var rounded;
  30895. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  30896. return null;
  30897. rounded = B.JSNumber_methods.round$0(number);
  30898. return A.fuzzyEquals(number, rounded) ? rounded : null;
  30899. },
  30900. fuzzyRound(number) {
  30901. var t1;
  30902. if (number > 0) {
  30903. t1 = B.JSNumber_methods.$mod(number, 1);
  30904. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  30905. } else {
  30906. t1 = B.JSNumber_methods.$mod(number, 1);
  30907. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  30908. }
  30909. },
  30910. fuzzyCheckRange(number, min, max) {
  30911. if (A.fuzzyEquals(number, min))
  30912. return min;
  30913. if (A.fuzzyEquals(number, max))
  30914. return max;
  30915. if (number > min && number < max)
  30916. return number;
  30917. return null;
  30918. },
  30919. fuzzyAssertRange(number, min, max, $name) {
  30920. var result = A.fuzzyCheckRange(number, min, max);
  30921. if (result != null)
  30922. return result;
  30923. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  30924. },
  30925. moduloLikeSass(num1, num2) {
  30926. var result;
  30927. if (num1 == 1 / 0 || num1 == -1 / 0)
  30928. return 0 / 0;
  30929. if (num2 == 1 / 0 || num2 == -1 / 0)
  30930. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  30931. if (num2 > 0)
  30932. return B.JSNumber_methods.$mod(num1, num2);
  30933. if (num2 === 0)
  30934. return 0 / 0;
  30935. result = B.JSNumber_methods.$mod(num1, num2);
  30936. return result === 0 ? 0 : result + num2;
  30937. },
  30938. sqrt(number) {
  30939. number.assertNoUnits$1("number");
  30940. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  30941. },
  30942. sin(number) {
  30943. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  30944. },
  30945. cos(number) {
  30946. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  30947. },
  30948. tan(number) {
  30949. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  30950. },
  30951. atan(number) {
  30952. number.assertNoUnits$1("number");
  30953. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30954. },
  30955. asin(number) {
  30956. number.assertNoUnits$1("number");
  30957. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30958. },
  30959. acos(number) {
  30960. number.assertNoUnits$1("number");
  30961. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30962. },
  30963. log(number, base) {
  30964. if (base != null)
  30965. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  30966. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  30967. },
  30968. pow0(base, exponent) {
  30969. base.assertNoUnits$1("base");
  30970. exponent.assertNoUnits$1("exponent");
  30971. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  30972. },
  30973. DoubleWithSignedZero_get_signIncludingZero(_this) {
  30974. if (_this === -0.0)
  30975. return -1;
  30976. if (_this === 0)
  30977. return 1;
  30978. return J.get$sign$in(_this);
  30979. },
  30980. SpanExtensions_trimLeft(_this) {
  30981. var t1, start = 0;
  30982. while (true) {
  30983. t1 = _this.get$text().charCodeAt(start);
  30984. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  30985. break;
  30986. ++start;
  30987. }
  30988. return A.FileSpanExtension_subspan(_this, start, null);
  30989. },
  30990. SpanExtensions_trimRight(_this) {
  30991. var t1,
  30992. end = _this.get$text().length - 1;
  30993. while (true) {
  30994. t1 = _this.get$text().charCodeAt(end);
  30995. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  30996. break;
  30997. --end;
  30998. }
  30999. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31000. },
  31001. SpanExtensions_initialIdentifier(_this) {
  31002. var i,
  31003. scanner = A.StringScanner$(_this.get$text(), null, null);
  31004. for (i = 0; false; ++i)
  31005. scanner.readChar$0();
  31006. A._scanIdentifier(scanner);
  31007. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  31008. },
  31009. SpanExtensions_withoutInitialIdentifier(_this) {
  31010. var scanner = A.StringScanner$(_this.get$text(), null, null);
  31011. A._scanIdentifier(scanner);
  31012. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  31013. },
  31014. _scanIdentifier(scanner) {
  31015. var t1, _0_0, t2;
  31016. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  31017. _0_0 = scanner.peekChar$0();
  31018. if (92 === _0_0) {
  31019. A.consumeEscapedCharacter(scanner);
  31020. continue;
  31021. }
  31022. if (A._isInt(_0_0)) {
  31023. if (_0_0 !== 95) {
  31024. if (!(_0_0 >= 97 && _0_0 <= 122))
  31025. t2 = _0_0 >= 65 && _0_0 <= 90;
  31026. else
  31027. t2 = true;
  31028. t2 = t2 || _0_0 >= 128;
  31029. } else
  31030. t2 = true;
  31031. if (!t2)
  31032. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  31033. else
  31034. t2 = true;
  31035. } else
  31036. t2 = false;
  31037. if (t2) {
  31038. scanner.readChar$0();
  31039. continue;
  31040. }
  31041. break;
  31042. }
  31043. },
  31044. encodeVlq(value) {
  31045. var res, signBit, digit, t1;
  31046. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  31047. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  31048. res = A._setArrayType([], type$.JSArray_String);
  31049. if (value < 0) {
  31050. value = -value;
  31051. signBit = 1;
  31052. } else
  31053. signBit = 0;
  31054. value = value << 1 | signBit;
  31055. do {
  31056. digit = value & 31;
  31057. value = value >>> 5;
  31058. t1 = value > 0;
  31059. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  31060. } while (t1);
  31061. return res;
  31062. },
  31063. isAllTheSame(iter) {
  31064. var firstValue, t1, t2, value;
  31065. if (iter.get$length(0) === 0)
  31066. return true;
  31067. firstValue = iter.get$first(0);
  31068. 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();) {
  31069. value = t1.__internal$_current;
  31070. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  31071. return false;
  31072. }
  31073. return true;
  31074. },
  31075. replaceFirstNull(list, element) {
  31076. var index = B.JSArray_methods.indexOf$1(list, null);
  31077. if (index < 0)
  31078. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  31079. list[index] = element;
  31080. },
  31081. replaceWithNull(list, element) {
  31082. var index = B.JSArray_methods.indexOf$1(list, element);
  31083. if (index < 0)
  31084. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  31085. list[index] = null;
  31086. },
  31087. countCodeUnits(string, codeUnit) {
  31088. var t1, t2, count, t3;
  31089. 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();) {
  31090. t3 = t1.__internal$_current;
  31091. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  31092. ++count;
  31093. }
  31094. return count;
  31095. },
  31096. findLineStart(context, text, column) {
  31097. var beginningOfLine, index, lineStart;
  31098. if (text.length === 0)
  31099. for (beginningOfLine = 0; true;) {
  31100. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  31101. if (index === -1)
  31102. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  31103. if (index - beginningOfLine >= column)
  31104. return beginningOfLine;
  31105. beginningOfLine = index + 1;
  31106. }
  31107. index = B.JSString_methods.indexOf$1(context, text);
  31108. for (; index !== -1;) {
  31109. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  31110. if (column === index - lineStart)
  31111. return lineStart;
  31112. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  31113. }
  31114. return null;
  31115. },
  31116. validateErrorArgs(string, match, position, $length) {
  31117. var t2,
  31118. t1 = position != null;
  31119. if (t1)
  31120. if (position < 0)
  31121. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  31122. else if (position > string.length)
  31123. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  31124. t2 = $length != null;
  31125. if (t2 && $length < 0)
  31126. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  31127. if (t1 && t2 && position + $length > string.length)
  31128. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  31129. },
  31130. CharacterExtension_get_isAlphabetic0(_this) {
  31131. var t1;
  31132. if (!(_this >= 97 && _this <= 122))
  31133. t1 = _this >= 65 && _this <= 90;
  31134. else
  31135. t1 = true;
  31136. return t1;
  31137. },
  31138. CharacterExtension_get_isHex0(_this) {
  31139. var t1 = true;
  31140. if (!(_this >= 48 && _this <= 57))
  31141. if (!(_this >= 97 && _this <= 102))
  31142. t1 = _this >= 65 && _this <= 70;
  31143. return t1;
  31144. },
  31145. asHex0(character) {
  31146. var t1;
  31147. $label0$0: {
  31148. if (character <= 57) {
  31149. t1 = character - 48;
  31150. break $label0$0;
  31151. }
  31152. if (character <= 70) {
  31153. t1 = 10 + character - 65;
  31154. break $label0$0;
  31155. }
  31156. t1 = 10 + character - 97;
  31157. break $label0$0;
  31158. }
  31159. return t1;
  31160. },
  31161. hexCharFor0(number) {
  31162. return number < 10 ? 48 + number : 87 + number;
  31163. },
  31164. opposite0(character) {
  31165. var t1;
  31166. $label0$0: {
  31167. if (40 === character) {
  31168. t1 = 41;
  31169. break $label0$0;
  31170. }
  31171. if (123 === character) {
  31172. t1 = 125;
  31173. break $label0$0;
  31174. }
  31175. if (91 === character) {
  31176. t1 = 93;
  31177. break $label0$0;
  31178. }
  31179. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  31180. }
  31181. return t1;
  31182. },
  31183. characterEqualsIgnoreCase0(character1, character2) {
  31184. var upperCase1;
  31185. if (character1 === character2)
  31186. return true;
  31187. if ((character1 ^ character2) >>> 0 !== 32)
  31188. return false;
  31189. upperCase1 = (character1 & 4294967263) >>> 0;
  31190. return upperCase1 >= 65 && upperCase1 <= 90;
  31191. },
  31192. EvaluationContext_currentOrNull0() {
  31193. var t1,
  31194. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  31195. $label0$0: {
  31196. if (type$.EvaluationContext_2._is(_0_0)) {
  31197. t1 = _0_0;
  31198. break $label0$0;
  31199. }
  31200. t1 = null;
  31201. break $label0$0;
  31202. }
  31203. return t1;
  31204. },
  31205. warn0(message) {
  31206. var t1,
  31207. _0_0 = A.EvaluationContext_currentOrNull0();
  31208. $label0$0: {
  31209. if (_0_0 != null) {
  31210. t1 = _0_0.warn$2(0, message, null);
  31211. break $label0$0;
  31212. }
  31213. t1 = B.StderrLogger_false0.warn$1(0, message);
  31214. break $label0$0;
  31215. }
  31216. return t1;
  31217. },
  31218. warnForDeprecation0(message, deprecation) {
  31219. var t1,
  31220. _0_0 = A.EvaluationContext_currentOrNull0();
  31221. $label0$0: {
  31222. if (_0_0 != null) {
  31223. t1 = _0_0.warn$2(0, message, deprecation);
  31224. break $label0$0;
  31225. }
  31226. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  31227. break $label0$0;
  31228. }
  31229. return t1;
  31230. },
  31231. IterableExtension_search0(_this, callback) {
  31232. var t1, _0_0;
  31233. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  31234. _0_0 = callback.call$1(t1.get$current(t1));
  31235. if (_0_0 != null)
  31236. return _0_0;
  31237. }
  31238. return null;
  31239. },
  31240. IterableExtension_get_exceptLast0(_this) {
  31241. var t1 = J.getInterceptor$asx(_this),
  31242. size = t1.get$length(_this) - 1;
  31243. if (size < 0)
  31244. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  31245. return t1.take$1(_this, size);
  31246. },
  31247. NullableExtension_andThen0(_this, fn) {
  31248. return _this == null ? null : fn.call$1(_this);
  31249. },
  31250. fuzzyEquals0(number1, number2) {
  31251. var t1;
  31252. if (number1 === number2)
  31253. return true;
  31254. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  31255. t1 = $.$get$_inverseEpsilon0();
  31256. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  31257. } else
  31258. t1 = false;
  31259. return t1;
  31260. },
  31261. fuzzyHashCode0(number) {
  31262. if (!isFinite(number))
  31263. return B.JSNumber_methods.get$hashCode(number);
  31264. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  31265. },
  31266. fuzzyLessThan0(number1, number2) {
  31267. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  31268. },
  31269. fuzzyLessThanOrEquals0(number1, number2) {
  31270. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  31271. },
  31272. fuzzyGreaterThan0(number1, number2) {
  31273. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  31274. },
  31275. fuzzyGreaterThanOrEquals0(number1, number2) {
  31276. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  31277. },
  31278. fuzzyIsInt(number) {
  31279. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31280. return false;
  31281. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  31282. },
  31283. fuzzyAsInt0(number) {
  31284. var rounded;
  31285. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31286. return null;
  31287. rounded = B.JSNumber_methods.round$0(number);
  31288. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  31289. },
  31290. fuzzyRound0(number) {
  31291. var t1;
  31292. if (number > 0) {
  31293. t1 = B.JSNumber_methods.$mod(number, 1);
  31294. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31295. } else {
  31296. t1 = B.JSNumber_methods.$mod(number, 1);
  31297. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31298. }
  31299. },
  31300. fuzzyCheckRange0(number, min, max) {
  31301. if (A.fuzzyEquals0(number, min))
  31302. return min;
  31303. if (A.fuzzyEquals0(number, max))
  31304. return max;
  31305. if (number > min && number < max)
  31306. return number;
  31307. return null;
  31308. },
  31309. fuzzyAssertRange0(number, min, max, $name) {
  31310. var result = A.fuzzyCheckRange0(number, min, max);
  31311. if (result != null)
  31312. return result;
  31313. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  31314. },
  31315. moduloLikeSass0(num1, num2) {
  31316. var result;
  31317. if (num1 == 1 / 0 || num1 == -1 / 0)
  31318. return 0 / 0;
  31319. if (num2 == 1 / 0 || num2 == -1 / 0)
  31320. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  31321. if (num2 > 0)
  31322. return B.JSNumber_methods.$mod(num1, num2);
  31323. if (num2 === 0)
  31324. return 0 / 0;
  31325. result = B.JSNumber_methods.$mod(num1, num2);
  31326. return result === 0 ? 0 : result + num2;
  31327. },
  31328. sqrt0(number) {
  31329. number.assertNoUnits$1("number");
  31330. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  31331. },
  31332. sin0(number) {
  31333. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  31334. },
  31335. cos0(number) {
  31336. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  31337. },
  31338. tan0(number) {
  31339. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  31340. },
  31341. atan0(number) {
  31342. number.assertNoUnits$1("number");
  31343. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31344. },
  31345. asin0(number) {
  31346. number.assertNoUnits$1("number");
  31347. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31348. },
  31349. acos0(number) {
  31350. number.assertNoUnits$1("number");
  31351. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31352. },
  31353. log0(number, base) {
  31354. if (base != null)
  31355. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  31356. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  31357. },
  31358. pow1(base, exponent) {
  31359. base.assertNoUnits$1("base");
  31360. exponent.assertNoUnits$1("exponent");
  31361. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  31362. },
  31363. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  31364. if (_this === -0.0)
  31365. return -1;
  31366. if (_this === 0)
  31367. return 1;
  31368. return J.get$sign$in(_this);
  31369. },
  31370. main1(args) {
  31371. return A.main$body(args);
  31372. },
  31373. main$body(args) {
  31374. var $async$goto = 0,
  31375. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  31376. $async$returnValue, $async$handler = 2, $async$currentError, options, t1, graph, error, error0, stackTrace, buffer, t2, t3, t4, exception, $async$exception, $async$temp1;
  31377. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31378. if ($async$errorCode === 1) {
  31379. $async$currentError = $async$result;
  31380. $async$goto = $async$handler;
  31381. }
  31382. while (true)
  31383. switch ($async$goto) {
  31384. case 0:
  31385. // Function start
  31386. if (args.length >= 1 && "--embedded" === args[0]) {
  31387. A.main0(B.JSArray_methods.sublist$1(args, 1));
  31388. // goto return
  31389. $async$goto = 1;
  31390. break;
  31391. }
  31392. options = null;
  31393. $async$handler = 4;
  31394. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  31395. t2 = options._options;
  31396. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  31397. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  31398. break;
  31399. case 7:
  31400. // then
  31401. $async$temp1 = A;
  31402. $async$goto = 9;
  31403. return A._asyncAwait(A._loadVersion(), $async$main1);
  31404. case 9:
  31405. // returning from await.
  31406. $async$temp1.print($async$result);
  31407. t1 = A.isNodeJs() ? self.process : null;
  31408. if (t1 != null)
  31409. J.set$exitCode$x(t1, 0);
  31410. // goto return
  31411. $async$goto = 1;
  31412. break;
  31413. case 8:
  31414. // join
  31415. $async$goto = options.get$interactive() ? 10 : 11;
  31416. break;
  31417. case 10:
  31418. // then
  31419. $async$goto = 12;
  31420. return A._asyncAwait(A.repl(options), $async$main1);
  31421. case 12:
  31422. // returning from await.
  31423. // goto return
  31424. $async$goto = 1;
  31425. break;
  31426. case 11:
  31427. // join
  31428. t1 = A.List_List$of(options.get$pkgImporters(), true, type$.Importer_2);
  31429. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  31430. t2 = type$.List_String._as(options._options.$index(0, "load-path"));
  31431. t3 = options;
  31432. t3 = A._asBool(t3._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t3.get$color());
  31433. t4 = type$.Uri;
  31434. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.StylesheetNode), A.ImportCache$(t1, t2, A.ImportCache_wrapLogger(t3, J.get$silenceDeprecations$x(options), J.get$fatalDeprecations$x(options), J.get$futureDeprecations$x(options))), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DateTime));
  31435. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  31436. break;
  31437. case 13:
  31438. // then
  31439. $async$goto = 15;
  31440. return A._asyncAwait(A.watch(options, graph), $async$main1);
  31441. case 15:
  31442. // returning from await.
  31443. // goto return
  31444. $async$goto = 1;
  31445. break;
  31446. case 14:
  31447. // join
  31448. t1 = options;
  31449. t2 = options;
  31450. t2._ensureSources$0();
  31451. t2 = t2._sourcesToDestinations;
  31452. t2.toString;
  31453. $async$goto = 16;
  31454. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  31455. case 16:
  31456. // returning from await.
  31457. $async$handler = 2;
  31458. // goto after finally
  31459. $async$goto = 6;
  31460. break;
  31461. case 4:
  31462. // catch
  31463. $async$handler = 3;
  31464. $async$exception = $async$currentError;
  31465. t1 = A.unwrapException($async$exception);
  31466. if (t1 instanceof A.UsageException) {
  31467. error = t1;
  31468. A.print(error.message + "\n");
  31469. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  31470. t1 = $.$get$ExecutableOptions__parser();
  31471. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  31472. t1 = A.isNodeJs() ? self.process : null;
  31473. if (t1 != null)
  31474. J.set$exitCode$x(t1, 64);
  31475. } else {
  31476. error0 = t1;
  31477. stackTrace = A.getTraceFromException($async$exception);
  31478. buffer = new A.StringBuffer("");
  31479. t1 = options;
  31480. t1 = t1 == null ? null : t1.get$color();
  31481. if (t1 === true)
  31482. buffer._contents += "\x1b[31m\x1b[1m";
  31483. buffer._contents += "Unexpected exception:";
  31484. t1 = options;
  31485. t1 = t1 == null ? null : t1.get$color();
  31486. if (t1 === true)
  31487. buffer._contents += "\x1b[0m";
  31488. buffer._contents += "\n";
  31489. t1 = buffer;
  31490. t2 = A.S(error0) + "\n";
  31491. t1._contents += t2;
  31492. buffer._contents += "\n";
  31493. buffer._contents += "\n";
  31494. t2 = buffer;
  31495. t1 = A.getTrace(error0);
  31496. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  31497. t2._contents += t1;
  31498. A.printError(buffer);
  31499. t1 = A.isNodeJs() ? self.process : null;
  31500. if (t1 != null)
  31501. J.set$exitCode$x(t1, 255);
  31502. }
  31503. // goto after finally
  31504. $async$goto = 6;
  31505. break;
  31506. case 3:
  31507. // uncaught
  31508. // goto rethrow
  31509. $async$goto = 2;
  31510. break;
  31511. case 6:
  31512. // after finally
  31513. case 1:
  31514. // return
  31515. return A._asyncReturn($async$returnValue, $async$completer);
  31516. case 2:
  31517. // rethrow
  31518. return A._asyncRethrow($async$currentError, $async$completer);
  31519. }
  31520. });
  31521. return A._asyncStartSync($async$main1, $async$completer);
  31522. },
  31523. _loadVersion() {
  31524. var $async$goto = 0,
  31525. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  31526. $async$returnValue;
  31527. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31528. if ($async$errorCode === 1)
  31529. return A._asyncRethrow($async$result, $async$completer);
  31530. while (true)
  31531. switch ($async$goto) {
  31532. case 0:
  31533. // Function start
  31534. $async$returnValue = "1.78.0 compiled with dart2js 3.5.2";
  31535. // goto return
  31536. $async$goto = 1;
  31537. break;
  31538. case 1:
  31539. // return
  31540. return A._asyncReturn($async$returnValue, $async$completer);
  31541. }
  31542. });
  31543. return A._asyncStartSync($async$_loadVersion, $async$completer);
  31544. },
  31545. SpanExtensions_trimLeft0(_this) {
  31546. var t1, start = 0;
  31547. while (true) {
  31548. t1 = _this.get$text().charCodeAt(start);
  31549. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31550. break;
  31551. ++start;
  31552. }
  31553. return A.FileSpanExtension_subspan(_this, start, null);
  31554. },
  31555. SpanExtensions_trimRight0(_this) {
  31556. var t1,
  31557. end = _this.get$text().length - 1;
  31558. while (true) {
  31559. t1 = _this.get$text().charCodeAt(end);
  31560. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31561. break;
  31562. --end;
  31563. }
  31564. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31565. },
  31566. SpanExtensions_initialIdentifier0(_this) {
  31567. var i,
  31568. scanner = A.StringScanner$(_this.get$text(), null, null);
  31569. for (i = 0; false; ++i)
  31570. scanner.readChar$0();
  31571. A._scanIdentifier0(scanner);
  31572. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  31573. },
  31574. SpanExtensions_withoutInitialIdentifier0(_this) {
  31575. var scanner = A.StringScanner$(_this.get$text(), null, null);
  31576. A._scanIdentifier0(scanner);
  31577. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  31578. },
  31579. _scanIdentifier0(scanner) {
  31580. var t1, _0_0, t2;
  31581. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  31582. _0_0 = scanner.peekChar$0();
  31583. if (92 === _0_0) {
  31584. A.consumeEscapedCharacter0(scanner);
  31585. continue;
  31586. }
  31587. if (A._isInt(_0_0)) {
  31588. if (_0_0 !== 95) {
  31589. if (!(_0_0 >= 97 && _0_0 <= 122))
  31590. t2 = _0_0 >= 65 && _0_0 <= 90;
  31591. else
  31592. t2 = true;
  31593. t2 = t2 || _0_0 >= 128;
  31594. } else
  31595. t2 = true;
  31596. if (!t2)
  31597. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  31598. else
  31599. t2 = true;
  31600. } else
  31601. t2 = false;
  31602. if (t2) {
  31603. scanner.readChar$0();
  31604. continue;
  31605. }
  31606. break;
  31607. }
  31608. },
  31609. validateUrlScheme(scheme) {
  31610. var t1 = $.$get$_urlSchemeRegExp();
  31611. if (!t1._nativeRegExp.test(scheme))
  31612. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  31613. },
  31614. unwrapValue(object) {
  31615. var value;
  31616. if (object != null) {
  31617. if (object instanceof A.Value0)
  31618. return object;
  31619. value = object.dartValue;
  31620. if (value != null && value instanceof A.Value0)
  31621. return value;
  31622. if (object instanceof self.Error)
  31623. throw A.wrapException(object);
  31624. }
  31625. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  31626. },
  31627. wrapValue(value) {
  31628. var t1;
  31629. $label0$0: {
  31630. if (value instanceof A.SassColor0) {
  31631. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  31632. break $label0$0;
  31633. }
  31634. if (value instanceof A.SassList0) {
  31635. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  31636. break $label0$0;
  31637. }
  31638. if (value instanceof A.SassMap0) {
  31639. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  31640. break $label0$0;
  31641. }
  31642. if (value instanceof A.SassNumber0) {
  31643. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  31644. break $label0$0;
  31645. }
  31646. if (value instanceof A.SassString0) {
  31647. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  31648. break $label0$0;
  31649. }
  31650. t1 = value;
  31651. break $label0$0;
  31652. }
  31653. return t1;
  31654. }
  31655. },
  31656. B = {};
  31657. var holders = [A, J, B];
  31658. var $ = {};
  31659. A.JS_CONST.prototype = {};
  31660. J.Interceptor.prototype = {
  31661. $eq(receiver, other) {
  31662. return receiver === other;
  31663. },
  31664. get$hashCode(receiver) {
  31665. return A.Primitives_objectHashCode(receiver);
  31666. },
  31667. toString$0(receiver) {
  31668. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  31669. },
  31670. noSuchMethod$1(receiver, invocation) {
  31671. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  31672. },
  31673. get$runtimeType(receiver) {
  31674. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  31675. }
  31676. };
  31677. J.JSBool.prototype = {
  31678. toString$0(receiver) {
  31679. return String(receiver);
  31680. },
  31681. get$hashCode(receiver) {
  31682. return receiver ? 519018 : 218159;
  31683. },
  31684. get$runtimeType(receiver) {
  31685. return A.createRuntimeType(type$.bool);
  31686. },
  31687. $isTrustedGetRuntimeType: 1,
  31688. $isbool: 1
  31689. };
  31690. J.JSNull.prototype = {
  31691. $eq(receiver, other) {
  31692. return null == other;
  31693. },
  31694. toString$0(receiver) {
  31695. return "null";
  31696. },
  31697. get$hashCode(receiver) {
  31698. return 0;
  31699. },
  31700. get$runtimeType(receiver) {
  31701. return A.createRuntimeType(type$.Null);
  31702. },
  31703. $isTrustedGetRuntimeType: 1,
  31704. $isNull: 1
  31705. };
  31706. J.JavaScriptObject.prototype = {};
  31707. J.LegacyJavaScriptObject.prototype = {
  31708. get$hashCode(receiver) {
  31709. return 0;
  31710. },
  31711. toString$0(receiver) {
  31712. return String(receiver);
  31713. },
  31714. $isPromise: 1,
  31715. $isJsSystemError: 1,
  31716. $isImmutableList: 1,
  31717. $is_Channels: 1,
  31718. $is_NodeSassColor: 1,
  31719. $isCompileOptions: 1,
  31720. $isCompileStringOptions: 1,
  31721. $isNodeCompileResult: 1,
  31722. $isDeprecation1: 1,
  31723. $is_NodeException: 1,
  31724. $isJSExpressionVisitorObject: 1,
  31725. $isFiber: 1,
  31726. $isJSFunction0: 1,
  31727. $isImmutableList0: 1,
  31728. $isImmutableMap0: 1,
  31729. $isJSImporter: 1,
  31730. $isJSImporterResult: 1,
  31731. $isNodeImporterResult0: 1,
  31732. $is_ConstructorOptions: 1,
  31733. $is_NodeSassList: 1,
  31734. $isJSLogger: 1,
  31735. $isWarnOptions: 1,
  31736. $isDebugOptions: 1,
  31737. $is_NodeSassMap: 1,
  31738. $is_ConstructorOptions0: 1,
  31739. $is_NodeSassNumber: 1,
  31740. $isParserExports: 1,
  31741. $isJSClass0: 1,
  31742. $isRenderContextOptions0: 1,
  31743. $isRenderOptions: 1,
  31744. $isRenderResult: 1,
  31745. $isJSStatementVisitorObject: 1,
  31746. $is_ConstructorOptions1: 1,
  31747. $is_NodeSassString: 1,
  31748. $isJSUrl0: 1,
  31749. get$isTTY(obj) {
  31750. return obj.isTTY;
  31751. },
  31752. get$write(obj) {
  31753. return obj.write;
  31754. },
  31755. write$1(receiver, p0) {
  31756. return receiver.write(p0);
  31757. },
  31758. createInterface$1(receiver, p0) {
  31759. return receiver.createInterface(p0);
  31760. },
  31761. on$2(receiver, p0, p1) {
  31762. return receiver.on(p0, p1);
  31763. },
  31764. get$close(obj) {
  31765. return obj.close;
  31766. },
  31767. close$0(receiver) {
  31768. return receiver.close();
  31769. },
  31770. setPrompt$1(receiver, p0) {
  31771. return receiver.setPrompt(p0);
  31772. },
  31773. get$length(obj) {
  31774. return obj.length;
  31775. },
  31776. toString$0(receiver) {
  31777. return receiver.toString();
  31778. },
  31779. get$debug(obj) {
  31780. return obj.debug;
  31781. },
  31782. debug$2(receiver, p0, p1) {
  31783. return receiver.debug(p0, p1);
  31784. },
  31785. get$error(obj) {
  31786. return obj.error;
  31787. },
  31788. error$1(receiver, p0) {
  31789. return receiver.error(p0);
  31790. },
  31791. error$2(receiver, p0, p1) {
  31792. return receiver.error(p0, p1);
  31793. },
  31794. log$1(receiver, p0) {
  31795. return receiver.log(p0);
  31796. },
  31797. get$warn(obj) {
  31798. return obj.warn;
  31799. },
  31800. warn$1(receiver, p0) {
  31801. return receiver.warn(p0);
  31802. },
  31803. warn$2(receiver, p0, p1) {
  31804. return receiver.warn(p0, p1);
  31805. },
  31806. existsSync$1(receiver, p0) {
  31807. return receiver.existsSync(p0);
  31808. },
  31809. mkdirSync$1(receiver, p0) {
  31810. return receiver.mkdirSync(p0);
  31811. },
  31812. readdirSync$1(receiver, p0) {
  31813. return receiver.readdirSync(p0);
  31814. },
  31815. readFileSync$2(receiver, p0, p1) {
  31816. return receiver.readFileSync(p0, p1);
  31817. },
  31818. statSync$1(receiver, p0) {
  31819. return receiver.statSync(p0);
  31820. },
  31821. unlinkSync$1(receiver, p0) {
  31822. return receiver.unlinkSync(p0);
  31823. },
  31824. watch$2(receiver, p0, p1) {
  31825. return receiver.watch(p0, p1);
  31826. },
  31827. writeFileSync$2(receiver, p0, p1) {
  31828. return receiver.writeFileSync(p0, p1);
  31829. },
  31830. get$path(obj) {
  31831. return obj.path;
  31832. },
  31833. isDirectory$0(receiver) {
  31834. return receiver.isDirectory();
  31835. },
  31836. isFile$0(receiver) {
  31837. return receiver.isFile();
  31838. },
  31839. get$mtime(obj) {
  31840. return obj.mtime;
  31841. },
  31842. then$1$1(receiver, p0) {
  31843. return receiver.then(p0);
  31844. },
  31845. then$2(receiver, p0, p1) {
  31846. return receiver.then(p0, p1);
  31847. },
  31848. getTime$0(receiver) {
  31849. return receiver.getTime();
  31850. },
  31851. get$message(obj) {
  31852. return obj.message;
  31853. },
  31854. message$1(receiver, p0) {
  31855. return receiver.message(p0);
  31856. },
  31857. get$filename(obj) {
  31858. return obj.filename;
  31859. },
  31860. get$id(obj) {
  31861. return obj.id;
  31862. },
  31863. get$code(obj) {
  31864. return obj.code;
  31865. },
  31866. get$syscall(obj) {
  31867. return obj.syscall;
  31868. },
  31869. get$argv(obj) {
  31870. return obj.argv;
  31871. },
  31872. get$env(obj) {
  31873. return obj.env;
  31874. },
  31875. get$exitCode(obj) {
  31876. return obj.exitCode;
  31877. },
  31878. set$exitCode(obj, v) {
  31879. return obj.exitCode = v;
  31880. },
  31881. get$platform(obj) {
  31882. return obj.platform;
  31883. },
  31884. get$release(obj) {
  31885. return obj.release;
  31886. },
  31887. get$stderr(obj) {
  31888. return obj.stderr;
  31889. },
  31890. get$stdin(obj) {
  31891. return obj.stdin;
  31892. },
  31893. get$stdout(obj) {
  31894. return obj.stdout;
  31895. },
  31896. get$name(obj) {
  31897. return obj.name;
  31898. },
  31899. push$1(receiver, p0) {
  31900. return receiver.push(p0);
  31901. },
  31902. call$0(receiver) {
  31903. return receiver.call();
  31904. },
  31905. call$1(receiver, p0) {
  31906. return receiver.call(p0);
  31907. },
  31908. call$2(receiver, p0, p1) {
  31909. return receiver.call(p0, p1);
  31910. },
  31911. call$3$1(receiver, p0) {
  31912. return receiver.call(p0);
  31913. },
  31914. call$2$1(receiver, p0) {
  31915. return receiver.call(p0);
  31916. },
  31917. call$1$1(receiver, p0) {
  31918. return receiver.call(p0);
  31919. },
  31920. call$3(receiver, p0, p1, p2) {
  31921. return receiver.call(p0, p1, p2);
  31922. },
  31923. call$3$3(receiver, p0, p1, p2) {
  31924. return receiver.call(p0, p1, p2);
  31925. },
  31926. call$2$2(receiver, p0, p1) {
  31927. return receiver.call(p0, p1);
  31928. },
  31929. call$2$0(receiver) {
  31930. return receiver.call();
  31931. },
  31932. call$1$0(receiver) {
  31933. return receiver.call();
  31934. },
  31935. call$1$2(receiver, p0, p1) {
  31936. return receiver.call(p0, p1);
  31937. },
  31938. call$2$3(receiver, p0, p1, p2) {
  31939. return receiver.call(p0, p1, p2);
  31940. },
  31941. apply$2(receiver, p0, p1) {
  31942. return receiver.apply(p0, p1);
  31943. },
  31944. toArray$0(receiver) {
  31945. return receiver.toArray();
  31946. },
  31947. asMutable$0(receiver) {
  31948. return receiver.asMutable();
  31949. },
  31950. asImmutable$0(receiver) {
  31951. return receiver.asImmutable();
  31952. },
  31953. $set$2(receiver, p0, p1) {
  31954. return receiver.set(p0, p1);
  31955. },
  31956. forEach$1(receiver, p0) {
  31957. return receiver.forEach(p0);
  31958. },
  31959. get$file(obj) {
  31960. return obj.file;
  31961. },
  31962. get$contents(obj) {
  31963. return obj.contents;
  31964. },
  31965. get$options(obj) {
  31966. return obj.options;
  31967. },
  31968. get$data(obj) {
  31969. return obj.data;
  31970. },
  31971. get$includePaths(obj) {
  31972. return obj.includePaths;
  31973. },
  31974. get$style(obj) {
  31975. return obj.style;
  31976. },
  31977. get$indentType(obj) {
  31978. return obj.indentType;
  31979. },
  31980. get$indentWidth(obj) {
  31981. return obj.indentWidth;
  31982. },
  31983. get$linefeed(obj) {
  31984. return obj.linefeed;
  31985. },
  31986. set$context(obj, v) {
  31987. return obj.context = v;
  31988. },
  31989. createRequire$1(receiver, p0) {
  31990. return receiver.createRequire(p0);
  31991. },
  31992. resolve$1(receiver, p0) {
  31993. return receiver.resolve(p0);
  31994. },
  31995. get$$prototype(obj) {
  31996. return obj.prototype;
  31997. },
  31998. get$red(obj) {
  31999. return obj.red;
  32000. },
  32001. get$green(obj) {
  32002. return obj.green;
  32003. },
  32004. get$blue(obj) {
  32005. return obj.blue;
  32006. },
  32007. get$hue(obj) {
  32008. return obj.hue;
  32009. },
  32010. get$saturation(obj) {
  32011. return obj.saturation;
  32012. },
  32013. get$lightness(obj) {
  32014. return obj.lightness;
  32015. },
  32016. get$whiteness(obj) {
  32017. return obj.whiteness;
  32018. },
  32019. get$blackness(obj) {
  32020. return obj.blackness;
  32021. },
  32022. get$alpha(obj) {
  32023. return obj.alpha;
  32024. },
  32025. get$dartValue(obj) {
  32026. return obj.dartValue;
  32027. },
  32028. set$dartValue(obj, v) {
  32029. return obj.dartValue = v;
  32030. },
  32031. get$alertAscii(obj) {
  32032. return obj.alertAscii;
  32033. },
  32034. get$alertColor(obj) {
  32035. return obj.alertColor;
  32036. },
  32037. get$loadPaths(obj) {
  32038. return obj.loadPaths;
  32039. },
  32040. get$quietDeps(obj) {
  32041. return obj.quietDeps;
  32042. },
  32043. get$verbose(obj) {
  32044. return obj.verbose;
  32045. },
  32046. get$charset(obj) {
  32047. return obj.charset;
  32048. },
  32049. get$sourceMap(obj) {
  32050. return obj.sourceMap;
  32051. },
  32052. get$sourceMapIncludeSources(obj) {
  32053. return obj.sourceMapIncludeSources;
  32054. },
  32055. get$logger(obj) {
  32056. return obj.logger;
  32057. },
  32058. get$importers(obj) {
  32059. return obj.importers;
  32060. },
  32061. get$functions(obj) {
  32062. return obj.functions;
  32063. },
  32064. get$fatalDeprecations(obj) {
  32065. return obj.fatalDeprecations;
  32066. },
  32067. get$silenceDeprecations(obj) {
  32068. return obj.silenceDeprecations;
  32069. },
  32070. get$futureDeprecations(obj) {
  32071. return obj.futureDeprecations;
  32072. },
  32073. get$syntax(obj) {
  32074. return obj.syntax;
  32075. },
  32076. get$url(obj) {
  32077. return obj.url;
  32078. },
  32079. get$importer(obj) {
  32080. return obj.importer;
  32081. },
  32082. get$_dartException(obj) {
  32083. return obj._dartException;
  32084. },
  32085. set$renderSync(obj, v) {
  32086. return obj.renderSync = v;
  32087. },
  32088. set$compileString(obj, v) {
  32089. return obj.compileString = v;
  32090. },
  32091. set$compileStringAsync(obj, v) {
  32092. return obj.compileStringAsync = v;
  32093. },
  32094. set$compile(obj, v) {
  32095. return obj.compile = v;
  32096. },
  32097. set$compileAsync(obj, v) {
  32098. return obj.compileAsync = v;
  32099. },
  32100. set$initCompiler(obj, v) {
  32101. return obj.initCompiler = v;
  32102. },
  32103. set$initAsyncCompiler(obj, v) {
  32104. return obj.initAsyncCompiler = v;
  32105. },
  32106. set$Compiler(obj, v) {
  32107. return obj.Compiler = v;
  32108. },
  32109. set$AsyncCompiler(obj, v) {
  32110. return obj.AsyncCompiler = v;
  32111. },
  32112. set$info(obj, v) {
  32113. return obj.info = v;
  32114. },
  32115. set$Exception(obj, v) {
  32116. return obj.Exception = v;
  32117. },
  32118. set$Logger(obj, v) {
  32119. return obj.Logger = v;
  32120. },
  32121. set$NodePackageImporter(obj, v) {
  32122. return obj.NodePackageImporter = v;
  32123. },
  32124. set$deprecations(obj, v) {
  32125. return obj.deprecations = v;
  32126. },
  32127. set$Version(obj, v) {
  32128. return obj.Version = v;
  32129. },
  32130. set$Value(obj, v) {
  32131. return obj.Value = v;
  32132. },
  32133. set$SassArgumentList(obj, v) {
  32134. return obj.SassArgumentList = v;
  32135. },
  32136. set$SassCalculation(obj, v) {
  32137. return obj.SassCalculation = v;
  32138. },
  32139. set$CalculationOperation(obj, v) {
  32140. return obj.CalculationOperation = v;
  32141. },
  32142. set$CalculationInterpolation(obj, v) {
  32143. return obj.CalculationInterpolation = v;
  32144. },
  32145. set$SassBoolean(obj, v) {
  32146. return obj.SassBoolean = v;
  32147. },
  32148. set$SassColor(obj, v) {
  32149. return obj.SassColor = v;
  32150. },
  32151. set$SassFunction(obj, v) {
  32152. return obj.SassFunction = v;
  32153. },
  32154. set$SassMixin(obj, v) {
  32155. return obj.SassMixin = v;
  32156. },
  32157. set$SassList(obj, v) {
  32158. return obj.SassList = v;
  32159. },
  32160. set$SassMap(obj, v) {
  32161. return obj.SassMap = v;
  32162. },
  32163. set$SassNumber(obj, v) {
  32164. return obj.SassNumber = v;
  32165. },
  32166. set$SassString(obj, v) {
  32167. return obj.SassString = v;
  32168. },
  32169. set$sassNull(obj, v) {
  32170. return obj.sassNull = v;
  32171. },
  32172. set$sassTrue(obj, v) {
  32173. return obj.sassTrue = v;
  32174. },
  32175. set$sassFalse(obj, v) {
  32176. return obj.sassFalse = v;
  32177. },
  32178. set$render(obj, v) {
  32179. return obj.render = v;
  32180. },
  32181. set$types(obj, v) {
  32182. return obj.types = v;
  32183. },
  32184. set$NULL(obj, v) {
  32185. return obj.NULL = v;
  32186. },
  32187. set$TRUE(obj, v) {
  32188. return obj.TRUE = v;
  32189. },
  32190. set$FALSE(obj, v) {
  32191. return obj.FALSE = v;
  32192. },
  32193. set$loadParserExports_(obj, v) {
  32194. return obj.loadParserExports_ = v;
  32195. },
  32196. visitBinaryOperationExpression$1(receiver, p0) {
  32197. return receiver.visitBinaryOperationExpression(p0);
  32198. },
  32199. visitBooleanExpression$1(receiver, p0) {
  32200. return receiver.visitBooleanExpression(p0);
  32201. },
  32202. visitColorExpression$1(receiver, p0) {
  32203. return receiver.visitColorExpression(p0);
  32204. },
  32205. visitInterpolatedFunctionExpression$1(receiver, p0) {
  32206. return receiver.visitInterpolatedFunctionExpression(p0);
  32207. },
  32208. visitFunctionExpression$1(receiver, p0) {
  32209. return receiver.visitFunctionExpression(p0);
  32210. },
  32211. visitIfExpression$1(receiver, p0) {
  32212. return receiver.visitIfExpression(p0);
  32213. },
  32214. visitListExpression$1(receiver, p0) {
  32215. return receiver.visitListExpression(p0);
  32216. },
  32217. visitMapExpression$1(receiver, p0) {
  32218. return receiver.visitMapExpression(p0);
  32219. },
  32220. visitNullExpression$1(receiver, p0) {
  32221. return receiver.visitNullExpression(p0);
  32222. },
  32223. visitNumberExpression$1(receiver, p0) {
  32224. return receiver.visitNumberExpression(p0);
  32225. },
  32226. visitParenthesizedExpression$1(receiver, p0) {
  32227. return receiver.visitParenthesizedExpression(p0);
  32228. },
  32229. visitSelectorExpression$1(receiver, p0) {
  32230. return receiver.visitSelectorExpression(p0);
  32231. },
  32232. visitStringExpression$1(receiver, p0) {
  32233. return receiver.visitStringExpression(p0);
  32234. },
  32235. visitSupportsExpression$1(receiver, p0) {
  32236. return receiver.visitSupportsExpression(p0);
  32237. },
  32238. visitUnaryOperationExpression$1(receiver, p0) {
  32239. return receiver.visitUnaryOperationExpression(p0);
  32240. },
  32241. visitValueExpression$1(receiver, p0) {
  32242. return receiver.visitValueExpression(p0);
  32243. },
  32244. visitVariableExpression$1(receiver, p0) {
  32245. return receiver.visitVariableExpression(p0);
  32246. },
  32247. get$current(obj) {
  32248. return obj.current;
  32249. },
  32250. yield$0(receiver) {
  32251. return receiver.yield();
  32252. },
  32253. run$1$1(receiver, p0) {
  32254. return receiver.run(p0);
  32255. },
  32256. run$1(receiver, p0) {
  32257. return receiver.run(p0);
  32258. },
  32259. run$0(receiver) {
  32260. return receiver.run();
  32261. },
  32262. get$canonicalize(obj) {
  32263. return obj.canonicalize;
  32264. },
  32265. canonicalize$1(receiver, p0) {
  32266. return receiver.canonicalize(p0);
  32267. },
  32268. get$load(obj) {
  32269. return obj.load;
  32270. },
  32271. load$1(receiver, p0) {
  32272. return receiver.load(p0);
  32273. },
  32274. get$findFileUrl(obj) {
  32275. return obj.findFileUrl;
  32276. },
  32277. get$nonCanonicalScheme(obj) {
  32278. return obj.nonCanonicalScheme;
  32279. },
  32280. get$sourceMapUrl(obj) {
  32281. return obj.sourceMapUrl;
  32282. },
  32283. get$separator(obj) {
  32284. return obj.separator;
  32285. },
  32286. get$brackets(obj) {
  32287. return obj.brackets;
  32288. },
  32289. get$numeratorUnits(obj) {
  32290. return obj.numeratorUnits;
  32291. },
  32292. get$denominatorUnits(obj) {
  32293. return obj.denominatorUnits;
  32294. },
  32295. get$pkgImporter(obj) {
  32296. return obj.pkgImporter;
  32297. },
  32298. get$indentedSyntax(obj) {
  32299. return obj.indentedSyntax;
  32300. },
  32301. get$omitSourceMapUrl(obj) {
  32302. return obj.omitSourceMapUrl;
  32303. },
  32304. get$outFile(obj) {
  32305. return obj.outFile;
  32306. },
  32307. get$outputStyle(obj) {
  32308. return obj.outputStyle;
  32309. },
  32310. get$fiber(obj) {
  32311. return obj.fiber;
  32312. },
  32313. get$sourceMapContents(obj) {
  32314. return obj.sourceMapContents;
  32315. },
  32316. get$sourceMapEmbed(obj) {
  32317. return obj.sourceMapEmbed;
  32318. },
  32319. get$sourceMapRoot(obj) {
  32320. return obj.sourceMapRoot;
  32321. },
  32322. set$cli_pkg_main_0_(obj, v) {
  32323. return obj.cli_pkg_main_0_ = v;
  32324. },
  32325. visitAtRootRule$1(receiver, p0) {
  32326. return receiver.visitAtRootRule(p0);
  32327. },
  32328. visitAtRule$1(receiver, p0) {
  32329. return receiver.visitAtRule(p0);
  32330. },
  32331. get$visitContentBlock(obj) {
  32332. return obj.visitContentBlock;
  32333. },
  32334. visitContentBlock$1(receiver, p0) {
  32335. return receiver.visitContentBlock(p0);
  32336. },
  32337. visitContentRule$1(receiver, p0) {
  32338. return receiver.visitContentRule(p0);
  32339. },
  32340. visitDebugRule$1(receiver, p0) {
  32341. return receiver.visitDebugRule(p0);
  32342. },
  32343. visitDeclaration$1(receiver, p0) {
  32344. return receiver.visitDeclaration(p0);
  32345. },
  32346. visitEachRule$1(receiver, p0) {
  32347. return receiver.visitEachRule(p0);
  32348. },
  32349. visitErrorRule$1(receiver, p0) {
  32350. return receiver.visitErrorRule(p0);
  32351. },
  32352. visitExtendRule$1(receiver, p0) {
  32353. return receiver.visitExtendRule(p0);
  32354. },
  32355. visitForRule$1(receiver, p0) {
  32356. return receiver.visitForRule(p0);
  32357. },
  32358. visitForwardRule$1(receiver, p0) {
  32359. return receiver.visitForwardRule(p0);
  32360. },
  32361. visitFunctionRule$1(receiver, p0) {
  32362. return receiver.visitFunctionRule(p0);
  32363. },
  32364. visitIfRule$1(receiver, p0) {
  32365. return receiver.visitIfRule(p0);
  32366. },
  32367. visitImportRule$1(receiver, p0) {
  32368. return receiver.visitImportRule(p0);
  32369. },
  32370. visitIncludeRule$1(receiver, p0) {
  32371. return receiver.visitIncludeRule(p0);
  32372. },
  32373. visitLoudComment$1(receiver, p0) {
  32374. return receiver.visitLoudComment(p0);
  32375. },
  32376. visitMediaRule$1(receiver, p0) {
  32377. return receiver.visitMediaRule(p0);
  32378. },
  32379. visitMixinRule$1(receiver, p0) {
  32380. return receiver.visitMixinRule(p0);
  32381. },
  32382. visitReturnRule$1(receiver, p0) {
  32383. return receiver.visitReturnRule(p0);
  32384. },
  32385. visitSilentComment$1(receiver, p0) {
  32386. return receiver.visitSilentComment(p0);
  32387. },
  32388. visitStyleRule$1(receiver, p0) {
  32389. return receiver.visitStyleRule(p0);
  32390. },
  32391. visitStylesheet$1(receiver, p0) {
  32392. return receiver.visitStylesheet(p0);
  32393. },
  32394. visitSupportsRule$1(receiver, p0) {
  32395. return receiver.visitSupportsRule(p0);
  32396. },
  32397. visitUseRule$1(receiver, p0) {
  32398. return receiver.visitUseRule(p0);
  32399. },
  32400. visitVariableDeclaration$1(receiver, p0) {
  32401. return receiver.visitVariableDeclaration(p0);
  32402. },
  32403. visitWarnRule$1(receiver, p0) {
  32404. return receiver.visitWarnRule(p0);
  32405. },
  32406. visitWhileRule$1(receiver, p0) {
  32407. return receiver.visitWhileRule(p0);
  32408. },
  32409. get$quotes(obj) {
  32410. return obj.quotes;
  32411. }
  32412. };
  32413. J.PlainJavaScriptObject.prototype = {};
  32414. J.UnknownJavaScriptObject.prototype = {};
  32415. J.JavaScriptFunction.prototype = {
  32416. toString$0(receiver) {
  32417. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  32418. if (dartClosure == null)
  32419. return this.super$LegacyJavaScriptObject$toString(receiver);
  32420. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  32421. },
  32422. $isFunction: 1
  32423. };
  32424. J.JavaScriptBigInt.prototype = {
  32425. get$hashCode(receiver) {
  32426. return 0;
  32427. },
  32428. toString$0(receiver) {
  32429. return String(receiver);
  32430. }
  32431. };
  32432. J.JavaScriptSymbol.prototype = {
  32433. get$hashCode(receiver) {
  32434. return 0;
  32435. },
  32436. toString$0(receiver) {
  32437. return String(receiver);
  32438. }
  32439. };
  32440. J.JSArray.prototype = {
  32441. cast$1$0(receiver, $R) {
  32442. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  32443. },
  32444. add$1(receiver, value) {
  32445. if (!!receiver.fixed$length)
  32446. A.throwExpression(A.UnsupportedError$("add"));
  32447. receiver.push(value);
  32448. },
  32449. removeAt$1(receiver, index) {
  32450. var t1;
  32451. if (!!receiver.fixed$length)
  32452. A.throwExpression(A.UnsupportedError$("removeAt"));
  32453. t1 = receiver.length;
  32454. if (index >= t1)
  32455. throw A.wrapException(A.RangeError$value(index, null, null));
  32456. return receiver.splice(index, 1)[0];
  32457. },
  32458. insert$2(receiver, index, value) {
  32459. var t1;
  32460. if (!!receiver.fixed$length)
  32461. A.throwExpression(A.UnsupportedError$("insert"));
  32462. t1 = receiver.length;
  32463. if (index > t1)
  32464. throw A.wrapException(A.RangeError$value(index, null, null));
  32465. receiver.splice(index, 0, value);
  32466. },
  32467. insertAll$2(receiver, index, iterable) {
  32468. var insertionLength, end;
  32469. if (!!receiver.fixed$length)
  32470. A.throwExpression(A.UnsupportedError$("insertAll"));
  32471. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  32472. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  32473. iterable = J.toList$0$ax(iterable);
  32474. insertionLength = J.get$length$asx(iterable);
  32475. receiver.length = receiver.length + insertionLength;
  32476. end = index + insertionLength;
  32477. this.setRange$4(receiver, end, receiver.length, receiver, index);
  32478. this.setRange$3(receiver, index, end, iterable);
  32479. },
  32480. removeLast$0(receiver) {
  32481. if (!!receiver.fixed$length)
  32482. A.throwExpression(A.UnsupportedError$("removeLast"));
  32483. if (receiver.length === 0)
  32484. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  32485. return receiver.pop();
  32486. },
  32487. _removeWhere$2(receiver, test, removeMatching) {
  32488. var i, element, t1, retained = [],
  32489. end = receiver.length;
  32490. for (i = 0; i < end; ++i) {
  32491. element = receiver[i];
  32492. if (!test.call$1(element))
  32493. retained.push(element);
  32494. if (receiver.length !== end)
  32495. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32496. }
  32497. t1 = retained.length;
  32498. if (t1 === end)
  32499. return;
  32500. this.set$length(receiver, t1);
  32501. for (i = 0; i < retained.length; ++i)
  32502. receiver[i] = retained[i];
  32503. },
  32504. where$1(receiver, f) {
  32505. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  32506. },
  32507. expand$1$1(receiver, f, $T) {
  32508. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32509. },
  32510. addAll$1(receiver, collection) {
  32511. var t1;
  32512. if (!!receiver.fixed$length)
  32513. A.throwExpression(A.UnsupportedError$("addAll"));
  32514. if (Array.isArray(collection)) {
  32515. this._addAllFromArray$1(receiver, collection);
  32516. return;
  32517. }
  32518. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  32519. receiver.push(t1.get$current(t1));
  32520. },
  32521. _addAllFromArray$1(receiver, array) {
  32522. var i,
  32523. len = array.length;
  32524. if (len === 0)
  32525. return;
  32526. if (receiver === array)
  32527. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32528. for (i = 0; i < len; ++i)
  32529. receiver.push(array[i]);
  32530. },
  32531. clear$0(receiver) {
  32532. if (!!receiver.fixed$length)
  32533. A.throwExpression(A.UnsupportedError$("clear"));
  32534. receiver.length = 0;
  32535. },
  32536. map$1$1(receiver, f, $T) {
  32537. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  32538. },
  32539. join$1(receiver, separator) {
  32540. var i,
  32541. list = A.List_List$filled(receiver.length, "", false, type$.String);
  32542. for (i = 0; i < receiver.length; ++i)
  32543. list[i] = A.S(receiver[i]);
  32544. return list.join(separator);
  32545. },
  32546. join$0(receiver) {
  32547. return this.join$1(receiver, "");
  32548. },
  32549. take$1(receiver, n) {
  32550. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  32551. },
  32552. skip$1(receiver, n) {
  32553. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  32554. },
  32555. fold$1$2(receiver, initialValue, combine) {
  32556. var value, i,
  32557. $length = receiver.length;
  32558. for (value = initialValue, i = 0; i < $length; ++i) {
  32559. value = combine.call$2(value, receiver[i]);
  32560. if (receiver.length !== $length)
  32561. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32562. }
  32563. return value;
  32564. },
  32565. fold$2(receiver, initialValue, combine) {
  32566. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  32567. },
  32568. elementAt$1(receiver, index) {
  32569. return receiver[index];
  32570. },
  32571. sublist$2(receiver, start, end) {
  32572. var end0 = receiver.length;
  32573. if (start > end0)
  32574. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  32575. if (end == null)
  32576. end = end0;
  32577. else if (end < start || end > end0)
  32578. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  32579. if (start === end)
  32580. return A._setArrayType([], A._arrayInstanceType(receiver));
  32581. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  32582. },
  32583. sublist$1(receiver, start) {
  32584. return this.sublist$2(receiver, start, null);
  32585. },
  32586. getRange$2(receiver, start, end) {
  32587. A.RangeError_checkValidRange(start, end, receiver.length);
  32588. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  32589. },
  32590. get$first(receiver) {
  32591. if (receiver.length > 0)
  32592. return receiver[0];
  32593. throw A.wrapException(A.IterableElementError_noElement());
  32594. },
  32595. get$last(receiver) {
  32596. var t1 = receiver.length;
  32597. if (t1 > 0)
  32598. return receiver[t1 - 1];
  32599. throw A.wrapException(A.IterableElementError_noElement());
  32600. },
  32601. get$single(receiver) {
  32602. var t1 = receiver.length;
  32603. if (t1 === 1)
  32604. return receiver[0];
  32605. if (t1 === 0)
  32606. throw A.wrapException(A.IterableElementError_noElement());
  32607. throw A.wrapException(A.IterableElementError_tooMany());
  32608. },
  32609. removeRange$2(receiver, start, end) {
  32610. if (!!receiver.fixed$length)
  32611. A.throwExpression(A.UnsupportedError$("removeRange"));
  32612. A.RangeError_checkValidRange(start, end, receiver.length);
  32613. receiver.splice(start, end - start);
  32614. },
  32615. setRange$4(receiver, start, end, iterable, skipCount) {
  32616. var $length, otherList, otherStart, t1, i;
  32617. if (!!receiver.immutable$list)
  32618. A.throwExpression(A.UnsupportedError$("setRange"));
  32619. A.RangeError_checkValidRange(start, end, receiver.length);
  32620. $length = end - start;
  32621. if ($length === 0)
  32622. return;
  32623. A.RangeError_checkNotNegative(skipCount, "skipCount");
  32624. if (type$.List_dynamic._is(iterable)) {
  32625. otherList = iterable;
  32626. otherStart = skipCount;
  32627. } else {
  32628. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  32629. otherStart = 0;
  32630. }
  32631. t1 = J.getInterceptor$asx(otherList);
  32632. if (otherStart + $length > t1.get$length(otherList))
  32633. throw A.wrapException(A.IterableElementError_tooFew());
  32634. if (otherStart < start)
  32635. for (i = $length - 1; i >= 0; --i)
  32636. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32637. else
  32638. for (i = 0; i < $length; ++i)
  32639. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32640. },
  32641. setRange$3(receiver, start, end, iterable) {
  32642. return this.setRange$4(receiver, start, end, iterable, 0);
  32643. },
  32644. fillRange$3(receiver, start, end, fillValue) {
  32645. var i;
  32646. if (!!receiver.immutable$list)
  32647. A.throwExpression(A.UnsupportedError$("fill range"));
  32648. A.RangeError_checkValidRange(start, end, receiver.length);
  32649. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  32650. for (i = start; i < end; ++i)
  32651. receiver[i] = fillValue;
  32652. },
  32653. any$1(receiver, test) {
  32654. var i,
  32655. end = receiver.length;
  32656. for (i = 0; i < end; ++i) {
  32657. if (test.call$1(receiver[i]))
  32658. return true;
  32659. if (receiver.length !== end)
  32660. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32661. }
  32662. return false;
  32663. },
  32664. every$1(receiver, test) {
  32665. var i,
  32666. end = receiver.length;
  32667. for (i = 0; i < end; ++i) {
  32668. if (!test.call$1(receiver[i]))
  32669. return false;
  32670. if (receiver.length !== end)
  32671. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32672. }
  32673. return true;
  32674. },
  32675. get$reversed(receiver) {
  32676. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  32677. },
  32678. sort$1(receiver, compare) {
  32679. var len, a, b, undefineds, i;
  32680. if (!!receiver.immutable$list)
  32681. A.throwExpression(A.UnsupportedError$("sort"));
  32682. len = receiver.length;
  32683. if (len < 2)
  32684. return;
  32685. if (compare == null)
  32686. compare = J._interceptors_JSArray__compareAny$closure();
  32687. if (len === 2) {
  32688. a = receiver[0];
  32689. b = receiver[1];
  32690. if (compare.call$2(a, b) > 0) {
  32691. receiver[0] = b;
  32692. receiver[1] = a;
  32693. }
  32694. return;
  32695. }
  32696. undefineds = 0;
  32697. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  32698. for (i = 0; i < receiver.length; ++i)
  32699. if (receiver[i] === void 0) {
  32700. receiver[i] = null;
  32701. ++undefineds;
  32702. }
  32703. receiver.sort(A.convertDartClosureToJS(compare, 2));
  32704. if (undefineds > 0)
  32705. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  32706. },
  32707. sort$0(receiver) {
  32708. return this.sort$1(receiver, null);
  32709. },
  32710. _replaceSomeNullsWithUndefined$1(receiver, count) {
  32711. var i0,
  32712. i = receiver.length;
  32713. for (; i0 = i - 1, i > 0; i = i0)
  32714. if (receiver[i0] === null) {
  32715. receiver[i0] = void 0;
  32716. --count;
  32717. if (count === 0)
  32718. break;
  32719. }
  32720. },
  32721. indexOf$1(receiver, element) {
  32722. var i,
  32723. $length = receiver.length;
  32724. if (0 >= $length)
  32725. return -1;
  32726. for (i = 0; i < $length; ++i)
  32727. if (J.$eq$(receiver[i], element))
  32728. return i;
  32729. return -1;
  32730. },
  32731. contains$1(receiver, other) {
  32732. var i;
  32733. for (i = 0; i < receiver.length; ++i)
  32734. if (J.$eq$(receiver[i], other))
  32735. return true;
  32736. return false;
  32737. },
  32738. get$isEmpty(receiver) {
  32739. return receiver.length === 0;
  32740. },
  32741. get$isNotEmpty(receiver) {
  32742. return receiver.length !== 0;
  32743. },
  32744. toString$0(receiver) {
  32745. return A.Iterable_iterableToFullString(receiver, "[", "]");
  32746. },
  32747. toList$1$growable(receiver, growable) {
  32748. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  32749. return t1;
  32750. },
  32751. toList$0(receiver) {
  32752. return this.toList$1$growable(receiver, true);
  32753. },
  32754. toSet$0(receiver) {
  32755. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  32756. },
  32757. get$iterator(receiver) {
  32758. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  32759. },
  32760. get$hashCode(receiver) {
  32761. return A.Primitives_objectHashCode(receiver);
  32762. },
  32763. get$length(receiver) {
  32764. return receiver.length;
  32765. },
  32766. set$length(receiver, newLength) {
  32767. if (!!receiver.fixed$length)
  32768. A.throwExpression(A.UnsupportedError$("set length"));
  32769. if (newLength < 0)
  32770. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  32771. if (newLength > receiver.length)
  32772. A._arrayInstanceType(receiver)._precomputed1._as(null);
  32773. receiver.length = newLength;
  32774. },
  32775. $index(receiver, index) {
  32776. if (!(index >= 0 && index < receiver.length))
  32777. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32778. return receiver[index];
  32779. },
  32780. $indexSet(receiver, index, value) {
  32781. if (!!receiver.immutable$list)
  32782. A.throwExpression(A.UnsupportedError$("indexed set"));
  32783. if (!(index >= 0 && index < receiver.length))
  32784. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32785. receiver[index] = value;
  32786. },
  32787. $add(receiver, other) {
  32788. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  32789. this.addAll$1(t1, other);
  32790. return t1;
  32791. },
  32792. indexWhere$1(receiver, test) {
  32793. var i;
  32794. if (0 >= receiver.length)
  32795. return -1;
  32796. for (i = 0; i < receiver.length; ++i)
  32797. if (test.call$1(receiver[i]))
  32798. return i;
  32799. return -1;
  32800. },
  32801. $isEfficientLengthIterable: 1,
  32802. $isIterable: 1,
  32803. $isList: 1
  32804. };
  32805. J.JSUnmodifiableArray.prototype = {};
  32806. J.ArrayIterator.prototype = {
  32807. get$current(_) {
  32808. var t1 = this._current;
  32809. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  32810. },
  32811. moveNext$0() {
  32812. var t2, _this = this,
  32813. t1 = _this._iterable,
  32814. $length = t1.length;
  32815. if (_this._length !== $length)
  32816. throw A.wrapException(A.throwConcurrentModificationError(t1));
  32817. t2 = _this._index;
  32818. if (t2 >= $length) {
  32819. _this._current = null;
  32820. return false;
  32821. }
  32822. _this._current = t1[t2];
  32823. _this._index = t2 + 1;
  32824. return true;
  32825. }
  32826. };
  32827. J.JSNumber.prototype = {
  32828. compareTo$1(receiver, b) {
  32829. var bIsNegative;
  32830. if (receiver < b)
  32831. return -1;
  32832. else if (receiver > b)
  32833. return 1;
  32834. else if (receiver === b) {
  32835. if (receiver === 0) {
  32836. bIsNegative = this.get$isNegative(b);
  32837. if (this.get$isNegative(receiver) === bIsNegative)
  32838. return 0;
  32839. if (this.get$isNegative(receiver))
  32840. return -1;
  32841. return 1;
  32842. }
  32843. return 0;
  32844. } else if (isNaN(receiver)) {
  32845. if (isNaN(b))
  32846. return 0;
  32847. return 1;
  32848. } else
  32849. return -1;
  32850. },
  32851. get$isNegative(receiver) {
  32852. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  32853. },
  32854. get$sign(receiver) {
  32855. var t1;
  32856. if (receiver > 0)
  32857. t1 = 1;
  32858. else
  32859. t1 = receiver < 0 ? -1 : receiver;
  32860. return t1;
  32861. },
  32862. ceil$0(receiver) {
  32863. var truncated, d;
  32864. if (receiver >= 0) {
  32865. if (receiver <= 2147483647) {
  32866. truncated = receiver | 0;
  32867. return receiver === truncated ? truncated : truncated + 1;
  32868. }
  32869. } else if (receiver >= -2147483648)
  32870. return receiver | 0;
  32871. d = Math.ceil(receiver);
  32872. if (isFinite(d))
  32873. return d;
  32874. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  32875. },
  32876. floor$0(receiver) {
  32877. var truncated, d;
  32878. if (receiver >= 0) {
  32879. if (receiver <= 2147483647)
  32880. return receiver | 0;
  32881. } else if (receiver >= -2147483648) {
  32882. truncated = receiver | 0;
  32883. return receiver === truncated ? truncated : truncated - 1;
  32884. }
  32885. d = Math.floor(receiver);
  32886. if (isFinite(d))
  32887. return d;
  32888. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  32889. },
  32890. round$0(receiver) {
  32891. if (receiver > 0) {
  32892. if (receiver !== 1 / 0)
  32893. return Math.round(receiver);
  32894. } else if (receiver > -1 / 0)
  32895. return 0 - Math.round(0 - receiver);
  32896. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  32897. },
  32898. clamp$2(receiver, lowerLimit, upperLimit) {
  32899. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  32900. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  32901. if (this.compareTo$1(receiver, lowerLimit) < 0)
  32902. return lowerLimit;
  32903. if (this.compareTo$1(receiver, upperLimit) > 0)
  32904. return upperLimit;
  32905. return receiver;
  32906. },
  32907. toRadixString$1(receiver, radix) {
  32908. var result, match, exponent, t1;
  32909. if (radix < 2 || radix > 36)
  32910. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  32911. result = receiver.toString(radix);
  32912. if (result.charCodeAt(result.length - 1) !== 41)
  32913. return result;
  32914. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  32915. if (match == null)
  32916. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  32917. result = match[1];
  32918. exponent = +match[3];
  32919. t1 = match[2];
  32920. if (t1 != null) {
  32921. result += t1;
  32922. exponent -= t1.length;
  32923. }
  32924. return result + B.JSString_methods.$mul("0", exponent);
  32925. },
  32926. toString$0(receiver) {
  32927. if (receiver === 0 && 1 / receiver < 0)
  32928. return "-0.0";
  32929. else
  32930. return "" + receiver;
  32931. },
  32932. get$hashCode(receiver) {
  32933. var absolute, floorLog2, factor, scaled,
  32934. intValue = receiver | 0;
  32935. if (receiver === intValue)
  32936. return intValue & 536870911;
  32937. absolute = Math.abs(receiver);
  32938. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  32939. factor = Math.pow(2, floorLog2);
  32940. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  32941. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  32942. },
  32943. $mod(receiver, other) {
  32944. var result = receiver % other;
  32945. if (result === 0)
  32946. return 0;
  32947. if (result > 0)
  32948. return result;
  32949. if (other < 0)
  32950. return result - other;
  32951. else
  32952. return result + other;
  32953. },
  32954. $tdiv(receiver, other) {
  32955. if ((receiver | 0) === receiver)
  32956. if (other >= 1 || other < -1)
  32957. return receiver / other | 0;
  32958. return this._tdivSlow$1(receiver, other);
  32959. },
  32960. _tdivFast$1(receiver, other) {
  32961. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  32962. },
  32963. _tdivSlow$1(receiver, other) {
  32964. var quotient = receiver / other;
  32965. if (quotient >= -2147483648 && quotient <= 2147483647)
  32966. return quotient | 0;
  32967. if (quotient > 0) {
  32968. if (quotient !== 1 / 0)
  32969. return Math.floor(quotient);
  32970. } else if (quotient > -1 / 0)
  32971. return Math.ceil(quotient);
  32972. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  32973. },
  32974. _shrOtherPositive$1(receiver, other) {
  32975. var t1;
  32976. if (receiver > 0)
  32977. t1 = this._shrBothPositive$1(receiver, other);
  32978. else {
  32979. t1 = other > 31 ? 31 : other;
  32980. t1 = receiver >> t1 >>> 0;
  32981. }
  32982. return t1;
  32983. },
  32984. _shrReceiverPositive$1(receiver, other) {
  32985. if (0 > other)
  32986. throw A.wrapException(A.argumentErrorValue(other));
  32987. return this._shrBothPositive$1(receiver, other);
  32988. },
  32989. _shrBothPositive$1(receiver, other) {
  32990. return other > 31 ? 0 : receiver >>> other;
  32991. },
  32992. get$runtimeType(receiver) {
  32993. return A.createRuntimeType(type$.num);
  32994. },
  32995. $isComparable: 1,
  32996. $isdouble: 1,
  32997. $isnum: 1
  32998. };
  32999. J.JSInt.prototype = {
  33000. get$sign(receiver) {
  33001. var t1;
  33002. if (receiver > 0)
  33003. t1 = 1;
  33004. else
  33005. t1 = receiver < 0 ? -1 : receiver;
  33006. return t1;
  33007. },
  33008. get$runtimeType(receiver) {
  33009. return A.createRuntimeType(type$.int);
  33010. },
  33011. $isTrustedGetRuntimeType: 1,
  33012. $isint: 1
  33013. };
  33014. J.JSNumNotInt.prototype = {
  33015. get$runtimeType(receiver) {
  33016. return A.createRuntimeType(type$.double);
  33017. },
  33018. $isTrustedGetRuntimeType: 1
  33019. };
  33020. J.JSString.prototype = {
  33021. codeUnitAt$1(receiver, index) {
  33022. if (index < 0)
  33023. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  33024. if (index >= receiver.length)
  33025. A.throwExpression(A.diagnoseIndexError(receiver, index));
  33026. return receiver.charCodeAt(index);
  33027. },
  33028. allMatches$2(receiver, string, start) {
  33029. var t1 = string.length;
  33030. if (start > t1)
  33031. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  33032. return new A._StringAllMatchesIterable(string, receiver, start);
  33033. },
  33034. allMatches$1(receiver, string) {
  33035. return this.allMatches$2(receiver, string, 0);
  33036. },
  33037. matchAsPrefix$2(receiver, string, start) {
  33038. var t1, i, _null = null;
  33039. if (start < 0 || start > string.length)
  33040. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  33041. t1 = receiver.length;
  33042. if (start + t1 > string.length)
  33043. return _null;
  33044. for (i = 0; i < t1; ++i)
  33045. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  33046. return _null;
  33047. return new A.StringMatch(start, receiver);
  33048. },
  33049. $add(receiver, other) {
  33050. return receiver + other;
  33051. },
  33052. endsWith$1(receiver, other) {
  33053. var otherLength = other.length,
  33054. t1 = receiver.length;
  33055. if (otherLength > t1)
  33056. return false;
  33057. return other === this.substring$1(receiver, t1 - otherLength);
  33058. },
  33059. replaceFirst$2(receiver, from, to) {
  33060. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  33061. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  33062. },
  33063. split$1(receiver, pattern) {
  33064. if (typeof pattern == "string")
  33065. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  33066. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  33067. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  33068. else
  33069. return this._defaultSplit$1(receiver, pattern);
  33070. },
  33071. replaceRange$3(receiver, start, end, replacement) {
  33072. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  33073. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  33074. },
  33075. _defaultSplit$1(receiver, pattern) {
  33076. var t1, start, $length, match, matchStart, matchEnd,
  33077. result = A._setArrayType([], type$.JSArray_String);
  33078. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  33079. match = t1.get$current(t1);
  33080. matchStart = match.get$start(match);
  33081. matchEnd = match.get$end(match);
  33082. $length = matchEnd - matchStart;
  33083. if ($length === 0 && start === matchStart)
  33084. continue;
  33085. result.push(this.substring$2(receiver, start, matchStart));
  33086. start = matchEnd;
  33087. }
  33088. if (start < receiver.length || $length > 0)
  33089. result.push(this.substring$1(receiver, start));
  33090. return result;
  33091. },
  33092. startsWith$2(receiver, pattern, index) {
  33093. var endIndex;
  33094. if (index < 0 || index > receiver.length)
  33095. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  33096. if (typeof pattern == "string") {
  33097. endIndex = index + pattern.length;
  33098. if (endIndex > receiver.length)
  33099. return false;
  33100. return pattern === receiver.substring(index, endIndex);
  33101. }
  33102. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  33103. },
  33104. startsWith$1(receiver, pattern) {
  33105. return this.startsWith$2(receiver, pattern, 0);
  33106. },
  33107. substring$2(receiver, start, end) {
  33108. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  33109. },
  33110. substring$1(receiver, start) {
  33111. return this.substring$2(receiver, start, null);
  33112. },
  33113. trim$0(receiver) {
  33114. var startIndex, t1, endIndex0,
  33115. result = receiver.trim(),
  33116. endIndex = result.length;
  33117. if (endIndex === 0)
  33118. return result;
  33119. if (result.charCodeAt(0) === 133) {
  33120. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  33121. if (startIndex === endIndex)
  33122. return "";
  33123. } else
  33124. startIndex = 0;
  33125. t1 = endIndex - 1;
  33126. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  33127. if (startIndex === 0 && endIndex0 === endIndex)
  33128. return result;
  33129. return result.substring(startIndex, endIndex0);
  33130. },
  33131. trimLeft$0(receiver) {
  33132. var result = receiver.trimStart();
  33133. if (result.length === 0)
  33134. return result;
  33135. if (result.charCodeAt(0) !== 133)
  33136. return result;
  33137. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  33138. },
  33139. trimRight$0(receiver) {
  33140. var t1,
  33141. result = receiver.trimEnd(),
  33142. endIndex = result.length;
  33143. if (endIndex === 0)
  33144. return result;
  33145. t1 = endIndex - 1;
  33146. if (result.charCodeAt(t1) !== 133)
  33147. return result;
  33148. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  33149. },
  33150. $mul(receiver, times) {
  33151. var s, result;
  33152. if (0 >= times)
  33153. return "";
  33154. if (times === 1 || receiver.length === 0)
  33155. return receiver;
  33156. if (times !== times >>> 0)
  33157. throw A.wrapException(B.C_OutOfMemoryError);
  33158. for (s = receiver, result = ""; true;) {
  33159. if ((times & 1) === 1)
  33160. result = s + result;
  33161. times = times >>> 1;
  33162. if (times === 0)
  33163. break;
  33164. s += s;
  33165. }
  33166. return result;
  33167. },
  33168. padLeft$2(receiver, width, padding) {
  33169. var delta = width - receiver.length;
  33170. if (delta <= 0)
  33171. return receiver;
  33172. return this.$mul(padding, delta) + receiver;
  33173. },
  33174. padRight$1(receiver, width) {
  33175. var delta = width - receiver.length;
  33176. if (delta <= 0)
  33177. return receiver;
  33178. return receiver + this.$mul(" ", delta);
  33179. },
  33180. indexOf$2(receiver, pattern, start) {
  33181. var t1;
  33182. if (start < 0 || start > receiver.length)
  33183. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33184. t1 = receiver.indexOf(pattern, start);
  33185. return t1;
  33186. },
  33187. indexOf$1(receiver, pattern) {
  33188. return this.indexOf$2(receiver, pattern, 0);
  33189. },
  33190. lastIndexOf$2(receiver, pattern, start) {
  33191. var t1, t2, i;
  33192. if (start == null)
  33193. start = receiver.length;
  33194. else if (start < 0 || start > receiver.length)
  33195. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33196. if (typeof pattern == "string") {
  33197. t1 = pattern.length;
  33198. t2 = receiver.length;
  33199. if (start + t1 > t2)
  33200. start = t2 - t1;
  33201. return receiver.lastIndexOf(pattern, start);
  33202. }
  33203. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  33204. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  33205. return i;
  33206. return -1;
  33207. },
  33208. lastIndexOf$1(receiver, pattern) {
  33209. return this.lastIndexOf$2(receiver, pattern, null);
  33210. },
  33211. contains$2(receiver, other, startIndex) {
  33212. var t1 = receiver.length;
  33213. if (startIndex > t1)
  33214. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  33215. return A.stringContainsUnchecked(receiver, other, startIndex);
  33216. },
  33217. contains$1(receiver, other) {
  33218. return this.contains$2(receiver, other, 0);
  33219. },
  33220. compareTo$1(receiver, other) {
  33221. var t1;
  33222. if (receiver === other)
  33223. t1 = 0;
  33224. else
  33225. t1 = receiver < other ? -1 : 1;
  33226. return t1;
  33227. },
  33228. toString$0(receiver) {
  33229. return receiver;
  33230. },
  33231. get$hashCode(receiver) {
  33232. var t1, hash, i;
  33233. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  33234. hash = hash + receiver.charCodeAt(i) & 536870911;
  33235. hash = hash + ((hash & 524287) << 10) & 536870911;
  33236. hash ^= hash >> 6;
  33237. }
  33238. hash = hash + ((hash & 67108863) << 3) & 536870911;
  33239. hash ^= hash >> 11;
  33240. return hash + ((hash & 16383) << 15) & 536870911;
  33241. },
  33242. get$runtimeType(receiver) {
  33243. return A.createRuntimeType(type$.String);
  33244. },
  33245. get$length(receiver) {
  33246. return receiver.length;
  33247. },
  33248. $isTrustedGetRuntimeType: 1,
  33249. $isComparable: 1,
  33250. $isString: 1
  33251. };
  33252. A._CastIterableBase.prototype = {
  33253. get$iterator(_) {
  33254. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  33255. },
  33256. get$length(_) {
  33257. return J.get$length$asx(this.get$_source());
  33258. },
  33259. get$isEmpty(_) {
  33260. return J.get$isEmpty$asx(this.get$_source());
  33261. },
  33262. get$isNotEmpty(_) {
  33263. return J.get$isNotEmpty$asx(this.get$_source());
  33264. },
  33265. skip$1(_, count) {
  33266. var t1 = A._instanceType(this);
  33267. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33268. },
  33269. take$1(_, count) {
  33270. var t1 = A._instanceType(this);
  33271. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33272. },
  33273. elementAt$1(_, index) {
  33274. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  33275. },
  33276. get$first(_) {
  33277. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  33278. },
  33279. get$last(_) {
  33280. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  33281. },
  33282. get$single(_) {
  33283. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  33284. },
  33285. contains$1(_, other) {
  33286. return J.contains$1$asx(this.get$_source(), other);
  33287. },
  33288. toString$0(_) {
  33289. return J.toString$0$(this.get$_source());
  33290. }
  33291. };
  33292. A.CastIterator.prototype = {
  33293. moveNext$0() {
  33294. return this._source.moveNext$0();
  33295. },
  33296. get$current(_) {
  33297. var t1 = this._source;
  33298. return this.$ti._rest[1]._as(t1.get$current(t1));
  33299. }
  33300. };
  33301. A.CastIterable.prototype = {
  33302. get$_source() {
  33303. return this._source;
  33304. }
  33305. };
  33306. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  33307. A._CastListBase.prototype = {
  33308. $index(_, index) {
  33309. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  33310. },
  33311. $indexSet(_, index, value) {
  33312. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  33313. },
  33314. set$length(_, $length) {
  33315. J.set$length$asx(this._source, $length);
  33316. },
  33317. add$1(_, value) {
  33318. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  33319. },
  33320. addAll$1(_, values) {
  33321. var t1 = this.$ti;
  33322. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  33323. },
  33324. sort$1(_, compare) {
  33325. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  33326. J.sort$1$ax(this._source, t1);
  33327. },
  33328. getRange$2(_, start, end) {
  33329. var t1 = this.$ti;
  33330. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  33331. },
  33332. setRange$4(_, start, end, iterable, skipCount) {
  33333. var t1 = this.$ti;
  33334. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  33335. },
  33336. removeRange$2(_, start, end) {
  33337. J.removeRange$2$ax(this._source, start, end);
  33338. },
  33339. fillRange$3(_, start, end, fillValue) {
  33340. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  33341. },
  33342. $isEfficientLengthIterable: 1,
  33343. $isList: 1
  33344. };
  33345. A._CastListBase_sort_closure.prototype = {
  33346. call$2(v1, v2) {
  33347. var t1 = this.$this.$ti._rest[1];
  33348. return this.compare.call$2(t1._as(v1), t1._as(v2));
  33349. },
  33350. $signature() {
  33351. return this.$this.$ti._eval$1("int(1,1)");
  33352. }
  33353. };
  33354. A.CastList.prototype = {
  33355. cast$1$0(_, $R) {
  33356. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  33357. },
  33358. get$_source() {
  33359. return this._source;
  33360. }
  33361. };
  33362. A.CastSet.prototype = {
  33363. add$1(_, value) {
  33364. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  33365. },
  33366. addAll$1(_, elements) {
  33367. var t1 = this.$ti;
  33368. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  33369. },
  33370. difference$1(other) {
  33371. var _this = this;
  33372. if (_this._emptySet != null)
  33373. return _this._conditionalAdd$2(other, false);
  33374. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  33375. },
  33376. _conditionalAdd$2(other, otherContains) {
  33377. var t3, castElement,
  33378. emptySet = this._emptySet,
  33379. t1 = this.$ti,
  33380. t2 = t1._rest[1],
  33381. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  33382. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  33383. castElement = t1._as(t2.get$current(t2));
  33384. if (otherContains === t3.contains$1(0, castElement))
  33385. result.add$1(0, castElement);
  33386. }
  33387. return result;
  33388. },
  33389. toSet$0(_) {
  33390. var emptySet = this._emptySet,
  33391. t1 = this.$ti._rest[1],
  33392. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  33393. result.addAll$1(0, this);
  33394. return result;
  33395. },
  33396. $isEfficientLengthIterable: 1,
  33397. $isSet: 1,
  33398. get$_source() {
  33399. return this._source;
  33400. }
  33401. };
  33402. A.CastMap.prototype = {
  33403. cast$2$0(_, RK, RV) {
  33404. return new A.CastMap(this._source, this.$ti._eval$1("@<1,2>")._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
  33405. },
  33406. containsKey$1(key) {
  33407. return this._source.containsKey$1(key);
  33408. },
  33409. $index(_, key) {
  33410. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  33411. },
  33412. $indexSet(_, key, value) {
  33413. var t1 = this.$ti;
  33414. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  33415. },
  33416. addAll$1(_, other) {
  33417. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  33418. },
  33419. remove$1(_, key) {
  33420. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  33421. },
  33422. forEach$1(_, f) {
  33423. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  33424. },
  33425. get$keys(_) {
  33426. var t1 = this._source,
  33427. t2 = this.$ti;
  33428. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  33429. },
  33430. get$values(_) {
  33431. var t1 = this._source,
  33432. t2 = this.$ti;
  33433. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  33434. },
  33435. get$length(_) {
  33436. var t1 = this._source;
  33437. return t1.get$length(t1);
  33438. },
  33439. get$isEmpty(_) {
  33440. var t1 = this._source;
  33441. return t1.get$isEmpty(t1);
  33442. },
  33443. get$isNotEmpty(_) {
  33444. var t1 = this._source;
  33445. return t1.get$isNotEmpty(t1);
  33446. },
  33447. get$entries(_) {
  33448. var t1 = this._source;
  33449. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  33450. }
  33451. };
  33452. A.CastMap_forEach_closure.prototype = {
  33453. call$2(key, value) {
  33454. var t1 = this.$this.$ti;
  33455. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  33456. },
  33457. $signature() {
  33458. return this.$this.$ti._eval$1("~(1,2)");
  33459. }
  33460. };
  33461. A.CastMap_entries_closure.prototype = {
  33462. call$1(e) {
  33463. var t1 = this.$this.$ti;
  33464. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  33465. },
  33466. $signature() {
  33467. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  33468. }
  33469. };
  33470. A.LateError.prototype = {
  33471. toString$0(_) {
  33472. return "LateInitializationError: " + this._message;
  33473. }
  33474. };
  33475. A.ReachabilityError.prototype = {
  33476. toString$0(_) {
  33477. return "ReachabilityError: " + this._message;
  33478. }
  33479. };
  33480. A.CodeUnits.prototype = {
  33481. get$length(_) {
  33482. return this._string.length;
  33483. },
  33484. $index(_, i) {
  33485. return this._string.charCodeAt(i);
  33486. }
  33487. };
  33488. A.nullFuture_closure.prototype = {
  33489. call$0() {
  33490. return A.Future_Future$value(null, type$.Null);
  33491. },
  33492. $signature: 2
  33493. };
  33494. A.SentinelValue.prototype = {};
  33495. A.EfficientLengthIterable.prototype = {};
  33496. A.ListIterable.prototype = {
  33497. get$iterator(_) {
  33498. var _this = this;
  33499. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  33500. },
  33501. get$isEmpty(_) {
  33502. return this.get$length(this) === 0;
  33503. },
  33504. get$first(_) {
  33505. if (this.get$length(this) === 0)
  33506. throw A.wrapException(A.IterableElementError_noElement());
  33507. return this.elementAt$1(0, 0);
  33508. },
  33509. get$last(_) {
  33510. var _this = this;
  33511. if (_this.get$length(_this) === 0)
  33512. throw A.wrapException(A.IterableElementError_noElement());
  33513. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  33514. },
  33515. get$single(_) {
  33516. var _this = this;
  33517. if (_this.get$length(_this) === 0)
  33518. throw A.wrapException(A.IterableElementError_noElement());
  33519. if (_this.get$length(_this) > 1)
  33520. throw A.wrapException(A.IterableElementError_tooMany());
  33521. return _this.elementAt$1(0, 0);
  33522. },
  33523. contains$1(_, element) {
  33524. var i, _this = this,
  33525. $length = _this.get$length(_this);
  33526. for (i = 0; i < $length; ++i) {
  33527. if (J.$eq$(_this.elementAt$1(0, i), element))
  33528. return true;
  33529. if ($length !== _this.get$length(_this))
  33530. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33531. }
  33532. return false;
  33533. },
  33534. every$1(_, test) {
  33535. var i, _this = this,
  33536. $length = _this.get$length(_this);
  33537. for (i = 0; i < $length; ++i) {
  33538. if (!test.call$1(_this.elementAt$1(0, i)))
  33539. return false;
  33540. if ($length !== _this.get$length(_this))
  33541. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33542. }
  33543. return true;
  33544. },
  33545. any$1(_, test) {
  33546. var i, _this = this,
  33547. $length = _this.get$length(_this);
  33548. for (i = 0; i < $length; ++i) {
  33549. if (test.call$1(_this.elementAt$1(0, i)))
  33550. return true;
  33551. if ($length !== _this.get$length(_this))
  33552. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33553. }
  33554. return false;
  33555. },
  33556. join$1(_, separator) {
  33557. var first, t1, i, _this = this,
  33558. $length = _this.get$length(_this);
  33559. if (separator.length !== 0) {
  33560. if ($length === 0)
  33561. return "";
  33562. first = A.S(_this.elementAt$1(0, 0));
  33563. if ($length !== _this.get$length(_this))
  33564. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33565. for (t1 = first, i = 1; i < $length; ++i) {
  33566. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  33567. if ($length !== _this.get$length(_this))
  33568. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33569. }
  33570. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33571. } else {
  33572. for (i = 0, t1 = ""; i < $length; ++i) {
  33573. t1 += A.S(_this.elementAt$1(0, i));
  33574. if ($length !== _this.get$length(_this))
  33575. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33576. }
  33577. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33578. }
  33579. },
  33580. join$0(_) {
  33581. return this.join$1(0, "");
  33582. },
  33583. where$1(_, test) {
  33584. return this.super$Iterable$where(0, test);
  33585. },
  33586. map$1$1(_, toElement, $T) {
  33587. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  33588. },
  33589. reduce$1(_, combine) {
  33590. var value, i, _this = this,
  33591. $length = _this.get$length(_this);
  33592. if ($length === 0)
  33593. throw A.wrapException(A.IterableElementError_noElement());
  33594. value = _this.elementAt$1(0, 0);
  33595. for (i = 1; i < $length; ++i) {
  33596. value = combine.call$2(value, _this.elementAt$1(0, i));
  33597. if ($length !== _this.get$length(_this))
  33598. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33599. }
  33600. return value;
  33601. },
  33602. fold$1$2(_, initialValue, combine) {
  33603. var value, i, _this = this,
  33604. $length = _this.get$length(_this);
  33605. for (value = initialValue, i = 0; i < $length; ++i) {
  33606. value = combine.call$2(value, _this.elementAt$1(0, i));
  33607. if ($length !== _this.get$length(_this))
  33608. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33609. }
  33610. return value;
  33611. },
  33612. fold$2(_, initialValue, combine) {
  33613. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  33614. },
  33615. skip$1(_, count) {
  33616. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  33617. },
  33618. take$1(_, count) {
  33619. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  33620. },
  33621. toList$1$growable(_, growable) {
  33622. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  33623. },
  33624. toList$0(_) {
  33625. return this.toList$1$growable(0, true);
  33626. },
  33627. toSet$0(_) {
  33628. var i, _this = this,
  33629. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  33630. for (i = 0; i < _this.get$length(_this); ++i)
  33631. result.add$1(0, _this.elementAt$1(0, i));
  33632. return result;
  33633. }
  33634. };
  33635. A.SubListIterable.prototype = {
  33636. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  33637. var endOrLength,
  33638. t1 = this._start;
  33639. A.RangeError_checkNotNegative(t1, "start");
  33640. endOrLength = this._endOrLength;
  33641. if (endOrLength != null) {
  33642. A.RangeError_checkNotNegative(endOrLength, "end");
  33643. if (t1 > endOrLength)
  33644. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  33645. }
  33646. },
  33647. get$_endIndex() {
  33648. var $length = J.get$length$asx(this.__internal$_iterable),
  33649. endOrLength = this._endOrLength;
  33650. if (endOrLength == null || endOrLength > $length)
  33651. return $length;
  33652. return endOrLength;
  33653. },
  33654. get$_startIndex() {
  33655. var $length = J.get$length$asx(this.__internal$_iterable),
  33656. t1 = this._start;
  33657. if (t1 > $length)
  33658. return $length;
  33659. return t1;
  33660. },
  33661. get$length(_) {
  33662. var endOrLength,
  33663. $length = J.get$length$asx(this.__internal$_iterable),
  33664. t1 = this._start;
  33665. if (t1 >= $length)
  33666. return 0;
  33667. endOrLength = this._endOrLength;
  33668. if (endOrLength == null || endOrLength >= $length)
  33669. return $length - t1;
  33670. return endOrLength - t1;
  33671. },
  33672. elementAt$1(_, index) {
  33673. var _this = this,
  33674. realIndex = _this.get$_startIndex() + index;
  33675. if (index < 0 || realIndex >= _this.get$_endIndex())
  33676. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  33677. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  33678. },
  33679. skip$1(_, count) {
  33680. var newStart, endOrLength, _this = this;
  33681. A.RangeError_checkNotNegative(count, "count");
  33682. newStart = _this._start + count;
  33683. endOrLength = _this._endOrLength;
  33684. if (endOrLength != null && newStart >= endOrLength)
  33685. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  33686. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  33687. },
  33688. take$1(_, count) {
  33689. var endOrLength, t1, newEnd, _this = this;
  33690. A.RangeError_checkNotNegative(count, "count");
  33691. endOrLength = _this._endOrLength;
  33692. t1 = _this._start;
  33693. newEnd = t1 + count;
  33694. if (endOrLength == null)
  33695. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33696. else {
  33697. if (endOrLength < newEnd)
  33698. return _this;
  33699. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33700. }
  33701. },
  33702. toList$1$growable(_, growable) {
  33703. var $length, result, i, _this = this,
  33704. start = _this._start,
  33705. t1 = _this.__internal$_iterable,
  33706. t2 = J.getInterceptor$asx(t1),
  33707. end = t2.get$length(t1),
  33708. endOrLength = _this._endOrLength;
  33709. if (endOrLength != null && endOrLength < end)
  33710. end = endOrLength;
  33711. $length = end - start;
  33712. if ($length <= 0) {
  33713. t1 = _this.$ti._precomputed1;
  33714. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  33715. }
  33716. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  33717. for (i = 1; i < $length; ++i) {
  33718. result[i] = t2.elementAt$1(t1, start + i);
  33719. if (t2.get$length(t1) < end)
  33720. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33721. }
  33722. return result;
  33723. },
  33724. toList$0(_) {
  33725. return this.toList$1$growable(0, true);
  33726. }
  33727. };
  33728. A.ListIterator.prototype = {
  33729. get$current(_) {
  33730. var t1 = this.__internal$_current;
  33731. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  33732. },
  33733. moveNext$0() {
  33734. var t3, _this = this,
  33735. t1 = _this.__internal$_iterable,
  33736. t2 = J.getInterceptor$asx(t1),
  33737. $length = t2.get$length(t1);
  33738. if (_this.__internal$_length !== $length)
  33739. throw A.wrapException(A.ConcurrentModificationError$(t1));
  33740. t3 = _this.__internal$_index;
  33741. if (t3 >= $length) {
  33742. _this.__internal$_current = null;
  33743. return false;
  33744. }
  33745. _this.__internal$_current = t2.elementAt$1(t1, t3);
  33746. ++_this.__internal$_index;
  33747. return true;
  33748. }
  33749. };
  33750. A.MappedIterable.prototype = {
  33751. get$iterator(_) {
  33752. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  33753. },
  33754. get$length(_) {
  33755. return J.get$length$asx(this.__internal$_iterable);
  33756. },
  33757. get$isEmpty(_) {
  33758. return J.get$isEmpty$asx(this.__internal$_iterable);
  33759. },
  33760. get$first(_) {
  33761. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  33762. },
  33763. get$last(_) {
  33764. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  33765. },
  33766. get$single(_) {
  33767. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  33768. },
  33769. elementAt$1(_, index) {
  33770. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  33771. }
  33772. };
  33773. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  33774. A.MappedIterator.prototype = {
  33775. moveNext$0() {
  33776. var _this = this,
  33777. t1 = _this._iterator;
  33778. if (t1.moveNext$0()) {
  33779. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  33780. return true;
  33781. }
  33782. _this.__internal$_current = null;
  33783. return false;
  33784. },
  33785. get$current(_) {
  33786. var t1 = this.__internal$_current;
  33787. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33788. }
  33789. };
  33790. A.MappedListIterable.prototype = {
  33791. get$length(_) {
  33792. return J.get$length$asx(this._source);
  33793. },
  33794. elementAt$1(_, index) {
  33795. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  33796. }
  33797. };
  33798. A.WhereIterable.prototype = {
  33799. get$iterator(_) {
  33800. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  33801. },
  33802. map$1$1(_, toElement, $T) {
  33803. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  33804. }
  33805. };
  33806. A.WhereIterator.prototype = {
  33807. moveNext$0() {
  33808. var t1, t2;
  33809. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  33810. if (t2.call$1(t1.get$current(t1)))
  33811. return true;
  33812. return false;
  33813. },
  33814. get$current(_) {
  33815. var t1 = this._iterator;
  33816. return t1.get$current(t1);
  33817. }
  33818. };
  33819. A.ExpandIterable.prototype = {
  33820. get$iterator(_) {
  33821. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  33822. }
  33823. };
  33824. A.ExpandIterator.prototype = {
  33825. get$current(_) {
  33826. var t1 = this.__internal$_current;
  33827. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33828. },
  33829. moveNext$0() {
  33830. var t2, t3, _this = this,
  33831. t1 = _this._currentExpansion;
  33832. if (t1 == null)
  33833. return false;
  33834. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  33835. _this.__internal$_current = null;
  33836. if (t2.moveNext$0()) {
  33837. _this._currentExpansion = null;
  33838. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  33839. _this._currentExpansion = t1;
  33840. } else
  33841. return false;
  33842. }
  33843. t1 = _this._currentExpansion;
  33844. _this.__internal$_current = t1.get$current(t1);
  33845. return true;
  33846. }
  33847. };
  33848. A.TakeIterable.prototype = {
  33849. get$iterator(_) {
  33850. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  33851. }
  33852. };
  33853. A.EfficientLengthTakeIterable.prototype = {
  33854. get$length(_) {
  33855. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  33856. t1 = this._takeCount;
  33857. if (iterableLength > t1)
  33858. return t1;
  33859. return iterableLength;
  33860. },
  33861. $isEfficientLengthIterable: 1
  33862. };
  33863. A.TakeIterator.prototype = {
  33864. moveNext$0() {
  33865. if (--this._remaining >= 0)
  33866. return this._iterator.moveNext$0();
  33867. this._remaining = -1;
  33868. return false;
  33869. },
  33870. get$current(_) {
  33871. var t1;
  33872. if (this._remaining < 0) {
  33873. this.$ti._precomputed1._as(null);
  33874. return null;
  33875. }
  33876. t1 = this._iterator;
  33877. return t1.get$current(t1);
  33878. }
  33879. };
  33880. A.SkipIterable.prototype = {
  33881. skip$1(_, count) {
  33882. A.ArgumentError_checkNotNull(count, "count");
  33883. A.RangeError_checkNotNegative(count, "count");
  33884. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  33885. },
  33886. get$iterator(_) {
  33887. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  33888. }
  33889. };
  33890. A.EfficientLengthSkipIterable.prototype = {
  33891. get$length(_) {
  33892. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  33893. if ($length >= 0)
  33894. return $length;
  33895. return 0;
  33896. },
  33897. skip$1(_, count) {
  33898. A.ArgumentError_checkNotNull(count, "count");
  33899. A.RangeError_checkNotNegative(count, "count");
  33900. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  33901. },
  33902. $isEfficientLengthIterable: 1
  33903. };
  33904. A.SkipIterator.prototype = {
  33905. moveNext$0() {
  33906. var t1, i;
  33907. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  33908. t1.moveNext$0();
  33909. this._skipCount = 0;
  33910. return t1.moveNext$0();
  33911. },
  33912. get$current(_) {
  33913. var t1 = this._iterator;
  33914. return t1.get$current(t1);
  33915. }
  33916. };
  33917. A.SkipWhileIterable.prototype = {
  33918. get$iterator(_) {
  33919. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  33920. }
  33921. };
  33922. A.SkipWhileIterator.prototype = {
  33923. moveNext$0() {
  33924. var t1, t2, _this = this;
  33925. if (!_this._hasSkipped) {
  33926. _this._hasSkipped = true;
  33927. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  33928. if (!t2.call$1(t1.get$current(t1)))
  33929. return true;
  33930. }
  33931. return _this._iterator.moveNext$0();
  33932. },
  33933. get$current(_) {
  33934. var t1 = this._iterator;
  33935. return t1.get$current(t1);
  33936. }
  33937. };
  33938. A.EmptyIterable.prototype = {
  33939. get$iterator(_) {
  33940. return B.C_EmptyIterator;
  33941. },
  33942. get$isEmpty(_) {
  33943. return true;
  33944. },
  33945. get$length(_) {
  33946. return 0;
  33947. },
  33948. get$first(_) {
  33949. throw A.wrapException(A.IterableElementError_noElement());
  33950. },
  33951. get$last(_) {
  33952. throw A.wrapException(A.IterableElementError_noElement());
  33953. },
  33954. get$single(_) {
  33955. throw A.wrapException(A.IterableElementError_noElement());
  33956. },
  33957. elementAt$1(_, index) {
  33958. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  33959. },
  33960. contains$1(_, element) {
  33961. return false;
  33962. },
  33963. every$1(_, test) {
  33964. return true;
  33965. },
  33966. any$1(_, test) {
  33967. return false;
  33968. },
  33969. join$1(_, separator) {
  33970. return "";
  33971. },
  33972. where$1(_, test) {
  33973. return this;
  33974. },
  33975. map$1$1(_, toElement, $T) {
  33976. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  33977. },
  33978. skip$1(_, count) {
  33979. A.RangeError_checkNotNegative(count, "count");
  33980. return this;
  33981. },
  33982. take$1(_, count) {
  33983. A.RangeError_checkNotNegative(count, "count");
  33984. return this;
  33985. },
  33986. toList$1$growable(_, growable) {
  33987. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  33988. return t1;
  33989. },
  33990. toList$0(_) {
  33991. return this.toList$1$growable(0, true);
  33992. },
  33993. toSet$0(_) {
  33994. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  33995. }
  33996. };
  33997. A.EmptyIterator.prototype = {
  33998. moveNext$0() {
  33999. return false;
  34000. },
  34001. get$current(_) {
  34002. throw A.wrapException(A.IterableElementError_noElement());
  34003. }
  34004. };
  34005. A.FollowedByIterable.prototype = {
  34006. get$iterator(_) {
  34007. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  34008. },
  34009. get$length(_) {
  34010. var t1 = this._second;
  34011. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  34012. },
  34013. get$isEmpty(_) {
  34014. var t1;
  34015. if (J.get$isEmpty$asx(this.__internal$_first)) {
  34016. t1 = this._second;
  34017. t1 = t1.get$isEmpty(t1);
  34018. } else
  34019. t1 = false;
  34020. return t1;
  34021. },
  34022. get$isNotEmpty(_) {
  34023. var t1;
  34024. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  34025. t1 = this._second;
  34026. t1 = t1.get$isNotEmpty(t1);
  34027. } else
  34028. t1 = true;
  34029. return t1;
  34030. },
  34031. contains$1(_, value) {
  34032. var t1;
  34033. if (!J.contains$1$asx(this.__internal$_first, value)) {
  34034. t1 = this._second;
  34035. t1 = t1.contains$1(t1, value);
  34036. } else
  34037. t1 = true;
  34038. return t1;
  34039. },
  34040. get$first(_) {
  34041. var t1,
  34042. iterator = J.get$iterator$ax(this.__internal$_first);
  34043. if (iterator.moveNext$0())
  34044. return iterator.get$current(iterator);
  34045. t1 = this._second;
  34046. return t1.get$first(t1);
  34047. },
  34048. get$last(_) {
  34049. var last,
  34050. t1 = this._second,
  34051. iterator = t1.get$iterator(t1);
  34052. if (iterator.moveNext$0()) {
  34053. last = iterator.get$current(iterator);
  34054. for (; iterator.moveNext$0();)
  34055. last = iterator.get$current(iterator);
  34056. return last;
  34057. }
  34058. return J.get$last$ax(this.__internal$_first);
  34059. }
  34060. };
  34061. A.EfficientLengthFollowedByIterable.prototype = {
  34062. elementAt$1(_, index) {
  34063. var t1 = this.__internal$_first,
  34064. t2 = J.getInterceptor$asx(t1),
  34065. firstLength = t2.get$length(t1);
  34066. if (index < firstLength)
  34067. return t2.elementAt$1(t1, index);
  34068. t1 = this._second;
  34069. return t1.elementAt$1(t1, index - firstLength);
  34070. },
  34071. get$first(_) {
  34072. var t1 = this.__internal$_first,
  34073. t2 = J.getInterceptor$asx(t1);
  34074. if (t2.get$isNotEmpty(t1))
  34075. return t2.get$first(t1);
  34076. t1 = this._second;
  34077. return t1.get$first(t1);
  34078. },
  34079. get$last(_) {
  34080. var t1 = this._second;
  34081. if (t1.get$isNotEmpty(t1))
  34082. return t1.get$last(t1);
  34083. return J.get$last$ax(this.__internal$_first);
  34084. },
  34085. $isEfficientLengthIterable: 1
  34086. };
  34087. A.FollowedByIterator.prototype = {
  34088. moveNext$0() {
  34089. var t1, _this = this;
  34090. if (_this._currentIterator.moveNext$0())
  34091. return true;
  34092. t1 = _this._nextIterable;
  34093. if (t1 != null) {
  34094. t1 = t1.get$iterator(t1);
  34095. _this._currentIterator = t1;
  34096. _this._nextIterable = null;
  34097. return t1.moveNext$0();
  34098. }
  34099. return false;
  34100. },
  34101. get$current(_) {
  34102. var t1 = this._currentIterator;
  34103. return t1.get$current(t1);
  34104. }
  34105. };
  34106. A.WhereTypeIterable.prototype = {
  34107. get$iterator(_) {
  34108. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  34109. }
  34110. };
  34111. A.WhereTypeIterator.prototype = {
  34112. moveNext$0() {
  34113. var t1, t2;
  34114. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  34115. if (t2._is(t1.get$current(t1)))
  34116. return true;
  34117. return false;
  34118. },
  34119. get$current(_) {
  34120. var t1 = this._source;
  34121. return this.$ti._precomputed1._as(t1.get$current(t1));
  34122. }
  34123. };
  34124. A.NonNullsIterable.prototype = {
  34125. get$_firstNonNull() {
  34126. var t1, element;
  34127. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  34128. element = t1.get$current(t1);
  34129. if (element != null)
  34130. return element;
  34131. }
  34132. return null;
  34133. },
  34134. get$isEmpty(_) {
  34135. return this.get$_firstNonNull() == null;
  34136. },
  34137. get$isNotEmpty(_) {
  34138. return this.get$_firstNonNull() != null;
  34139. },
  34140. get$first(_) {
  34141. var t1 = this.get$_firstNonNull();
  34142. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  34143. },
  34144. get$iterator(_) {
  34145. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  34146. }
  34147. };
  34148. A.NonNullsIterator.prototype = {
  34149. moveNext$0() {
  34150. var t1, next;
  34151. this.__internal$_current = null;
  34152. for (t1 = this._source; t1.moveNext$0();) {
  34153. next = t1.get$current(t1);
  34154. if (next != null) {
  34155. this.__internal$_current = next;
  34156. return true;
  34157. }
  34158. }
  34159. return false;
  34160. },
  34161. get$current(_) {
  34162. var t1 = this.__internal$_current;
  34163. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  34164. }
  34165. };
  34166. A.FixedLengthListMixin.prototype = {
  34167. set$length(receiver, newLength) {
  34168. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  34169. },
  34170. add$1(receiver, value) {
  34171. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34172. },
  34173. addAll$1(receiver, iterable) {
  34174. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34175. },
  34176. removeRange$2(receiver, start, end) {
  34177. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  34178. }
  34179. };
  34180. A.UnmodifiableListMixin.prototype = {
  34181. $indexSet(_, index, value) {
  34182. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34183. },
  34184. set$length(_, newLength) {
  34185. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  34186. },
  34187. add$1(_, value) {
  34188. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34189. },
  34190. addAll$1(_, iterable) {
  34191. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34192. },
  34193. sort$1(_, compare) {
  34194. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34195. },
  34196. setRange$4(_, start, end, iterable, skipCount) {
  34197. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34198. },
  34199. removeRange$2(_, start, end) {
  34200. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  34201. },
  34202. fillRange$3(_, start, end, fillValue) {
  34203. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34204. }
  34205. };
  34206. A.UnmodifiableListBase.prototype = {};
  34207. A.ReversedListIterable.prototype = {
  34208. get$length(_) {
  34209. return J.get$length$asx(this._source);
  34210. },
  34211. elementAt$1(_, index) {
  34212. var t1 = this._source,
  34213. t2 = J.getInterceptor$asx(t1);
  34214. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  34215. }
  34216. };
  34217. A.Symbol.prototype = {
  34218. get$hashCode(_) {
  34219. var hash = this._hashCode;
  34220. if (hash != null)
  34221. return hash;
  34222. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  34223. this._hashCode = hash;
  34224. return hash;
  34225. },
  34226. toString$0(_) {
  34227. return 'Symbol("' + this.__internal$_name + '")';
  34228. },
  34229. $eq(_, other) {
  34230. if (other == null)
  34231. return false;
  34232. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  34233. },
  34234. $isSymbol0: 1
  34235. };
  34236. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  34237. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  34238. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  34239. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  34240. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  34241. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  34242. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  34243. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  34244. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  34245. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  34246. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  34247. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 12};
  34248. A.ConstantMapView.prototype = {};
  34249. A.ConstantMap.prototype = {
  34250. cast$2$0(_, RK, RV) {
  34251. var t1 = A._instanceType(this);
  34252. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  34253. },
  34254. get$isEmpty(_) {
  34255. return this.get$length(this) === 0;
  34256. },
  34257. get$isNotEmpty(_) {
  34258. return this.get$length(this) !== 0;
  34259. },
  34260. toString$0(_) {
  34261. return A.MapBase_mapToString(this);
  34262. },
  34263. $indexSet(_, key, value) {
  34264. A.ConstantMap__throwUnmodifiable();
  34265. },
  34266. remove$1(_, key) {
  34267. A.ConstantMap__throwUnmodifiable();
  34268. },
  34269. addAll$1(_, other) {
  34270. A.ConstantMap__throwUnmodifiable();
  34271. },
  34272. get$entries(_) {
  34273. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  34274. },
  34275. entries$body$ConstantMap($async$_) {
  34276. var $async$self = this;
  34277. return function() {
  34278. var _ = $async$_;
  34279. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  34280. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  34281. if ($async$errorCode === 1) {
  34282. $async$currentError = $async$result;
  34283. $async$goto = $async$handler;
  34284. }
  34285. while (true)
  34286. switch ($async$goto) {
  34287. case 0:
  34288. // Function start
  34289. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  34290. case 2:
  34291. // for condition
  34292. if (!t1.moveNext$0()) {
  34293. // goto after for
  34294. $async$goto = 3;
  34295. break;
  34296. }
  34297. key = t1.get$current(t1);
  34298. $async$goto = 4;
  34299. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  34300. case 4:
  34301. // after yield
  34302. // goto for condition
  34303. $async$goto = 2;
  34304. break;
  34305. case 3:
  34306. // after for
  34307. // implicit return
  34308. return 0;
  34309. case 1:
  34310. // rethrow
  34311. return $async$iterator._datum = $async$currentError, 3;
  34312. }
  34313. };
  34314. };
  34315. },
  34316. $isMap: 1
  34317. };
  34318. A.ConstantStringMap.prototype = {
  34319. get$length(_) {
  34320. return this._values.length;
  34321. },
  34322. get$_keys() {
  34323. var keys = this.$keys;
  34324. if (keys == null) {
  34325. keys = Object.keys(this._jsIndex);
  34326. this.$keys = keys;
  34327. }
  34328. return keys;
  34329. },
  34330. containsKey$1(key) {
  34331. if (typeof key != "string")
  34332. return false;
  34333. if ("__proto__" === key)
  34334. return false;
  34335. return this._jsIndex.hasOwnProperty(key);
  34336. },
  34337. $index(_, key) {
  34338. if (!this.containsKey$1(key))
  34339. return null;
  34340. return this._values[this._jsIndex[key]];
  34341. },
  34342. forEach$1(_, f) {
  34343. var t1, i,
  34344. keys = this.get$_keys(),
  34345. values = this._values;
  34346. for (t1 = keys.length, i = 0; i < t1; ++i)
  34347. f.call$2(keys[i], values[i]);
  34348. },
  34349. get$keys(_) {
  34350. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  34351. },
  34352. get$values(_) {
  34353. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  34354. }
  34355. };
  34356. A._KeysOrValues.prototype = {
  34357. get$length(_) {
  34358. return this._elements.length;
  34359. },
  34360. get$isEmpty(_) {
  34361. return 0 === this._elements.length;
  34362. },
  34363. get$isNotEmpty(_) {
  34364. return 0 !== this._elements.length;
  34365. },
  34366. get$iterator(_) {
  34367. var t1 = this._elements;
  34368. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34369. }
  34370. };
  34371. A._KeysOrValuesOrElementsIterator.prototype = {
  34372. get$current(_) {
  34373. var t1 = this.__js_helper$_current;
  34374. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  34375. },
  34376. moveNext$0() {
  34377. var _this = this,
  34378. t1 = _this.__js_helper$_index;
  34379. if (t1 >= _this.__js_helper$_length) {
  34380. _this.__js_helper$_current = null;
  34381. return false;
  34382. }
  34383. _this.__js_helper$_current = _this._elements[t1];
  34384. _this.__js_helper$_index = t1 + 1;
  34385. return true;
  34386. }
  34387. };
  34388. A.ConstantSet.prototype = {
  34389. add$1(_, value) {
  34390. A.ConstantSet__throwUnmodifiable();
  34391. },
  34392. addAll$1(_, elements) {
  34393. A.ConstantSet__throwUnmodifiable();
  34394. },
  34395. remove$1(_, value) {
  34396. A.ConstantSet__throwUnmodifiable();
  34397. }
  34398. };
  34399. A.ConstantStringSet.prototype = {
  34400. get$length(_) {
  34401. return this.__js_helper$_length;
  34402. },
  34403. get$isEmpty(_) {
  34404. return this.__js_helper$_length === 0;
  34405. },
  34406. get$isNotEmpty(_) {
  34407. return this.__js_helper$_length !== 0;
  34408. },
  34409. get$iterator(_) {
  34410. var t1, _this = this,
  34411. keys = _this.$keys;
  34412. if (keys == null) {
  34413. keys = Object.keys(_this._jsIndex);
  34414. _this.$keys = keys;
  34415. }
  34416. t1 = keys;
  34417. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34418. },
  34419. contains$1(_, key) {
  34420. if (typeof key != "string")
  34421. return false;
  34422. if ("__proto__" === key)
  34423. return false;
  34424. return this._jsIndex.hasOwnProperty(key);
  34425. },
  34426. toSet$0(_) {
  34427. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34428. }
  34429. };
  34430. A.GeneralConstantSet.prototype = {
  34431. get$length(_) {
  34432. return this._elements.length;
  34433. },
  34434. get$isEmpty(_) {
  34435. return this._elements.length === 0;
  34436. },
  34437. get$isNotEmpty(_) {
  34438. return this._elements.length !== 0;
  34439. },
  34440. get$iterator(_) {
  34441. var t1 = this._elements;
  34442. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34443. },
  34444. _getMap$0() {
  34445. var t1, t2, _i, key, _this = this,
  34446. backingMap = _this.$map;
  34447. if (backingMap == null) {
  34448. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  34449. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  34450. key = t1[_i];
  34451. backingMap.$indexSet(0, key, key);
  34452. }
  34453. _this.$map = backingMap;
  34454. }
  34455. return backingMap;
  34456. },
  34457. contains$1(_, key) {
  34458. return this._getMap$0().containsKey$1(key);
  34459. },
  34460. toSet$0(_) {
  34461. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34462. }
  34463. };
  34464. A.Instantiation.prototype = {
  34465. Instantiation$1(_genericClosure) {
  34466. if (false)
  34467. A.instantiatedGenericFunctionType(0, 0);
  34468. },
  34469. $eq(_, other) {
  34470. if (other == null)
  34471. return false;
  34472. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  34473. },
  34474. get$hashCode(_) {
  34475. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  34476. },
  34477. toString$0(_) {
  34478. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  34479. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  34480. }
  34481. };
  34482. A.Instantiation1.prototype = {
  34483. get$_types() {
  34484. return [A.createRuntimeType(this.$ti._precomputed1)];
  34485. },
  34486. call$0() {
  34487. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  34488. },
  34489. call$2(a0, a1) {
  34490. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  34491. },
  34492. call$3(a0, a1, a2) {
  34493. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  34494. },
  34495. call$4(a0, a1, a2, a3) {
  34496. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  34497. },
  34498. $signature() {
  34499. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  34500. }
  34501. };
  34502. A.JSInvocationMirror.prototype = {
  34503. get$memberName() {
  34504. var t1 = this.__js_helper$_memberName;
  34505. if (t1 instanceof A.Symbol)
  34506. return t1;
  34507. return this.__js_helper$_memberName = new A.Symbol(t1);
  34508. },
  34509. get$positionalArguments() {
  34510. var t1, t2, argumentCount, list, index, _this = this;
  34511. if (_this.__js_helper$_kind === 1)
  34512. return B.List_empty6;
  34513. t1 = _this._arguments;
  34514. t2 = J.getInterceptor$asx(t1);
  34515. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  34516. if (argumentCount === 0)
  34517. return B.List_empty6;
  34518. list = [];
  34519. for (index = 0; index < argumentCount; ++index)
  34520. list.push(t2.$index(t1, index));
  34521. return J.JSArray_markUnmodifiableList(list);
  34522. },
  34523. get$namedArguments() {
  34524. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  34525. if (_this.__js_helper$_kind !== 0)
  34526. return B.Map_empty3;
  34527. t1 = _this._namedArgumentNames;
  34528. t2 = J.getInterceptor$asx(t1);
  34529. namedArgumentCount = t2.get$length(t1);
  34530. t3 = _this._arguments;
  34531. t4 = J.getInterceptor$asx(t3);
  34532. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  34533. if (namedArgumentCount === 0)
  34534. return B.Map_empty3;
  34535. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  34536. for (i = 0; i < namedArgumentCount; ++i)
  34537. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  34538. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  34539. }
  34540. };
  34541. A.Primitives_functionNoSuchMethod_closure.prototype = {
  34542. call$2($name, argument) {
  34543. var t1 = this._box_0;
  34544. t1.names = t1.names + "$" + $name;
  34545. this.namedArgumentList.push($name);
  34546. this.$arguments.push(argument);
  34547. ++t1.argumentCount;
  34548. },
  34549. $signature: 134
  34550. };
  34551. A.TypeErrorDecoder.prototype = {
  34552. matchTypeError$1(message) {
  34553. var result, t1, _this = this,
  34554. match = new RegExp(_this._pattern).exec(message);
  34555. if (match == null)
  34556. return null;
  34557. result = Object.create(null);
  34558. t1 = _this._arguments;
  34559. if (t1 !== -1)
  34560. result.arguments = match[t1 + 1];
  34561. t1 = _this._argumentsExpr;
  34562. if (t1 !== -1)
  34563. result.argumentsExpr = match[t1 + 1];
  34564. t1 = _this._expr;
  34565. if (t1 !== -1)
  34566. result.expr = match[t1 + 1];
  34567. t1 = _this._method;
  34568. if (t1 !== -1)
  34569. result.method = match[t1 + 1];
  34570. t1 = _this._receiver;
  34571. if (t1 !== -1)
  34572. result.receiver = match[t1 + 1];
  34573. return result;
  34574. }
  34575. };
  34576. A.NullError.prototype = {
  34577. toString$0(_) {
  34578. return "Null check operator used on a null value";
  34579. }
  34580. };
  34581. A.JsNoSuchMethodError.prototype = {
  34582. toString$0(_) {
  34583. var t2, _this = this,
  34584. _s38_ = "NoSuchMethodError: method not found: '",
  34585. t1 = _this._method;
  34586. if (t1 == null)
  34587. return "NoSuchMethodError: " + _this.__js_helper$_message;
  34588. t2 = _this._receiver;
  34589. if (t2 == null)
  34590. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  34591. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  34592. }
  34593. };
  34594. A.UnknownJsTypeError.prototype = {
  34595. toString$0(_) {
  34596. var t1 = this.__js_helper$_message;
  34597. return t1.length === 0 ? "Error" : "Error: " + t1;
  34598. }
  34599. };
  34600. A.NullThrownFromJavaScriptException.prototype = {
  34601. toString$0(_) {
  34602. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  34603. },
  34604. $isException: 1
  34605. };
  34606. A.ExceptionAndStackTrace.prototype = {};
  34607. A._StackTrace.prototype = {
  34608. toString$0(_) {
  34609. var trace,
  34610. t1 = this._trace;
  34611. if (t1 != null)
  34612. return t1;
  34613. t1 = this._exception;
  34614. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  34615. return this._trace = trace == null ? "" : trace;
  34616. },
  34617. $isStackTrace: 1
  34618. };
  34619. A.Closure.prototype = {
  34620. toString$0(_) {
  34621. var $constructor = this.constructor,
  34622. $name = $constructor == null ? null : $constructor.name;
  34623. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  34624. },
  34625. $isFunction: 1,
  34626. get$$call() {
  34627. return this;
  34628. },
  34629. "call*": "call$1",
  34630. $requiredArgCount: 1,
  34631. $defaultValues: null
  34632. };
  34633. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  34634. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  34635. A.TearOffClosure.prototype = {};
  34636. A.StaticClosure.prototype = {
  34637. toString$0(_) {
  34638. var $name = this.$static_name;
  34639. if ($name == null)
  34640. return "Closure of unknown static method";
  34641. return "Closure '" + A.unminifyOrTag($name) + "'";
  34642. }
  34643. };
  34644. A.BoundClosure.prototype = {
  34645. $eq(_, other) {
  34646. if (other == null)
  34647. return false;
  34648. if (this === other)
  34649. return true;
  34650. if (!(other instanceof A.BoundClosure))
  34651. return false;
  34652. return this.$_target === other.$_target && this._receiver === other._receiver;
  34653. },
  34654. get$hashCode(_) {
  34655. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  34656. },
  34657. toString$0(_) {
  34658. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  34659. }
  34660. };
  34661. A._CyclicInitializationError.prototype = {
  34662. toString$0(_) {
  34663. return "Reading static variable '" + this.variableName + "' during its initialization";
  34664. }
  34665. };
  34666. A.RuntimeError.prototype = {
  34667. toString$0(_) {
  34668. return "RuntimeError: " + this.message;
  34669. },
  34670. get$message(receiver) {
  34671. return this.message;
  34672. }
  34673. };
  34674. A._Required.prototype = {};
  34675. A.JsLinkedHashMap.prototype = {
  34676. get$length(_) {
  34677. return this.__js_helper$_length;
  34678. },
  34679. get$isEmpty(_) {
  34680. return this.__js_helper$_length === 0;
  34681. },
  34682. get$isNotEmpty(_) {
  34683. return this.__js_helper$_length !== 0;
  34684. },
  34685. get$keys(_) {
  34686. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  34687. },
  34688. get$values(_) {
  34689. var t1 = A._instanceType(this);
  34690. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  34691. },
  34692. containsKey$1(key) {
  34693. var strings, nums;
  34694. if (typeof key == "string") {
  34695. strings = this.__js_helper$_strings;
  34696. if (strings == null)
  34697. return false;
  34698. return strings[key] != null;
  34699. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34700. nums = this.__js_helper$_nums;
  34701. if (nums == null)
  34702. return false;
  34703. return nums[key] != null;
  34704. } else
  34705. return this.internalContainsKey$1(key);
  34706. },
  34707. internalContainsKey$1(key) {
  34708. var rest = this.__js_helper$_rest;
  34709. if (rest == null)
  34710. return false;
  34711. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  34712. },
  34713. addAll$1(_, other) {
  34714. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  34715. },
  34716. $index(_, key) {
  34717. var strings, cell, t1, nums, _null = null;
  34718. if (typeof key == "string") {
  34719. strings = this.__js_helper$_strings;
  34720. if (strings == null)
  34721. return _null;
  34722. cell = strings[key];
  34723. t1 = cell == null ? _null : cell.hashMapCellValue;
  34724. return t1;
  34725. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34726. nums = this.__js_helper$_nums;
  34727. if (nums == null)
  34728. return _null;
  34729. cell = nums[key];
  34730. t1 = cell == null ? _null : cell.hashMapCellValue;
  34731. return t1;
  34732. } else
  34733. return this.internalGet$1(key);
  34734. },
  34735. internalGet$1(key) {
  34736. var bucket, index,
  34737. rest = this.__js_helper$_rest;
  34738. if (rest == null)
  34739. return null;
  34740. bucket = rest[this.internalComputeHashCode$1(key)];
  34741. index = this.internalFindBucketIndex$2(bucket, key);
  34742. if (index < 0)
  34743. return null;
  34744. return bucket[index].hashMapCellValue;
  34745. },
  34746. $indexSet(_, key, value) {
  34747. var strings, nums, _this = this;
  34748. if (typeof key == "string") {
  34749. strings = _this.__js_helper$_strings;
  34750. _this.__js_helper$_addHashTableEntry$3(strings == null ? _this.__js_helper$_strings = _this._newHashTable$0() : strings, key, value);
  34751. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34752. nums = _this.__js_helper$_nums;
  34753. _this.__js_helper$_addHashTableEntry$3(nums == null ? _this.__js_helper$_nums = _this._newHashTable$0() : nums, key, value);
  34754. } else
  34755. _this.internalSet$2(key, value);
  34756. },
  34757. internalSet$2(key, value) {
  34758. var hash, bucket, index, _this = this,
  34759. rest = _this.__js_helper$_rest;
  34760. if (rest == null)
  34761. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  34762. hash = _this.internalComputeHashCode$1(key);
  34763. bucket = rest[hash];
  34764. if (bucket == null)
  34765. rest[hash] = [_this.__js_helper$_newLinkedCell$2(key, value)];
  34766. else {
  34767. index = _this.internalFindBucketIndex$2(bucket, key);
  34768. if (index >= 0)
  34769. bucket[index].hashMapCellValue = value;
  34770. else
  34771. bucket.push(_this.__js_helper$_newLinkedCell$2(key, value));
  34772. }
  34773. },
  34774. putIfAbsent$2(key, ifAbsent) {
  34775. var t1, value, _this = this;
  34776. if (_this.containsKey$1(key)) {
  34777. t1 = _this.$index(0, key);
  34778. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  34779. }
  34780. value = ifAbsent.call$0();
  34781. _this.$indexSet(0, key, value);
  34782. return value;
  34783. },
  34784. remove$1(_, key) {
  34785. var _this = this;
  34786. if (typeof key == "string")
  34787. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_strings, key);
  34788. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  34789. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_nums, key);
  34790. else
  34791. return _this.internalRemove$1(key);
  34792. },
  34793. internalRemove$1(key) {
  34794. var hash, bucket, index, cell, _this = this,
  34795. rest = _this.__js_helper$_rest;
  34796. if (rest == null)
  34797. return null;
  34798. hash = _this.internalComputeHashCode$1(key);
  34799. bucket = rest[hash];
  34800. index = _this.internalFindBucketIndex$2(bucket, key);
  34801. if (index < 0)
  34802. return null;
  34803. cell = bucket.splice(index, 1)[0];
  34804. _this.__js_helper$_unlinkCell$1(cell);
  34805. if (bucket.length === 0)
  34806. delete rest[hash];
  34807. return cell.hashMapCellValue;
  34808. },
  34809. clear$0(_) {
  34810. var _this = this;
  34811. if (_this.__js_helper$_length > 0) {
  34812. _this.__js_helper$_strings = _this.__js_helper$_nums = _this.__js_helper$_rest = _this.__js_helper$_first = _this.__js_helper$_last = null;
  34813. _this.__js_helper$_length = 0;
  34814. _this.__js_helper$_modified$0();
  34815. }
  34816. },
  34817. forEach$1(_, action) {
  34818. var _this = this,
  34819. cell = _this.__js_helper$_first,
  34820. modifications = _this.__js_helper$_modifications;
  34821. for (; cell != null;) {
  34822. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  34823. if (modifications !== _this.__js_helper$_modifications)
  34824. throw A.wrapException(A.ConcurrentModificationError$(_this));
  34825. cell = cell.__js_helper$_next;
  34826. }
  34827. },
  34828. __js_helper$_addHashTableEntry$3(table, key, value) {
  34829. var cell = table[key];
  34830. if (cell == null)
  34831. table[key] = this.__js_helper$_newLinkedCell$2(key, value);
  34832. else
  34833. cell.hashMapCellValue = value;
  34834. },
  34835. __js_helper$_removeHashTableEntry$2(table, key) {
  34836. var cell;
  34837. if (table == null)
  34838. return null;
  34839. cell = table[key];
  34840. if (cell == null)
  34841. return null;
  34842. this.__js_helper$_unlinkCell$1(cell);
  34843. delete table[key];
  34844. return cell.hashMapCellValue;
  34845. },
  34846. __js_helper$_modified$0() {
  34847. this.__js_helper$_modifications = this.__js_helper$_modifications + 1 & 1073741823;
  34848. },
  34849. __js_helper$_newLinkedCell$2(key, value) {
  34850. var t1, _this = this,
  34851. cell = new A.LinkedHashMapCell(key, value);
  34852. if (_this.__js_helper$_first == null)
  34853. _this.__js_helper$_first = _this.__js_helper$_last = cell;
  34854. else {
  34855. t1 = _this.__js_helper$_last;
  34856. t1.toString;
  34857. cell.__js_helper$_previous = t1;
  34858. _this.__js_helper$_last = t1.__js_helper$_next = cell;
  34859. }
  34860. ++_this.__js_helper$_length;
  34861. _this.__js_helper$_modified$0();
  34862. return cell;
  34863. },
  34864. __js_helper$_unlinkCell$1(cell) {
  34865. var _this = this,
  34866. previous = cell.__js_helper$_previous,
  34867. next = cell.__js_helper$_next;
  34868. if (previous == null)
  34869. _this.__js_helper$_first = next;
  34870. else
  34871. previous.__js_helper$_next = next;
  34872. if (next == null)
  34873. _this.__js_helper$_last = previous;
  34874. else
  34875. next.__js_helper$_previous = previous;
  34876. --_this.__js_helper$_length;
  34877. _this.__js_helper$_modified$0();
  34878. },
  34879. internalComputeHashCode$1(key) {
  34880. return J.get$hashCode$(key) & 1073741823;
  34881. },
  34882. internalFindBucketIndex$2(bucket, key) {
  34883. var $length, i;
  34884. if (bucket == null)
  34885. return -1;
  34886. $length = bucket.length;
  34887. for (i = 0; i < $length; ++i)
  34888. if (J.$eq$(bucket[i].hashMapCellKey, key))
  34889. return i;
  34890. return -1;
  34891. },
  34892. toString$0(_) {
  34893. return A.MapBase_mapToString(this);
  34894. },
  34895. _newHashTable$0() {
  34896. var table = Object.create(null);
  34897. table["<non-identifier-key>"] = table;
  34898. delete table["<non-identifier-key>"];
  34899. return table;
  34900. }
  34901. };
  34902. A.JsLinkedHashMap_values_closure.prototype = {
  34903. call$1(each) {
  34904. var t1 = this.$this,
  34905. t2 = t1.$index(0, each);
  34906. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  34907. },
  34908. $signature() {
  34909. return A._instanceType(this.$this)._eval$1("2(1)");
  34910. }
  34911. };
  34912. A.JsLinkedHashMap_addAll_closure.prototype = {
  34913. call$2(key, value) {
  34914. this.$this.$indexSet(0, key, value);
  34915. },
  34916. $signature() {
  34917. return A._instanceType(this.$this)._eval$1("~(1,2)");
  34918. }
  34919. };
  34920. A.LinkedHashMapCell.prototype = {};
  34921. A.LinkedHashMapKeyIterable.prototype = {
  34922. get$length(_) {
  34923. return this.__js_helper$_map.__js_helper$_length;
  34924. },
  34925. get$isEmpty(_) {
  34926. return this.__js_helper$_map.__js_helper$_length === 0;
  34927. },
  34928. get$iterator(_) {
  34929. var t1 = this.__js_helper$_map,
  34930. t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications);
  34931. t2.__js_helper$_cell = t1.__js_helper$_first;
  34932. return t2;
  34933. },
  34934. contains$1(_, element) {
  34935. return this.__js_helper$_map.containsKey$1(element);
  34936. }
  34937. };
  34938. A.LinkedHashMapKeyIterator.prototype = {
  34939. get$current(_) {
  34940. return this.__js_helper$_current;
  34941. },
  34942. moveNext$0() {
  34943. var cell, _this = this,
  34944. t1 = _this.__js_helper$_map;
  34945. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  34946. throw A.wrapException(A.ConcurrentModificationError$(t1));
  34947. cell = _this.__js_helper$_cell;
  34948. if (cell == null) {
  34949. _this.__js_helper$_current = null;
  34950. return false;
  34951. } else {
  34952. _this.__js_helper$_current = cell.hashMapCellKey;
  34953. _this.__js_helper$_cell = cell.__js_helper$_next;
  34954. return true;
  34955. }
  34956. }
  34957. };
  34958. A.JsIdentityLinkedHashMap.prototype = {
  34959. internalComputeHashCode$1(key) {
  34960. return A.objectHashCode(key) & 1073741823;
  34961. },
  34962. internalFindBucketIndex$2(bucket, key) {
  34963. var $length, i, t1;
  34964. if (bucket == null)
  34965. return -1;
  34966. $length = bucket.length;
  34967. for (i = 0; i < $length; ++i) {
  34968. t1 = bucket[i].hashMapCellKey;
  34969. if (t1 == null ? key == null : t1 === key)
  34970. return i;
  34971. }
  34972. return -1;
  34973. }
  34974. };
  34975. A.JsConstantLinkedHashMap.prototype = {
  34976. internalComputeHashCode$1(key) {
  34977. return A.constantHashCode(key) & 1073741823;
  34978. },
  34979. internalFindBucketIndex$2(bucket, key) {
  34980. var $length, i;
  34981. if (bucket == null)
  34982. return -1;
  34983. $length = bucket.length;
  34984. for (i = 0; i < $length; ++i)
  34985. if (J.$eq$(bucket[i].hashMapCellKey, key))
  34986. return i;
  34987. return -1;
  34988. }
  34989. };
  34990. A.initHooks_closure.prototype = {
  34991. call$1(o) {
  34992. return this.getTag(o);
  34993. },
  34994. $signature: 105
  34995. };
  34996. A.initHooks_closure0.prototype = {
  34997. call$2(o, tag) {
  34998. return this.getUnknownTag(o, tag);
  34999. },
  35000. $signature: 388
  35001. };
  35002. A.initHooks_closure1.prototype = {
  35003. call$1(tag) {
  35004. return this.prototypeForTag(tag);
  35005. },
  35006. $signature: 169
  35007. };
  35008. A._Record.prototype = {
  35009. toString$0(_) {
  35010. return this._toString$1(false);
  35011. },
  35012. _toString$1(safe) {
  35013. var t2, separator, i, key, value,
  35014. keys = this._fieldKeys$0(),
  35015. values = this._getFieldValues$0(),
  35016. t1 = (safe ? "" + "Record " : "") + "(";
  35017. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  35018. t1 += separator;
  35019. key = keys[i];
  35020. if (typeof key == "string")
  35021. t1 = t1 + key + ": ";
  35022. value = values[i];
  35023. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  35024. }
  35025. t1 += ")";
  35026. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35027. },
  35028. _fieldKeys$0() {
  35029. var t1,
  35030. shapeTag = this.$shape;
  35031. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  35032. $._Record__computedFieldKeys.push(null);
  35033. t1 = $._Record__computedFieldKeys[shapeTag];
  35034. if (t1 == null) {
  35035. t1 = this._computeFieldKeys$0();
  35036. $._Record__computedFieldKeys[shapeTag] = t1;
  35037. }
  35038. return t1;
  35039. },
  35040. _computeFieldKeys$0() {
  35041. var i, names, last,
  35042. recipe = this.$recipe,
  35043. position = recipe.indexOf("("),
  35044. joinedNames = recipe.substring(1, position),
  35045. fields = recipe.substring(position),
  35046. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  35047. t1 = type$.Object,
  35048. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  35049. for (i = 0; i < arity; ++i)
  35050. result[i] = i;
  35051. if (joinedNames !== "") {
  35052. names = joinedNames.split(",");
  35053. i = names.length;
  35054. for (last = arity; i > 0;) {
  35055. --last;
  35056. --i;
  35057. result[last] = names[i];
  35058. }
  35059. }
  35060. return A.List_List$unmodifiable(result, t1);
  35061. }
  35062. };
  35063. A._Record2.prototype = {
  35064. _getFieldValues$0() {
  35065. return [this._0, this._1];
  35066. },
  35067. $eq(_, other) {
  35068. if (other == null)
  35069. return false;
  35070. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  35071. },
  35072. get$hashCode(_) {
  35073. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  35074. }
  35075. };
  35076. A._Record1.prototype = {
  35077. _getFieldValues$0() {
  35078. return [this._0];
  35079. },
  35080. $eq(_, other) {
  35081. if (other == null)
  35082. return false;
  35083. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  35084. },
  35085. get$hashCode(_) {
  35086. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  35087. }
  35088. };
  35089. A._Record3.prototype = {
  35090. _getFieldValues$0() {
  35091. return [this._0, this._1, this._2];
  35092. },
  35093. $eq(_, other) {
  35094. var _this = this;
  35095. if (other == null)
  35096. return false;
  35097. 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);
  35098. },
  35099. get$hashCode(_) {
  35100. var _this = this;
  35101. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  35102. }
  35103. };
  35104. A._RecordN.prototype = {
  35105. _getFieldValues$0() {
  35106. return this._values;
  35107. },
  35108. $eq(_, other) {
  35109. if (other == null)
  35110. return false;
  35111. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  35112. },
  35113. get$hashCode(_) {
  35114. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  35115. }
  35116. };
  35117. A.JSSyntaxRegExp.prototype = {
  35118. toString$0(_) {
  35119. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  35120. },
  35121. get$_nativeGlobalVersion() {
  35122. var _this = this,
  35123. t1 = _this._nativeGlobalRegExp;
  35124. if (t1 != null)
  35125. return t1;
  35126. t1 = _this._nativeRegExp;
  35127. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  35128. },
  35129. get$_nativeAnchoredVersion() {
  35130. var _this = this,
  35131. t1 = _this._nativeAnchoredRegExp;
  35132. if (t1 != null)
  35133. return t1;
  35134. t1 = _this._nativeRegExp;
  35135. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  35136. },
  35137. firstMatch$1(string) {
  35138. var m = this._nativeRegExp.exec(string);
  35139. if (m == null)
  35140. return null;
  35141. return new A._MatchImplementation(m);
  35142. },
  35143. allMatches$2(_, string, start) {
  35144. var t1 = string.length;
  35145. if (start > t1)
  35146. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35147. return new A._AllMatchesIterable(this, string, start);
  35148. },
  35149. allMatches$1(_, string) {
  35150. return this.allMatches$2(0, string, 0);
  35151. },
  35152. _execGlobal$2(string, start) {
  35153. var match,
  35154. regexp = this.get$_nativeGlobalVersion();
  35155. regexp.lastIndex = start;
  35156. match = regexp.exec(string);
  35157. if (match == null)
  35158. return null;
  35159. return new A._MatchImplementation(match);
  35160. },
  35161. _execAnchored$2(string, start) {
  35162. var match,
  35163. regexp = this.get$_nativeAnchoredVersion();
  35164. regexp.lastIndex = start;
  35165. match = regexp.exec(string);
  35166. if (match == null)
  35167. return null;
  35168. if (match.pop() != null)
  35169. return null;
  35170. return new A._MatchImplementation(match);
  35171. },
  35172. matchAsPrefix$2(_, string, start) {
  35173. if (start < 0 || start > string.length)
  35174. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  35175. return this._execAnchored$2(string, start);
  35176. }
  35177. };
  35178. A._MatchImplementation.prototype = {
  35179. get$start(_) {
  35180. return this._match.index;
  35181. },
  35182. get$end(_) {
  35183. var t1 = this._match;
  35184. return t1.index + t1[0].length;
  35185. },
  35186. $isMatch: 1,
  35187. $isRegExpMatch: 1
  35188. };
  35189. A._AllMatchesIterable.prototype = {
  35190. get$iterator(_) {
  35191. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  35192. }
  35193. };
  35194. A._AllMatchesIterator.prototype = {
  35195. get$current(_) {
  35196. var t1 = this.__js_helper$_current;
  35197. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  35198. },
  35199. moveNext$0() {
  35200. var t1, t2, t3, match, nextIndex, t4, _this = this,
  35201. string = _this.__js_helper$_string;
  35202. if (string == null)
  35203. return false;
  35204. t1 = _this._nextIndex;
  35205. t2 = string.length;
  35206. if (t1 <= t2) {
  35207. t3 = _this._regExp;
  35208. match = t3._execGlobal$2(string, t1);
  35209. if (match != null) {
  35210. _this.__js_helper$_current = match;
  35211. nextIndex = match.get$end(0);
  35212. if (match._match.index === nextIndex) {
  35213. t1 = false;
  35214. if (t3._nativeRegExp.unicode) {
  35215. t3 = _this._nextIndex;
  35216. t4 = t3 + 1;
  35217. if (t4 < t2) {
  35218. t2 = string.charCodeAt(t3);
  35219. if (t2 >= 55296 && t2 <= 56319) {
  35220. t1 = string.charCodeAt(t4);
  35221. t1 = t1 >= 56320 && t1 <= 57343;
  35222. }
  35223. }
  35224. }
  35225. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  35226. }
  35227. _this._nextIndex = nextIndex;
  35228. return true;
  35229. }
  35230. }
  35231. _this.__js_helper$_string = _this.__js_helper$_current = null;
  35232. return false;
  35233. }
  35234. };
  35235. A.StringMatch.prototype = {
  35236. get$end(_) {
  35237. return this.start + this.pattern.length;
  35238. },
  35239. $isMatch: 1,
  35240. get$start(receiver) {
  35241. return this.start;
  35242. }
  35243. };
  35244. A._StringAllMatchesIterable.prototype = {
  35245. get$iterator(_) {
  35246. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  35247. },
  35248. get$first(_) {
  35249. var t1 = this._pattern,
  35250. index = this._input.indexOf(t1, this.__js_helper$_index);
  35251. if (index >= 0)
  35252. return new A.StringMatch(index, t1);
  35253. throw A.wrapException(A.IterableElementError_noElement());
  35254. }
  35255. };
  35256. A._StringAllMatchesIterator.prototype = {
  35257. moveNext$0() {
  35258. var index, end, _this = this,
  35259. t1 = _this.__js_helper$_index,
  35260. t2 = _this._pattern,
  35261. t3 = t2.length,
  35262. t4 = _this._input,
  35263. t5 = t4.length;
  35264. if (t1 + t3 > t5) {
  35265. _this.__js_helper$_current = null;
  35266. return false;
  35267. }
  35268. index = t4.indexOf(t2, t1);
  35269. if (index < 0) {
  35270. _this.__js_helper$_index = t5 + 1;
  35271. _this.__js_helper$_current = null;
  35272. return false;
  35273. }
  35274. end = index + t3;
  35275. _this.__js_helper$_current = new A.StringMatch(index, t2);
  35276. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  35277. return true;
  35278. },
  35279. get$current(_) {
  35280. var t1 = this.__js_helper$_current;
  35281. t1.toString;
  35282. return t1;
  35283. }
  35284. };
  35285. A._Cell.prototype = {
  35286. readLocal$1$0() {
  35287. var t1 = this.__late_helper$_value;
  35288. if (t1 === this)
  35289. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  35290. return t1;
  35291. },
  35292. readLocal$0() {
  35293. return this.readLocal$1$0(type$.dynamic);
  35294. },
  35295. _readLocal$0() {
  35296. var t1 = this.__late_helper$_value;
  35297. if (t1 === this)
  35298. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  35299. return t1;
  35300. }
  35301. };
  35302. A.NativeByteBuffer.prototype = {
  35303. get$runtimeType(receiver) {
  35304. return B.Type_ByteBuffer_EOZ;
  35305. },
  35306. $isTrustedGetRuntimeType: 1,
  35307. $isByteBuffer: 1
  35308. };
  35309. A.NativeTypedData.prototype = {
  35310. _invalidPosition$3(receiver, position, $length, $name) {
  35311. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  35312. throw A.wrapException(t1);
  35313. },
  35314. _checkPosition$3(receiver, position, $length, $name) {
  35315. if (position >>> 0 !== position || position > $length)
  35316. this._invalidPosition$3(receiver, position, $length, $name);
  35317. }
  35318. };
  35319. A.NativeByteData.prototype = {
  35320. get$runtimeType(receiver) {
  35321. return B.Type_ByteData_mF8;
  35322. },
  35323. $isTrustedGetRuntimeType: 1,
  35324. $isByteData: 1
  35325. };
  35326. A.NativeTypedArray.prototype = {
  35327. get$length(receiver) {
  35328. return receiver.length;
  35329. },
  35330. _setRangeFast$4(receiver, start, end, source, skipCount) {
  35331. var count, sourceLength,
  35332. targetLength = receiver.length;
  35333. this._checkPosition$3(receiver, start, targetLength, "start");
  35334. this._checkPosition$3(receiver, end, targetLength, "end");
  35335. if (start > end)
  35336. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  35337. count = end - start;
  35338. if (skipCount < 0)
  35339. throw A.wrapException(A.ArgumentError$(skipCount, null));
  35340. sourceLength = source.length;
  35341. if (sourceLength - skipCount < count)
  35342. throw A.wrapException(A.StateError$("Not enough elements"));
  35343. if (skipCount !== 0 || sourceLength !== count)
  35344. source = source.subarray(skipCount, skipCount + count);
  35345. receiver.set(source, start);
  35346. },
  35347. $isJavaScriptIndexingBehavior: 1
  35348. };
  35349. A.NativeTypedArrayOfDouble.prototype = {
  35350. $index(receiver, index) {
  35351. A._checkValidIndex(index, receiver, receiver.length);
  35352. return receiver[index];
  35353. },
  35354. $indexSet(receiver, index, value) {
  35355. A._checkValidIndex(index, receiver, receiver.length);
  35356. receiver[index] = value;
  35357. },
  35358. setRange$4(receiver, start, end, iterable, skipCount) {
  35359. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  35360. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35361. return;
  35362. }
  35363. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35364. },
  35365. $isEfficientLengthIterable: 1,
  35366. $isIterable: 1,
  35367. $isList: 1
  35368. };
  35369. A.NativeTypedArrayOfInt.prototype = {
  35370. $indexSet(receiver, index, value) {
  35371. A._checkValidIndex(index, receiver, receiver.length);
  35372. receiver[index] = value;
  35373. },
  35374. setRange$4(receiver, start, end, iterable, skipCount) {
  35375. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  35376. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35377. return;
  35378. }
  35379. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35380. },
  35381. $isEfficientLengthIterable: 1,
  35382. $isIterable: 1,
  35383. $isList: 1
  35384. };
  35385. A.NativeFloat32List.prototype = {
  35386. get$runtimeType(receiver) {
  35387. return B.Type_Float32List_Ymk;
  35388. },
  35389. sublist$2(receiver, start, end) {
  35390. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35391. },
  35392. sublist$1(receiver, start) {
  35393. return this.sublist$2(receiver, start, null);
  35394. },
  35395. $isTrustedGetRuntimeType: 1,
  35396. $isFloat32List: 1
  35397. };
  35398. A.NativeFloat64List.prototype = {
  35399. get$runtimeType(receiver) {
  35400. return B.Type_Float64List_Ymk;
  35401. },
  35402. sublist$2(receiver, start, end) {
  35403. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35404. },
  35405. sublist$1(receiver, start) {
  35406. return this.sublist$2(receiver, start, null);
  35407. },
  35408. $isTrustedGetRuntimeType: 1,
  35409. $isFloat64List: 1
  35410. };
  35411. A.NativeInt16List.prototype = {
  35412. get$runtimeType(receiver) {
  35413. return B.Type_Int16List_cot;
  35414. },
  35415. $index(receiver, index) {
  35416. A._checkValidIndex(index, receiver, receiver.length);
  35417. return receiver[index];
  35418. },
  35419. sublist$2(receiver, start, end) {
  35420. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35421. },
  35422. sublist$1(receiver, start) {
  35423. return this.sublist$2(receiver, start, null);
  35424. },
  35425. $isTrustedGetRuntimeType: 1,
  35426. $isInt16List: 1
  35427. };
  35428. A.NativeInt32List.prototype = {
  35429. get$runtimeType(receiver) {
  35430. return B.Type_Int32List_m1p;
  35431. },
  35432. $index(receiver, index) {
  35433. A._checkValidIndex(index, receiver, receiver.length);
  35434. return receiver[index];
  35435. },
  35436. sublist$2(receiver, start, end) {
  35437. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35438. },
  35439. sublist$1(receiver, start) {
  35440. return this.sublist$2(receiver, start, null);
  35441. },
  35442. $isTrustedGetRuntimeType: 1,
  35443. $isInt32List: 1
  35444. };
  35445. A.NativeInt8List.prototype = {
  35446. get$runtimeType(receiver) {
  35447. return B.Type_Int8List_woc;
  35448. },
  35449. $index(receiver, index) {
  35450. A._checkValidIndex(index, receiver, receiver.length);
  35451. return receiver[index];
  35452. },
  35453. sublist$2(receiver, start, end) {
  35454. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35455. },
  35456. sublist$1(receiver, start) {
  35457. return this.sublist$2(receiver, start, null);
  35458. },
  35459. $isTrustedGetRuntimeType: 1,
  35460. $isInt8List: 1
  35461. };
  35462. A.NativeUint16List.prototype = {
  35463. get$runtimeType(receiver) {
  35464. return B.Type_Uint16List_2mh;
  35465. },
  35466. $index(receiver, index) {
  35467. A._checkValidIndex(index, receiver, receiver.length);
  35468. return receiver[index];
  35469. },
  35470. sublist$2(receiver, start, end) {
  35471. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35472. },
  35473. sublist$1(receiver, start) {
  35474. return this.sublist$2(receiver, start, null);
  35475. },
  35476. $isTrustedGetRuntimeType: 1,
  35477. $isUint16List: 1
  35478. };
  35479. A.NativeUint32List.prototype = {
  35480. get$runtimeType(receiver) {
  35481. return B.Type_Uint32List_2mh;
  35482. },
  35483. $index(receiver, index) {
  35484. A._checkValidIndex(index, receiver, receiver.length);
  35485. return receiver[index];
  35486. },
  35487. sublist$2(receiver, start, end) {
  35488. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35489. },
  35490. sublist$1(receiver, start) {
  35491. return this.sublist$2(receiver, start, null);
  35492. },
  35493. $isTrustedGetRuntimeType: 1,
  35494. $isUint32List: 1
  35495. };
  35496. A.NativeUint8ClampedList.prototype = {
  35497. get$runtimeType(receiver) {
  35498. return B.Type_Uint8ClampedList_9Bb;
  35499. },
  35500. get$length(receiver) {
  35501. return receiver.length;
  35502. },
  35503. $index(receiver, index) {
  35504. A._checkValidIndex(index, receiver, receiver.length);
  35505. return receiver[index];
  35506. },
  35507. sublist$2(receiver, start, end) {
  35508. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35509. },
  35510. sublist$1(receiver, start) {
  35511. return this.sublist$2(receiver, start, null);
  35512. },
  35513. $isTrustedGetRuntimeType: 1,
  35514. $isUint8ClampedList: 1
  35515. };
  35516. A.NativeUint8List.prototype = {
  35517. get$runtimeType(receiver) {
  35518. return B.Type_Uint8List_CSc;
  35519. },
  35520. get$length(receiver) {
  35521. return receiver.length;
  35522. },
  35523. $index(receiver, index) {
  35524. A._checkValidIndex(index, receiver, receiver.length);
  35525. return receiver[index];
  35526. },
  35527. sublist$2(receiver, start, end) {
  35528. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35529. },
  35530. sublist$1(receiver, start) {
  35531. return this.sublist$2(receiver, start, null);
  35532. },
  35533. $isTrustedGetRuntimeType: 1,
  35534. $isNativeUint8List: 1,
  35535. $isUint8List: 1
  35536. };
  35537. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  35538. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35539. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  35540. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35541. A.Rti.prototype = {
  35542. _eval$1(recipe) {
  35543. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  35544. },
  35545. _bind$1(typeOrTuple) {
  35546. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  35547. }
  35548. };
  35549. A._FunctionParameters.prototype = {};
  35550. A._Type.prototype = {
  35551. toString$0(_) {
  35552. return A._rtiToString(this._rti, null);
  35553. }
  35554. };
  35555. A._Error.prototype = {
  35556. toString$0(_) {
  35557. return this.__rti$_message;
  35558. }
  35559. };
  35560. A._TypeError.prototype = {
  35561. get$message(_) {
  35562. return this.__rti$_message;
  35563. },
  35564. $isTypeError: 1
  35565. };
  35566. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  35567. call$1(_) {
  35568. var t1 = this._box_0,
  35569. f = t1.storedCallback;
  35570. t1.storedCallback = null;
  35571. f.call$0();
  35572. },
  35573. $signature: 62
  35574. };
  35575. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  35576. call$1(callback) {
  35577. var t1, t2;
  35578. this._box_0.storedCallback = callback;
  35579. t1 = this.div;
  35580. t2 = this.span;
  35581. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  35582. },
  35583. $signature: 32
  35584. };
  35585. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  35586. call$0() {
  35587. this.callback.call$0();
  35588. },
  35589. $signature: 1
  35590. };
  35591. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  35592. call$0() {
  35593. this.callback.call$0();
  35594. },
  35595. $signature: 1
  35596. };
  35597. A._TimerImpl.prototype = {
  35598. _TimerImpl$2(milliseconds, callback) {
  35599. if (self.setTimeout != null)
  35600. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  35601. else
  35602. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  35603. },
  35604. _TimerImpl$periodic$2(milliseconds, callback) {
  35605. if (self.setTimeout != null)
  35606. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  35607. else
  35608. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  35609. },
  35610. cancel$0() {
  35611. if (self.setTimeout != null) {
  35612. var t1 = this._handle;
  35613. if (t1 == null)
  35614. return;
  35615. if (this._once)
  35616. self.clearTimeout(t1);
  35617. else
  35618. self.clearInterval(t1);
  35619. this._handle = null;
  35620. } else
  35621. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  35622. }
  35623. };
  35624. A._TimerImpl_internalCallback.prototype = {
  35625. call$0() {
  35626. var t1 = this.$this;
  35627. t1._handle = null;
  35628. t1._tick = 1;
  35629. this.callback.call$0();
  35630. },
  35631. $signature: 0
  35632. };
  35633. A._TimerImpl$periodic_closure.prototype = {
  35634. call$0() {
  35635. var duration, _this = this,
  35636. t1 = _this.$this,
  35637. tick = t1._tick + 1,
  35638. t2 = _this.milliseconds;
  35639. if (t2 > 0) {
  35640. duration = Date.now() - _this.start;
  35641. if (duration > (tick + 1) * t2)
  35642. tick = B.JSInt_methods.$tdiv(duration, t2);
  35643. }
  35644. t1._tick = tick;
  35645. _this.callback.call$1(t1);
  35646. },
  35647. $signature: 1
  35648. };
  35649. A._AsyncAwaitCompleter.prototype = {
  35650. complete$1(value) {
  35651. var t1, _this = this;
  35652. if (value == null)
  35653. value = _this.$ti._precomputed1._as(value);
  35654. if (!_this.isSync)
  35655. _this._future._asyncComplete$1(value);
  35656. else {
  35657. t1 = _this._future;
  35658. if (_this.$ti._eval$1("Future<1>")._is(value))
  35659. t1._chainFuture$1(value);
  35660. else
  35661. t1._completeWithValue$1(value);
  35662. }
  35663. },
  35664. completeError$2(e, st) {
  35665. var t1 = this._future;
  35666. if (this.isSync)
  35667. t1._completeError$2(e, st);
  35668. else
  35669. t1._asyncCompleteError$2(e, st);
  35670. }
  35671. };
  35672. A._awaitOnObject_closure.prototype = {
  35673. call$1(result) {
  35674. return this.bodyFunction.call$2(0, result);
  35675. },
  35676. $signature: 67
  35677. };
  35678. A._awaitOnObject_closure0.prototype = {
  35679. call$2(error, stackTrace) {
  35680. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  35681. },
  35682. $signature: 475
  35683. };
  35684. A._wrapJsFunctionForAsync_closure.prototype = {
  35685. call$2(errorCode, result) {
  35686. this.$protected(errorCode, result);
  35687. },
  35688. $signature: 484
  35689. };
  35690. A._SyncStarIterator.prototype = {
  35691. get$current(_) {
  35692. return this._async$_current;
  35693. },
  35694. _resumeBody$2(errorCode, errorValue) {
  35695. var body, t1, exception;
  35696. errorCode = errorCode;
  35697. errorValue = errorValue;
  35698. body = this._body;
  35699. for (; true;)
  35700. try {
  35701. t1 = body(this, errorCode, errorValue);
  35702. return t1;
  35703. } catch (exception) {
  35704. errorValue = exception;
  35705. errorCode = 1;
  35706. }
  35707. },
  35708. moveNext$0() {
  35709. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  35710. for (; true;) {
  35711. nestedIterator = _this._nestedIterator;
  35712. if (nestedIterator != null)
  35713. try {
  35714. if (nestedIterator.moveNext$0()) {
  35715. _this._async$_current = J.get$current$x(nestedIterator);
  35716. return true;
  35717. } else
  35718. _this._nestedIterator = null;
  35719. } catch (exception) {
  35720. errorValue = exception;
  35721. errorCode = 1;
  35722. _this._nestedIterator = null;
  35723. }
  35724. value = _this._resumeBody$2(errorCode, errorValue);
  35725. if (1 === value)
  35726. return true;
  35727. if (0 === value) {
  35728. _this._async$_current = null;
  35729. suspendedBodies = _this._suspendedBodies;
  35730. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35731. _this._body = A._SyncStarIterator__terminatedBody;
  35732. return false;
  35733. }
  35734. _this._body = suspendedBodies.pop();
  35735. errorCode = 0;
  35736. errorValue = null;
  35737. continue;
  35738. }
  35739. if (2 === value) {
  35740. errorCode = 0;
  35741. errorValue = null;
  35742. continue;
  35743. }
  35744. if (3 === value) {
  35745. errorValue = _this._datum;
  35746. _this._datum = null;
  35747. suspendedBodies = _this._suspendedBodies;
  35748. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35749. _this._async$_current = null;
  35750. _this._body = A._SyncStarIterator__terminatedBody;
  35751. throw errorValue;
  35752. return false;
  35753. }
  35754. _this._body = suspendedBodies.pop();
  35755. errorCode = 1;
  35756. continue;
  35757. }
  35758. throw A.wrapException(A.StateError$("sync*"));
  35759. }
  35760. return false;
  35761. },
  35762. _yieldStar$1(iterable) {
  35763. var t1, t2, _this = this;
  35764. if (iterable instanceof A._SyncStarIterable) {
  35765. t1 = iterable._outerHelper();
  35766. t2 = _this._suspendedBodies;
  35767. if (t2 == null)
  35768. t2 = _this._suspendedBodies = [];
  35769. t2.push(_this._body);
  35770. _this._body = t1;
  35771. return 2;
  35772. } else {
  35773. _this._nestedIterator = J.get$iterator$ax(iterable);
  35774. return 2;
  35775. }
  35776. }
  35777. };
  35778. A._SyncStarIterable.prototype = {
  35779. get$iterator(_) {
  35780. return new A._SyncStarIterator(this._outerHelper());
  35781. }
  35782. };
  35783. A.AsyncError.prototype = {
  35784. toString$0(_) {
  35785. return A.S(this.error);
  35786. },
  35787. $isError: 1,
  35788. get$stackTrace() {
  35789. return this.stackTrace;
  35790. }
  35791. };
  35792. A.Future_wait_handleError.prototype = {
  35793. call$2(theError, theStackTrace) {
  35794. var _this = this,
  35795. t1 = _this._box_0,
  35796. t2 = --t1.remaining;
  35797. if (t1.values != null) {
  35798. t1.values = null;
  35799. t1.error = theError;
  35800. t1.stackTrace = theStackTrace;
  35801. if (t2 === 0 || _this.eagerError)
  35802. _this._future._completeError$2(theError, theStackTrace);
  35803. } else if (t2 === 0 && !_this.eagerError) {
  35804. t2 = t1.error;
  35805. t2.toString;
  35806. t1 = t1.stackTrace;
  35807. t1.toString;
  35808. _this._future._completeError$2(t2, t1);
  35809. }
  35810. },
  35811. $signature: 69
  35812. };
  35813. A.Future_wait_closure.prototype = {
  35814. call$1(value) {
  35815. var t1, value0, t3, t4, _i, t5, _this = this,
  35816. t2 = _this._box_0,
  35817. remainingResults = --t2.remaining,
  35818. valueList = t2.values;
  35819. if (valueList != null) {
  35820. J.$indexSet$ax(valueList, _this.pos, value);
  35821. if (J.$eq$(remainingResults, 0)) {
  35822. t2 = _this.T;
  35823. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  35824. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  35825. value0 = t3[_i];
  35826. t5 = value0;
  35827. if (t5 == null)
  35828. t5 = t2._as(t5);
  35829. J.add$1$ax(t1, t5);
  35830. }
  35831. _this._future._completeWithValue$1(t1);
  35832. }
  35833. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  35834. t1 = t2.error;
  35835. t1.toString;
  35836. t2 = t2.stackTrace;
  35837. t2.toString;
  35838. _this._future._completeError$2(t1, t2);
  35839. }
  35840. },
  35841. $signature() {
  35842. return this.T._eval$1("Null(0)");
  35843. }
  35844. };
  35845. A._Completer.prototype = {
  35846. completeError$2(error, stackTrace) {
  35847. var replacement;
  35848. A.checkNotNullable(error, "error", type$.Object);
  35849. if ((this.future._state & 30) !== 0)
  35850. throw A.wrapException(A.StateError$("Future already completed"));
  35851. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  35852. if (replacement != null) {
  35853. error = replacement.error;
  35854. stackTrace = replacement.stackTrace;
  35855. } else if (stackTrace == null)
  35856. stackTrace = A.AsyncError_defaultStackTrace(error);
  35857. this._completeError$2(error, stackTrace);
  35858. },
  35859. completeError$1(error) {
  35860. return this.completeError$2(error, null);
  35861. }
  35862. };
  35863. A._AsyncCompleter.prototype = {
  35864. complete$1(value) {
  35865. var t1 = this.future;
  35866. if ((t1._state & 30) !== 0)
  35867. throw A.wrapException(A.StateError$("Future already completed"));
  35868. t1._asyncComplete$1(value);
  35869. },
  35870. complete$0() {
  35871. return this.complete$1(null);
  35872. },
  35873. _completeError$2(error, stackTrace) {
  35874. this.future._asyncCompleteError$2(error, stackTrace);
  35875. }
  35876. };
  35877. A._SyncCompleter.prototype = {
  35878. complete$1(value) {
  35879. var t1 = this.future;
  35880. if ((t1._state & 30) !== 0)
  35881. throw A.wrapException(A.StateError$("Future already completed"));
  35882. t1._complete$1(value);
  35883. },
  35884. _completeError$2(error, stackTrace) {
  35885. this.future._completeError$2(error, stackTrace);
  35886. }
  35887. };
  35888. A._FutureListener.prototype = {
  35889. matchesErrorTest$1(asyncError) {
  35890. if ((this.state & 15) !== 6)
  35891. return true;
  35892. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  35893. },
  35894. handleError$1(asyncError) {
  35895. var exception,
  35896. errorCallback = this.errorCallback,
  35897. result = null,
  35898. t1 = type$.dynamic,
  35899. t2 = type$.Object,
  35900. t3 = asyncError.error,
  35901. t4 = this.result._zone;
  35902. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  35903. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  35904. else
  35905. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  35906. try {
  35907. t1 = result;
  35908. return t1;
  35909. } catch (exception) {
  35910. if (type$.TypeError._is(A.unwrapException(exception))) {
  35911. if ((this.state & 1) !== 0)
  35912. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  35913. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  35914. } else
  35915. throw exception;
  35916. }
  35917. }
  35918. };
  35919. A._Future.prototype = {
  35920. _setChained$1(source) {
  35921. this._state = this._state & 1 | 4;
  35922. this._resultOrListeners = source;
  35923. },
  35924. then$1$2$onError(_, f, onError, $R) {
  35925. var result, t1,
  35926. currentZone = $.Zone__current;
  35927. if (currentZone === B.C__RootZone) {
  35928. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  35929. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  35930. } else {
  35931. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  35932. if (onError != null)
  35933. onError = A._registerErrorHandler(onError, currentZone);
  35934. }
  35935. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  35936. t1 = onError == null ? 1 : 3;
  35937. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  35938. return result;
  35939. },
  35940. then$1$1(_, f, $R) {
  35941. return this.then$1$2$onError(0, f, null, $R);
  35942. },
  35943. _thenAwait$1$2(f, onError, $E) {
  35944. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  35945. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  35946. return result;
  35947. },
  35948. catchError$1(onError) {
  35949. var t1 = this.$ti,
  35950. t2 = $.Zone__current,
  35951. result = new A._Future(t2, t1);
  35952. if (t2 !== B.C__RootZone)
  35953. onError = A._registerErrorHandler(onError, t2);
  35954. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  35955. return result;
  35956. },
  35957. whenComplete$1(action) {
  35958. var t1 = this.$ti,
  35959. t2 = $.Zone__current,
  35960. result = new A._Future(t2, t1);
  35961. if (t2 !== B.C__RootZone)
  35962. action = t2.registerCallback$1$1(action, type$.dynamic);
  35963. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  35964. return result;
  35965. },
  35966. _setErrorObject$1(error) {
  35967. this._state = this._state & 1 | 16;
  35968. this._resultOrListeners = error;
  35969. },
  35970. _cloneResult$1(source) {
  35971. this._state = source._state & 30 | this._state & 1;
  35972. this._resultOrListeners = source._resultOrListeners;
  35973. },
  35974. _addListener$1(listener) {
  35975. var _this = this,
  35976. t1 = _this._state;
  35977. if (t1 <= 3) {
  35978. listener._nextListener = _this._resultOrListeners;
  35979. _this._resultOrListeners = listener;
  35980. } else {
  35981. if ((t1 & 4) !== 0) {
  35982. t1 = _this._resultOrListeners;
  35983. if ((t1._state & 24) === 0) {
  35984. t1._addListener$1(listener);
  35985. return;
  35986. }
  35987. _this._cloneResult$1(t1);
  35988. }
  35989. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  35990. }
  35991. },
  35992. _prependListeners$1(listeners) {
  35993. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  35994. _box_0.listeners = listeners;
  35995. if (listeners == null)
  35996. return;
  35997. t1 = _this._state;
  35998. if (t1 <= 3) {
  35999. existingListeners = _this._resultOrListeners;
  36000. _this._resultOrListeners = listeners;
  36001. if (existingListeners != null) {
  36002. next = listeners._nextListener;
  36003. for (cursor = listeners; next != null; cursor = next, next = next0)
  36004. next0 = next._nextListener;
  36005. cursor._nextListener = existingListeners;
  36006. }
  36007. } else {
  36008. if ((t1 & 4) !== 0) {
  36009. t1 = _this._resultOrListeners;
  36010. if ((t1._state & 24) === 0) {
  36011. t1._prependListeners$1(listeners);
  36012. return;
  36013. }
  36014. _this._cloneResult$1(t1);
  36015. }
  36016. _box_0.listeners = _this._reverseListeners$1(listeners);
  36017. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  36018. }
  36019. },
  36020. _removeListeners$0() {
  36021. var current = this._resultOrListeners;
  36022. this._resultOrListeners = null;
  36023. return this._reverseListeners$1(current);
  36024. },
  36025. _reverseListeners$1(listeners) {
  36026. var current, prev, next;
  36027. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  36028. next = current._nextListener;
  36029. current._nextListener = prev;
  36030. }
  36031. return prev;
  36032. },
  36033. _chainForeignFuture$1(source) {
  36034. var e, s, exception, _this = this;
  36035. _this._state ^= 2;
  36036. try {
  36037. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  36038. } catch (exception) {
  36039. e = A.unwrapException(exception);
  36040. s = A.getTraceFromException(exception);
  36041. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  36042. }
  36043. },
  36044. _complete$1(value) {
  36045. var listeners, _this = this,
  36046. t1 = _this.$ti;
  36047. if (t1._eval$1("Future<1>")._is(value))
  36048. if (t1._is(value))
  36049. A._Future__chainCoreFutureSync(value, _this);
  36050. else
  36051. _this._chainForeignFuture$1(value);
  36052. else {
  36053. listeners = _this._removeListeners$0();
  36054. _this._state = 8;
  36055. _this._resultOrListeners = value;
  36056. A._Future__propagateToListeners(_this, listeners);
  36057. }
  36058. },
  36059. _completeWithValue$1(value) {
  36060. var _this = this,
  36061. listeners = _this._removeListeners$0();
  36062. _this._state = 8;
  36063. _this._resultOrListeners = value;
  36064. A._Future__propagateToListeners(_this, listeners);
  36065. },
  36066. _completeError$2(error, stackTrace) {
  36067. var listeners = this._removeListeners$0();
  36068. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  36069. A._Future__propagateToListeners(this, listeners);
  36070. },
  36071. _asyncComplete$1(value) {
  36072. if (this.$ti._eval$1("Future<1>")._is(value)) {
  36073. this._chainFuture$1(value);
  36074. return;
  36075. }
  36076. this._asyncCompleteWithValue$1(value);
  36077. },
  36078. _asyncCompleteWithValue$1(value) {
  36079. this._state ^= 2;
  36080. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  36081. },
  36082. _chainFuture$1(value) {
  36083. if (this.$ti._is(value)) {
  36084. A._Future__chainCoreFutureAsync(value, this);
  36085. return;
  36086. }
  36087. this._chainForeignFuture$1(value);
  36088. },
  36089. _asyncCompleteError$2(error, stackTrace) {
  36090. this._state ^= 2;
  36091. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  36092. },
  36093. $isFuture: 1
  36094. };
  36095. A._Future__addListener_closure.prototype = {
  36096. call$0() {
  36097. A._Future__propagateToListeners(this.$this, this.listener);
  36098. },
  36099. $signature: 0
  36100. };
  36101. A._Future__prependListeners_closure.prototype = {
  36102. call$0() {
  36103. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  36104. },
  36105. $signature: 0
  36106. };
  36107. A._Future__chainForeignFuture_closure.prototype = {
  36108. call$1(value) {
  36109. var error, stackTrace, exception,
  36110. t1 = this.$this;
  36111. t1._state ^= 2;
  36112. try {
  36113. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  36114. } catch (exception) {
  36115. error = A.unwrapException(exception);
  36116. stackTrace = A.getTraceFromException(exception);
  36117. t1._completeError$2(error, stackTrace);
  36118. }
  36119. },
  36120. $signature: 62
  36121. };
  36122. A._Future__chainForeignFuture_closure0.prototype = {
  36123. call$2(error, stackTrace) {
  36124. this.$this._completeError$2(error, stackTrace);
  36125. },
  36126. $signature: 50
  36127. };
  36128. A._Future__chainForeignFuture_closure1.prototype = {
  36129. call$0() {
  36130. this.$this._completeError$2(this.e, this.s);
  36131. },
  36132. $signature: 0
  36133. };
  36134. A._Future__chainCoreFutureAsync_closure.prototype = {
  36135. call$0() {
  36136. A._Future__chainCoreFutureSync(this._box_0.source, this.target);
  36137. },
  36138. $signature: 0
  36139. };
  36140. A._Future__asyncCompleteWithValue_closure.prototype = {
  36141. call$0() {
  36142. this.$this._completeWithValue$1(this.value);
  36143. },
  36144. $signature: 0
  36145. };
  36146. A._Future__asyncCompleteError_closure.prototype = {
  36147. call$0() {
  36148. this.$this._completeError$2(this.error, this.stackTrace);
  36149. },
  36150. $signature: 0
  36151. };
  36152. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  36153. call$0() {
  36154. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  36155. try {
  36156. t1 = _this._box_0.listener;
  36157. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  36158. } catch (exception) {
  36159. e = A.unwrapException(exception);
  36160. s = A.getTraceFromException(exception);
  36161. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  36162. t2 = _this._box_0;
  36163. if (t1)
  36164. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  36165. else
  36166. t2.listenerValueOrError = A.AsyncError$(e, s);
  36167. t2.listenerHasError = true;
  36168. return;
  36169. }
  36170. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  36171. if ((completeResult._state & 16) !== 0) {
  36172. t1 = _this._box_0;
  36173. t1.listenerValueOrError = completeResult._resultOrListeners;
  36174. t1.listenerHasError = true;
  36175. }
  36176. return;
  36177. }
  36178. if (completeResult instanceof A._Future) {
  36179. originalSource = _this._box_1.source;
  36180. t1 = _this._box_0;
  36181. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  36182. t1.listenerHasError = false;
  36183. }
  36184. },
  36185. $signature: 0
  36186. };
  36187. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  36188. call$1(_) {
  36189. return this.originalSource;
  36190. },
  36191. $signature: 392
  36192. };
  36193. A._Future__propagateToListeners_handleValueCallback.prototype = {
  36194. call$0() {
  36195. var e, s, t1, t2, t3, exception;
  36196. try {
  36197. t1 = this._box_0;
  36198. t2 = t1.listener;
  36199. t3 = t2.$ti;
  36200. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  36201. } catch (exception) {
  36202. e = A.unwrapException(exception);
  36203. s = A.getTraceFromException(exception);
  36204. t1 = this._box_0;
  36205. t1.listenerValueOrError = A.AsyncError$(e, s);
  36206. t1.listenerHasError = true;
  36207. }
  36208. },
  36209. $signature: 0
  36210. };
  36211. A._Future__propagateToListeners_handleError.prototype = {
  36212. call$0() {
  36213. var asyncError, e, s, t1, exception, t2, _this = this;
  36214. try {
  36215. asyncError = _this._box_1.source._resultOrListeners;
  36216. t1 = _this._box_0;
  36217. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  36218. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  36219. t1.listenerHasError = false;
  36220. }
  36221. } catch (exception) {
  36222. e = A.unwrapException(exception);
  36223. s = A.getTraceFromException(exception);
  36224. t1 = _this._box_1.source._resultOrListeners;
  36225. t2 = _this._box_0;
  36226. if (t1.error === e)
  36227. t2.listenerValueOrError = t1;
  36228. else
  36229. t2.listenerValueOrError = A.AsyncError$(e, s);
  36230. t2.listenerHasError = true;
  36231. }
  36232. },
  36233. $signature: 0
  36234. };
  36235. A._AsyncCallbackEntry.prototype = {};
  36236. A.Stream.prototype = {
  36237. get$isBroadcast() {
  36238. return false;
  36239. },
  36240. get$length(_) {
  36241. var t1 = {},
  36242. future = new A._Future($.Zone__current, type$._Future_int);
  36243. t1.count = 0;
  36244. 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());
  36245. return future;
  36246. }
  36247. };
  36248. A.Stream_Stream$fromFuture_closure.prototype = {
  36249. call$1(value) {
  36250. var t1 = this.controller;
  36251. t1._async$_add$1(value);
  36252. t1._closeUnchecked$0();
  36253. },
  36254. $signature() {
  36255. return this.T._eval$1("Null(0)");
  36256. }
  36257. };
  36258. A.Stream_Stream$fromFuture_closure0.prototype = {
  36259. call$2(error, stackTrace) {
  36260. var t1 = this.controller;
  36261. t1._addError$2(error, stackTrace);
  36262. t1._closeUnchecked$0();
  36263. },
  36264. $signature: 397
  36265. };
  36266. A.Stream_length_closure.prototype = {
  36267. call$1(_) {
  36268. ++this._box_0.count;
  36269. },
  36270. $signature() {
  36271. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  36272. }
  36273. };
  36274. A.Stream_length_closure0.prototype = {
  36275. call$0() {
  36276. this.future._complete$1(this._box_0.count);
  36277. },
  36278. $signature: 0
  36279. };
  36280. A._StreamController.prototype = {
  36281. get$stream() {
  36282. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  36283. },
  36284. get$_pendingEvents() {
  36285. if ((this._state & 8) === 0)
  36286. return this._varData;
  36287. return this._varData._varData;
  36288. },
  36289. _ensurePendingEvents$0() {
  36290. var events, state, _this = this;
  36291. if ((_this._state & 8) === 0) {
  36292. events = _this._varData;
  36293. return events == null ? _this._varData = new A._PendingEvents() : events;
  36294. }
  36295. state = _this._varData;
  36296. events = state._varData;
  36297. return events == null ? state._varData = new A._PendingEvents() : events;
  36298. },
  36299. get$_subscription() {
  36300. var varData = this._varData;
  36301. return (this._state & 8) !== 0 ? varData._varData : varData;
  36302. },
  36303. _badEventState$0() {
  36304. if ((this._state & 4) !== 0)
  36305. return new A.StateError("Cannot add event after closing");
  36306. return new A.StateError("Cannot add event while adding a stream");
  36307. },
  36308. addStream$2$cancelOnError(source, cancelOnError) {
  36309. var t2, t3, t4, _this = this,
  36310. t1 = _this._state;
  36311. if (t1 >= 4)
  36312. throw A.wrapException(_this._badEventState$0());
  36313. if ((t1 & 2) !== 0) {
  36314. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  36315. t1._asyncComplete$1(null);
  36316. return t1;
  36317. }
  36318. t1 = _this._varData;
  36319. t2 = cancelOnError === true;
  36320. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  36321. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  36322. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  36323. t2 = _this._state;
  36324. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  36325. t4.pause$0(0);
  36326. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  36327. _this._state |= 8;
  36328. return t3;
  36329. },
  36330. _ensureDoneFuture$0() {
  36331. var t1 = this._doneFuture;
  36332. if (t1 == null)
  36333. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  36334. return t1;
  36335. },
  36336. add$1(_, value) {
  36337. if (this._state >= 4)
  36338. throw A.wrapException(this._badEventState$0());
  36339. this._async$_add$1(value);
  36340. },
  36341. addError$2(error, stackTrace) {
  36342. var replacement;
  36343. A.checkNotNullable(error, "error", type$.Object);
  36344. if (this._state >= 4)
  36345. throw A.wrapException(this._badEventState$0());
  36346. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  36347. if (replacement != null) {
  36348. error = replacement.error;
  36349. stackTrace = replacement.stackTrace;
  36350. } else if (stackTrace == null)
  36351. stackTrace = A.AsyncError_defaultStackTrace(error);
  36352. this._addError$2(error, stackTrace);
  36353. },
  36354. addError$1(error) {
  36355. return this.addError$2(error, null);
  36356. },
  36357. close$0(_) {
  36358. var _this = this,
  36359. t1 = _this._state;
  36360. if ((t1 & 4) !== 0)
  36361. return _this._ensureDoneFuture$0();
  36362. if (t1 >= 4)
  36363. throw A.wrapException(_this._badEventState$0());
  36364. _this._closeUnchecked$0();
  36365. return _this._ensureDoneFuture$0();
  36366. },
  36367. _closeUnchecked$0() {
  36368. var t1 = this._state |= 4;
  36369. if ((t1 & 1) !== 0)
  36370. this._sendDone$0();
  36371. else if ((t1 & 3) === 0)
  36372. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  36373. },
  36374. _async$_add$1(value) {
  36375. var t1 = this._state;
  36376. if ((t1 & 1) !== 0)
  36377. this._sendData$1(value);
  36378. else if ((t1 & 3) === 0)
  36379. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  36380. },
  36381. _addError$2(error, stackTrace) {
  36382. var t1 = this._state;
  36383. if ((t1 & 1) !== 0)
  36384. this._sendError$2(error, stackTrace);
  36385. else if ((t1 & 3) === 0)
  36386. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  36387. },
  36388. _close$0() {
  36389. var addState = this._varData;
  36390. this._varData = addState._varData;
  36391. this._state &= 4294967287;
  36392. addState.addStreamFuture._asyncComplete$1(null);
  36393. },
  36394. _subscribe$4(onData, onError, onDone, cancelOnError) {
  36395. var subscription, pendingEvents, t1, addState, _this = this;
  36396. if ((_this._state & 3) !== 0)
  36397. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  36398. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  36399. pendingEvents = _this.get$_pendingEvents();
  36400. t1 = _this._state |= 1;
  36401. if ((t1 & 8) !== 0) {
  36402. addState = _this._varData;
  36403. addState._varData = subscription;
  36404. addState.addSubscription.resume$0(0);
  36405. } else
  36406. _this._varData = subscription;
  36407. subscription._setPendingEvents$1(pendingEvents);
  36408. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  36409. return subscription;
  36410. },
  36411. _recordCancel$1(subscription) {
  36412. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  36413. if ((_this._state & 8) !== 0)
  36414. result = _this._varData.cancel$0();
  36415. _this._varData = null;
  36416. _this._state = _this._state & 4294967286 | 2;
  36417. onCancel = _this.onCancel;
  36418. if (onCancel != null)
  36419. if (result == null)
  36420. try {
  36421. cancelResult = onCancel.call$0();
  36422. if (cancelResult instanceof A._Future)
  36423. result = cancelResult;
  36424. } catch (exception) {
  36425. e = A.unwrapException(exception);
  36426. s = A.getTraceFromException(exception);
  36427. result0 = new A._Future($.Zone__current, type$._Future_void);
  36428. result0._asyncCompleteError$2(e, s);
  36429. result = result0;
  36430. }
  36431. else
  36432. result = result.whenComplete$1(onCancel);
  36433. t1 = new A._StreamController__recordCancel_complete(_this);
  36434. if (result != null)
  36435. result = result.whenComplete$1(t1);
  36436. else
  36437. t1.call$0();
  36438. return result;
  36439. },
  36440. _recordPause$1(subscription) {
  36441. if ((this._state & 8) !== 0)
  36442. this._varData.addSubscription.pause$0(0);
  36443. A._runGuarded(this.onPause);
  36444. },
  36445. _recordResume$1(subscription) {
  36446. if ((this._state & 8) !== 0)
  36447. this._varData.addSubscription.resume$0(0);
  36448. A._runGuarded(this.onResume);
  36449. },
  36450. $isEventSink: 1,
  36451. set$onPause(val) {
  36452. return this.onPause = val;
  36453. },
  36454. set$onResume(val) {
  36455. return this.onResume = val;
  36456. },
  36457. set$onCancel(val) {
  36458. return this.onCancel = val;
  36459. }
  36460. };
  36461. A._StreamController__subscribe_closure.prototype = {
  36462. call$0() {
  36463. A._runGuarded(this.$this.onListen);
  36464. },
  36465. $signature: 0
  36466. };
  36467. A._StreamController__recordCancel_complete.prototype = {
  36468. call$0() {
  36469. var doneFuture = this.$this._doneFuture;
  36470. if (doneFuture != null && (doneFuture._state & 30) === 0)
  36471. doneFuture._asyncComplete$1(null);
  36472. },
  36473. $signature: 0
  36474. };
  36475. A._SyncStreamControllerDispatch.prototype = {
  36476. _sendData$1(data) {
  36477. this.get$_subscription()._async$_add$1(data);
  36478. },
  36479. _sendError$2(error, stackTrace) {
  36480. this.get$_subscription()._addError$2(error, stackTrace);
  36481. },
  36482. _sendDone$0() {
  36483. this.get$_subscription()._close$0();
  36484. }
  36485. };
  36486. A._AsyncStreamControllerDispatch.prototype = {
  36487. _sendData$1(data) {
  36488. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  36489. },
  36490. _sendError$2(error, stackTrace) {
  36491. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  36492. },
  36493. _sendDone$0() {
  36494. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  36495. }
  36496. };
  36497. A._AsyncStreamController.prototype = {};
  36498. A._SyncStreamController.prototype = {};
  36499. A._ControllerStream.prototype = {
  36500. get$hashCode(_) {
  36501. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  36502. },
  36503. $eq(_, other) {
  36504. if (other == null)
  36505. return false;
  36506. if (this === other)
  36507. return true;
  36508. return other instanceof A._ControllerStream && other._controller === this._controller;
  36509. }
  36510. };
  36511. A._ControllerSubscription.prototype = {
  36512. _async$_onCancel$0() {
  36513. return this._controller._recordCancel$1(this);
  36514. },
  36515. _async$_onPause$0() {
  36516. this._controller._recordPause$1(this);
  36517. },
  36518. _async$_onResume$0() {
  36519. this._controller._recordResume$1(this);
  36520. }
  36521. };
  36522. A._AddStreamState.prototype = {
  36523. cancel$0() {
  36524. var cancel = this.addSubscription.cancel$0();
  36525. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  36526. }
  36527. };
  36528. A._AddStreamState_makeErrorHandler_closure.prototype = {
  36529. call$2(e, s) {
  36530. var t1 = this.controller;
  36531. t1._addError$2(e, s);
  36532. t1._close$0();
  36533. },
  36534. $signature: 50
  36535. };
  36536. A._AddStreamState_cancel_closure.prototype = {
  36537. call$0() {
  36538. this.$this.addStreamFuture._asyncComplete$1(null);
  36539. },
  36540. $signature: 1
  36541. };
  36542. A._StreamControllerAddStreamState.prototype = {};
  36543. A._BufferingStreamSubscription.prototype = {
  36544. _setPendingEvents$1(pendingEvents) {
  36545. var _this = this;
  36546. if (pendingEvents == null)
  36547. return;
  36548. _this._pending = pendingEvents;
  36549. if (pendingEvents.lastPendingEvent != null) {
  36550. _this._state = (_this._state | 128) >>> 0;
  36551. pendingEvents.schedule$1(_this);
  36552. }
  36553. },
  36554. pause$1(_, resumeSignal) {
  36555. var t2, t3, _this = this,
  36556. t1 = _this._state;
  36557. if ((t1 & 8) !== 0)
  36558. return;
  36559. t2 = (t1 + 256 | 4) >>> 0;
  36560. _this._state = t2;
  36561. if (t1 < 256) {
  36562. t3 = _this._pending;
  36563. if (t3 != null)
  36564. if (t3._state === 1)
  36565. t3._state = 3;
  36566. }
  36567. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  36568. _this._guardCallback$1(_this.get$_async$_onPause());
  36569. },
  36570. pause$0(_) {
  36571. return this.pause$1(0, null);
  36572. },
  36573. resume$0(_) {
  36574. var _this = this,
  36575. t1 = _this._state;
  36576. if ((t1 & 8) !== 0)
  36577. return;
  36578. if (t1 >= 256) {
  36579. t1 = _this._state = t1 - 256;
  36580. if (t1 < 256)
  36581. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  36582. _this._pending.schedule$1(_this);
  36583. else {
  36584. t1 = (t1 & 4294967291) >>> 0;
  36585. _this._state = t1;
  36586. if ((t1 & 64) === 0)
  36587. _this._guardCallback$1(_this.get$_async$_onResume());
  36588. }
  36589. }
  36590. },
  36591. cancel$0() {
  36592. var _this = this,
  36593. t1 = (_this._state & 4294967279) >>> 0;
  36594. _this._state = t1;
  36595. if ((t1 & 8) === 0)
  36596. _this._cancel$0();
  36597. t1 = _this._cancelFuture;
  36598. return t1 == null ? $.$get$Future__nullFuture() : t1;
  36599. },
  36600. _cancel$0() {
  36601. var t2, _this = this,
  36602. t1 = _this._state = (_this._state | 8) >>> 0;
  36603. if ((t1 & 128) !== 0) {
  36604. t2 = _this._pending;
  36605. if (t2._state === 1)
  36606. t2._state = 3;
  36607. }
  36608. if ((t1 & 64) === 0)
  36609. _this._pending = null;
  36610. _this._cancelFuture = _this._async$_onCancel$0();
  36611. },
  36612. _async$_add$1(data) {
  36613. var t1 = this._state;
  36614. if ((t1 & 8) !== 0)
  36615. return;
  36616. if (t1 < 64)
  36617. this._sendData$1(data);
  36618. else
  36619. this._addPending$1(new A._DelayedData(data));
  36620. },
  36621. _addError$2(error, stackTrace) {
  36622. var t1 = this._state;
  36623. if ((t1 & 8) !== 0)
  36624. return;
  36625. if (t1 < 64)
  36626. this._sendError$2(error, stackTrace);
  36627. else
  36628. this._addPending$1(new A._DelayedError(error, stackTrace));
  36629. },
  36630. _close$0() {
  36631. var _this = this,
  36632. t1 = _this._state;
  36633. if ((t1 & 8) !== 0)
  36634. return;
  36635. t1 = (t1 | 2) >>> 0;
  36636. _this._state = t1;
  36637. if (t1 < 64)
  36638. _this._sendDone$0();
  36639. else
  36640. _this._addPending$1(B.C__DelayedDone);
  36641. },
  36642. _async$_onPause$0() {
  36643. },
  36644. _async$_onResume$0() {
  36645. },
  36646. _async$_onCancel$0() {
  36647. return null;
  36648. },
  36649. _addPending$1($event) {
  36650. var t1, _this = this,
  36651. pending = _this._pending;
  36652. if (pending == null)
  36653. pending = _this._pending = new A._PendingEvents();
  36654. pending.add$1(0, $event);
  36655. t1 = _this._state;
  36656. if ((t1 & 128) === 0) {
  36657. t1 = (t1 | 128) >>> 0;
  36658. _this._state = t1;
  36659. if (t1 < 256)
  36660. pending.schedule$1(_this);
  36661. }
  36662. },
  36663. _sendData$1(data) {
  36664. var _this = this,
  36665. t1 = _this._state;
  36666. _this._state = (t1 | 64) >>> 0;
  36667. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  36668. _this._state = (_this._state & 4294967231) >>> 0;
  36669. _this._checkState$1((t1 & 4) !== 0);
  36670. },
  36671. _sendError$2(error, stackTrace) {
  36672. var cancelFuture, _this = this,
  36673. t1 = _this._state,
  36674. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  36675. if ((t1 & 1) !== 0) {
  36676. _this._state = (t1 | 16) >>> 0;
  36677. _this._cancel$0();
  36678. cancelFuture = _this._cancelFuture;
  36679. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36680. cancelFuture.whenComplete$1(t2);
  36681. else
  36682. t2.call$0();
  36683. } else {
  36684. t2.call$0();
  36685. _this._checkState$1((t1 & 4) !== 0);
  36686. }
  36687. },
  36688. _sendDone$0() {
  36689. var cancelFuture, _this = this,
  36690. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  36691. _this._cancel$0();
  36692. _this._state = (_this._state | 16) >>> 0;
  36693. cancelFuture = _this._cancelFuture;
  36694. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36695. cancelFuture.whenComplete$1(t1);
  36696. else
  36697. t1.call$0();
  36698. },
  36699. _guardCallback$1(callback) {
  36700. var _this = this,
  36701. t1 = _this._state;
  36702. _this._state = (t1 | 64) >>> 0;
  36703. callback.call$0();
  36704. _this._state = (_this._state & 4294967231) >>> 0;
  36705. _this._checkState$1((t1 & 4) !== 0);
  36706. },
  36707. _checkState$1(wasInputPaused) {
  36708. var t2, isInputPaused, _this = this,
  36709. t1 = _this._state;
  36710. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  36711. t1 = _this._state = (t1 & 4294967167) >>> 0;
  36712. t2 = false;
  36713. if ((t1 & 4) !== 0)
  36714. if (t1 < 256) {
  36715. t2 = _this._pending;
  36716. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  36717. t2 = t2 !== false;
  36718. }
  36719. if (t2) {
  36720. t1 = (t1 & 4294967291) >>> 0;
  36721. _this._state = t1;
  36722. }
  36723. }
  36724. for (; true; wasInputPaused = isInputPaused) {
  36725. if ((t1 & 8) !== 0) {
  36726. _this._pending = null;
  36727. return;
  36728. }
  36729. isInputPaused = (t1 & 4) !== 0;
  36730. if (wasInputPaused === isInputPaused)
  36731. break;
  36732. _this._state = (t1 ^ 64) >>> 0;
  36733. if (isInputPaused)
  36734. _this._async$_onPause$0();
  36735. else
  36736. _this._async$_onResume$0();
  36737. t1 = (_this._state & 4294967231) >>> 0;
  36738. _this._state = t1;
  36739. }
  36740. if ((t1 & 128) !== 0 && t1 < 256)
  36741. _this._pending.schedule$1(_this);
  36742. },
  36743. $isStreamSubscription: 1
  36744. };
  36745. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  36746. call$0() {
  36747. var onError, t3, t4,
  36748. t1 = this.$this,
  36749. t2 = t1._state;
  36750. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  36751. return;
  36752. t1._state = (t2 | 64) >>> 0;
  36753. onError = t1._onError;
  36754. t2 = this.error;
  36755. t3 = type$.Object;
  36756. t4 = t1._zone;
  36757. if (type$.void_Function_Object_StackTrace._is(onError))
  36758. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  36759. else
  36760. t4.runUnaryGuarded$1$2(onError, t2, t3);
  36761. t1._state = (t1._state & 4294967231) >>> 0;
  36762. },
  36763. $signature: 0
  36764. };
  36765. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  36766. call$0() {
  36767. var t1 = this.$this,
  36768. t2 = t1._state;
  36769. if ((t2 & 16) === 0)
  36770. return;
  36771. t1._state = (t2 | 74) >>> 0;
  36772. t1._zone.runGuarded$1(t1._onDone);
  36773. t1._state = (t1._state & 4294967231) >>> 0;
  36774. },
  36775. $signature: 0
  36776. };
  36777. A._StreamImpl.prototype = {
  36778. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  36779. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  36780. },
  36781. listen$1(_, onData) {
  36782. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  36783. },
  36784. listen$3$onDone$onError(_, onData, onDone, onError) {
  36785. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  36786. }
  36787. };
  36788. A._DelayedEvent.prototype = {
  36789. get$next() {
  36790. return this.next;
  36791. },
  36792. set$next(val) {
  36793. return this.next = val;
  36794. }
  36795. };
  36796. A._DelayedData.prototype = {
  36797. perform$1(dispatch) {
  36798. dispatch._sendData$1(this.value);
  36799. }
  36800. };
  36801. A._DelayedError.prototype = {
  36802. perform$1(dispatch) {
  36803. dispatch._sendError$2(this.error, this.stackTrace);
  36804. }
  36805. };
  36806. A._DelayedDone.prototype = {
  36807. perform$1(dispatch) {
  36808. dispatch._sendDone$0();
  36809. },
  36810. get$next() {
  36811. return null;
  36812. },
  36813. set$next(_) {
  36814. throw A.wrapException(A.StateError$("No events after a done."));
  36815. }
  36816. };
  36817. A._PendingEvents.prototype = {
  36818. schedule$1(dispatch) {
  36819. var _this = this,
  36820. t1 = _this._state;
  36821. if (t1 === 1)
  36822. return;
  36823. if (t1 >= 1) {
  36824. _this._state = 1;
  36825. return;
  36826. }
  36827. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  36828. _this._state = 1;
  36829. },
  36830. add$1(_, $event) {
  36831. var _this = this,
  36832. lastEvent = _this.lastPendingEvent;
  36833. if (lastEvent == null)
  36834. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  36835. else {
  36836. lastEvent.set$next($event);
  36837. _this.lastPendingEvent = $event;
  36838. }
  36839. }
  36840. };
  36841. A._PendingEvents_schedule_closure.prototype = {
  36842. call$0() {
  36843. var $event, nextEvent,
  36844. t1 = this.$this,
  36845. oldState = t1._state;
  36846. t1._state = 0;
  36847. if (oldState === 3)
  36848. return;
  36849. $event = t1.firstPendingEvent;
  36850. nextEvent = $event.get$next();
  36851. t1.firstPendingEvent = nextEvent;
  36852. if (nextEvent == null)
  36853. t1.lastPendingEvent = null;
  36854. $event.perform$1(this.dispatch);
  36855. },
  36856. $signature: 0
  36857. };
  36858. A._StreamIterator.prototype = {
  36859. get$current(_) {
  36860. if (this._async$_hasValue)
  36861. return this._stateData;
  36862. return null;
  36863. },
  36864. moveNext$0() {
  36865. var future, _this = this,
  36866. subscription = _this._subscription;
  36867. if (subscription != null) {
  36868. if (_this._async$_hasValue) {
  36869. future = new A._Future($.Zone__current, type$._Future_bool);
  36870. _this._stateData = future;
  36871. _this._async$_hasValue = false;
  36872. subscription.resume$0(0);
  36873. return future;
  36874. }
  36875. throw A.wrapException(A.StateError$("Already waiting for next."));
  36876. }
  36877. return _this._initializeOrDone$0();
  36878. },
  36879. _initializeOrDone$0() {
  36880. var future, subscription, _this = this,
  36881. stateData = _this._stateData;
  36882. if (stateData != null) {
  36883. future = new A._Future($.Zone__current, type$._Future_bool);
  36884. _this._stateData = future;
  36885. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  36886. if (_this._stateData != null)
  36887. _this._subscription = subscription;
  36888. return future;
  36889. }
  36890. return $.$get$Future__falseFuture();
  36891. },
  36892. cancel$0() {
  36893. var _this = this,
  36894. subscription = _this._subscription,
  36895. stateData = _this._stateData;
  36896. _this._stateData = null;
  36897. if (subscription != null) {
  36898. _this._subscription = null;
  36899. if (!_this._async$_hasValue)
  36900. stateData._asyncComplete$1(false);
  36901. else
  36902. _this._async$_hasValue = false;
  36903. return subscription.cancel$0();
  36904. }
  36905. return $.$get$Future__nullFuture();
  36906. },
  36907. _onData$1(data) {
  36908. var moveNextFuture, t1, _this = this;
  36909. if (_this._subscription == null)
  36910. return;
  36911. moveNextFuture = _this._stateData;
  36912. _this._stateData = data;
  36913. _this._async$_hasValue = true;
  36914. moveNextFuture._complete$1(true);
  36915. if (_this._async$_hasValue) {
  36916. t1 = _this._subscription;
  36917. if (t1 != null)
  36918. t1.pause$0(0);
  36919. }
  36920. },
  36921. _onError$2(error, stackTrace) {
  36922. var _this = this,
  36923. subscription = _this._subscription,
  36924. moveNextFuture = _this._stateData;
  36925. _this._stateData = _this._subscription = null;
  36926. if (subscription != null)
  36927. moveNextFuture._completeError$2(error, stackTrace);
  36928. else
  36929. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  36930. },
  36931. _onDone$0() {
  36932. var _this = this,
  36933. subscription = _this._subscription,
  36934. moveNextFuture = _this._stateData;
  36935. _this._stateData = _this._subscription = null;
  36936. if (subscription != null)
  36937. moveNextFuture._completeWithValue$1(false);
  36938. else
  36939. moveNextFuture._asyncCompleteWithValue$1(false);
  36940. }
  36941. };
  36942. A._ForwardingStream.prototype = {
  36943. get$isBroadcast() {
  36944. return this._async$_source.get$isBroadcast();
  36945. },
  36946. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  36947. var t1 = this.$ti,
  36948. t2 = $.Zone__current,
  36949. t3 = cancelOnError === true ? 1 : 0,
  36950. t4 = onError != null ? 32 : 0,
  36951. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  36952. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  36953. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  36954. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  36955. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  36956. return t1;
  36957. },
  36958. listen$1(_, onData) {
  36959. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  36960. },
  36961. listen$3$onDone$onError(_, onData, onDone, onError) {
  36962. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  36963. }
  36964. };
  36965. A._ForwardingStreamSubscription.prototype = {
  36966. _async$_add$1(data) {
  36967. if ((this._state & 2) !== 0)
  36968. return;
  36969. this.super$_BufferingStreamSubscription$_add(data);
  36970. },
  36971. _addError$2(error, stackTrace) {
  36972. if ((this._state & 2) !== 0)
  36973. return;
  36974. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  36975. },
  36976. _async$_onPause$0() {
  36977. var t1 = this._subscription;
  36978. if (t1 != null)
  36979. t1.pause$0(0);
  36980. },
  36981. _async$_onResume$0() {
  36982. var t1 = this._subscription;
  36983. if (t1 != null)
  36984. t1.resume$0(0);
  36985. },
  36986. _async$_onCancel$0() {
  36987. var subscription = this._subscription;
  36988. if (subscription != null) {
  36989. this._subscription = null;
  36990. return subscription.cancel$0();
  36991. }
  36992. return null;
  36993. },
  36994. _handleData$1(data) {
  36995. this._stream._handleData$2(data, this);
  36996. },
  36997. _handleError$2(error, stackTrace) {
  36998. this._addError$2(error, stackTrace);
  36999. },
  37000. _handleDone$0() {
  37001. this._close$0();
  37002. }
  37003. };
  37004. A._ExpandStream.prototype = {
  37005. _handleData$2(inputEvent, sink) {
  37006. var value, e, s, t1, exception, error, stackTrace, replacement;
  37007. try {
  37008. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  37009. value = t1.get$current(t1);
  37010. sink._async$_add$1(value);
  37011. }
  37012. } catch (exception) {
  37013. e = A.unwrapException(exception);
  37014. s = A.getTraceFromException(exception);
  37015. error = e;
  37016. stackTrace = s;
  37017. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  37018. if (replacement != null) {
  37019. error = replacement.error;
  37020. stackTrace = replacement.stackTrace;
  37021. }
  37022. sink._addError$2(error, stackTrace);
  37023. }
  37024. }
  37025. };
  37026. A._ZoneFunction.prototype = {};
  37027. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  37028. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  37029. A._Zone.prototype = {
  37030. _processUncaughtError$3(zone, error, stackTrace) {
  37031. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  37032. implementation = this.get$_handleUncaughtError(),
  37033. implZone = implementation.zone;
  37034. if (implZone === B.C__RootZone) {
  37035. A._rootHandleError(error, stackTrace);
  37036. return;
  37037. }
  37038. handler = implementation.$function;
  37039. parentDelegate = implZone.get$_parentDelegate();
  37040. t1 = J.get$parent$z(implZone);
  37041. t1.toString;
  37042. parentZone = t1;
  37043. currentZone = $.Zone__current;
  37044. try {
  37045. $.Zone__current = parentZone;
  37046. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  37047. $.Zone__current = currentZone;
  37048. } catch (exception) {
  37049. e = A.unwrapException(exception);
  37050. s = A.getTraceFromException(exception);
  37051. $.Zone__current = currentZone;
  37052. t1 = error === e ? stackTrace : s;
  37053. parentZone._processUncaughtError$3(implZone, e, t1);
  37054. }
  37055. },
  37056. $isZone: 1
  37057. };
  37058. A._CustomZone.prototype = {
  37059. get$_delegate() {
  37060. var t1 = this._delegateCache;
  37061. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  37062. },
  37063. get$_parentDelegate() {
  37064. return this.parent.get$_delegate();
  37065. },
  37066. get$errorZone() {
  37067. return this._handleUncaughtError.zone;
  37068. },
  37069. runGuarded$1(f) {
  37070. var e, s, exception;
  37071. try {
  37072. this.run$1$1(0, f, type$.void);
  37073. } catch (exception) {
  37074. e = A.unwrapException(exception);
  37075. s = A.getTraceFromException(exception);
  37076. this._processUncaughtError$3(this, e, s);
  37077. }
  37078. },
  37079. runUnaryGuarded$1$2(f, arg, $T) {
  37080. var e, s, exception;
  37081. try {
  37082. this.runUnary$2$2(f, arg, type$.void, $T);
  37083. } catch (exception) {
  37084. e = A.unwrapException(exception);
  37085. s = A.getTraceFromException(exception);
  37086. this._processUncaughtError$3(this, e, s);
  37087. }
  37088. },
  37089. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  37090. var e, s, exception;
  37091. try {
  37092. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  37093. } catch (exception) {
  37094. e = A.unwrapException(exception);
  37095. s = A.getTraceFromException(exception);
  37096. this._processUncaughtError$3(this, e, s);
  37097. }
  37098. },
  37099. bindCallback$1$1(f, $R) {
  37100. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  37101. },
  37102. bindUnaryCallback$2$1(f, $R, $T) {
  37103. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  37104. },
  37105. bindCallbackGuarded$1(f) {
  37106. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  37107. },
  37108. $index(_, key) {
  37109. var value,
  37110. t1 = this._async$_map,
  37111. result = t1.$index(0, key);
  37112. if (result != null || t1.containsKey$1(key))
  37113. return result;
  37114. value = this.parent.$index(0, key);
  37115. if (value != null)
  37116. t1.$indexSet(0, key, value);
  37117. return value;
  37118. },
  37119. handleUncaughtError$2(error, stackTrace) {
  37120. this._processUncaughtError$3(this, error, stackTrace);
  37121. },
  37122. fork$2$specification$zoneValues(specification, zoneValues) {
  37123. var implementation = this._fork,
  37124. t1 = implementation.zone;
  37125. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  37126. },
  37127. run$1$1(_, f) {
  37128. var implementation = this._run,
  37129. t1 = implementation.zone;
  37130. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  37131. },
  37132. runUnary$2$2(f, arg) {
  37133. var implementation = this._runUnary,
  37134. t1 = implementation.zone;
  37135. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  37136. },
  37137. runBinary$3$3(f, arg1, arg2) {
  37138. var implementation = this._runBinary,
  37139. t1 = implementation.zone;
  37140. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  37141. },
  37142. registerCallback$1$1(callback) {
  37143. var implementation = this._registerCallback,
  37144. t1 = implementation.zone;
  37145. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37146. },
  37147. registerUnaryCallback$2$1(callback) {
  37148. var implementation = this._registerUnaryCallback,
  37149. t1 = implementation.zone;
  37150. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37151. },
  37152. registerBinaryCallback$3$1(callback) {
  37153. var implementation = this._registerBinaryCallback,
  37154. t1 = implementation.zone;
  37155. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37156. },
  37157. errorCallback$2(error, stackTrace) {
  37158. var implementation, implementationZone;
  37159. A.checkNotNullable(error, "error", type$.Object);
  37160. implementation = this._errorCallback;
  37161. implementationZone = implementation.zone;
  37162. if (implementationZone === B.C__RootZone)
  37163. return null;
  37164. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  37165. },
  37166. scheduleMicrotask$1(f) {
  37167. var implementation = this._scheduleMicrotask,
  37168. t1 = implementation.zone;
  37169. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  37170. },
  37171. createTimer$2(duration, f) {
  37172. var implementation = this._createTimer,
  37173. t1 = implementation.zone;
  37174. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  37175. },
  37176. print$1(line) {
  37177. var implementation = this._print,
  37178. t1 = implementation.zone;
  37179. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  37180. },
  37181. get$_run() {
  37182. return this._run;
  37183. },
  37184. get$_runUnary() {
  37185. return this._runUnary;
  37186. },
  37187. get$_runBinary() {
  37188. return this._runBinary;
  37189. },
  37190. get$_registerCallback() {
  37191. return this._registerCallback;
  37192. },
  37193. get$_registerUnaryCallback() {
  37194. return this._registerUnaryCallback;
  37195. },
  37196. get$_registerBinaryCallback() {
  37197. return this._registerBinaryCallback;
  37198. },
  37199. get$_errorCallback() {
  37200. return this._errorCallback;
  37201. },
  37202. get$_scheduleMicrotask() {
  37203. return this._scheduleMicrotask;
  37204. },
  37205. get$_createTimer() {
  37206. return this._createTimer;
  37207. },
  37208. get$_createPeriodicTimer() {
  37209. return this._createPeriodicTimer;
  37210. },
  37211. get$_print() {
  37212. return this._print;
  37213. },
  37214. get$_fork() {
  37215. return this._fork;
  37216. },
  37217. get$_handleUncaughtError() {
  37218. return this._handleUncaughtError;
  37219. },
  37220. get$parent(receiver) {
  37221. return this.parent;
  37222. },
  37223. get$_async$_map() {
  37224. return this._async$_map;
  37225. }
  37226. };
  37227. A._CustomZone_bindCallback_closure.prototype = {
  37228. call$0() {
  37229. return this.$this.run$1$1(0, this.registered, this.R);
  37230. },
  37231. $signature() {
  37232. return this.R._eval$1("0()");
  37233. }
  37234. };
  37235. A._CustomZone_bindUnaryCallback_closure.prototype = {
  37236. call$1(arg) {
  37237. var _this = this;
  37238. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  37239. },
  37240. $signature() {
  37241. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37242. }
  37243. };
  37244. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  37245. call$0() {
  37246. return this.$this.runGuarded$1(this.registered);
  37247. },
  37248. $signature: 0
  37249. };
  37250. A._rootHandleError_closure.prototype = {
  37251. call$0() {
  37252. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  37253. },
  37254. $signature: 0
  37255. };
  37256. A._RootZone.prototype = {
  37257. get$_run() {
  37258. return B._ZoneFunction__RootZone__rootRun;
  37259. },
  37260. get$_runUnary() {
  37261. return B._ZoneFunction__RootZone__rootRunUnary;
  37262. },
  37263. get$_runBinary() {
  37264. return B._ZoneFunction__RootZone__rootRunBinary;
  37265. },
  37266. get$_registerCallback() {
  37267. return B._ZoneFunction__RootZone__rootRegisterCallback;
  37268. },
  37269. get$_registerUnaryCallback() {
  37270. return B._ZoneFunction_QOa;
  37271. },
  37272. get$_registerBinaryCallback() {
  37273. return B._ZoneFunction_qxw;
  37274. },
  37275. get$_errorCallback() {
  37276. return B._ZoneFunction__RootZone__rootErrorCallback;
  37277. },
  37278. get$_scheduleMicrotask() {
  37279. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  37280. },
  37281. get$_createTimer() {
  37282. return B._ZoneFunction__RootZone__rootCreateTimer;
  37283. },
  37284. get$_createPeriodicTimer() {
  37285. return B._ZoneFunction_kWM;
  37286. },
  37287. get$_print() {
  37288. return B._ZoneFunction__RootZone__rootPrint;
  37289. },
  37290. get$_fork() {
  37291. return B._ZoneFunction__RootZone__rootFork;
  37292. },
  37293. get$_handleUncaughtError() {
  37294. return B._ZoneFunction_NIe;
  37295. },
  37296. get$parent(_) {
  37297. return null;
  37298. },
  37299. get$_async$_map() {
  37300. return $.$get$_RootZone__rootMap();
  37301. },
  37302. get$_delegate() {
  37303. var t1 = $._RootZone__rootDelegate;
  37304. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37305. },
  37306. get$_parentDelegate() {
  37307. var t1 = $._RootZone__rootDelegate;
  37308. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37309. },
  37310. get$errorZone() {
  37311. return this;
  37312. },
  37313. runGuarded$1(f) {
  37314. var e, s, exception;
  37315. try {
  37316. if (B.C__RootZone === $.Zone__current) {
  37317. f.call$0();
  37318. return;
  37319. }
  37320. A._rootRun(null, null, this, f);
  37321. } catch (exception) {
  37322. e = A.unwrapException(exception);
  37323. s = A.getTraceFromException(exception);
  37324. A._rootHandleError(e, s);
  37325. }
  37326. },
  37327. runUnaryGuarded$1$2(f, arg) {
  37328. var e, s, exception;
  37329. try {
  37330. if (B.C__RootZone === $.Zone__current) {
  37331. f.call$1(arg);
  37332. return;
  37333. }
  37334. A._rootRunUnary(null, null, this, f, arg);
  37335. } catch (exception) {
  37336. e = A.unwrapException(exception);
  37337. s = A.getTraceFromException(exception);
  37338. A._rootHandleError(e, s);
  37339. }
  37340. },
  37341. runBinaryGuarded$2$3(f, arg1, arg2) {
  37342. var e, s, exception;
  37343. try {
  37344. if (B.C__RootZone === $.Zone__current) {
  37345. f.call$2(arg1, arg2);
  37346. return;
  37347. }
  37348. A._rootRunBinary(null, null, this, f, arg1, arg2);
  37349. } catch (exception) {
  37350. e = A.unwrapException(exception);
  37351. s = A.getTraceFromException(exception);
  37352. A._rootHandleError(e, s);
  37353. }
  37354. },
  37355. bindCallback$1$1(f, $R) {
  37356. return new A._RootZone_bindCallback_closure(this, f, $R);
  37357. },
  37358. bindUnaryCallback$2$1(f, $R, $T) {
  37359. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  37360. },
  37361. bindCallbackGuarded$1(f) {
  37362. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  37363. },
  37364. $index(_, key) {
  37365. return null;
  37366. },
  37367. handleUncaughtError$2(error, stackTrace) {
  37368. A._rootHandleError(error, stackTrace);
  37369. },
  37370. fork$2$specification$zoneValues(specification, zoneValues) {
  37371. return A._rootFork(null, null, this, specification, zoneValues);
  37372. },
  37373. run$1$1(_, f) {
  37374. if ($.Zone__current === B.C__RootZone)
  37375. return f.call$0();
  37376. return A._rootRun(null, null, this, f);
  37377. },
  37378. runUnary$2$2(f, arg) {
  37379. if ($.Zone__current === B.C__RootZone)
  37380. return f.call$1(arg);
  37381. return A._rootRunUnary(null, null, this, f, arg);
  37382. },
  37383. runBinary$3$3(f, arg1, arg2) {
  37384. if ($.Zone__current === B.C__RootZone)
  37385. return f.call$2(arg1, arg2);
  37386. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  37387. },
  37388. registerCallback$1$1(f) {
  37389. return f;
  37390. },
  37391. registerUnaryCallback$2$1(f) {
  37392. return f;
  37393. },
  37394. registerBinaryCallback$3$1(f) {
  37395. return f;
  37396. },
  37397. errorCallback$2(error, stackTrace) {
  37398. return null;
  37399. },
  37400. scheduleMicrotask$1(f) {
  37401. A._rootScheduleMicrotask(null, null, this, f);
  37402. },
  37403. createTimer$2(duration, f) {
  37404. return A.Timer__createTimer(duration, f);
  37405. },
  37406. print$1(line) {
  37407. A.printString(line);
  37408. }
  37409. };
  37410. A._RootZone_bindCallback_closure.prototype = {
  37411. call$0() {
  37412. return this.$this.run$1$1(0, this.f, this.R);
  37413. },
  37414. $signature() {
  37415. return this.R._eval$1("0()");
  37416. }
  37417. };
  37418. A._RootZone_bindUnaryCallback_closure.prototype = {
  37419. call$1(arg) {
  37420. var _this = this;
  37421. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  37422. },
  37423. $signature() {
  37424. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37425. }
  37426. };
  37427. A._RootZone_bindCallbackGuarded_closure.prototype = {
  37428. call$0() {
  37429. return this.$this.runGuarded$1(this.f);
  37430. },
  37431. $signature: 0
  37432. };
  37433. A._HashMap.prototype = {
  37434. get$length(_) {
  37435. return this._collection$_length;
  37436. },
  37437. get$isEmpty(_) {
  37438. return this._collection$_length === 0;
  37439. },
  37440. get$isNotEmpty(_) {
  37441. return this._collection$_length !== 0;
  37442. },
  37443. get$keys(_) {
  37444. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  37445. },
  37446. get$values(_) {
  37447. var t1 = A._instanceType(this);
  37448. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  37449. },
  37450. containsKey$1(key) {
  37451. var strings, nums;
  37452. if (typeof key == "string" && key !== "__proto__") {
  37453. strings = this._strings;
  37454. return strings == null ? false : strings[key] != null;
  37455. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37456. nums = this._nums;
  37457. return nums == null ? false : nums[key] != null;
  37458. } else
  37459. return this._containsKey$1(key);
  37460. },
  37461. _containsKey$1(key) {
  37462. var rest = this._collection$_rest;
  37463. if (rest == null)
  37464. return false;
  37465. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  37466. },
  37467. addAll$1(_, other) {
  37468. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  37469. },
  37470. $index(_, key) {
  37471. var strings, t1, nums;
  37472. if (typeof key == "string" && key !== "__proto__") {
  37473. strings = this._strings;
  37474. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  37475. return t1;
  37476. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37477. nums = this._nums;
  37478. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  37479. return t1;
  37480. } else
  37481. return this._get$1(key);
  37482. },
  37483. _get$1(key) {
  37484. var bucket, index,
  37485. rest = this._collection$_rest;
  37486. if (rest == null)
  37487. return null;
  37488. bucket = this._getBucket$2(rest, key);
  37489. index = this._findBucketIndex$2(bucket, key);
  37490. return index < 0 ? null : bucket[index + 1];
  37491. },
  37492. $indexSet(_, key, value) {
  37493. var strings, nums, _this = this;
  37494. if (typeof key == "string" && key !== "__proto__") {
  37495. strings = _this._strings;
  37496. _this._addHashTableEntry$3(strings == null ? _this._strings = A._HashMap__newHashTable() : strings, key, value);
  37497. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37498. nums = _this._nums;
  37499. _this._addHashTableEntry$3(nums == null ? _this._nums = A._HashMap__newHashTable() : nums, key, value);
  37500. } else
  37501. _this._set$2(key, value);
  37502. },
  37503. _set$2(key, value) {
  37504. var hash, bucket, index, _this = this,
  37505. rest = _this._collection$_rest;
  37506. if (rest == null)
  37507. rest = _this._collection$_rest = A._HashMap__newHashTable();
  37508. hash = _this._computeHashCode$1(key);
  37509. bucket = rest[hash];
  37510. if (bucket == null) {
  37511. A._HashMap__setTableEntry(rest, hash, [key, value]);
  37512. ++_this._collection$_length;
  37513. _this._collection$_keys = null;
  37514. } else {
  37515. index = _this._findBucketIndex$2(bucket, key);
  37516. if (index >= 0)
  37517. bucket[index + 1] = value;
  37518. else {
  37519. bucket.push(key, value);
  37520. ++_this._collection$_length;
  37521. _this._collection$_keys = null;
  37522. }
  37523. }
  37524. },
  37525. remove$1(_, key) {
  37526. var _this = this;
  37527. if (typeof key == "string" && key !== "__proto__")
  37528. return _this._removeHashTableEntry$2(_this._strings, key);
  37529. else if (typeof key == "number" && (key & 1073741823) === key)
  37530. return _this._removeHashTableEntry$2(_this._nums, key);
  37531. else
  37532. return _this._remove$1(key);
  37533. },
  37534. _remove$1(key) {
  37535. var hash, bucket, index, result, _this = this,
  37536. rest = _this._collection$_rest;
  37537. if (rest == null)
  37538. return null;
  37539. hash = _this._computeHashCode$1(key);
  37540. bucket = rest[hash];
  37541. index = _this._findBucketIndex$2(bucket, key);
  37542. if (index < 0)
  37543. return null;
  37544. --_this._collection$_length;
  37545. _this._collection$_keys = null;
  37546. result = bucket.splice(index, 2)[1];
  37547. if (0 === bucket.length)
  37548. delete rest[hash];
  37549. return result;
  37550. },
  37551. forEach$1(_, action) {
  37552. var $length, t1, i, key, t2, _this = this,
  37553. keys = _this._computeKeys$0();
  37554. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  37555. key = keys[i];
  37556. t2 = _this.$index(0, key);
  37557. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  37558. if (keys !== _this._collection$_keys)
  37559. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37560. }
  37561. },
  37562. _computeKeys$0() {
  37563. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  37564. result = _this._collection$_keys;
  37565. if (result != null)
  37566. return result;
  37567. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  37568. strings = _this._strings;
  37569. index = 0;
  37570. if (strings != null) {
  37571. names = Object.getOwnPropertyNames(strings);
  37572. entries = names.length;
  37573. for (i = 0; i < entries; ++i) {
  37574. result[index] = names[i];
  37575. ++index;
  37576. }
  37577. }
  37578. nums = _this._nums;
  37579. if (nums != null) {
  37580. names = Object.getOwnPropertyNames(nums);
  37581. entries = names.length;
  37582. for (i = 0; i < entries; ++i) {
  37583. result[index] = +names[i];
  37584. ++index;
  37585. }
  37586. }
  37587. rest = _this._collection$_rest;
  37588. if (rest != null) {
  37589. names = Object.getOwnPropertyNames(rest);
  37590. entries = names.length;
  37591. for (i = 0; i < entries; ++i) {
  37592. bucket = rest[names[i]];
  37593. $length = bucket.length;
  37594. for (i0 = 0; i0 < $length; i0 += 2) {
  37595. result[index] = bucket[i0];
  37596. ++index;
  37597. }
  37598. }
  37599. }
  37600. return _this._collection$_keys = result;
  37601. },
  37602. _addHashTableEntry$3(table, key, value) {
  37603. if (table[key] == null) {
  37604. ++this._collection$_length;
  37605. this._collection$_keys = null;
  37606. }
  37607. A._HashMap__setTableEntry(table, key, value);
  37608. },
  37609. _removeHashTableEntry$2(table, key) {
  37610. var value;
  37611. if (table != null && table[key] != null) {
  37612. value = A._HashMap__getTableEntry(table, key);
  37613. delete table[key];
  37614. --this._collection$_length;
  37615. this._collection$_keys = null;
  37616. return value;
  37617. } else
  37618. return null;
  37619. },
  37620. _computeHashCode$1(key) {
  37621. return J.get$hashCode$(key) & 1073741823;
  37622. },
  37623. _getBucket$2(table, key) {
  37624. return table[this._computeHashCode$1(key)];
  37625. },
  37626. _findBucketIndex$2(bucket, key) {
  37627. var $length, i;
  37628. if (bucket == null)
  37629. return -1;
  37630. $length = bucket.length;
  37631. for (i = 0; i < $length; i += 2)
  37632. if (J.$eq$(bucket[i], key))
  37633. return i;
  37634. return -1;
  37635. }
  37636. };
  37637. A._HashMap_values_closure.prototype = {
  37638. call$1(each) {
  37639. var t1 = this.$this,
  37640. t2 = t1.$index(0, each);
  37641. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  37642. },
  37643. $signature() {
  37644. return A._instanceType(this.$this)._eval$1("2(1)");
  37645. }
  37646. };
  37647. A._HashMap_addAll_closure.prototype = {
  37648. call$2(key, value) {
  37649. this.$this.$indexSet(0, key, value);
  37650. },
  37651. $signature() {
  37652. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37653. }
  37654. };
  37655. A._IdentityHashMap.prototype = {
  37656. _computeHashCode$1(key) {
  37657. return A.objectHashCode(key) & 1073741823;
  37658. },
  37659. _findBucketIndex$2(bucket, key) {
  37660. var $length, i, t1;
  37661. if (bucket == null)
  37662. return -1;
  37663. $length = bucket.length;
  37664. for (i = 0; i < $length; i += 2) {
  37665. t1 = bucket[i];
  37666. if (t1 == null ? key == null : t1 === key)
  37667. return i;
  37668. }
  37669. return -1;
  37670. }
  37671. };
  37672. A._HashMapKeyIterable.prototype = {
  37673. get$length(_) {
  37674. return this._map._collection$_length;
  37675. },
  37676. get$isEmpty(_) {
  37677. return this._map._collection$_length === 0;
  37678. },
  37679. get$isNotEmpty(_) {
  37680. return this._map._collection$_length !== 0;
  37681. },
  37682. get$iterator(_) {
  37683. var t1 = this._map;
  37684. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  37685. },
  37686. contains$1(_, element) {
  37687. return this._map.containsKey$1(element);
  37688. }
  37689. };
  37690. A._HashMapKeyIterator.prototype = {
  37691. get$current(_) {
  37692. var t1 = this._collection$_current;
  37693. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  37694. },
  37695. moveNext$0() {
  37696. var _this = this,
  37697. keys = _this._collection$_keys,
  37698. offset = _this._offset,
  37699. t1 = _this._map;
  37700. if (keys !== t1._collection$_keys)
  37701. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37702. else if (offset >= keys.length) {
  37703. _this._collection$_current = null;
  37704. return false;
  37705. } else {
  37706. _this._collection$_current = keys[offset];
  37707. _this._offset = offset + 1;
  37708. return true;
  37709. }
  37710. }
  37711. };
  37712. A._LinkedCustomHashMap.prototype = {
  37713. $index(_, key) {
  37714. if (!this._validKey.call$1(key))
  37715. return null;
  37716. return this.super$JsLinkedHashMap$internalGet(key);
  37717. },
  37718. $indexSet(_, key, value) {
  37719. this.super$JsLinkedHashMap$internalSet(key, value);
  37720. },
  37721. containsKey$1(key) {
  37722. if (!this._validKey.call$1(key))
  37723. return false;
  37724. return this.super$JsLinkedHashMap$internalContainsKey(key);
  37725. },
  37726. remove$1(_, key) {
  37727. if (!this._validKey.call$1(key))
  37728. return null;
  37729. return this.super$JsLinkedHashMap$internalRemove(key);
  37730. },
  37731. internalComputeHashCode$1(key) {
  37732. return this._hashCode.call$1(key) & 1073741823;
  37733. },
  37734. internalFindBucketIndex$2(bucket, key) {
  37735. var $length, t1, i;
  37736. if (bucket == null)
  37737. return -1;
  37738. $length = bucket.length;
  37739. for (t1 = this._equals, i = 0; i < $length; ++i)
  37740. if (t1.call$2(bucket[i].hashMapCellKey, key))
  37741. return i;
  37742. return -1;
  37743. }
  37744. };
  37745. A._LinkedCustomHashMap_closure.prototype = {
  37746. call$1(v) {
  37747. return this.K._is(v);
  37748. },
  37749. $signature: 129
  37750. };
  37751. A._LinkedHashSet.prototype = {
  37752. _newSet$0() {
  37753. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  37754. },
  37755. _newSimilarSet$1$0($R) {
  37756. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  37757. },
  37758. _newSimilarSet$0() {
  37759. return this._newSimilarSet$1$0(type$.dynamic);
  37760. },
  37761. get$iterator(_) {
  37762. var _this = this,
  37763. t1 = new A._LinkedHashSetIterator(_this, _this._modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  37764. t1._cell = _this._first;
  37765. return t1;
  37766. },
  37767. get$length(_) {
  37768. return this._collection$_length;
  37769. },
  37770. get$isEmpty(_) {
  37771. return this._collection$_length === 0;
  37772. },
  37773. get$isNotEmpty(_) {
  37774. return this._collection$_length !== 0;
  37775. },
  37776. contains$1(_, object) {
  37777. var strings, nums;
  37778. if (typeof object == "string" && object !== "__proto__") {
  37779. strings = this._strings;
  37780. if (strings == null)
  37781. return false;
  37782. return strings[object] != null;
  37783. } else if (typeof object == "number" && (object & 1073741823) === object) {
  37784. nums = this._nums;
  37785. if (nums == null)
  37786. return false;
  37787. return nums[object] != null;
  37788. } else
  37789. return this._contains$1(object);
  37790. },
  37791. _contains$1(object) {
  37792. var rest = this._collection$_rest;
  37793. if (rest == null)
  37794. return false;
  37795. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  37796. },
  37797. get$first(_) {
  37798. var first = this._first;
  37799. if (first == null)
  37800. throw A.wrapException(A.StateError$("No elements"));
  37801. return first._element;
  37802. },
  37803. get$last(_) {
  37804. var last = this._last;
  37805. if (last == null)
  37806. throw A.wrapException(A.StateError$("No elements"));
  37807. return last._element;
  37808. },
  37809. add$1(_, element) {
  37810. var strings, nums, _this = this;
  37811. if (typeof element == "string" && element !== "__proto__") {
  37812. strings = _this._strings;
  37813. return _this._addHashTableEntry$2(strings == null ? _this._strings = A._LinkedHashSet__newHashTable() : strings, element);
  37814. } else if (typeof element == "number" && (element & 1073741823) === element) {
  37815. nums = _this._nums;
  37816. return _this._addHashTableEntry$2(nums == null ? _this._nums = A._LinkedHashSet__newHashTable() : nums, element);
  37817. } else
  37818. return _this._add$1(element);
  37819. },
  37820. _add$1(element) {
  37821. var hash, bucket, _this = this,
  37822. rest = _this._collection$_rest;
  37823. if (rest == null)
  37824. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  37825. hash = _this._computeHashCode$1(element);
  37826. bucket = rest[hash];
  37827. if (bucket == null)
  37828. rest[hash] = [_this._newLinkedCell$1(element)];
  37829. else {
  37830. if (_this._findBucketIndex$2(bucket, element) >= 0)
  37831. return false;
  37832. bucket.push(_this._newLinkedCell$1(element));
  37833. }
  37834. return true;
  37835. },
  37836. remove$1(_, object) {
  37837. var _this = this;
  37838. if (typeof object == "string" && object !== "__proto__")
  37839. return _this._removeHashTableEntry$2(_this._strings, object);
  37840. else if (typeof object == "number" && (object & 1073741823) === object)
  37841. return _this._removeHashTableEntry$2(_this._nums, object);
  37842. else
  37843. return _this._remove$1(object);
  37844. },
  37845. _remove$1(object) {
  37846. var hash, bucket, index, cell, _this = this,
  37847. rest = _this._collection$_rest;
  37848. if (rest == null)
  37849. return false;
  37850. hash = _this._computeHashCode$1(object);
  37851. bucket = rest[hash];
  37852. index = _this._findBucketIndex$2(bucket, object);
  37853. if (index < 0)
  37854. return false;
  37855. cell = bucket.splice(index, 1)[0];
  37856. if (0 === bucket.length)
  37857. delete rest[hash];
  37858. _this._unlinkCell$1(cell);
  37859. return true;
  37860. },
  37861. _addHashTableEntry$2(table, element) {
  37862. if (table[element] != null)
  37863. return false;
  37864. table[element] = this._newLinkedCell$1(element);
  37865. return true;
  37866. },
  37867. _removeHashTableEntry$2(table, element) {
  37868. var cell;
  37869. if (table == null)
  37870. return false;
  37871. cell = table[element];
  37872. if (cell == null)
  37873. return false;
  37874. this._unlinkCell$1(cell);
  37875. delete table[element];
  37876. return true;
  37877. },
  37878. _modified$0() {
  37879. this._modifications = this._modifications + 1 & 1073741823;
  37880. },
  37881. _newLinkedCell$1(element) {
  37882. var t1, _this = this,
  37883. cell = new A._LinkedHashSetCell(element);
  37884. if (_this._first == null)
  37885. _this._first = _this._last = cell;
  37886. else {
  37887. t1 = _this._last;
  37888. t1.toString;
  37889. cell._previous = t1;
  37890. _this._last = t1._next = cell;
  37891. }
  37892. ++_this._collection$_length;
  37893. _this._modified$0();
  37894. return cell;
  37895. },
  37896. _unlinkCell$1(cell) {
  37897. var _this = this,
  37898. previous = cell._previous,
  37899. next = cell._next;
  37900. if (previous == null)
  37901. _this._first = next;
  37902. else
  37903. previous._next = next;
  37904. if (next == null)
  37905. _this._last = previous;
  37906. else
  37907. next._previous = previous;
  37908. --_this._collection$_length;
  37909. _this._modified$0();
  37910. },
  37911. _computeHashCode$1(element) {
  37912. return J.get$hashCode$(element) & 1073741823;
  37913. },
  37914. _findBucketIndex$2(bucket, element) {
  37915. var $length, i;
  37916. if (bucket == null)
  37917. return -1;
  37918. $length = bucket.length;
  37919. for (i = 0; i < $length; ++i)
  37920. if (J.$eq$(bucket[i]._element, element))
  37921. return i;
  37922. return -1;
  37923. }
  37924. };
  37925. A._LinkedIdentityHashSet.prototype = {
  37926. _newSet$0() {
  37927. return new A._LinkedIdentityHashSet(this.$ti);
  37928. },
  37929. _newSimilarSet$1$0($R) {
  37930. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  37931. },
  37932. _newSimilarSet$0() {
  37933. return this._newSimilarSet$1$0(type$.dynamic);
  37934. },
  37935. _computeHashCode$1(key) {
  37936. return A.objectHashCode(key) & 1073741823;
  37937. },
  37938. _findBucketIndex$2(bucket, element) {
  37939. var $length, i, t1;
  37940. if (bucket == null)
  37941. return -1;
  37942. $length = bucket.length;
  37943. for (i = 0; i < $length; ++i) {
  37944. t1 = bucket[i]._element;
  37945. if (t1 == null ? element == null : t1 === element)
  37946. return i;
  37947. }
  37948. return -1;
  37949. }
  37950. };
  37951. A._LinkedHashSetCell.prototype = {};
  37952. A._LinkedHashSetIterator.prototype = {
  37953. get$current(_) {
  37954. var t1 = this._collection$_current;
  37955. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  37956. },
  37957. moveNext$0() {
  37958. var _this = this,
  37959. cell = _this._cell,
  37960. t1 = _this._set;
  37961. if (_this._modifications !== t1._modifications)
  37962. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37963. else if (cell == null) {
  37964. _this._collection$_current = null;
  37965. return false;
  37966. } else {
  37967. _this._collection$_current = cell._element;
  37968. _this._cell = cell._next;
  37969. return true;
  37970. }
  37971. }
  37972. };
  37973. A.UnmodifiableListView.prototype = {
  37974. cast$1$0(_, $R) {
  37975. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  37976. },
  37977. get$length(_) {
  37978. return J.get$length$asx(this._collection$_source);
  37979. },
  37980. $index(_, index) {
  37981. return J.elementAt$1$ax(this._collection$_source, index);
  37982. }
  37983. };
  37984. A.HashMap_HashMap$from_closure.prototype = {
  37985. call$2(k, v) {
  37986. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  37987. },
  37988. $signature: 165
  37989. };
  37990. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  37991. call$2(k, v) {
  37992. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  37993. },
  37994. $signature: 165
  37995. };
  37996. A.ListBase.prototype = {
  37997. get$iterator(receiver) {
  37998. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  37999. },
  38000. elementAt$1(receiver, index) {
  38001. return this.$index(receiver, index);
  38002. },
  38003. forEach$1(receiver, action) {
  38004. var i,
  38005. $length = this.get$length(receiver);
  38006. for (i = 0; i < $length; ++i) {
  38007. action.call$1(this.$index(receiver, i));
  38008. if ($length !== this.get$length(receiver))
  38009. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38010. }
  38011. },
  38012. get$isEmpty(receiver) {
  38013. return this.get$length(receiver) === 0;
  38014. },
  38015. get$isNotEmpty(receiver) {
  38016. return !this.get$isEmpty(receiver);
  38017. },
  38018. get$first(receiver) {
  38019. if (this.get$length(receiver) === 0)
  38020. throw A.wrapException(A.IterableElementError_noElement());
  38021. return this.$index(receiver, 0);
  38022. },
  38023. get$last(receiver) {
  38024. if (this.get$length(receiver) === 0)
  38025. throw A.wrapException(A.IterableElementError_noElement());
  38026. return this.$index(receiver, this.get$length(receiver) - 1);
  38027. },
  38028. get$single(receiver) {
  38029. if (this.get$length(receiver) === 0)
  38030. throw A.wrapException(A.IterableElementError_noElement());
  38031. if (this.get$length(receiver) > 1)
  38032. throw A.wrapException(A.IterableElementError_tooMany());
  38033. return this.$index(receiver, 0);
  38034. },
  38035. contains$1(receiver, element) {
  38036. var i,
  38037. $length = this.get$length(receiver);
  38038. for (i = 0; i < $length; ++i) {
  38039. if (J.$eq$(this.$index(receiver, i), element))
  38040. return true;
  38041. if ($length !== this.get$length(receiver))
  38042. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38043. }
  38044. return false;
  38045. },
  38046. every$1(receiver, test) {
  38047. var i,
  38048. $length = this.get$length(receiver);
  38049. for (i = 0; i < $length; ++i) {
  38050. if (!test.call$1(this.$index(receiver, i)))
  38051. return false;
  38052. if ($length !== this.get$length(receiver))
  38053. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38054. }
  38055. return true;
  38056. },
  38057. any$1(receiver, test) {
  38058. var i,
  38059. $length = this.get$length(receiver);
  38060. for (i = 0; i < $length; ++i) {
  38061. if (test.call$1(this.$index(receiver, i)))
  38062. return true;
  38063. if ($length !== this.get$length(receiver))
  38064. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38065. }
  38066. return false;
  38067. },
  38068. lastWhere$2$orElse(receiver, test, orElse) {
  38069. var i, element,
  38070. $length = this.get$length(receiver);
  38071. for (i = $length - 1; i >= 0; --i) {
  38072. element = this.$index(receiver, i);
  38073. if (test.call$1(element))
  38074. return element;
  38075. if ($length !== this.get$length(receiver))
  38076. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  38077. }
  38078. if (orElse != null)
  38079. return orElse.call$0();
  38080. throw A.wrapException(A.IterableElementError_noElement());
  38081. },
  38082. join$1(receiver, separator) {
  38083. var t1;
  38084. if (this.get$length(receiver) === 0)
  38085. return "";
  38086. t1 = A.StringBuffer__writeAll("", receiver, separator);
  38087. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38088. },
  38089. where$1(receiver, test) {
  38090. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  38091. },
  38092. map$1$1(receiver, f, $T) {
  38093. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  38094. },
  38095. expand$1$1(receiver, f, $T) {
  38096. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  38097. },
  38098. skip$1(receiver, count) {
  38099. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  38100. },
  38101. take$1(receiver, count) {
  38102. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  38103. },
  38104. toList$1$growable(receiver, growable) {
  38105. var t1, first, result, i, _this = this;
  38106. if (_this.get$isEmpty(receiver)) {
  38107. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  38108. return t1;
  38109. }
  38110. first = _this.$index(receiver, 0);
  38111. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  38112. for (i = 1; i < _this.get$length(receiver); ++i)
  38113. result[i] = _this.$index(receiver, i);
  38114. return result;
  38115. },
  38116. toList$0(receiver) {
  38117. return this.toList$1$growable(receiver, true);
  38118. },
  38119. toSet$0(receiver) {
  38120. var i,
  38121. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  38122. for (i = 0; i < this.get$length(receiver); ++i)
  38123. result.add$1(0, this.$index(receiver, i));
  38124. return result;
  38125. },
  38126. add$1(receiver, element) {
  38127. var t1 = this.get$length(receiver);
  38128. this.set$length(receiver, t1 + 1);
  38129. this.$indexSet(receiver, t1, element);
  38130. },
  38131. addAll$1(receiver, iterable) {
  38132. var t1,
  38133. i = this.get$length(receiver);
  38134. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  38135. this.add$1(receiver, t1.get$current(t1));
  38136. ++i;
  38137. }
  38138. },
  38139. _closeGap$2(receiver, start, end) {
  38140. var i, _this = this,
  38141. $length = _this.get$length(receiver),
  38142. size = end - start;
  38143. for (i = end; i < $length; ++i)
  38144. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  38145. _this.set$length(receiver, $length - size);
  38146. },
  38147. cast$1$0(receiver, $R) {
  38148. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  38149. },
  38150. sort$1(receiver, compare) {
  38151. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  38152. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  38153. },
  38154. sublist$2(receiver, start, end) {
  38155. var listLength = this.get$length(receiver);
  38156. A.RangeError_checkValidRange(start, listLength, listLength);
  38157. return A.List_List$from(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  38158. },
  38159. sublist$1(receiver, start) {
  38160. return this.sublist$2(receiver, start, null);
  38161. },
  38162. getRange$2(receiver, start, end) {
  38163. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38164. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  38165. },
  38166. removeRange$2(receiver, start, end) {
  38167. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38168. if (end > start)
  38169. this._closeGap$2(receiver, start, end);
  38170. },
  38171. fillRange$3(receiver, start, end, fill) {
  38172. var i,
  38173. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  38174. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38175. for (i = start; i < end; ++i)
  38176. this.$indexSet(receiver, i, value);
  38177. },
  38178. setRange$4(receiver, start, end, iterable, skipCount) {
  38179. var $length, otherStart, otherList, t1, i;
  38180. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38181. $length = end - start;
  38182. if ($length === 0)
  38183. return;
  38184. A.RangeError_checkNotNegative(skipCount, "skipCount");
  38185. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  38186. otherStart = skipCount;
  38187. otherList = iterable;
  38188. } else {
  38189. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  38190. otherStart = 0;
  38191. }
  38192. t1 = J.getInterceptor$asx(otherList);
  38193. if (otherStart + $length > t1.get$length(otherList))
  38194. throw A.wrapException(A.IterableElementError_tooFew());
  38195. if (otherStart < start)
  38196. for (i = $length - 1; i >= 0; --i)
  38197. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38198. else
  38199. for (i = 0; i < $length; ++i)
  38200. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38201. },
  38202. get$reversed(receiver) {
  38203. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  38204. },
  38205. toString$0(receiver) {
  38206. return A.Iterable_iterableToFullString(receiver, "[", "]");
  38207. },
  38208. $isEfficientLengthIterable: 1,
  38209. $isIterable: 1,
  38210. $isList: 1
  38211. };
  38212. A.MapBase.prototype = {
  38213. cast$2$0(_, RK, RV) {
  38214. var t1 = A._instanceType(this);
  38215. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  38216. },
  38217. forEach$1(_, action) {
  38218. var t1, t2, key, t3, _this = this;
  38219. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  38220. key = t1.get$current(t1);
  38221. t3 = _this.$index(0, key);
  38222. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  38223. }
  38224. },
  38225. addAll$1(_, other) {
  38226. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  38227. },
  38228. get$entries(_) {
  38229. var _this = this;
  38230. 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>"));
  38231. },
  38232. removeWhere$1(_, test) {
  38233. var t2, key, t3, _i, _this = this,
  38234. t1 = A._instanceType(_this),
  38235. keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapBase.K>"));
  38236. for (t2 = J.get$iterator$ax(_this.get$keys(_this)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) {
  38237. key = t2.get$current(t2);
  38238. t3 = _this.$index(0, key);
  38239. if (test.call$2(key, t3 == null ? t1._as(t3) : t3))
  38240. keysToRemove.push(key);
  38241. }
  38242. for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i)
  38243. _this.remove$1(0, keysToRemove[_i]);
  38244. },
  38245. containsKey$1(key) {
  38246. return J.contains$1$asx(this.get$keys(this), key);
  38247. },
  38248. get$length(_) {
  38249. return J.get$length$asx(this.get$keys(this));
  38250. },
  38251. get$isEmpty(_) {
  38252. return J.get$isEmpty$asx(this.get$keys(this));
  38253. },
  38254. get$isNotEmpty(_) {
  38255. return J.get$isNotEmpty$asx(this.get$keys(this));
  38256. },
  38257. get$values(_) {
  38258. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  38259. },
  38260. toString$0(_) {
  38261. return A.MapBase_mapToString(this);
  38262. },
  38263. $isMap: 1
  38264. };
  38265. A.MapBase_addAll_closure.prototype = {
  38266. call$2(key, value) {
  38267. this.$this.$indexSet(0, key, value);
  38268. },
  38269. $signature() {
  38270. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  38271. }
  38272. };
  38273. A.MapBase_entries_closure.prototype = {
  38274. call$1(key) {
  38275. var t1 = this.$this,
  38276. t2 = t1.$index(0, key);
  38277. if (t2 == null)
  38278. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  38279. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  38280. },
  38281. $signature() {
  38282. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  38283. }
  38284. };
  38285. A.MapBase_mapToString_closure.prototype = {
  38286. call$2(k, v) {
  38287. var t2,
  38288. t1 = this._box_0;
  38289. if (!t1.first)
  38290. this.result._contents += ", ";
  38291. t1.first = false;
  38292. t1 = this.result;
  38293. t2 = A.S(k);
  38294. t2 = t1._contents += t2;
  38295. t1._contents = t2 + ": ";
  38296. t2 = A.S(v);
  38297. t1._contents += t2;
  38298. },
  38299. $signature: 166
  38300. };
  38301. A.UnmodifiableMapBase.prototype = {};
  38302. A._MapBaseValueIterable.prototype = {
  38303. get$length(_) {
  38304. var t1 = this._map;
  38305. return t1.get$length(t1);
  38306. },
  38307. get$isEmpty(_) {
  38308. var t1 = this._map;
  38309. return t1.get$isEmpty(t1);
  38310. },
  38311. get$isNotEmpty(_) {
  38312. var t1 = this._map;
  38313. return t1.get$isNotEmpty(t1);
  38314. },
  38315. get$first(_) {
  38316. var t1 = this._map;
  38317. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  38318. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38319. },
  38320. get$single(_) {
  38321. var t1 = this._map;
  38322. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  38323. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38324. },
  38325. get$last(_) {
  38326. var t1 = this._map;
  38327. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  38328. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38329. },
  38330. get$iterator(_) {
  38331. var t1 = this._map;
  38332. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  38333. }
  38334. };
  38335. A._MapBaseValueIterator.prototype = {
  38336. moveNext$0() {
  38337. var _this = this,
  38338. t1 = _this._collection$_keys;
  38339. if (t1.moveNext$0()) {
  38340. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  38341. return true;
  38342. }
  38343. _this._collection$_current = null;
  38344. return false;
  38345. },
  38346. get$current(_) {
  38347. var t1 = this._collection$_current;
  38348. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38349. }
  38350. };
  38351. A._UnmodifiableMapMixin.prototype = {
  38352. $indexSet(_, key, value) {
  38353. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38354. },
  38355. addAll$1(_, other) {
  38356. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38357. },
  38358. remove$1(_, key) {
  38359. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38360. }
  38361. };
  38362. A.MapView.prototype = {
  38363. cast$2$0(_, RK, RV) {
  38364. return this._map.cast$2$0(0, RK, RV);
  38365. },
  38366. $index(_, key) {
  38367. return this._map.$index(0, key);
  38368. },
  38369. $indexSet(_, key, value) {
  38370. this._map.$indexSet(0, key, value);
  38371. },
  38372. addAll$1(_, other) {
  38373. this._map.addAll$1(0, other);
  38374. },
  38375. containsKey$1(key) {
  38376. return this._map.containsKey$1(key);
  38377. },
  38378. forEach$1(_, action) {
  38379. this._map.forEach$1(0, action);
  38380. },
  38381. get$isEmpty(_) {
  38382. var t1 = this._map;
  38383. return t1.get$isEmpty(t1);
  38384. },
  38385. get$isNotEmpty(_) {
  38386. var t1 = this._map;
  38387. return t1.get$isNotEmpty(t1);
  38388. },
  38389. get$length(_) {
  38390. var t1 = this._map;
  38391. return t1.get$length(t1);
  38392. },
  38393. get$keys(_) {
  38394. var t1 = this._map;
  38395. return t1.get$keys(t1);
  38396. },
  38397. remove$1(_, key) {
  38398. return this._map.remove$1(0, key);
  38399. },
  38400. toString$0(_) {
  38401. return this._map.toString$0(0);
  38402. },
  38403. get$values(_) {
  38404. var t1 = this._map;
  38405. return t1.get$values(t1);
  38406. },
  38407. get$entries(_) {
  38408. var t1 = this._map;
  38409. return t1.get$entries(t1);
  38410. },
  38411. $isMap: 1
  38412. };
  38413. A.UnmodifiableMapView.prototype = {
  38414. cast$2$0(_, RK, RV) {
  38415. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  38416. }
  38417. };
  38418. A.ListQueue.prototype = {
  38419. get$iterator(_) {
  38420. var _this = this;
  38421. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  38422. },
  38423. get$isEmpty(_) {
  38424. return this._head === this._tail;
  38425. },
  38426. get$length(_) {
  38427. return (this._tail - this._head & this._table.length - 1) >>> 0;
  38428. },
  38429. get$first(_) {
  38430. var _this = this,
  38431. t1 = _this._head;
  38432. if (t1 === _this._tail)
  38433. throw A.wrapException(A.IterableElementError_noElement());
  38434. t1 = _this._table[t1];
  38435. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38436. },
  38437. get$last(_) {
  38438. var _this = this,
  38439. t1 = _this._head,
  38440. t2 = _this._tail;
  38441. if (t1 === t2)
  38442. throw A.wrapException(A.IterableElementError_noElement());
  38443. t1 = _this._table;
  38444. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  38445. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38446. },
  38447. get$single(_) {
  38448. var t1, _this = this;
  38449. if (_this._head === _this._tail)
  38450. throw A.wrapException(A.IterableElementError_noElement());
  38451. if (_this.get$length(0) > 1)
  38452. throw A.wrapException(A.IterableElementError_tooMany());
  38453. t1 = _this._table[_this._head];
  38454. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38455. },
  38456. elementAt$1(_, index) {
  38457. var t1, _this = this;
  38458. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  38459. t1 = _this._table;
  38460. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  38461. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38462. },
  38463. toList$1$growable(_, growable) {
  38464. var t1, list, t2, t3, i, t4, _this = this,
  38465. mask = _this._table.length - 1,
  38466. $length = (_this._tail - _this._head & mask) >>> 0;
  38467. if ($length === 0) {
  38468. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  38469. return t1;
  38470. }
  38471. t1 = _this.$ti._precomputed1;
  38472. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  38473. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  38474. t4 = t2[(t3 + i & mask) >>> 0];
  38475. list[i] = t4 == null ? t1._as(t4) : t4;
  38476. }
  38477. return list;
  38478. },
  38479. toList$0(_) {
  38480. return this.toList$1$growable(0, true);
  38481. },
  38482. addAll$1(_, elements) {
  38483. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  38484. t1 = _this.$ti;
  38485. if (t1._eval$1("List<1>")._is(elements)) {
  38486. addCount = elements.length;
  38487. $length = _this.get$length(0);
  38488. t2 = $length + addCount;
  38489. t3 = _this._table;
  38490. t4 = t3.length;
  38491. if (t2 >= t4) {
  38492. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  38493. _this._tail = _this._collection$_writeToList$1(newTable);
  38494. _this._table = newTable;
  38495. _this._head = 0;
  38496. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  38497. _this._tail += addCount;
  38498. } else {
  38499. t1 = _this._tail;
  38500. endSpace = t4 - t1;
  38501. if (addCount < endSpace) {
  38502. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  38503. _this._tail += addCount;
  38504. } else {
  38505. preSpace = addCount - endSpace;
  38506. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  38507. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  38508. _this._tail = preSpace;
  38509. }
  38510. }
  38511. ++_this._modificationCount;
  38512. } else
  38513. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  38514. _this._add$1(elements[_i]);
  38515. },
  38516. clear$0(_) {
  38517. var t2, t3, _this = this,
  38518. i = _this._head,
  38519. t1 = _this._tail;
  38520. if (i !== t1) {
  38521. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  38522. t2[i] = null;
  38523. _this._head = _this._tail = 0;
  38524. ++_this._modificationCount;
  38525. }
  38526. },
  38527. toString$0(_) {
  38528. return A.Iterable_iterableToFullString(this, "{", "}");
  38529. },
  38530. addFirst$1(value) {
  38531. var _this = this,
  38532. t1 = _this._head,
  38533. t2 = _this._table;
  38534. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  38535. t2[t1] = value;
  38536. if (t1 === _this._tail)
  38537. _this._grow$0();
  38538. ++_this._modificationCount;
  38539. },
  38540. removeFirst$0() {
  38541. var t2, result, _this = this,
  38542. t1 = _this._head;
  38543. if (t1 === _this._tail)
  38544. throw A.wrapException(A.IterableElementError_noElement());
  38545. ++_this._modificationCount;
  38546. t2 = _this._table;
  38547. result = t2[t1];
  38548. if (result == null)
  38549. result = _this.$ti._precomputed1._as(result);
  38550. t2[t1] = null;
  38551. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  38552. return result;
  38553. },
  38554. _add$1(element) {
  38555. var _this = this,
  38556. t1 = _this._table,
  38557. t2 = _this._tail;
  38558. t1[t2] = element;
  38559. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  38560. _this._tail = t1;
  38561. if (_this._head === t1)
  38562. _this._grow$0();
  38563. ++_this._modificationCount;
  38564. },
  38565. _grow$0() {
  38566. var _this = this,
  38567. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  38568. t1 = _this._table,
  38569. t2 = _this._head,
  38570. split = t1.length - t2;
  38571. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  38572. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  38573. _this._head = 0;
  38574. _this._tail = _this._table.length;
  38575. _this._table = newTable;
  38576. },
  38577. _collection$_writeToList$1(target) {
  38578. var $length, firstPartSize, _this = this,
  38579. t1 = _this._head,
  38580. t2 = _this._tail,
  38581. t3 = _this._table;
  38582. if (t1 <= t2) {
  38583. $length = t2 - t1;
  38584. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  38585. return $length;
  38586. } else {
  38587. firstPartSize = t3.length - t1;
  38588. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  38589. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  38590. return _this._tail + firstPartSize;
  38591. }
  38592. },
  38593. $isQueue: 1
  38594. };
  38595. A._ListQueueIterator.prototype = {
  38596. get$current(_) {
  38597. var t1 = this._collection$_current;
  38598. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  38599. },
  38600. moveNext$0() {
  38601. var t2, _this = this,
  38602. t1 = _this._queue;
  38603. if (_this._modificationCount !== t1._modificationCount)
  38604. A.throwExpression(A.ConcurrentModificationError$(t1));
  38605. t2 = _this._collection$_position;
  38606. if (t2 === _this._collection$_end) {
  38607. _this._collection$_current = null;
  38608. return false;
  38609. }
  38610. t1 = t1._table;
  38611. _this._collection$_current = t1[t2];
  38612. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  38613. return true;
  38614. }
  38615. };
  38616. A.SetBase.prototype = {
  38617. get$isEmpty(_) {
  38618. return this.get$length(this) === 0;
  38619. },
  38620. get$isNotEmpty(_) {
  38621. return this.get$length(this) !== 0;
  38622. },
  38623. addAll$1(_, elements) {
  38624. var t1;
  38625. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38626. this.add$1(0, t1.get$current(t1));
  38627. },
  38628. removeAll$1(elements) {
  38629. var t1;
  38630. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38631. this.remove$1(0, t1.get$current(t1));
  38632. },
  38633. difference$1(other) {
  38634. var t1, t2, element,
  38635. result = this.toSet$0(0);
  38636. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  38637. element = t1.get$current(t1);
  38638. if (t2.contains$1(0, element))
  38639. result.remove$1(0, element);
  38640. }
  38641. return result;
  38642. },
  38643. toList$1$growable(_, growable) {
  38644. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  38645. },
  38646. toList$0(_) {
  38647. return this.toList$1$growable(0, true);
  38648. },
  38649. map$1$1(_, f, $T) {
  38650. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  38651. },
  38652. get$single(_) {
  38653. var it, _this = this;
  38654. if (_this.get$length(_this) > 1)
  38655. throw A.wrapException(A.IterableElementError_tooMany());
  38656. it = _this.get$iterator(_this);
  38657. if (!it.moveNext$0())
  38658. throw A.wrapException(A.IterableElementError_noElement());
  38659. return it.get$current(it);
  38660. },
  38661. toString$0(_) {
  38662. return A.Iterable_iterableToFullString(this, "{", "}");
  38663. },
  38664. where$1(_, f) {
  38665. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  38666. },
  38667. forEach$1(_, f) {
  38668. var t1;
  38669. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38670. f.call$1(t1.get$current(t1));
  38671. },
  38672. every$1(_, f) {
  38673. var t1;
  38674. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38675. if (!f.call$1(t1.get$current(t1)))
  38676. return false;
  38677. return true;
  38678. },
  38679. any$1(_, test) {
  38680. var t1;
  38681. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38682. if (test.call$1(t1.get$current(t1)))
  38683. return true;
  38684. return false;
  38685. },
  38686. take$1(_, n) {
  38687. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  38688. },
  38689. skip$1(_, n) {
  38690. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  38691. },
  38692. get$first(_) {
  38693. var it = this.get$iterator(this);
  38694. if (!it.moveNext$0())
  38695. throw A.wrapException(A.IterableElementError_noElement());
  38696. return it.get$current(it);
  38697. },
  38698. get$last(_) {
  38699. var result,
  38700. it = this.get$iterator(this);
  38701. if (!it.moveNext$0())
  38702. throw A.wrapException(A.IterableElementError_noElement());
  38703. do
  38704. result = it.get$current(it);
  38705. while (it.moveNext$0());
  38706. return result;
  38707. },
  38708. elementAt$1(_, index) {
  38709. var iterator, skipCount;
  38710. A.RangeError_checkNotNegative(index, "index");
  38711. iterator = this.get$iterator(this);
  38712. for (skipCount = index; iterator.moveNext$0();) {
  38713. if (skipCount === 0)
  38714. return iterator.get$current(iterator);
  38715. --skipCount;
  38716. }
  38717. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  38718. },
  38719. $isEfficientLengthIterable: 1,
  38720. $isIterable: 1,
  38721. $isSet: 1
  38722. };
  38723. A._SetBase.prototype = {
  38724. difference$1(other) {
  38725. var t1, t2, t3, element, _this = this,
  38726. result = _this._newSet$0();
  38727. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38728. element = t1._collection$_current;
  38729. if (element == null)
  38730. element = t3._as(element);
  38731. if (!t2.contains$1(0, element))
  38732. result.add$1(0, element);
  38733. }
  38734. return result;
  38735. },
  38736. intersection$1(other) {
  38737. var t1, t2, t3, element, _this = this,
  38738. result = _this._newSet$0();
  38739. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38740. element = t1._collection$_current;
  38741. if (element == null)
  38742. element = t3._as(element);
  38743. if (t2.containsKey$1(element))
  38744. result.add$1(0, element);
  38745. }
  38746. return result;
  38747. },
  38748. toSet$0(_) {
  38749. var t1 = this._newSet$0();
  38750. t1.addAll$1(0, this);
  38751. return t1;
  38752. }
  38753. };
  38754. A._UnmodifiableSetMixin.prototype = {
  38755. add$1(_, value) {
  38756. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38757. },
  38758. addAll$1(_, elements) {
  38759. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38760. },
  38761. remove$1(_, value) {
  38762. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38763. }
  38764. };
  38765. A.UnmodifiableSetView.prototype = {
  38766. contains$1(_, element) {
  38767. return this._collection$_source.contains$1(0, element);
  38768. },
  38769. get$length(_) {
  38770. return this._collection$_source._collection$_length;
  38771. },
  38772. get$iterator(_) {
  38773. var t1 = this._collection$_source;
  38774. return A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1);
  38775. },
  38776. toSet$0(_) {
  38777. return this._collection$_source.toSet$0(0);
  38778. }
  38779. };
  38780. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  38781. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  38782. A._JsonMap.prototype = {
  38783. $index(_, key) {
  38784. var result,
  38785. t1 = this._processed;
  38786. if (t1 == null)
  38787. return this._data.$index(0, key);
  38788. else if (typeof key != "string")
  38789. return null;
  38790. else {
  38791. result = t1[key];
  38792. return typeof result == "undefined" ? this._process$1(key) : result;
  38793. }
  38794. },
  38795. get$length(_) {
  38796. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  38797. },
  38798. get$isEmpty(_) {
  38799. return this.get$length(0) === 0;
  38800. },
  38801. get$isNotEmpty(_) {
  38802. return this.get$length(0) > 0;
  38803. },
  38804. get$keys(_) {
  38805. var t1;
  38806. if (this._processed == null) {
  38807. t1 = this._data;
  38808. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  38809. }
  38810. return new A._JsonMapKeyIterable(this);
  38811. },
  38812. get$values(_) {
  38813. var _this = this;
  38814. if (_this._processed == null)
  38815. return _this._data.get$values(0);
  38816. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  38817. },
  38818. $indexSet(_, key, value) {
  38819. var processed, original, _this = this;
  38820. if (_this._processed == null)
  38821. _this._data.$indexSet(0, key, value);
  38822. else if (_this.containsKey$1(key)) {
  38823. processed = _this._processed;
  38824. processed[key] = value;
  38825. original = _this._original;
  38826. if (original == null ? processed != null : original !== processed)
  38827. original[key] = null;
  38828. } else
  38829. _this._upgrade$0().$indexSet(0, key, value);
  38830. },
  38831. addAll$1(_, other) {
  38832. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  38833. },
  38834. containsKey$1(key) {
  38835. if (this._processed == null)
  38836. return this._data.containsKey$1(key);
  38837. if (typeof key != "string")
  38838. return false;
  38839. return Object.prototype.hasOwnProperty.call(this._original, key);
  38840. },
  38841. remove$1(_, key) {
  38842. if (this._processed != null && !this.containsKey$1(key))
  38843. return null;
  38844. return this._upgrade$0().remove$1(0, key);
  38845. },
  38846. forEach$1(_, f) {
  38847. var keys, i, key, value, _this = this;
  38848. if (_this._processed == null)
  38849. return _this._data.forEach$1(0, f);
  38850. keys = _this._convert$_computeKeys$0();
  38851. for (i = 0; i < keys.length; ++i) {
  38852. key = keys[i];
  38853. value = _this._processed[key];
  38854. if (typeof value == "undefined") {
  38855. value = A._convertJsonToDartLazy(_this._original[key]);
  38856. _this._processed[key] = value;
  38857. }
  38858. f.call$2(key, value);
  38859. if (keys !== _this._data)
  38860. throw A.wrapException(A.ConcurrentModificationError$(_this));
  38861. }
  38862. },
  38863. _convert$_computeKeys$0() {
  38864. var keys = this._data;
  38865. if (keys == null)
  38866. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  38867. return keys;
  38868. },
  38869. _upgrade$0() {
  38870. var result, keys, i, t1, key, _this = this;
  38871. if (_this._processed == null)
  38872. return _this._data;
  38873. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  38874. keys = _this._convert$_computeKeys$0();
  38875. for (i = 0; t1 = keys.length, i < t1; ++i) {
  38876. key = keys[i];
  38877. result.$indexSet(0, key, _this.$index(0, key));
  38878. }
  38879. if (t1 === 0)
  38880. keys.push("");
  38881. else
  38882. B.JSArray_methods.clear$0(keys);
  38883. _this._original = _this._processed = null;
  38884. return _this._data = result;
  38885. },
  38886. _process$1(key) {
  38887. var result;
  38888. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  38889. return null;
  38890. result = A._convertJsonToDartLazy(this._original[key]);
  38891. return this._processed[key] = result;
  38892. }
  38893. };
  38894. A._JsonMap_values_closure.prototype = {
  38895. call$1(each) {
  38896. return this.$this.$index(0, each);
  38897. },
  38898. $signature: 169
  38899. };
  38900. A._JsonMap_addAll_closure.prototype = {
  38901. call$2(key, value) {
  38902. this.$this.$indexSet(0, key, value);
  38903. },
  38904. $signature: 134
  38905. };
  38906. A._JsonMapKeyIterable.prototype = {
  38907. get$length(_) {
  38908. return this._convert$_parent.get$length(0);
  38909. },
  38910. elementAt$1(_, index) {
  38911. var t1 = this._convert$_parent;
  38912. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  38913. },
  38914. get$iterator(_) {
  38915. var t1 = this._convert$_parent;
  38916. if (t1._processed == null) {
  38917. t1 = t1.get$keys(0);
  38918. t1 = t1.get$iterator(t1);
  38919. } else {
  38920. t1 = t1._convert$_computeKeys$0();
  38921. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  38922. }
  38923. return t1;
  38924. },
  38925. contains$1(_, key) {
  38926. return this._convert$_parent.containsKey$1(key);
  38927. }
  38928. };
  38929. A._Utf8Decoder__decoder_closure.prototype = {
  38930. call$0() {
  38931. var t1, exception;
  38932. try {
  38933. t1 = new TextDecoder("utf-8", {fatal: true});
  38934. return t1;
  38935. } catch (exception) {
  38936. }
  38937. return null;
  38938. },
  38939. $signature: 61
  38940. };
  38941. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  38942. call$0() {
  38943. var t1, exception;
  38944. try {
  38945. t1 = new TextDecoder("utf-8", {fatal: false});
  38946. return t1;
  38947. } catch (exception) {
  38948. }
  38949. return null;
  38950. },
  38951. $signature: 61
  38952. };
  38953. A.AsciiCodec.prototype = {
  38954. encode$1(source) {
  38955. return B.AsciiEncoder_127.convert$1(source);
  38956. }
  38957. };
  38958. A._UnicodeSubsetEncoder.prototype = {
  38959. convert$1(string) {
  38960. var t1, i, codeUnit,
  38961. end = A.RangeError_checkValidRange(0, null, string.length),
  38962. result = new Uint8Array(end);
  38963. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  38964. codeUnit = string.charCodeAt(i);
  38965. if ((codeUnit & t1) !== 0)
  38966. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  38967. result[i] = codeUnit;
  38968. }
  38969. return result;
  38970. }
  38971. };
  38972. A.AsciiEncoder.prototype = {};
  38973. A.Base64Codec.prototype = {
  38974. normalize$3(source, start, end) {
  38975. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  38976. _s31_ = "Invalid base64 encoding length ";
  38977. end = A.RangeError_checkValidRange(start, end, source.length);
  38978. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  38979. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  38980. i0 = i + 1;
  38981. char = source.charCodeAt(i);
  38982. if (char === 37) {
  38983. i1 = i0 + 2;
  38984. if (i1 <= end) {
  38985. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  38986. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  38987. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  38988. if (char0 === 37)
  38989. char0 = -1;
  38990. i0 = i1;
  38991. } else
  38992. char0 = -1;
  38993. } else
  38994. char0 = char;
  38995. if (0 <= char0 && char0 <= 127) {
  38996. value = inverseAlphabet[char0];
  38997. if (value >= 0) {
  38998. char0 = string$.ABCDEF.charCodeAt(value);
  38999. if (char0 === char)
  39000. continue;
  39001. char = char0;
  39002. } else {
  39003. if (value === -1) {
  39004. if (firstPadding < 0) {
  39005. t1 = buffer == null ? null : buffer._contents.length;
  39006. if (t1 == null)
  39007. t1 = 0;
  39008. firstPadding = t1 + (i - sliceStart);
  39009. firstPaddingSourceIndex = i;
  39010. }
  39011. ++paddingCount;
  39012. if (char === 61)
  39013. continue;
  39014. }
  39015. char = char0;
  39016. }
  39017. if (value !== -2) {
  39018. if (buffer == null) {
  39019. buffer = new A.StringBuffer("");
  39020. t1 = buffer;
  39021. } else
  39022. t1 = buffer;
  39023. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  39024. t2 = A.Primitives_stringFromCharCode(char);
  39025. t1._contents += t2;
  39026. sliceStart = i0;
  39027. continue;
  39028. }
  39029. }
  39030. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  39031. }
  39032. if (buffer != null) {
  39033. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  39034. t1 = buffer._contents += t1;
  39035. t2 = t1.length;
  39036. if (firstPadding >= 0)
  39037. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  39038. else {
  39039. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  39040. if (endLength === 1)
  39041. throw A.wrapException(A.FormatException$(_s31_, source, end));
  39042. for (; endLength < 4;) {
  39043. t1 += "=";
  39044. buffer._contents = t1;
  39045. ++endLength;
  39046. }
  39047. }
  39048. t1 = buffer._contents;
  39049. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  39050. }
  39051. $length = end - start;
  39052. if (firstPadding >= 0)
  39053. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  39054. else {
  39055. endLength = B.JSInt_methods.$mod($length, 4);
  39056. if (endLength === 1)
  39057. throw A.wrapException(A.FormatException$(_s31_, source, end));
  39058. if (endLength > 1)
  39059. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  39060. }
  39061. return source;
  39062. }
  39063. };
  39064. A.Base64Encoder.prototype = {
  39065. startChunkedConversion$1(sink) {
  39066. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  39067. }
  39068. };
  39069. A._Base64Encoder.prototype = {
  39070. createBuffer$1(bufferLength) {
  39071. return new Uint8Array(bufferLength);
  39072. },
  39073. encode$4(bytes, start, end, isLast) {
  39074. var output, _this = this,
  39075. byteCount = (_this._convert$_state & 3) + (end - start),
  39076. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  39077. bufferLength = fullChunks * 4;
  39078. if (isLast && byteCount - fullChunks * 3 > 0)
  39079. bufferLength += 4;
  39080. output = _this.createBuffer$1(bufferLength);
  39081. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  39082. if (bufferLength > 0)
  39083. return output;
  39084. return null;
  39085. }
  39086. };
  39087. A._Base64EncoderSink.prototype = {};
  39088. A._Utf8Base64EncoderSink.prototype = {
  39089. _convert$_add$4(source, start, end, isLast) {
  39090. var buffer = this._encoder.encode$4(source, start, end, isLast);
  39091. if (buffer != null)
  39092. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  39093. }
  39094. };
  39095. A.ByteConversionSink.prototype = {};
  39096. A.Codec.prototype = {};
  39097. A.Converter.prototype = {};
  39098. A.Encoding.prototype = {};
  39099. A.JsonUnsupportedObjectError.prototype = {
  39100. toString$0(_) {
  39101. var safeString = A.Error_safeToString(this.unsupportedObject);
  39102. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  39103. }
  39104. };
  39105. A.JsonCyclicError.prototype = {
  39106. toString$0(_) {
  39107. return "Cyclic error in JSON stringify";
  39108. }
  39109. };
  39110. A.JsonCodec.prototype = {
  39111. decode$1(source) {
  39112. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  39113. return t1;
  39114. },
  39115. encode$2$toEncodable(value, toEncodable) {
  39116. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  39117. return t1;
  39118. },
  39119. get$encoder() {
  39120. return B.JsonEncoder_null;
  39121. },
  39122. get$decoder() {
  39123. return B.JsonDecoder_null;
  39124. }
  39125. };
  39126. A.JsonEncoder.prototype = {};
  39127. A.JsonDecoder.prototype = {};
  39128. A._JsonStringifier.prototype = {
  39129. writeStringContent$1(s) {
  39130. var offset, i, charCode, t1, t2, _this = this,
  39131. $length = s.length;
  39132. for (offset = 0, i = 0; i < $length; ++i) {
  39133. charCode = s.charCodeAt(i);
  39134. if (charCode > 92) {
  39135. if (charCode >= 55296) {
  39136. t1 = charCode & 64512;
  39137. if (t1 === 55296) {
  39138. t2 = i + 1;
  39139. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  39140. } else
  39141. t2 = false;
  39142. if (!t2)
  39143. if (t1 === 56320) {
  39144. t1 = i - 1;
  39145. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  39146. } else
  39147. t1 = false;
  39148. else
  39149. t1 = true;
  39150. if (t1) {
  39151. if (i > offset)
  39152. _this.writeStringSlice$3(s, offset, i);
  39153. offset = i + 1;
  39154. _this.writeCharCode$1(92);
  39155. _this.writeCharCode$1(117);
  39156. _this.writeCharCode$1(100);
  39157. t1 = charCode >>> 8 & 15;
  39158. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39159. t1 = charCode >>> 4 & 15;
  39160. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39161. t1 = charCode & 15;
  39162. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39163. }
  39164. }
  39165. continue;
  39166. }
  39167. if (charCode < 32) {
  39168. if (i > offset)
  39169. _this.writeStringSlice$3(s, offset, i);
  39170. offset = i + 1;
  39171. _this.writeCharCode$1(92);
  39172. switch (charCode) {
  39173. case 8:
  39174. _this.writeCharCode$1(98);
  39175. break;
  39176. case 9:
  39177. _this.writeCharCode$1(116);
  39178. break;
  39179. case 10:
  39180. _this.writeCharCode$1(110);
  39181. break;
  39182. case 12:
  39183. _this.writeCharCode$1(102);
  39184. break;
  39185. case 13:
  39186. _this.writeCharCode$1(114);
  39187. break;
  39188. default:
  39189. _this.writeCharCode$1(117);
  39190. _this.writeCharCode$1(48);
  39191. _this.writeCharCode$1(48);
  39192. t1 = charCode >>> 4 & 15;
  39193. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39194. t1 = charCode & 15;
  39195. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39196. break;
  39197. }
  39198. } else if (charCode === 34 || charCode === 92) {
  39199. if (i > offset)
  39200. _this.writeStringSlice$3(s, offset, i);
  39201. offset = i + 1;
  39202. _this.writeCharCode$1(92);
  39203. _this.writeCharCode$1(charCode);
  39204. }
  39205. }
  39206. if (offset === 0)
  39207. _this.writeString$1(s);
  39208. else if (offset < $length)
  39209. _this.writeStringSlice$3(s, offset, $length);
  39210. },
  39211. _checkCycle$1(object) {
  39212. var t1, t2, i, t3;
  39213. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  39214. t3 = t1[i];
  39215. if (object == null ? t3 == null : object === t3)
  39216. throw A.wrapException(new A.JsonCyclicError(object, null));
  39217. }
  39218. t1.push(object);
  39219. },
  39220. writeObject$1(object) {
  39221. var customJson, e, t1, exception, _this = this;
  39222. if (_this.writeJsonValue$1(object))
  39223. return;
  39224. _this._checkCycle$1(object);
  39225. try {
  39226. customJson = _this._toEncodable.call$1(object);
  39227. if (!_this.writeJsonValue$1(customJson)) {
  39228. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  39229. throw A.wrapException(t1);
  39230. }
  39231. _this._seen.pop();
  39232. } catch (exception) {
  39233. e = A.unwrapException(exception);
  39234. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  39235. throw A.wrapException(t1);
  39236. }
  39237. },
  39238. writeJsonValue$1(object) {
  39239. var success, _this = this;
  39240. if (typeof object == "number") {
  39241. if (!isFinite(object))
  39242. return false;
  39243. _this.writeNumber$1(object);
  39244. return true;
  39245. } else if (object === true) {
  39246. _this.writeString$1("true");
  39247. return true;
  39248. } else if (object === false) {
  39249. _this.writeString$1("false");
  39250. return true;
  39251. } else if (object == null) {
  39252. _this.writeString$1("null");
  39253. return true;
  39254. } else if (typeof object == "string") {
  39255. _this.writeString$1('"');
  39256. _this.writeStringContent$1(object);
  39257. _this.writeString$1('"');
  39258. return true;
  39259. } else if (type$.List_dynamic._is(object)) {
  39260. _this._checkCycle$1(object);
  39261. _this.writeList$1(object);
  39262. _this._seen.pop();
  39263. return true;
  39264. } else if (type$.Map_dynamic_dynamic._is(object)) {
  39265. _this._checkCycle$1(object);
  39266. success = _this.writeMap$1(object);
  39267. _this._seen.pop();
  39268. return success;
  39269. } else
  39270. return false;
  39271. },
  39272. writeList$1(list) {
  39273. var t1, i, _this = this;
  39274. _this.writeString$1("[");
  39275. t1 = J.getInterceptor$asx(list);
  39276. if (t1.get$isNotEmpty(list)) {
  39277. _this.writeObject$1(t1.$index(list, 0));
  39278. for (i = 1; i < t1.get$length(list); ++i) {
  39279. _this.writeString$1(",");
  39280. _this.writeObject$1(t1.$index(list, i));
  39281. }
  39282. }
  39283. _this.writeString$1("]");
  39284. },
  39285. writeMap$1(map) {
  39286. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  39287. if (map.get$isEmpty(map)) {
  39288. _this.writeString$1("{}");
  39289. return true;
  39290. }
  39291. t1 = map.get$length(map) * 2;
  39292. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  39293. i = _box_0.i = 0;
  39294. _box_0.allStringKeys = true;
  39295. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  39296. if (!_box_0.allStringKeys)
  39297. return false;
  39298. _this.writeString$1("{");
  39299. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  39300. _this.writeString$1(separator);
  39301. _this.writeStringContent$1(A._asString(keyValueList[i]));
  39302. _this.writeString$1('":');
  39303. _this.writeObject$1(keyValueList[i + 1]);
  39304. }
  39305. _this.writeString$1("}");
  39306. return true;
  39307. }
  39308. };
  39309. A._JsonStringifier_writeMap_closure.prototype = {
  39310. call$2(key, value) {
  39311. var t1, t2, t3, i;
  39312. if (typeof key != "string")
  39313. this._box_0.allStringKeys = false;
  39314. t1 = this.keyValueList;
  39315. t2 = this._box_0;
  39316. t3 = t2.i;
  39317. i = t2.i = t3 + 1;
  39318. t1[t3] = key;
  39319. t2.i = i + 1;
  39320. t1[i] = value;
  39321. },
  39322. $signature: 166
  39323. };
  39324. A._JsonStringStringifier.prototype = {
  39325. get$_partialResult() {
  39326. var t1 = this._sink._contents;
  39327. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39328. },
  39329. writeNumber$1(number) {
  39330. var t1 = this._sink,
  39331. t2 = B.JSNumber_methods.toString$0(number);
  39332. t1._contents += t2;
  39333. },
  39334. writeString$1(string) {
  39335. this._sink._contents += string;
  39336. },
  39337. writeStringSlice$3(string, start, end) {
  39338. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  39339. },
  39340. writeCharCode$1(charCode) {
  39341. var t1 = this._sink,
  39342. t2 = A.Primitives_stringFromCharCode(charCode);
  39343. t1._contents += t2;
  39344. }
  39345. };
  39346. A.StringConversionSink.prototype = {};
  39347. A._StringSinkConversionSink.prototype = {
  39348. close$0(_) {
  39349. }
  39350. };
  39351. A._StringCallbackSink.prototype = {
  39352. close$0(_) {
  39353. var t1 = this._stringSink,
  39354. t2 = t1._contents;
  39355. t1._contents = "";
  39356. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  39357. },
  39358. asUtf8Sink$1(allowMalformed) {
  39359. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  39360. }
  39361. };
  39362. A._Utf8StringSinkAdapter.prototype = {
  39363. close$0(_) {
  39364. this._decoder.flush$1(this._stringSink);
  39365. this._sink.close$0(0);
  39366. },
  39367. add$1(_, chunk) {
  39368. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  39369. },
  39370. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  39371. var t1 = this._stringSink,
  39372. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  39373. t1._contents += t2;
  39374. if (isLast)
  39375. this.close$0(0);
  39376. }
  39377. };
  39378. A.Utf8Codec.prototype = {
  39379. encode$1(string) {
  39380. return B.C_Utf8Encoder.convert$1(string);
  39381. }
  39382. };
  39383. A.Utf8Encoder.prototype = {
  39384. convert$1(string) {
  39385. var t1, encoder,
  39386. end = A.RangeError_checkValidRange(0, null, string.length);
  39387. if (end === 0)
  39388. return new Uint8Array(0);
  39389. t1 = new Uint8Array(end * 3);
  39390. encoder = new A._Utf8Encoder(t1);
  39391. if (encoder._fillBuffer$3(string, 0, end) !== end)
  39392. encoder._writeReplacementCharacter$0();
  39393. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  39394. }
  39395. };
  39396. A._Utf8Encoder.prototype = {
  39397. _writeReplacementCharacter$0() {
  39398. var _this = this,
  39399. t1 = _this._buffer,
  39400. t2 = _this._bufferIndex,
  39401. t3 = _this._bufferIndex = t2 + 1;
  39402. t1[t2] = 239;
  39403. t2 = _this._bufferIndex = t3 + 1;
  39404. t1[t3] = 191;
  39405. _this._bufferIndex = t2 + 1;
  39406. t1[t2] = 189;
  39407. },
  39408. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  39409. var rune, t1, t2, t3, _this = this;
  39410. if ((nextCodeUnit & 64512) === 56320) {
  39411. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  39412. t1 = _this._buffer;
  39413. t2 = _this._bufferIndex;
  39414. t3 = _this._bufferIndex = t2 + 1;
  39415. t1[t2] = rune >>> 18 | 240;
  39416. t2 = _this._bufferIndex = t3 + 1;
  39417. t1[t3] = rune >>> 12 & 63 | 128;
  39418. t3 = _this._bufferIndex = t2 + 1;
  39419. t1[t2] = rune >>> 6 & 63 | 128;
  39420. _this._bufferIndex = t3 + 1;
  39421. t1[t3] = rune & 63 | 128;
  39422. return true;
  39423. } else {
  39424. _this._writeReplacementCharacter$0();
  39425. return false;
  39426. }
  39427. },
  39428. _fillBuffer$3(str, start, end) {
  39429. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  39430. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  39431. --end;
  39432. for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  39433. codeUnit = str.charCodeAt(stringIndex);
  39434. if (codeUnit <= 127) {
  39435. t3 = _this._bufferIndex;
  39436. if (t3 >= t2)
  39437. break;
  39438. _this._bufferIndex = t3 + 1;
  39439. t1[t3] = codeUnit;
  39440. } else {
  39441. t3 = codeUnit & 64512;
  39442. if (t3 === 55296) {
  39443. if (_this._bufferIndex + 4 > t2)
  39444. break;
  39445. stringIndex0 = stringIndex + 1;
  39446. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  39447. stringIndex = stringIndex0;
  39448. } else if (t3 === 56320) {
  39449. if (_this._bufferIndex + 3 > t2)
  39450. break;
  39451. _this._writeReplacementCharacter$0();
  39452. } else if (codeUnit <= 2047) {
  39453. t3 = _this._bufferIndex;
  39454. t4 = t3 + 1;
  39455. if (t4 >= t2)
  39456. break;
  39457. _this._bufferIndex = t4;
  39458. t1[t3] = codeUnit >>> 6 | 192;
  39459. _this._bufferIndex = t4 + 1;
  39460. t1[t4] = codeUnit & 63 | 128;
  39461. } else {
  39462. t3 = _this._bufferIndex;
  39463. if (t3 + 2 >= t2)
  39464. break;
  39465. t4 = _this._bufferIndex = t3 + 1;
  39466. t1[t3] = codeUnit >>> 12 | 224;
  39467. t3 = _this._bufferIndex = t4 + 1;
  39468. t1[t4] = codeUnit >>> 6 & 63 | 128;
  39469. _this._bufferIndex = t3 + 1;
  39470. t1[t3] = codeUnit & 63 | 128;
  39471. }
  39472. }
  39473. }
  39474. return stringIndex;
  39475. }
  39476. };
  39477. A.Utf8Decoder.prototype = {
  39478. convert$1(codeUnits) {
  39479. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  39480. }
  39481. };
  39482. A._Utf8Decoder.prototype = {
  39483. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  39484. var casted, bytes, errorOffset, t1, result, message, _this = this,
  39485. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  39486. if (start === end)
  39487. return "";
  39488. if (codeUnits instanceof Uint8Array) {
  39489. casted = codeUnits;
  39490. bytes = casted;
  39491. errorOffset = 0;
  39492. } else {
  39493. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  39494. end -= start;
  39495. errorOffset = start;
  39496. start = 0;
  39497. }
  39498. if (single && end - start >= 15) {
  39499. t1 = _this.allowMalformed;
  39500. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  39501. if (result != null) {
  39502. if (!t1)
  39503. return result;
  39504. if (result.indexOf("\ufffd") < 0)
  39505. return result;
  39506. }
  39507. }
  39508. result = _this._decodeRecursive$4(bytes, start, end, single);
  39509. t1 = _this._convert$_state;
  39510. if ((t1 & 1) !== 0) {
  39511. message = A._Utf8Decoder_errorDescription(t1);
  39512. _this._convert$_state = 0;
  39513. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  39514. }
  39515. return result;
  39516. },
  39517. _decodeRecursive$4(bytes, start, end, single) {
  39518. var mid, s1, _this = this;
  39519. if (end - start > 1000) {
  39520. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  39521. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  39522. if ((_this._convert$_state & 1) !== 0)
  39523. return s1;
  39524. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  39525. }
  39526. return _this.decodeGeneral$4(bytes, start, end, single);
  39527. },
  39528. flush$1(sink) {
  39529. var t1,
  39530. state = this._convert$_state;
  39531. this._convert$_state = 0;
  39532. if (state <= 32)
  39533. return;
  39534. if (this.allowMalformed) {
  39535. t1 = A.Primitives_stringFromCharCode(65533);
  39536. sink._contents += t1;
  39537. } else
  39538. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  39539. },
  39540. decodeGeneral$4(bytes, start, end, single) {
  39541. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  39542. state = _this._convert$_state,
  39543. char = _this._charOrIndex,
  39544. buffer = new A.StringBuffer(""),
  39545. i = start + 1,
  39546. byte = bytes[start];
  39547. $label0$0:
  39548. for (t1 = _this.allowMalformed; true;) {
  39549. for (; true; i = i0) {
  39550. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  39551. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  39552. 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);
  39553. if (state === 0) {
  39554. t2 = A.Primitives_stringFromCharCode(char);
  39555. buffer._contents += t2;
  39556. if (i === end)
  39557. break $label0$0;
  39558. break;
  39559. } else if ((state & 1) !== 0) {
  39560. if (t1)
  39561. switch (state) {
  39562. case 69:
  39563. case 67:
  39564. t2 = A.Primitives_stringFromCharCode(_65533);
  39565. buffer._contents += t2;
  39566. break;
  39567. case 65:
  39568. t2 = A.Primitives_stringFromCharCode(_65533);
  39569. buffer._contents += t2;
  39570. --i;
  39571. break;
  39572. default:
  39573. t2 = A.Primitives_stringFromCharCode(_65533);
  39574. t2 = buffer._contents += t2;
  39575. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  39576. break;
  39577. }
  39578. else {
  39579. _this._convert$_state = state;
  39580. _this._charOrIndex = i - 1;
  39581. return "";
  39582. }
  39583. state = 0;
  39584. }
  39585. if (i === end)
  39586. break $label0$0;
  39587. i0 = i + 1;
  39588. byte = bytes[i];
  39589. }
  39590. i0 = i + 1;
  39591. byte = bytes[i];
  39592. if (byte < 128) {
  39593. while (true) {
  39594. if (!(i0 < end)) {
  39595. markEnd = end;
  39596. break;
  39597. }
  39598. i1 = i0 + 1;
  39599. byte = bytes[i0];
  39600. if (byte >= 128) {
  39601. markEnd = i1 - 1;
  39602. i0 = i1;
  39603. break;
  39604. }
  39605. i0 = i1;
  39606. }
  39607. if (markEnd - i < 20)
  39608. for (m = i; m < markEnd; ++m) {
  39609. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  39610. buffer._contents += t2;
  39611. }
  39612. else {
  39613. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  39614. buffer._contents += t2;
  39615. }
  39616. if (markEnd === end)
  39617. break $label0$0;
  39618. i = i0;
  39619. } else
  39620. i = i0;
  39621. }
  39622. if (single && state > 32)
  39623. if (t1) {
  39624. t1 = A.Primitives_stringFromCharCode(_65533);
  39625. buffer._contents += t1;
  39626. } else {
  39627. _this._convert$_state = 77;
  39628. _this._charOrIndex = end;
  39629. return "";
  39630. }
  39631. _this._convert$_state = state;
  39632. _this._charOrIndex = char;
  39633. t1 = buffer._contents;
  39634. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39635. }
  39636. };
  39637. A.NoSuchMethodError_toString_closure.prototype = {
  39638. call$2(key, value) {
  39639. var t1 = this.sb,
  39640. t2 = this._box_0,
  39641. t3 = t1._contents += t2.comma;
  39642. t3 += key.__internal$_name;
  39643. t1._contents = t3;
  39644. t1._contents = t3 + ": ";
  39645. t3 = A.Error_safeToString(value);
  39646. t1._contents += t3;
  39647. t2.comma = ", ";
  39648. },
  39649. $signature: 333
  39650. };
  39651. A.DateTime.prototype = {
  39652. $eq(_, other) {
  39653. var t1;
  39654. if (other == null)
  39655. return false;
  39656. t1 = false;
  39657. if (other instanceof A.DateTime)
  39658. if (this._value === other._value)
  39659. t1 = this._microsecond === other._microsecond;
  39660. return t1;
  39661. },
  39662. get$hashCode(_) {
  39663. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  39664. },
  39665. isAfter$1(other) {
  39666. var t1 = this._value,
  39667. t2 = other._value;
  39668. if (t1 <= t2)
  39669. t1 = t1 === t2 && this._microsecond > other._microsecond;
  39670. else
  39671. t1 = true;
  39672. return t1;
  39673. },
  39674. compareTo$1(_, other) {
  39675. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  39676. if (r !== 0)
  39677. return r;
  39678. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  39679. },
  39680. toString$0(_) {
  39681. var _this = this,
  39682. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  39683. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  39684. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  39685. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  39686. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  39687. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  39688. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  39689. t1 = _this._microsecond,
  39690. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  39691. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  39692. },
  39693. $isComparable: 1
  39694. };
  39695. A.Duration.prototype = {
  39696. $eq(_, other) {
  39697. if (other == null)
  39698. return false;
  39699. return other instanceof A.Duration && this._duration === other._duration;
  39700. },
  39701. get$hashCode(_) {
  39702. return B.JSInt_methods.get$hashCode(this._duration);
  39703. },
  39704. compareTo$1(_, other) {
  39705. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  39706. },
  39707. toString$0(_) {
  39708. var sign, minutes, minutesPadding, seconds, secondsPadding,
  39709. microseconds = this._duration,
  39710. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  39711. microseconds0 = microseconds % 3600000000;
  39712. if (microseconds < 0) {
  39713. hours = 0 - hours;
  39714. microseconds = 0 - microseconds0;
  39715. sign = "-";
  39716. } else {
  39717. microseconds = microseconds0;
  39718. sign = "";
  39719. }
  39720. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  39721. microseconds %= 60000000;
  39722. minutesPadding = minutes < 10 ? "0" : "";
  39723. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  39724. secondsPadding = seconds < 10 ? "0" : "";
  39725. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  39726. },
  39727. $isComparable: 1
  39728. };
  39729. A._Enum.prototype = {
  39730. toString$0(_) {
  39731. return this._enumToString$0();
  39732. }
  39733. };
  39734. A.Error.prototype = {
  39735. get$stackTrace() {
  39736. return A.Primitives_extractStackTrace(this);
  39737. }
  39738. };
  39739. A.AssertionError.prototype = {
  39740. toString$0(_) {
  39741. var t1 = this.message;
  39742. if (t1 != null)
  39743. return "Assertion failed: " + A.Error_safeToString(t1);
  39744. return "Assertion failed";
  39745. },
  39746. get$message(receiver) {
  39747. return this.message;
  39748. }
  39749. };
  39750. A.TypeError.prototype = {};
  39751. A.ArgumentError.prototype = {
  39752. get$_errorName() {
  39753. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  39754. },
  39755. get$_errorExplanation() {
  39756. return "";
  39757. },
  39758. toString$0(_) {
  39759. var _this = this,
  39760. $name = _this.name,
  39761. nameString = $name == null ? "" : " (" + $name + ")",
  39762. message = _this.message,
  39763. messageString = message == null ? "" : ": " + A.S(message),
  39764. prefix = _this.get$_errorName() + nameString + messageString;
  39765. if (!_this._hasValue)
  39766. return prefix;
  39767. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  39768. },
  39769. get$invalidValue() {
  39770. return this.invalidValue;
  39771. },
  39772. get$message(receiver) {
  39773. return this.message;
  39774. }
  39775. };
  39776. A.RangeError.prototype = {
  39777. get$invalidValue() {
  39778. return this.invalidValue;
  39779. },
  39780. get$_errorName() {
  39781. return "RangeError";
  39782. },
  39783. get$_errorExplanation() {
  39784. var explanation,
  39785. start = this.start,
  39786. end = this.end;
  39787. if (start == null)
  39788. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  39789. else if (end == null)
  39790. explanation = ": Not greater than or equal to " + A.S(start);
  39791. else if (end > start)
  39792. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  39793. else
  39794. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  39795. return explanation;
  39796. }
  39797. };
  39798. A.IndexError.prototype = {
  39799. get$invalidValue() {
  39800. return this.invalidValue;
  39801. },
  39802. get$_errorName() {
  39803. return "RangeError";
  39804. },
  39805. get$_errorExplanation() {
  39806. if (this.invalidValue < 0)
  39807. return ": index must not be negative";
  39808. var t1 = this.length;
  39809. if (t1 === 0)
  39810. return ": no indices are valid";
  39811. return ": index should be less than " + t1;
  39812. },
  39813. $isRangeError: 1,
  39814. get$length(receiver) {
  39815. return this.length;
  39816. }
  39817. };
  39818. A.NoSuchMethodError.prototype = {
  39819. toString$0(_) {
  39820. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  39821. sb = new A.StringBuffer("");
  39822. _box_0.comma = "";
  39823. $arguments = _this._core$_arguments;
  39824. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  39825. argument = $arguments[_i];
  39826. sb._contents = t2 + t3;
  39827. t2 = A.Error_safeToString(argument);
  39828. t2 = sb._contents += t2;
  39829. _box_0.comma = ", ";
  39830. }
  39831. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  39832. receiverText = A.Error_safeToString(_this._core$_receiver);
  39833. actualParameters = sb.toString$0(0);
  39834. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  39835. }
  39836. };
  39837. A.UnsupportedError.prototype = {
  39838. toString$0(_) {
  39839. return "Unsupported operation: " + this.message;
  39840. },
  39841. get$message(receiver) {
  39842. return this.message;
  39843. }
  39844. };
  39845. A.UnimplementedError.prototype = {
  39846. toString$0(_) {
  39847. return "UnimplementedError: " + this.message;
  39848. },
  39849. get$message(receiver) {
  39850. return this.message;
  39851. }
  39852. };
  39853. A.StateError.prototype = {
  39854. toString$0(_) {
  39855. return "Bad state: " + this.message;
  39856. },
  39857. get$message(receiver) {
  39858. return this.message;
  39859. }
  39860. };
  39861. A.ConcurrentModificationError.prototype = {
  39862. toString$0(_) {
  39863. var t1 = this.modifiedObject;
  39864. if (t1 == null)
  39865. return "Concurrent modification during iteration.";
  39866. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  39867. }
  39868. };
  39869. A.OutOfMemoryError.prototype = {
  39870. toString$0(_) {
  39871. return "Out of Memory";
  39872. },
  39873. get$stackTrace() {
  39874. return null;
  39875. },
  39876. $isError: 1
  39877. };
  39878. A.StackOverflowError.prototype = {
  39879. toString$0(_) {
  39880. return "Stack Overflow";
  39881. },
  39882. get$stackTrace() {
  39883. return null;
  39884. },
  39885. $isError: 1
  39886. };
  39887. A._Exception.prototype = {
  39888. toString$0(_) {
  39889. return "Exception: " + this.message;
  39890. },
  39891. $isException: 1,
  39892. get$message(receiver) {
  39893. return this.message;
  39894. }
  39895. };
  39896. A.FormatException.prototype = {
  39897. toString$0(_) {
  39898. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  39899. message = this.message,
  39900. report = "" !== message ? "FormatException: " + message : "FormatException",
  39901. offset = this.offset,
  39902. source = this.source;
  39903. if (typeof source == "string") {
  39904. if (offset != null)
  39905. t1 = offset < 0 || offset > source.length;
  39906. else
  39907. t1 = false;
  39908. if (t1)
  39909. offset = null;
  39910. if (offset == null) {
  39911. if (source.length > 78)
  39912. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  39913. return report + "\n" + source;
  39914. }
  39915. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  39916. char = source.charCodeAt(i);
  39917. if (char === 10) {
  39918. if (lineStart !== i || !previousCharWasCR)
  39919. ++lineNum;
  39920. lineStart = i + 1;
  39921. previousCharWasCR = false;
  39922. } else if (char === 13) {
  39923. ++lineNum;
  39924. lineStart = i + 1;
  39925. previousCharWasCR = true;
  39926. }
  39927. }
  39928. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  39929. lineEnd = source.length;
  39930. for (i = offset; i < lineEnd; ++i) {
  39931. char = source.charCodeAt(i);
  39932. if (char === 10 || char === 13) {
  39933. lineEnd = i;
  39934. break;
  39935. }
  39936. }
  39937. prefix = "";
  39938. if (lineEnd - lineStart > 78) {
  39939. postfix = "...";
  39940. if (offset - lineStart < 75) {
  39941. end = lineStart + 75;
  39942. start = lineStart;
  39943. } else {
  39944. if (lineEnd - offset < 75) {
  39945. start = lineEnd - 75;
  39946. end = lineEnd;
  39947. postfix = "";
  39948. } else {
  39949. start = offset - 36;
  39950. end = offset + 36;
  39951. }
  39952. prefix = "...";
  39953. }
  39954. } else {
  39955. end = lineEnd;
  39956. start = lineStart;
  39957. postfix = "";
  39958. }
  39959. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  39960. } else
  39961. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  39962. },
  39963. $isException: 1,
  39964. get$message(receiver) {
  39965. return this.message;
  39966. }
  39967. };
  39968. A.Iterable.prototype = {
  39969. cast$1$0(_, $R) {
  39970. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  39971. },
  39972. followedBy$1(_, other) {
  39973. var _this = this,
  39974. t1 = A._instanceType(_this);
  39975. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  39976. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  39977. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  39978. },
  39979. map$1$1(_, toElement, $T) {
  39980. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  39981. },
  39982. where$1(_, test) {
  39983. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  39984. },
  39985. expand$1$1(_, toElements, $T) {
  39986. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  39987. },
  39988. contains$1(_, element) {
  39989. var t1;
  39990. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39991. if (J.$eq$(t1.get$current(t1), element))
  39992. return true;
  39993. return false;
  39994. },
  39995. forEach$1(_, action) {
  39996. var t1;
  39997. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39998. action.call$1(t1.get$current(t1));
  39999. },
  40000. fold$1$2(_, initialValue, combine) {
  40001. var t1, value;
  40002. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  40003. value = combine.call$2(value, t1.get$current(t1));
  40004. return value;
  40005. },
  40006. fold$2(_, initialValue, combine) {
  40007. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  40008. },
  40009. every$1(_, test) {
  40010. var t1;
  40011. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40012. if (!test.call$1(t1.get$current(t1)))
  40013. return false;
  40014. return true;
  40015. },
  40016. join$1(_, separator) {
  40017. var first, t1,
  40018. iterator = this.get$iterator(this);
  40019. if (!iterator.moveNext$0())
  40020. return "";
  40021. first = J.toString$0$(iterator.get$current(iterator));
  40022. if (!iterator.moveNext$0())
  40023. return first;
  40024. if (separator.length === 0) {
  40025. t1 = first;
  40026. do
  40027. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  40028. while (iterator.moveNext$0());
  40029. } else {
  40030. t1 = first;
  40031. do
  40032. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  40033. while (iterator.moveNext$0());
  40034. }
  40035. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40036. },
  40037. any$1(_, test) {
  40038. var t1;
  40039. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40040. if (test.call$1(t1.get$current(t1)))
  40041. return true;
  40042. return false;
  40043. },
  40044. toList$1$growable(_, growable) {
  40045. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  40046. },
  40047. toList$0(_) {
  40048. return this.toList$1$growable(0, true);
  40049. },
  40050. toSet$0(_) {
  40051. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  40052. },
  40053. get$length(_) {
  40054. var count,
  40055. it = this.get$iterator(this);
  40056. for (count = 0; it.moveNext$0();)
  40057. ++count;
  40058. return count;
  40059. },
  40060. get$isEmpty(_) {
  40061. return !this.get$iterator(this).moveNext$0();
  40062. },
  40063. get$isNotEmpty(_) {
  40064. return !this.get$isEmpty(this);
  40065. },
  40066. take$1(_, count) {
  40067. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  40068. },
  40069. skip$1(_, count) {
  40070. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  40071. },
  40072. skipWhile$1(_, test) {
  40073. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  40074. },
  40075. get$first(_) {
  40076. var it = this.get$iterator(this);
  40077. if (!it.moveNext$0())
  40078. throw A.wrapException(A.IterableElementError_noElement());
  40079. return it.get$current(it);
  40080. },
  40081. get$last(_) {
  40082. var result,
  40083. it = this.get$iterator(this);
  40084. if (!it.moveNext$0())
  40085. throw A.wrapException(A.IterableElementError_noElement());
  40086. do
  40087. result = it.get$current(it);
  40088. while (it.moveNext$0());
  40089. return result;
  40090. },
  40091. get$single(_) {
  40092. var result,
  40093. it = this.get$iterator(this);
  40094. if (!it.moveNext$0())
  40095. throw A.wrapException(A.IterableElementError_noElement());
  40096. result = it.get$current(it);
  40097. if (it.moveNext$0())
  40098. throw A.wrapException(A.IterableElementError_tooMany());
  40099. return result;
  40100. },
  40101. elementAt$1(_, index) {
  40102. var iterator, skipCount;
  40103. A.RangeError_checkNotNegative(index, "index");
  40104. iterator = this.get$iterator(this);
  40105. for (skipCount = index; iterator.moveNext$0();) {
  40106. if (skipCount === 0)
  40107. return iterator.get$current(iterator);
  40108. --skipCount;
  40109. }
  40110. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  40111. },
  40112. toString$0(_) {
  40113. return A.Iterable_iterableToShortString(this, "(", ")");
  40114. }
  40115. };
  40116. A._GeneratorIterable.prototype = {
  40117. elementAt$1(_, index) {
  40118. A.IndexError_check(index, this.length, this, null, null);
  40119. return this._generator.call$1(index);
  40120. },
  40121. get$length(receiver) {
  40122. return this.length;
  40123. }
  40124. };
  40125. A.MapEntry.prototype = {
  40126. toString$0(_) {
  40127. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  40128. }
  40129. };
  40130. A.Null.prototype = {
  40131. get$hashCode(_) {
  40132. return A.Object.prototype.get$hashCode.call(this, 0);
  40133. },
  40134. toString$0(_) {
  40135. return "null";
  40136. }
  40137. };
  40138. A.Object.prototype = {$isObject: 1,
  40139. $eq(_, other) {
  40140. return this === other;
  40141. },
  40142. get$hashCode(_) {
  40143. return A.Primitives_objectHashCode(this);
  40144. },
  40145. toString$0(_) {
  40146. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  40147. },
  40148. noSuchMethod$1(_, invocation) {
  40149. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  40150. },
  40151. get$runtimeType(_) {
  40152. return A.getRuntimeTypeOfDartObject(this);
  40153. },
  40154. toString() {
  40155. return this.toString$0(this);
  40156. }
  40157. };
  40158. A._StringStackTrace.prototype = {
  40159. toString$0(_) {
  40160. return this._stackTrace;
  40161. },
  40162. $isStackTrace: 1
  40163. };
  40164. A.Runes.prototype = {
  40165. get$iterator(_) {
  40166. return new A.RuneIterator(this.string);
  40167. },
  40168. get$last(_) {
  40169. var code, previousCode,
  40170. t1 = this.string,
  40171. t2 = t1.length;
  40172. if (t2 === 0)
  40173. throw A.wrapException(A.StateError$("No elements."));
  40174. code = t1.charCodeAt(t2 - 1);
  40175. if ((code & 64512) === 56320 && t2 > 1) {
  40176. previousCode = t1.charCodeAt(t2 - 2);
  40177. if ((previousCode & 64512) === 55296)
  40178. return A._combineSurrogatePair(previousCode, code);
  40179. }
  40180. return code;
  40181. }
  40182. };
  40183. A.RuneIterator.prototype = {
  40184. get$current(_) {
  40185. return this._currentCodePoint;
  40186. },
  40187. moveNext$0() {
  40188. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  40189. t1 = _this._position = _this._nextPosition,
  40190. t2 = _this.string,
  40191. t3 = t2.length;
  40192. if (t1 === t3) {
  40193. _this._currentCodePoint = -1;
  40194. return false;
  40195. }
  40196. codeUnit = t2.charCodeAt(t1);
  40197. nextPosition = t1 + 1;
  40198. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  40199. nextCodeUnit = t2.charCodeAt(nextPosition);
  40200. if ((nextCodeUnit & 64512) === 56320) {
  40201. _this._nextPosition = nextPosition + 1;
  40202. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  40203. return true;
  40204. }
  40205. }
  40206. _this._nextPosition = nextPosition;
  40207. _this._currentCodePoint = codeUnit;
  40208. return true;
  40209. }
  40210. };
  40211. A.StringBuffer.prototype = {
  40212. get$length(_) {
  40213. return this._contents.length;
  40214. },
  40215. write$1(_, obj) {
  40216. var t1 = A.S(obj);
  40217. this._contents += t1;
  40218. },
  40219. writeCharCode$1(charCode) {
  40220. var t1 = A.Primitives_stringFromCharCode(charCode);
  40221. this._contents += t1;
  40222. },
  40223. toString$0(_) {
  40224. var t1 = this._contents;
  40225. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40226. }
  40227. };
  40228. A.Uri__parseIPv4Address_error.prototype = {
  40229. call$2(msg, position) {
  40230. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  40231. },
  40232. $signature: 310
  40233. };
  40234. A.Uri_parseIPv6Address_error.prototype = {
  40235. call$2(msg, position) {
  40236. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  40237. },
  40238. $signature: 289
  40239. };
  40240. A.Uri_parseIPv6Address_parseHex.prototype = {
  40241. call$2(start, end) {
  40242. var value;
  40243. if (end - start > 4)
  40244. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  40245. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  40246. if (value < 0 || value > 65535)
  40247. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  40248. return value;
  40249. },
  40250. $signature: 294
  40251. };
  40252. A._Uri.prototype = {
  40253. get$_text() {
  40254. var t1, t2, t3, t4, _this = this,
  40255. value = _this.___Uri__text_FI;
  40256. if (value === $) {
  40257. t1 = _this.scheme;
  40258. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  40259. t3 = _this._host;
  40260. t4 = t3 == null;
  40261. if (!t4 || t1 === "file") {
  40262. t1 = t2 + "//";
  40263. t2 = _this._userInfo;
  40264. if (t2.length !== 0)
  40265. t1 = t1 + t2 + "@";
  40266. if (!t4)
  40267. t1 += t3;
  40268. t2 = _this._port;
  40269. if (t2 != null)
  40270. t1 = t1 + ":" + A.S(t2);
  40271. } else
  40272. t1 = t2;
  40273. t1 += _this.path;
  40274. t2 = _this._query;
  40275. if (t2 != null)
  40276. t1 = t1 + "?" + t2;
  40277. t2 = _this._fragment;
  40278. if (t2 != null)
  40279. t1 = t1 + "#" + t2;
  40280. value !== $ && A.throwUnnamedLateFieldADI();
  40281. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  40282. }
  40283. return value;
  40284. },
  40285. get$pathSegments() {
  40286. var pathToSplit, result, _this = this,
  40287. value = _this.___Uri_pathSegments_FI;
  40288. if (value === $) {
  40289. pathToSplit = _this.path;
  40290. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  40291. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  40292. 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);
  40293. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  40294. value = _this.___Uri_pathSegments_FI = result;
  40295. }
  40296. return value;
  40297. },
  40298. get$hashCode(_) {
  40299. var result, _this = this,
  40300. value = _this.___Uri_hashCode_FI;
  40301. if (value === $) {
  40302. result = B.JSString_methods.get$hashCode(_this.get$_text());
  40303. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  40304. _this.___Uri_hashCode_FI = result;
  40305. value = result;
  40306. }
  40307. return value;
  40308. },
  40309. get$userInfo() {
  40310. return this._userInfo;
  40311. },
  40312. get$host() {
  40313. var host = this._host;
  40314. if (host == null)
  40315. return "";
  40316. if (B.JSString_methods.startsWith$1(host, "["))
  40317. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  40318. return host;
  40319. },
  40320. get$port(_) {
  40321. var t1 = this._port;
  40322. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  40323. },
  40324. get$query() {
  40325. var t1 = this._query;
  40326. return t1 == null ? "" : t1;
  40327. },
  40328. get$fragment() {
  40329. var t1 = this._fragment;
  40330. return t1 == null ? "" : t1;
  40331. },
  40332. isScheme$1(scheme) {
  40333. var thisScheme = this.scheme;
  40334. if (scheme.length !== thisScheme.length)
  40335. return false;
  40336. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  40337. },
  40338. replace$1$scheme(scheme) {
  40339. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  40340. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  40341. isFile = scheme === "file";
  40342. userInfo = _this._userInfo;
  40343. port = _this._port;
  40344. if (scheme !== _this.scheme)
  40345. port = A._Uri__makePort(port, scheme);
  40346. host = _this._host;
  40347. if (!(host != null))
  40348. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  40349. currentPath = _this.path;
  40350. if (!isFile)
  40351. t1 = host != null && currentPath.length !== 0;
  40352. else
  40353. t1 = true;
  40354. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  40355. currentPath = "/" + currentPath;
  40356. path = currentPath;
  40357. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  40358. },
  40359. _mergePaths$2(base, reference) {
  40360. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  40361. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  40362. refStart += 3;
  40363. ++backCount;
  40364. }
  40365. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  40366. while (true) {
  40367. if (!(baseEnd > 0 && backCount > 0))
  40368. break;
  40369. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  40370. if (newEnd < 0)
  40371. break;
  40372. delta = baseEnd - newEnd;
  40373. t1 = delta !== 2;
  40374. t2 = false;
  40375. if (!t1 || delta === 3)
  40376. if (base.charCodeAt(newEnd + 1) === 46)
  40377. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  40378. else
  40379. t1 = t2;
  40380. else
  40381. t1 = t2;
  40382. if (t1)
  40383. break;
  40384. --backCount;
  40385. baseEnd = newEnd;
  40386. }
  40387. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  40388. },
  40389. resolve$1(_, reference) {
  40390. return this.resolveUri$1(A.Uri_parse(reference));
  40391. },
  40392. resolveUri$1(reference) {
  40393. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  40394. if (reference.get$scheme().length !== 0) {
  40395. if (type$._PlatformUri._is(reference))
  40396. return reference;
  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. split = 0;
  40410. } else {
  40411. targetScheme = _this.scheme;
  40412. if (reference.get$hasAuthority()) {
  40413. if (type$._PlatformUri._is(reference))
  40414. return reference.replace$1$scheme(targetScheme);
  40415. targetUserInfo = reference.get$userInfo();
  40416. targetHost = reference.get$host();
  40417. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  40418. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40419. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40420. split = 1;
  40421. } else {
  40422. targetUserInfo = _this._userInfo;
  40423. targetHost = _this._host;
  40424. targetPort = _this._port;
  40425. targetPath = _this.path;
  40426. if (reference.get$hasEmptyPath())
  40427. if (reference.get$hasQuery()) {
  40428. targetQuery = reference.get$query();
  40429. split = 3;
  40430. } else {
  40431. targetQuery = _this._query;
  40432. split = 4;
  40433. }
  40434. else {
  40435. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  40436. if (packageNameEnd > 0) {
  40437. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  40438. 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)));
  40439. } else if (reference.get$hasAbsolutePath())
  40440. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40441. else if (targetPath.length === 0)
  40442. if (targetHost == null)
  40443. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  40444. else
  40445. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  40446. else {
  40447. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  40448. t1 = targetScheme.length === 0;
  40449. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  40450. targetPath = A._Uri__removeDotSegments(mergedPath);
  40451. else
  40452. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  40453. }
  40454. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40455. split = 2;
  40456. }
  40457. }
  40458. }
  40459. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  40460. if (!type$._PlatformUri._is(reference)) {
  40461. if (split === 0)
  40462. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  40463. if (split <= 1) {
  40464. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  40465. if (targetPort != null)
  40466. targetPort = A._Uri__makePort(targetPort, targetScheme);
  40467. if (targetHost != null && targetHost.length !== 0)
  40468. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  40469. }
  40470. t1 = split <= 3;
  40471. if (t1)
  40472. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  40473. if (t1 && targetQuery != null)
  40474. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  40475. if (fragment != null)
  40476. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  40477. }
  40478. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  40479. },
  40480. get$hasAuthority() {
  40481. return this._host != null;
  40482. },
  40483. get$hasPort() {
  40484. return this._port != null;
  40485. },
  40486. get$hasQuery() {
  40487. return this._query != null;
  40488. },
  40489. get$hasFragment() {
  40490. return this._fragment != null;
  40491. },
  40492. get$hasEmptyPath() {
  40493. return this.path.length === 0;
  40494. },
  40495. get$hasAbsolutePath() {
  40496. return B.JSString_methods.startsWith$1(this.path, "/");
  40497. },
  40498. toFilePath$0() {
  40499. var pathSegments, _this = this,
  40500. t1 = _this.scheme;
  40501. if (t1 !== "" && t1 !== "file")
  40502. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  40503. t1 = _this._query;
  40504. if ((t1 == null ? "" : t1) !== "")
  40505. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40506. t1 = _this._fragment;
  40507. if ((t1 == null ? "" : t1) !== "")
  40508. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40509. t1 = $.$get$_Uri__isWindowsCached();
  40510. if (t1)
  40511. t1 = A._Uri__toWindowsFilePath(_this);
  40512. else {
  40513. if (_this._host != null && _this.get$host() !== "")
  40514. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40515. pathSegments = _this.get$pathSegments();
  40516. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  40517. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  40518. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  40519. }
  40520. return t1;
  40521. },
  40522. toString$0(_) {
  40523. return this.get$_text();
  40524. },
  40525. $eq(_, other) {
  40526. var t1, t2, t3, _this = this;
  40527. if (other == null)
  40528. return false;
  40529. if (_this === other)
  40530. return true;
  40531. t1 = false;
  40532. if (type$.Uri._is(other))
  40533. if (_this.scheme === other.get$scheme())
  40534. if (_this._host != null === other.get$hasAuthority())
  40535. if (_this._userInfo === other.get$userInfo())
  40536. if (_this.get$host() === other.get$host())
  40537. if (_this.get$port(0) === other.get$port(other))
  40538. if (_this.path === other.get$path(other)) {
  40539. t2 = _this._query;
  40540. t3 = t2 == null;
  40541. if (!t3 === other.get$hasQuery()) {
  40542. if (t3)
  40543. t2 = "";
  40544. if (t2 === other.get$query()) {
  40545. t2 = _this._fragment;
  40546. t3 = t2 == null;
  40547. if (!t3 === other.get$hasFragment()) {
  40548. t1 = t3 ? "" : t2;
  40549. t1 = t1 === other.get$fragment();
  40550. }
  40551. }
  40552. }
  40553. }
  40554. return t1;
  40555. },
  40556. $isUri: 1,
  40557. $is_PlatformUri: 1,
  40558. get$scheme() {
  40559. return this.scheme;
  40560. },
  40561. get$path(receiver) {
  40562. return this.path;
  40563. }
  40564. };
  40565. A._Uri__makePath_closure.prototype = {
  40566. call$1(s) {
  40567. return A._Uri__uriEncode(B.List_M2I0, s, B.C_Utf8Codec, false);
  40568. },
  40569. $signature: 5
  40570. };
  40571. A.UriData.prototype = {
  40572. get$uri() {
  40573. var t2, queryIndex, end, query, _this = this, _null = null,
  40574. t1 = _this._uriCache;
  40575. if (t1 == null) {
  40576. t1 = _this._text;
  40577. t2 = _this._separatorIndices[0] + 1;
  40578. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  40579. end = t1.length;
  40580. if (queryIndex >= 0) {
  40581. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_42A, false, false);
  40582. end = queryIndex;
  40583. } else
  40584. query = _null;
  40585. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_M2I, false, false), query, _null);
  40586. }
  40587. return t1;
  40588. },
  40589. toString$0(_) {
  40590. var t1 = this._text;
  40591. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  40592. }
  40593. };
  40594. A._createTables_build.prototype = {
  40595. call$2(state, defaultTransition) {
  40596. var t1 = this.tables[state];
  40597. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  40598. return t1;
  40599. },
  40600. $signature: 323
  40601. };
  40602. A._createTables_setChars.prototype = {
  40603. call$3(target, chars, transition) {
  40604. var t1, i;
  40605. for (t1 = chars.length, i = 0; i < t1; ++i)
  40606. target[chars.charCodeAt(i) ^ 96] = transition;
  40607. },
  40608. $signature: 223
  40609. };
  40610. A._createTables_setRange.prototype = {
  40611. call$3(target, range, transition) {
  40612. var i, n;
  40613. for (i = range.charCodeAt(0), n = range.charCodeAt(1); i <= n; ++i)
  40614. target[(i ^ 96) >>> 0] = transition;
  40615. },
  40616. $signature: 223
  40617. };
  40618. A._SimpleUri.prototype = {
  40619. get$hasAuthority() {
  40620. return this._hostStart > 0;
  40621. },
  40622. get$hasPort() {
  40623. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  40624. },
  40625. get$hasQuery() {
  40626. return this._queryStart < this._fragmentStart;
  40627. },
  40628. get$hasFragment() {
  40629. return this._fragmentStart < this._uri.length;
  40630. },
  40631. get$hasAbsolutePath() {
  40632. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  40633. },
  40634. get$hasEmptyPath() {
  40635. return this._pathStart === this._queryStart;
  40636. },
  40637. get$scheme() {
  40638. var t1 = this._schemeCache;
  40639. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  40640. },
  40641. _computeScheme$0() {
  40642. var t2, _this = this,
  40643. t1 = _this._schemeEnd;
  40644. if (t1 <= 0)
  40645. return "";
  40646. t2 = t1 === 4;
  40647. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40648. return "http";
  40649. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40650. return "https";
  40651. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  40652. return "file";
  40653. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  40654. return "package";
  40655. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  40656. },
  40657. get$userInfo() {
  40658. var t1 = this._hostStart,
  40659. t2 = this._schemeEnd + 3;
  40660. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  40661. },
  40662. get$host() {
  40663. var t1 = this._hostStart;
  40664. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  40665. },
  40666. get$port(_) {
  40667. var t1, _this = this;
  40668. if (_this.get$hasPort())
  40669. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  40670. t1 = _this._schemeEnd;
  40671. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40672. return 80;
  40673. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40674. return 443;
  40675. return 0;
  40676. },
  40677. get$path(_) {
  40678. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  40679. },
  40680. get$query() {
  40681. var t1 = this._queryStart,
  40682. t2 = this._fragmentStart;
  40683. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  40684. },
  40685. get$fragment() {
  40686. var t1 = this._fragmentStart,
  40687. t2 = this._uri;
  40688. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  40689. },
  40690. get$pathSegments() {
  40691. var parts, i,
  40692. start = this._pathStart,
  40693. end = this._queryStart,
  40694. t1 = this._uri;
  40695. if (B.JSString_methods.startsWith$2(t1, "/", start))
  40696. ++start;
  40697. if (start === end)
  40698. return B.List_empty;
  40699. parts = A._setArrayType([], type$.JSArray_String);
  40700. for (i = start; i < end; ++i)
  40701. if (t1.charCodeAt(i) === 47) {
  40702. parts.push(B.JSString_methods.substring$2(t1, start, i));
  40703. start = i + 1;
  40704. }
  40705. parts.push(B.JSString_methods.substring$2(t1, start, end));
  40706. return A.List_List$unmodifiable(parts, type$.String);
  40707. },
  40708. _isPort$1(port) {
  40709. var portDigitStart = this._portStart + 1;
  40710. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  40711. },
  40712. removeFragment$0() {
  40713. var _this = this,
  40714. t1 = _this._fragmentStart,
  40715. t2 = _this._uri;
  40716. if (t1 >= t2.length)
  40717. return _this;
  40718. 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);
  40719. },
  40720. replace$1$scheme(scheme) {
  40721. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  40722. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  40723. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  40724. isFile = scheme === "file";
  40725. t1 = _this._hostStart;
  40726. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  40727. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  40728. if (schemeChanged)
  40729. port = A._Uri__makePort(port, scheme);
  40730. t1 = _this._hostStart;
  40731. if (t1 > 0)
  40732. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  40733. else
  40734. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  40735. t1 = _this._uri;
  40736. t2 = _this._queryStart;
  40737. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  40738. if (!isFile)
  40739. t3 = host != null && path.length !== 0;
  40740. else
  40741. t3 = true;
  40742. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  40743. path = "/" + path;
  40744. t3 = _this._fragmentStart;
  40745. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  40746. t2 = _this._fragmentStart;
  40747. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  40748. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  40749. },
  40750. resolve$1(_, reference) {
  40751. return this.resolveUri$1(A.Uri_parse(reference));
  40752. },
  40753. resolveUri$1(reference) {
  40754. if (reference instanceof A._SimpleUri)
  40755. return this._simpleMerge$2(this, reference);
  40756. return this._toNonSimple$0().resolveUri$1(reference);
  40757. },
  40758. _simpleMerge$2(base, ref) {
  40759. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  40760. t1 = ref._schemeEnd;
  40761. if (t1 > 0)
  40762. return ref;
  40763. t2 = ref._hostStart;
  40764. if (t2 > 0) {
  40765. t3 = base._schemeEnd;
  40766. if (t3 <= 0)
  40767. return ref;
  40768. t4 = t3 === 4;
  40769. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  40770. isSimple = ref._pathStart !== ref._queryStart;
  40771. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  40772. isSimple = !ref._isPort$1("80");
  40773. else
  40774. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  40775. if (isSimple) {
  40776. delta = t3 + 1;
  40777. 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);
  40778. } else
  40779. return this._toNonSimple$0().resolveUri$1(ref);
  40780. }
  40781. refStart = ref._pathStart;
  40782. t1 = ref._queryStart;
  40783. if (refStart === t1) {
  40784. t2 = ref._fragmentStart;
  40785. if (t1 < t2) {
  40786. t3 = base._queryStart;
  40787. delta = t3 - t1;
  40788. 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);
  40789. }
  40790. t1 = ref._uri;
  40791. if (t2 < t1.length) {
  40792. t3 = base._fragmentStart;
  40793. 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);
  40794. }
  40795. return base.removeFragment$0();
  40796. }
  40797. t2 = ref._uri;
  40798. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  40799. basePathStart = base._pathStart;
  40800. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40801. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  40802. delta = basePathStart0 - refStart;
  40803. 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);
  40804. }
  40805. baseStart = base._pathStart;
  40806. baseEnd = base._queryStart;
  40807. if (baseStart === baseEnd && base._hostStart > 0) {
  40808. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  40809. refStart += 3;
  40810. delta = baseStart - refStart + 1;
  40811. 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);
  40812. }
  40813. baseUri = base._uri;
  40814. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40815. if (packageNameEnd >= 0)
  40816. baseStart0 = packageNameEnd;
  40817. else
  40818. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  40819. baseStart0 += 3;
  40820. backCount = 0;
  40821. while (true) {
  40822. refStart0 = refStart + 3;
  40823. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  40824. break;
  40825. ++backCount;
  40826. refStart = refStart0;
  40827. }
  40828. for (insert = ""; baseEnd > baseStart0;) {
  40829. --baseEnd;
  40830. if (baseUri.charCodeAt(baseEnd) === 47) {
  40831. if (backCount === 0) {
  40832. insert = "/";
  40833. break;
  40834. }
  40835. --backCount;
  40836. insert = "/";
  40837. }
  40838. }
  40839. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  40840. refStart -= backCount * 3;
  40841. insert = "";
  40842. }
  40843. delta = baseEnd - refStart + insert.length;
  40844. 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);
  40845. },
  40846. toFilePath$0() {
  40847. var t2, t3, _this = this,
  40848. t1 = _this._schemeEnd;
  40849. if (t1 >= 0) {
  40850. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  40851. t1 = t2;
  40852. } else
  40853. t1 = false;
  40854. if (t1)
  40855. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  40856. t1 = _this._queryStart;
  40857. t2 = _this._uri;
  40858. if (t1 < t2.length) {
  40859. if (t1 < _this._fragmentStart)
  40860. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40861. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40862. }
  40863. t3 = $.$get$_Uri__isWindowsCached();
  40864. if (t3)
  40865. t1 = A._Uri__toWindowsFilePath(_this);
  40866. else {
  40867. if (_this._hostStart < _this._portStart)
  40868. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40869. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  40870. }
  40871. return t1;
  40872. },
  40873. get$hashCode(_) {
  40874. var t1 = this._hashCodeCache;
  40875. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  40876. },
  40877. $eq(_, other) {
  40878. if (other == null)
  40879. return false;
  40880. if (this === other)
  40881. return true;
  40882. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  40883. },
  40884. _toNonSimple$0() {
  40885. var _this = this, _null = null,
  40886. t1 = _this.get$scheme(),
  40887. t2 = _this.get$userInfo(),
  40888. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  40889. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  40890. t5 = _this._uri,
  40891. t6 = _this._queryStart,
  40892. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  40893. t8 = _this._fragmentStart;
  40894. t6 = t6 < t8 ? _this.get$query() : _null;
  40895. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  40896. },
  40897. toString$0(_) {
  40898. return this._uri;
  40899. },
  40900. $isUri: 1,
  40901. $is_PlatformUri: 1
  40902. };
  40903. A._DataUri.prototype = {};
  40904. A.Expando.prototype = {
  40905. $indexSet(_, object, value) {
  40906. if (object instanceof A._Record)
  40907. A.Expando__badExpandoKey(object);
  40908. this._jsWeakMap.set(object, value);
  40909. },
  40910. toString$0(_) {
  40911. return "Expando:null";
  40912. }
  40913. };
  40914. A.jsify__convert.prototype = {
  40915. call$1(o) {
  40916. var t1, convertedMap, key, convertedList;
  40917. if (A._noJsifyRequired(o))
  40918. return o;
  40919. t1 = this._convertedObjects;
  40920. if (t1.containsKey$1(o))
  40921. return t1.$index(0, o);
  40922. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  40923. convertedMap = {};
  40924. t1.$indexSet(0, o, convertedMap);
  40925. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  40926. key = t1.get$current(t1);
  40927. convertedMap[key] = this.call$1(o.$index(0, key));
  40928. }
  40929. return convertedMap;
  40930. } else if (type$.Iterable_nullable_Object._is(o)) {
  40931. convertedList = [];
  40932. t1.$indexSet(0, o, convertedList);
  40933. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  40934. return convertedList;
  40935. } else
  40936. return o;
  40937. },
  40938. $signature: 344
  40939. };
  40940. A.promiseToFuture_closure1.prototype = {
  40941. call$1(r) {
  40942. return this.completer.complete$1(r);
  40943. },
  40944. $signature: 67
  40945. };
  40946. A.promiseToFuture_closure2.prototype = {
  40947. call$1(e) {
  40948. if (e == null)
  40949. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  40950. return this.completer.completeError$1(e);
  40951. },
  40952. $signature: 67
  40953. };
  40954. A.NullRejectionException.prototype = {
  40955. toString$0(_) {
  40956. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  40957. },
  40958. $isException: 1
  40959. };
  40960. A._JSRandom.prototype = {
  40961. nextInt$1(max) {
  40962. if (max <= 0 || max > 4294967296)
  40963. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  40964. return Math.random() * max >>> 0;
  40965. },
  40966. nextDouble$0() {
  40967. return Math.random();
  40968. }
  40969. };
  40970. A.ArgParser.prototype = {
  40971. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  40972. var _null = null;
  40973. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_I6i, B.List_empty, hide, negatable);
  40974. },
  40975. addFlag$2$hide($name, hide) {
  40976. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  40977. },
  40978. addFlag$2$help($name, help) {
  40979. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  40980. },
  40981. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  40982. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  40983. },
  40984. addFlag$3$help$negatable($name, help, negatable) {
  40985. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  40986. },
  40987. addFlag$3$abbr$help($name, abbr, help) {
  40988. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  40989. },
  40990. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  40991. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  40992. },
  40993. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  40994. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_tew, B.List_empty, hide, false);
  40995. },
  40996. addOption$2$hide($name, hide) {
  40997. var _null = null;
  40998. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  40999. },
  41000. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  41001. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  41002. },
  41003. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  41004. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  41005. },
  41006. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  41007. var t1 = A._setArrayType([], type$.JSArray_String);
  41008. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_yPm, B.List_empty, false, splitCommas);
  41009. },
  41010. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  41011. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  41012. },
  41013. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  41014. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  41015. },
  41016. addMultiOption$2$help($name, help) {
  41017. var _null = null;
  41018. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  41019. },
  41020. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  41021. var existing, t2, t3, option, _i, _this = this, _null = null,
  41022. t1 = A._setArrayType([$name], type$.JSArray_String);
  41023. B.JSArray_methods.addAll$1(t1, aliases);
  41024. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  41025. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  41026. t1 = abbr != null;
  41027. if (t1) {
  41028. existing = _this.findByAbbreviation$1(abbr);
  41029. if (existing != null)
  41030. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  41031. }
  41032. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  41033. if (allowedHelp == null)
  41034. t3 = _null;
  41035. else {
  41036. t3 = type$.String;
  41037. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  41038. }
  41039. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_yPm : splitCommas, false, hide);
  41040. if ($name.length === 0)
  41041. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  41042. else if (B.JSString_methods.startsWith$1($name, "-"))
  41043. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  41044. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  41045. if (t2.test($name))
  41046. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  41047. if (t1) {
  41048. if (abbr.length !== 1)
  41049. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  41050. else if (abbr === "-")
  41051. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  41052. if (t2.test(abbr))
  41053. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  41054. }
  41055. _this._arg_parser$_options.$indexSet(0, $name, option);
  41056. _this._optionsAndSeparators.push(option);
  41057. for (t1 = _this._aliases, _i = 0; false; ++_i)
  41058. t1.$indexSet(0, aliases[_i], $name);
  41059. },
  41060. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  41061. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  41062. },
  41063. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  41064. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  41065. },
  41066. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  41067. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  41068. },
  41069. findByAbbreviation$1(abbr) {
  41070. var t1, t2;
  41071. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  41072. t2 = t1.get$current(t1);
  41073. if (t2.abbr === abbr)
  41074. return t2;
  41075. }
  41076. return null;
  41077. },
  41078. findByNameOrAlias$1($name) {
  41079. var t1 = this._aliases.$index(0, $name);
  41080. if (t1 == null)
  41081. t1 = $name;
  41082. return this.options._map.$index(0, t1);
  41083. }
  41084. };
  41085. A.ArgParser__addOption_closure.prototype = {
  41086. call$1($name) {
  41087. return this.$this.findByNameOrAlias$1($name) != null;
  41088. },
  41089. $signature: 4
  41090. };
  41091. A.ArgParserException.prototype = {};
  41092. A.ArgResults.prototype = {
  41093. $index(_, $name) {
  41094. var t1 = this._parser.options._map;
  41095. if (!t1.containsKey$1($name))
  41096. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  41097. t1 = t1.$index(0, $name);
  41098. t1.toString;
  41099. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  41100. },
  41101. wasParsed$1($name) {
  41102. if (!this._parser.options._map.containsKey$1($name))
  41103. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  41104. return this._parsed.containsKey$1($name);
  41105. }
  41106. };
  41107. A.Option.prototype = {
  41108. valueOrDefault$1(value) {
  41109. var t1;
  41110. if (value != null)
  41111. return value;
  41112. if (this.type === B.OptionType_yPm) {
  41113. t1 = this.defaultsTo;
  41114. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  41115. }
  41116. return this.defaultsTo;
  41117. }
  41118. };
  41119. A.OptionType.prototype = {};
  41120. A.Parser0.prototype = {
  41121. parse$0(_) {
  41122. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  41123. t2 = _this._args;
  41124. t2.toList$0(0);
  41125. commandResults = null;
  41126. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  41127. t7 = t2._head;
  41128. if (t7 === t2._tail)
  41129. A.throwExpression(A.IterableElementError_noElement());
  41130. t7 = t2._table[t7];
  41131. t8 = t7 == null;
  41132. if ((t8 ? t6._as(t7) : t7) === "--") {
  41133. t2.removeFirst$0();
  41134. break;
  41135. }
  41136. if (t8)
  41137. t7 = t6._as(t7);
  41138. command = t5._map.$index(0, t7);
  41139. if (command != null) {
  41140. if (t3.length !== 0)
  41141. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  41142. commandName = t2.removeFirst$0();
  41143. t5 = type$.JSArray_String;
  41144. t6 = A._setArrayType([], t5);
  41145. B.JSArray_methods.addAll$1(t6, t3);
  41146. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  41147. try {
  41148. commandResults = J.parse$0$z(commandParser);
  41149. } catch (exception) {
  41150. t2 = A.unwrapException(exception);
  41151. if (t2 instanceof A.ArgParserException) {
  41152. error = t2;
  41153. t2 = error.message;
  41154. t1 = A._setArrayType([commandName], t5);
  41155. J.addAll$1$ax(t1, error.commands);
  41156. throw A.wrapException(A.ArgParserException$(t2, t1));
  41157. } else
  41158. throw exception;
  41159. }
  41160. B.JSArray_methods.clear$0(t3);
  41161. break;
  41162. }
  41163. if (_this._parseSoloOption$0())
  41164. continue;
  41165. if (_this._parseAbbreviation$1(_this))
  41166. continue;
  41167. if (_this._parseLongOption$0())
  41168. continue;
  41169. t3.push(t2.removeFirst$0());
  41170. }
  41171. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  41172. B.JSArray_methods.addAll$1(t3, t2);
  41173. t2.clear$0(0);
  41174. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  41175. },
  41176. _readNextArgAsValue$1(option) {
  41177. var t1 = this._args;
  41178. if (t1.get$isEmpty(0))
  41179. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  41180. this._setOption$3(this._results, option, t1.get$first(0));
  41181. t1.removeFirst$0();
  41182. },
  41183. _parseSoloOption$0() {
  41184. var opt,
  41185. t1 = this._args;
  41186. if (t1.get$first(0).length !== 2)
  41187. return false;
  41188. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41189. return false;
  41190. opt = t1.get$first(0)[1];
  41191. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  41192. return false;
  41193. this._handleSoloOption$1(opt);
  41194. return true;
  41195. },
  41196. _handleSoloOption$1(opt) {
  41197. var t1, _this = this,
  41198. option = _this._grammar.findByAbbreviation$1(opt);
  41199. if (option == null) {
  41200. t1 = _this._parser$_parent;
  41201. if (t1 == null)
  41202. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  41203. t1._handleSoloOption$1(opt);
  41204. return true;
  41205. }
  41206. _this._args.removeFirst$0();
  41207. if (option.type === B.OptionType_I6i)
  41208. _this._results.$indexSet(0, option.name, true);
  41209. else
  41210. _this._readNextArgAsValue$1(option);
  41211. return true;
  41212. },
  41213. _parseAbbreviation$1(innermostCommand) {
  41214. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  41215. t1 = this._args;
  41216. if (t1.get$first(0).length < 2)
  41217. return false;
  41218. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41219. return false;
  41220. t2 = t1.$ti._precomputed1;
  41221. index = 1;
  41222. while (true) {
  41223. t3 = t1._head;
  41224. if (t3 === t1._tail)
  41225. A.throwExpression(A.IterableElementError_noElement());
  41226. t3 = t1._table[t3];
  41227. t4 = t3 == null;
  41228. if (index < (t4 ? t2._as(t3) : t3).length) {
  41229. t5 = true;
  41230. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  41231. if (!(t3 >= 65 && t3 <= 90))
  41232. if (!(t3 >= 97 && t3 <= 122))
  41233. t3 = t3 >= 48 && t3 <= 57;
  41234. else
  41235. t3 = t5;
  41236. else
  41237. t3 = t5;
  41238. } else
  41239. t3 = false;
  41240. if (!t3)
  41241. break;
  41242. ++index;
  41243. }
  41244. if (index === 1)
  41245. return false;
  41246. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  41247. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  41248. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  41249. return false;
  41250. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41251. return true;
  41252. },
  41253. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  41254. var t1, i, i0, _this = this,
  41255. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  41256. first = _this._grammar.findByAbbreviation$1(c);
  41257. if (first == null) {
  41258. t1 = _this._parser$_parent;
  41259. if (t1 == null)
  41260. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41261. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41262. return true;
  41263. } else if (first.type !== B.OptionType_I6i)
  41264. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  41265. else {
  41266. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  41267. if (rest !== "")
  41268. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  41269. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  41270. i0 = i + 1;
  41271. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  41272. }
  41273. }
  41274. _this._args.removeFirst$0();
  41275. return true;
  41276. },
  41277. _parseShortFlag$1(c) {
  41278. var t1,
  41279. option = this._grammar.findByAbbreviation$1(c);
  41280. if (option == null) {
  41281. t1 = this._parser$_parent;
  41282. if (t1 == null)
  41283. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41284. t1._parseShortFlag$1(c);
  41285. return;
  41286. }
  41287. if (option.type !== B.OptionType_I6i)
  41288. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  41289. this._results.$indexSet(0, option.name, true);
  41290. },
  41291. _parseLongOption$0() {
  41292. var index, t2, $name, t3, i, t4, t5, value,
  41293. t1 = this._args;
  41294. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  41295. return false;
  41296. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  41297. t2 = index === -1;
  41298. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  41299. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  41300. t4 = $name.charCodeAt(i);
  41301. t5 = true;
  41302. if (!(t4 >= 65 && t4 <= 90))
  41303. if (!(t4 >= 97 && t4 <= 122))
  41304. t5 = t4 >= 48 && t4 <= 57;
  41305. if (!(t5 || t4 === 45 || t4 === 95))
  41306. return false;
  41307. }
  41308. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  41309. if (value != null)
  41310. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  41311. else
  41312. t1 = false;
  41313. if (t1)
  41314. return false;
  41315. this._handleLongOption$2($name, value);
  41316. return true;
  41317. },
  41318. _handleLongOption$2($name, value) {
  41319. var _this = this, _null = null,
  41320. _s32_ = 'Could not find an option named "',
  41321. t1 = _this._grammar,
  41322. option = t1.findByNameOrAlias$1($name);
  41323. if (option != null) {
  41324. _this._args.removeFirst$0();
  41325. if (option.type === B.OptionType_I6i) {
  41326. if (value != null)
  41327. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  41328. _this._results.$indexSet(0, option.name, true);
  41329. } else if (value != null)
  41330. _this._setOption$3(_this._results, option, value);
  41331. else
  41332. _this._readNextArgAsValue$1(option);
  41333. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  41334. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  41335. if (option == null) {
  41336. t1 = _this._parser$_parent;
  41337. if (t1 == null)
  41338. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41339. t1._handleLongOption$2($name, value);
  41340. return true;
  41341. }
  41342. _this._args.removeFirst$0();
  41343. if (option.type !== B.OptionType_I6i)
  41344. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  41345. if (!option.negatable)
  41346. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  41347. _this._results.$indexSet(0, option.name, false);
  41348. } else {
  41349. t1 = _this._parser$_parent;
  41350. if (t1 == null)
  41351. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41352. t1._handleLongOption$2($name, value);
  41353. return true;
  41354. }
  41355. return true;
  41356. },
  41357. _setOption$3(results, option, value) {
  41358. var list, t1, t2, t3, _i, element;
  41359. if (option.type !== B.OptionType_yPm) {
  41360. this._validateAllowed$2(option, value);
  41361. results.$indexSet(0, option.name, value);
  41362. return;
  41363. }
  41364. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  41365. if (option.splitCommas)
  41366. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  41367. element = t1[_i];
  41368. this._validateAllowed$2(option, element);
  41369. t3.add$1(list, element);
  41370. }
  41371. else {
  41372. this._validateAllowed$2(option, value);
  41373. J.add$1$ax(list, value);
  41374. }
  41375. },
  41376. _validateAllowed$2(option, value) {
  41377. var t1 = option.allowed;
  41378. if (t1 == null)
  41379. return;
  41380. if (!B.JSArray_methods.contains$1(t1, value))
  41381. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  41382. }
  41383. };
  41384. A.Parser_parse_closure.prototype = {
  41385. call$2($name, option) {
  41386. var parsedOption = this.$this._results.$index(0, $name),
  41387. callback = option.callback;
  41388. if (callback == null)
  41389. return;
  41390. callback.call$1(option.valueOrDefault$1(parsedOption));
  41391. },
  41392. $signature: 390
  41393. };
  41394. A.Parser__setOption_closure.prototype = {
  41395. call$0() {
  41396. return A._setArrayType([], type$.JSArray_String);
  41397. },
  41398. $signature: 128
  41399. };
  41400. A._Usage.prototype = {
  41401. get$_columnWidths() {
  41402. var result, _this = this,
  41403. value = _this.___Usage__columnWidths_FI;
  41404. if (value === $) {
  41405. result = _this._calculateColumnWidths$0();
  41406. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  41407. _this.___Usage__columnWidths_FI = result;
  41408. value = result;
  41409. }
  41410. return value;
  41411. },
  41412. generate$0() {
  41413. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  41414. 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) {
  41415. optionOrSeparator = t1[_i];
  41416. if (typeof optionOrSeparator == "string") {
  41417. t5 = t4._contents;
  41418. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  41419. _this._newlinesNeeded = 1;
  41420. continue;
  41421. }
  41422. t3._as(optionOrSeparator);
  41423. if (optionOrSeparator.hide)
  41424. continue;
  41425. _this._writeOption$1(optionOrSeparator);
  41426. }
  41427. t1 = t4._contents;
  41428. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41429. },
  41430. _writeOption$1(option) {
  41431. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  41432. t1 = option.abbr;
  41433. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  41434. t1 = _this._longOption$1(option);
  41435. _this._write$2(1, t1);
  41436. t1 = option.help;
  41437. if (t1 != null)
  41438. _this._write$2(2, t1);
  41439. t1 = option.allowedHelp;
  41440. if (t1 != null) {
  41441. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  41442. B.JSArray_methods.sort$0(allowedNames);
  41443. _this._newline$0();
  41444. 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) {
  41445. $name = allowedNames[_i];
  41446. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  41447. _this._write$2(1, " [" + $name + "]" + t5);
  41448. t5 = t1.$index(0, $name);
  41449. t5.toString;
  41450. _this._write$2(2, t5);
  41451. }
  41452. _this._newline$0();
  41453. } else if (option.allowed != null)
  41454. _this._write$2(2, _this._buildAllowedList$1(option));
  41455. else {
  41456. t1 = option.type;
  41457. if (t1 === B.OptionType_I6i) {
  41458. if (option.defaultsTo === true)
  41459. _this._write$2(2, "(defaults to on)");
  41460. } else if (t1 === B.OptionType_yPm) {
  41461. t1 = option.defaultsTo;
  41462. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  41463. type$.List_dynamic._as(t1);
  41464. _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, ", ") + ")");
  41465. }
  41466. } else {
  41467. t1 = option.defaultsTo;
  41468. if (t1 != null)
  41469. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  41470. }
  41471. }
  41472. },
  41473. _longOption$1(option) {
  41474. var t1 = option.name,
  41475. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  41476. t1 = option.valueHelp;
  41477. return t1 != null ? result + ("=<" + t1 + ">") : result;
  41478. },
  41479. _calculateColumnWidths$0() {
  41480. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  41481. 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) {
  41482. option = t1[_i];
  41483. if (!(option instanceof A.Option))
  41484. continue;
  41485. if (option.hide)
  41486. continue;
  41487. t4 = option.abbr;
  41488. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  41489. t4 = this._longOption$1(option);
  41490. title = Math.max(title, t4.length);
  41491. t4 = option.allowedHelp;
  41492. if (t4 != null)
  41493. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  41494. t7 = t4.get$current(t4);
  41495. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  41496. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  41497. }
  41498. }
  41499. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  41500. },
  41501. _newline$0() {
  41502. ++this._newlinesNeeded;
  41503. this._currentColumn = 0;
  41504. },
  41505. _write$2(column, text) {
  41506. var t1, _i,
  41507. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  41508. this.get$_columnWidths();
  41509. while (true) {
  41510. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  41511. break;
  41512. B.JSArray_methods.removeAt$1(lines, 0);
  41513. }
  41514. while (true) {
  41515. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  41516. break;
  41517. lines.pop();
  41518. }
  41519. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  41520. this._writeLine$2(column, lines[_i]);
  41521. },
  41522. _writeLine$2(column, text) {
  41523. var t1, t2, _this = this;
  41524. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  41525. t1._contents += "\n";
  41526. _this._newlinesNeeded = t2 - 1;
  41527. }
  41528. for (; t2 = _this._currentColumn, t2 !== column;) {
  41529. if (t2 < 2) {
  41530. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  41531. t1._contents += t2;
  41532. } else
  41533. t1._contents += "\n";
  41534. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41535. }
  41536. _this.get$_columnWidths();
  41537. if (column < 2) {
  41538. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  41539. t1._contents += t2;
  41540. } else
  41541. t1._contents += text;
  41542. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41543. if (column === 2)
  41544. ++_this._newlinesNeeded;
  41545. },
  41546. _buildAllowedList$1(option) {
  41547. var t2, t3, first, _i, allowed,
  41548. t1 = option.defaultsTo,
  41549. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  41550. t1 = "" + "[";
  41551. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  41552. allowed = t2[_i];
  41553. if (!first)
  41554. t1 += ", ";
  41555. t1 += A.S(allowed);
  41556. if (isDefault.call$1(allowed))
  41557. t1 += " (default)";
  41558. }
  41559. t1 += "]";
  41560. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41561. }
  41562. };
  41563. A._Usage__writeOption_closure.prototype = {
  41564. call$1(value) {
  41565. return '"' + A.S(value) + '"';
  41566. },
  41567. $signature: 119
  41568. };
  41569. A._Usage__buildAllowedList_closure.prototype = {
  41570. call$1(value) {
  41571. return value === this.option.defaultsTo;
  41572. },
  41573. $signature: 129
  41574. };
  41575. A.FutureGroup.prototype = {
  41576. add$1(_, task) {
  41577. var t1, index, _this = this;
  41578. if (_this._future_group$_closed)
  41579. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  41580. t1 = _this._future_group$_values;
  41581. index = t1.length;
  41582. t1.push(null);
  41583. ++_this._future_group$_pending;
  41584. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  41585. },
  41586. close$0(_) {
  41587. var t1, t2, _this = this;
  41588. _this._future_group$_closed = true;
  41589. if (_this._future_group$_pending !== 0)
  41590. return;
  41591. t1 = _this._future_group$_completer;
  41592. if ((t1.future._state & 30) !== 0)
  41593. return;
  41594. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  41595. t1.complete$1(A.List_List$of(new A.WhereTypeIterable(_this._future_group$_values, t2), true, t2._eval$1("Iterable.E")));
  41596. }
  41597. };
  41598. A.FutureGroup_add_closure.prototype = {
  41599. call$1(value) {
  41600. var t3, t4,
  41601. t1 = this.$this,
  41602. t2 = t1._future_group$_completer;
  41603. if ((t2.future._state & 30) !== 0)
  41604. return null;
  41605. t3 = --t1._future_group$_pending;
  41606. t4 = t1._future_group$_values;
  41607. t4[this.index] = value;
  41608. if (t3 !== 0)
  41609. return null;
  41610. if (!t1._future_group$_closed)
  41611. return null;
  41612. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  41613. t2.complete$1(A.List_List$of(new A.WhereTypeIterable(t4, t1), true, t1._eval$1("Iterable.E")));
  41614. },
  41615. $signature() {
  41616. return this.$this.$ti._eval$1("Null(1)");
  41617. }
  41618. };
  41619. A.FutureGroup_add_closure0.prototype = {
  41620. call$2(error, stackTrace) {
  41621. var t1 = this.$this._future_group$_completer;
  41622. if ((t1.future._state & 30) !== 0)
  41623. return null;
  41624. t1.completeError$2(error, stackTrace);
  41625. },
  41626. $signature: 50
  41627. };
  41628. A.ErrorResult.prototype = {
  41629. complete$1(completer) {
  41630. completer.completeError$2(this.error, this.stackTrace);
  41631. },
  41632. get$hashCode(_) {
  41633. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  41634. },
  41635. $eq(_, other) {
  41636. if (other == null)
  41637. return false;
  41638. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  41639. },
  41640. $isResult: 1
  41641. };
  41642. A.ValueResult.prototype = {
  41643. complete$1(completer) {
  41644. completer.complete$1(this.value);
  41645. },
  41646. get$hashCode(_) {
  41647. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  41648. },
  41649. $eq(_, other) {
  41650. if (other == null)
  41651. return false;
  41652. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  41653. },
  41654. $isResult: 1
  41655. };
  41656. A.StreamCompleter.prototype = {
  41657. setSourceStream$1(sourceStream) {
  41658. var t1 = this._stream_completer$_stream;
  41659. if (t1._sourceStream != null)
  41660. throw A.wrapException(A.StateError$("Source stream already set"));
  41661. t1._sourceStream = sourceStream;
  41662. if (t1._stream_completer$_controller != null)
  41663. t1._linkStreamToController$0();
  41664. },
  41665. setError$2(error, stackTrace) {
  41666. var t1 = this.$ti._precomputed1;
  41667. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  41668. },
  41669. setError$1(error) {
  41670. return this.setError$2(error, null);
  41671. }
  41672. };
  41673. A._CompleterStream.prototype = {
  41674. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  41675. var sourceStream, t1, _this = this, _null = null;
  41676. if (_this._stream_completer$_controller == null) {
  41677. sourceStream = _this._sourceStream;
  41678. if (sourceStream != null && !sourceStream.get$isBroadcast())
  41679. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41680. if (_this._stream_completer$_controller == null)
  41681. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  41682. if (_this._sourceStream != null)
  41683. _this._linkStreamToController$0();
  41684. }
  41685. t1 = _this._stream_completer$_controller;
  41686. t1.toString;
  41687. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41688. },
  41689. listen$1(_, onData) {
  41690. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  41691. },
  41692. listen$3$onDone$onError(_, onData, onDone, onError) {
  41693. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  41694. },
  41695. _linkStreamToController$0() {
  41696. var t2,
  41697. t1 = this._stream_completer$_controller;
  41698. t1.toString;
  41699. t2 = this._sourceStream;
  41700. t2.toString;
  41701. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  41702. }
  41703. };
  41704. A.StreamGroup.prototype = {
  41705. add$1(_, stream) {
  41706. var t1, _this = this;
  41707. if (_this._closed)
  41708. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  41709. t1 = _this._stream_group$_state;
  41710. if (t1 === B._StreamGroupState_dormant)
  41711. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  41712. else if (t1 === B._StreamGroupState_canceled)
  41713. return stream.listen$1(0, null).cancel$0();
  41714. else
  41715. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  41716. return null;
  41717. },
  41718. remove$1(_, stream) {
  41719. var t1 = this._subscriptions,
  41720. subscription = t1.remove$1(0, stream),
  41721. future = subscription == null ? null : subscription.cancel$0();
  41722. if (t1.__js_helper$_length === 0)
  41723. if (this._closed) {
  41724. t1 = this.__StreamGroup__controller_A;
  41725. t1 === $ && A.throwUnnamedLateFieldNI();
  41726. A.scheduleMicrotask(t1.get$close(t1));
  41727. }
  41728. return future;
  41729. },
  41730. _onListen$0() {
  41731. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  41732. _this._stream_group$_state = B._StreamGroupState_listening;
  41733. 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) {
  41734. entry = t2[_i];
  41735. if (entry.value != null)
  41736. continue;
  41737. stream = entry.key;
  41738. try {
  41739. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  41740. } catch (exception) {
  41741. t1 = _this._onCancel$0();
  41742. if (t1 != null)
  41743. t1.catchError$1(new A.StreamGroup__onListen_closure());
  41744. throw exception;
  41745. }
  41746. }
  41747. },
  41748. _onPause$0() {
  41749. var t1, t2, t3;
  41750. this._stream_group$_state = B._StreamGroupState_paused;
  41751. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), 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();) {
  41752. t3 = t1.__internal$_current;
  41753. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  41754. }
  41755. },
  41756. _onResume$0() {
  41757. var t1, t2, t3;
  41758. this._stream_group$_state = B._StreamGroupState_listening;
  41759. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), 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();) {
  41760. t3 = t1.__internal$_current;
  41761. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  41762. }
  41763. },
  41764. _onCancel$0() {
  41765. var t1, t2, futures;
  41766. this._stream_group$_state = B._StreamGroupState_canceled;
  41767. t1 = this._subscriptions;
  41768. 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);
  41769. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  41770. t1.clear$0(0);
  41771. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  41772. },
  41773. _listenToStream$1(stream) {
  41774. var subscription,
  41775. t1 = this.__StreamGroup__controller_A;
  41776. t1 === $ && A.throwUnnamedLateFieldNI();
  41777. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  41778. if (this._stream_group$_state === B._StreamGroupState_paused)
  41779. subscription.pause$0(0);
  41780. return subscription;
  41781. }
  41782. };
  41783. A.StreamGroup_add_closure.prototype = {
  41784. call$0() {
  41785. return null;
  41786. },
  41787. $signature: 1
  41788. };
  41789. A.StreamGroup_add_closure0.prototype = {
  41790. call$0() {
  41791. return this.$this._listenToStream$1(this.stream);
  41792. },
  41793. $signature() {
  41794. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  41795. }
  41796. };
  41797. A.StreamGroup__onListen_closure.prototype = {
  41798. call$1(_) {
  41799. },
  41800. $signature: 62
  41801. };
  41802. A.StreamGroup__onCancel_closure.prototype = {
  41803. call$1(entry) {
  41804. var t1, exception,
  41805. subscription = entry.value;
  41806. try {
  41807. if (subscription != null) {
  41808. t1 = subscription.cancel$0();
  41809. return t1;
  41810. }
  41811. t1 = J.listen$1$z(entry.key, null).cancel$0();
  41812. return t1;
  41813. } catch (exception) {
  41814. return null;
  41815. }
  41816. },
  41817. $signature() {
  41818. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  41819. }
  41820. };
  41821. A.StreamGroup__listenToStream_closure.prototype = {
  41822. call$0() {
  41823. return this.$this.remove$1(0, this.stream);
  41824. },
  41825. $signature: 0
  41826. };
  41827. A._StreamGroupState.prototype = {
  41828. toString$0(_) {
  41829. return this.name;
  41830. }
  41831. };
  41832. A.StreamQueue.prototype = {
  41833. _updateRequests$0() {
  41834. var t1, t2, t3, t4, _this = this;
  41835. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  41836. t4 = t1._head;
  41837. if (t4 === t1._tail)
  41838. A.throwExpression(A.IterableElementError_noElement());
  41839. t4 = t1._table[t4];
  41840. if (t4 == null)
  41841. t4 = t3._as(t4);
  41842. if (t4.update$2(t2, _this._isDone))
  41843. t1.removeFirst$0();
  41844. else
  41845. return;
  41846. }
  41847. if (!_this._isDone)
  41848. _this._stream_queue$_subscription.pause$0(0);
  41849. },
  41850. _ensureListening$0() {
  41851. var t1, _this = this;
  41852. if (_this._isDone)
  41853. return;
  41854. t1 = _this._stream_queue$_subscription;
  41855. if (t1 == null)
  41856. _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));
  41857. else
  41858. t1.resume$0(0);
  41859. },
  41860. _addResult$1(result) {
  41861. ++this._eventsReceived;
  41862. this._eventQueue._queue_list$_add$1(result);
  41863. this._updateRequests$0();
  41864. },
  41865. _addRequest$1(request) {
  41866. var _this = this,
  41867. t1 = _this._requestQueue;
  41868. if (t1._head === t1._tail) {
  41869. if (request.update$2(_this._eventQueue, _this._isDone))
  41870. return;
  41871. _this._ensureListening$0();
  41872. }
  41873. t1._add$1(request);
  41874. }
  41875. };
  41876. A.StreamQueue__ensureListening_closure.prototype = {
  41877. call$1(data) {
  41878. var t1 = this.$this;
  41879. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  41880. },
  41881. $signature() {
  41882. return this.$this.$ti._eval$1("~(1)");
  41883. }
  41884. };
  41885. A.StreamQueue__ensureListening_closure1.prototype = {
  41886. call$2(error, stackTrace) {
  41887. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  41888. },
  41889. $signature: 50
  41890. };
  41891. A.StreamQueue__ensureListening_closure0.prototype = {
  41892. call$0() {
  41893. var t1 = this.$this;
  41894. t1._stream_queue$_subscription = null;
  41895. t1._isDone = true;
  41896. t1._updateRequests$0();
  41897. },
  41898. $signature: 0
  41899. };
  41900. A._NextRequest.prototype = {
  41901. update$2(events, isDone) {
  41902. if (!events.get$isEmpty(events)) {
  41903. events.removeFirst$0().complete$1(this._completer);
  41904. return true;
  41905. }
  41906. if (isDone) {
  41907. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  41908. return true;
  41909. }
  41910. return false;
  41911. },
  41912. $is_EventRequest: 1
  41913. };
  41914. A._isStrictMode_closure.prototype = {
  41915. call$0() {
  41916. var exception;
  41917. try {
  41918. "".name = null;
  41919. return false;
  41920. } catch (exception) {
  41921. return true;
  41922. }
  41923. },
  41924. $signature: 22
  41925. };
  41926. A.Repl.prototype = {};
  41927. A.alwaysValid_closure.prototype = {
  41928. call$1(text) {
  41929. return true;
  41930. },
  41931. $signature: 4
  41932. };
  41933. A.ReplAdapter.prototype = {
  41934. runAsync$0() {
  41935. var rl, runController, _this = this, t1 = {},
  41936. t2 = J.get$isTTY$x(self.process.stdin),
  41937. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  41938. t2 = _this.repl.prompt;
  41939. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  41940. _this.rl = rl;
  41941. t1.statement = "";
  41942. t1.prompt = t2;
  41943. runController = A._Cell$();
  41944. runController.__late_helper$_value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  41945. return runController._readLocal$0().get$stream();
  41946. },
  41947. exit$0(_) {
  41948. var t1 = this.rl;
  41949. if (t1 != null)
  41950. J.close$0$x(t1);
  41951. this.rl = null;
  41952. }
  41953. };
  41954. A.ReplAdapter_runAsync_closure.prototype = {
  41955. call$0() {
  41956. var $async$goto = 0,
  41957. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  41958. $async$handler = 1, $async$currentError, $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, line0, toZone, statement, exception, $async$exception;
  41959. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41960. if ($async$errorCode === 1) {
  41961. $async$currentError = $async$result;
  41962. $async$goto = $async$handler;
  41963. }
  41964. while (true)
  41965. switch ($async$goto) {
  41966. case 0:
  41967. // Function start
  41968. $async$handler = 3;
  41969. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  41970. t1 = lineController;
  41971. t2 = A.QueueList$(null, type$.Result_String);
  41972. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  41973. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  41974. t1 = $async$self.rl;
  41975. t2 = J.getInterceptor$x(t1);
  41976. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  41977. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  41978. case 6:
  41979. // for condition
  41980. // trivial condition
  41981. t6 = J.get$isTTY$x(self.process.stdin);
  41982. if (t6 == null ? false : t6)
  41983. J.write$1$x(self.process.stdout, t3.prompt);
  41984. t6 = lineQueue;
  41985. t6.toString;
  41986. t7 = t6.$ti;
  41987. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  41988. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  41989. $async$goto = 8;
  41990. return A._asyncAwait(t8, $async$call$0);
  41991. case 8:
  41992. // returning from await.
  41993. line = $async$result;
  41994. t6 = J.get$isTTY$x(self.process.stdin);
  41995. if (!(t6 == null ? false : t6)) {
  41996. line0 = t3.prompt + A.S(line);
  41997. toZone = $.printToZone;
  41998. if (toZone == null)
  41999. A.printString(line0);
  42000. else
  42001. toZone.call$1(line0);
  42002. }
  42003. statement = B.JSString_methods.$add(t3.statement, line);
  42004. t3.statement = statement;
  42005. if (t4.validator.call$1(statement)) {
  42006. t6 = t5.__late_helper$_value;
  42007. if (t6 === t5)
  42008. A.throwExpression(A.LateError$localNI(""));
  42009. J.add$1$ax(t6, t3.statement);
  42010. t3.statement = "";
  42011. t3.prompt = prompt0;
  42012. t2.setPrompt$1(t1, prompt0);
  42013. } else {
  42014. t3.statement += "\n";
  42015. t3.prompt = $prompt;
  42016. t2.setPrompt$1(t1, $prompt);
  42017. }
  42018. // goto for condition
  42019. $async$goto = 6;
  42020. break;
  42021. case 7:
  42022. // after for
  42023. $async$handler = 1;
  42024. // goto after finally
  42025. $async$goto = 5;
  42026. break;
  42027. case 3:
  42028. // catch
  42029. $async$handler = 2;
  42030. $async$exception = $async$currentError;
  42031. error = A.unwrapException($async$exception);
  42032. stackTrace = A.getTraceFromException($async$exception);
  42033. t1 = $async$self.runController;
  42034. t1._readLocal$0().addError$2(error, stackTrace);
  42035. t2 = $async$self.$this.exit$0(0);
  42036. t2 = A._Future$value(t2, type$.void);
  42037. $async$goto = 9;
  42038. return A._asyncAwait(t2, $async$call$0);
  42039. case 9:
  42040. // returning from await.
  42041. J.close$0$x(t1._readLocal$0());
  42042. // goto after finally
  42043. $async$goto = 5;
  42044. break;
  42045. case 2:
  42046. // uncaught
  42047. // goto rethrow
  42048. $async$goto = 1;
  42049. break;
  42050. case 5:
  42051. // after finally
  42052. // implicit return
  42053. return A._asyncReturn(null, $async$completer);
  42054. case 1:
  42055. // rethrow
  42056. return A._asyncRethrow($async$currentError, $async$completer);
  42057. }
  42058. });
  42059. return A._asyncStartSync($async$call$0, $async$completer);
  42060. },
  42061. $signature: 25
  42062. };
  42063. A.ReplAdapter_runAsync__closure.prototype = {
  42064. call$1(value) {
  42065. return this.lineController.add$1(0, A._asString(value));
  42066. },
  42067. $signature: 67
  42068. };
  42069. A.Stdin.prototype = {};
  42070. A.Stdout.prototype = {};
  42071. A.ReadlineModule.prototype = {};
  42072. A.ReadlineOptions.prototype = {};
  42073. A.ReadlineInterface.prototype = {};
  42074. A.EmptyUnmodifiableSet.prototype = {
  42075. get$iterator(_) {
  42076. return B.C_EmptyIterator;
  42077. },
  42078. get$length(_) {
  42079. return 0;
  42080. },
  42081. contains$1(_, element) {
  42082. return false;
  42083. },
  42084. toSet$0(_) {
  42085. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  42086. },
  42087. $isEfficientLengthIterable: 1,
  42088. $isSet: 1
  42089. };
  42090. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  42091. A.DefaultEquality.prototype = {};
  42092. A.IterableEquality.prototype = {
  42093. equals$2(_, elements1, elements2) {
  42094. var it1, it2, hasNext;
  42095. if (elements1 === elements2)
  42096. return true;
  42097. it1 = J.get$iterator$ax(elements1);
  42098. it2 = J.get$iterator$ax(elements2);
  42099. for (; true;) {
  42100. hasNext = it1.moveNext$0();
  42101. if (hasNext !== it2.moveNext$0())
  42102. return false;
  42103. if (!hasNext)
  42104. return true;
  42105. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  42106. return false;
  42107. }
  42108. },
  42109. hash$1(elements) {
  42110. var t1, hash, _i;
  42111. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  42112. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  42113. hash = hash + (hash << 10 >>> 0) & 2147483647;
  42114. hash ^= hash >>> 6;
  42115. }
  42116. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42117. hash ^= hash >>> 11;
  42118. return hash + (hash << 15 >>> 0) & 2147483647;
  42119. }
  42120. };
  42121. A.ListEquality.prototype = {
  42122. equals$2(_, list1, list2) {
  42123. var t1, $length, t2, i;
  42124. if (list1 == null ? list2 == null : list1 === list2)
  42125. return true;
  42126. if (list1 == null || list2 == null)
  42127. return false;
  42128. t1 = J.getInterceptor$asx(list1);
  42129. $length = t1.get$length(list1);
  42130. t2 = J.getInterceptor$asx(list2);
  42131. if ($length !== t2.get$length(list2))
  42132. return false;
  42133. for (i = 0; i < $length; ++i)
  42134. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  42135. return false;
  42136. return true;
  42137. },
  42138. hash$1(list) {
  42139. var hash, i;
  42140. for (hash = 0, i = 0; i < list.length; ++i) {
  42141. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  42142. hash = hash + (hash << 10 >>> 0) & 2147483647;
  42143. hash ^= hash >>> 6;
  42144. }
  42145. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42146. hash ^= hash >>> 11;
  42147. return hash + (hash << 15 >>> 0) & 2147483647;
  42148. }
  42149. };
  42150. A._MapEntry.prototype = {
  42151. get$hashCode(_) {
  42152. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  42153. },
  42154. $eq(_, other) {
  42155. if (other == null)
  42156. return false;
  42157. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  42158. }
  42159. };
  42160. A.MapEquality.prototype = {
  42161. equals$2(_, map1, map2) {
  42162. var equalElementCounts, t1, key, entry, count;
  42163. if (map1 === map2)
  42164. return true;
  42165. if (map1.get$length(map1) !== map2.get$length(map2))
  42166. return false;
  42167. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  42168. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  42169. key = t1.get$current(t1);
  42170. entry = new A._MapEntry(this, key, map1.$index(0, key));
  42171. count = equalElementCounts.$index(0, entry);
  42172. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  42173. }
  42174. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  42175. key = t1.get$current(t1);
  42176. entry = new A._MapEntry(this, key, map2.$index(0, key));
  42177. count = equalElementCounts.$index(0, entry);
  42178. if (count == null || count === 0)
  42179. return false;
  42180. equalElementCounts.$indexSet(0, entry, count - 1);
  42181. }
  42182. return true;
  42183. },
  42184. hash$1(map) {
  42185. var t1, t2, hash, key, keyHash, t3;
  42186. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  42187. key = t1.get$current(t1);
  42188. keyHash = J.get$hashCode$(key);
  42189. t3 = map.$index(0, key);
  42190. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  42191. }
  42192. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42193. hash ^= hash >>> 11;
  42194. return hash + (hash << 15 >>> 0) & 2147483647;
  42195. }
  42196. };
  42197. A.QueueList.prototype = {
  42198. add$1(_, element) {
  42199. this._queue_list$_add$1(element);
  42200. },
  42201. addAll$1(_, iterable) {
  42202. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  42203. if (type$.List_dynamic._is(iterable)) {
  42204. addCount = J.get$length$asx(iterable);
  42205. $length = _this.get$length(0);
  42206. t1 = $length + addCount;
  42207. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  42208. _this._preGrow$1(t1);
  42209. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  42210. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42211. } else {
  42212. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  42213. t1 = _this._queue_list$_table;
  42214. t2 = J.getInterceptor$ax(t1);
  42215. if (addCount < endSpace) {
  42216. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  42217. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42218. } else {
  42219. preSpace = addCount - endSpace;
  42220. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  42221. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  42222. _this.set$_queue_list$_tail(preSpace);
  42223. }
  42224. }
  42225. } else
  42226. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  42227. _this._queue_list$_add$1(t1.get$current(t1));
  42228. },
  42229. cast$1$0(_, $T) {
  42230. 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>"));
  42231. },
  42232. toString$0(_) {
  42233. return A.Iterable_iterableToFullString(this, "{", "}");
  42234. },
  42235. addFirst$1(element) {
  42236. var _this = this;
  42237. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42238. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  42239. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42240. _this._queue_list$_grow$0();
  42241. },
  42242. removeFirst$0() {
  42243. var result, _this = this;
  42244. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42245. throw A.wrapException(A.StateError$("No element"));
  42246. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  42247. if (result == null)
  42248. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42249. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  42250. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42251. return result;
  42252. },
  42253. removeLast$0(_) {
  42254. var result, _this = this;
  42255. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42256. throw A.wrapException(A.StateError$("No element"));
  42257. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42258. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  42259. if (result == null)
  42260. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42261. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  42262. return result;
  42263. },
  42264. get$length(_) {
  42265. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  42266. },
  42267. set$length(_, value) {
  42268. var delta, newTail, t1, t2, _this = this;
  42269. if (value < 0)
  42270. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  42271. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  42272. 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) + "`."));
  42273. delta = value - _this.get$length(0);
  42274. if (delta >= 0) {
  42275. if (J.get$length$asx(_this._queue_list$_table) <= value)
  42276. _this._preGrow$1(value);
  42277. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42278. return;
  42279. }
  42280. newTail = _this.get$_queue_list$_tail() + delta;
  42281. t1 = _this._queue_list$_table;
  42282. if (newTail >= 0)
  42283. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  42284. else {
  42285. newTail += J.get$length$asx(t1);
  42286. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  42287. t1 = _this._queue_list$_table;
  42288. t2 = J.getInterceptor$asx(t1);
  42289. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  42290. }
  42291. _this.set$_queue_list$_tail(newTail);
  42292. },
  42293. $index(_, index) {
  42294. var t1, _this = this;
  42295. if (index < 0 || index >= _this.get$length(0))
  42296. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42297. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42298. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  42299. },
  42300. $indexSet(_, index, value) {
  42301. var _this = this;
  42302. if (index < 0 || index >= _this.get$length(0))
  42303. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42304. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  42305. },
  42306. _queue_list$_add$1(element) {
  42307. var _this = this;
  42308. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  42309. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42310. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42311. _this._queue_list$_grow$0();
  42312. },
  42313. _queue_list$_grow$0() {
  42314. var _this = this,
  42315. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  42316. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42317. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  42318. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  42319. _this.set$_queue_list$_head(0);
  42320. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  42321. _this._queue_list$_table = newTable;
  42322. },
  42323. _writeToList$1(target) {
  42324. var $length, firstPartSize, _this = this;
  42325. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  42326. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  42327. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  42328. return $length;
  42329. } else {
  42330. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42331. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  42332. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  42333. return _this.get$_queue_list$_tail() + firstPartSize;
  42334. }
  42335. },
  42336. _preGrow$1(newElementCount) {
  42337. var _this = this,
  42338. 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?"));
  42339. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  42340. _this._queue_list$_table = newTable;
  42341. _this.set$_queue_list$_head(0);
  42342. },
  42343. $isEfficientLengthIterable: 1,
  42344. $isQueue: 1,
  42345. $isIterable: 1,
  42346. $isList: 1,
  42347. get$_queue_list$_head() {
  42348. return this._queue_list$_head;
  42349. },
  42350. get$_queue_list$_tail() {
  42351. return this._queue_list$_tail;
  42352. },
  42353. set$_queue_list$_head(val) {
  42354. return this._queue_list$_head = val;
  42355. },
  42356. set$_queue_list$_tail(val) {
  42357. return this._queue_list$_tail = val;
  42358. }
  42359. };
  42360. A._CastQueueList.prototype = {
  42361. get$_queue_list$_head() {
  42362. return this._queue_list$_delegate.get$_queue_list$_head();
  42363. },
  42364. set$_queue_list$_head(value) {
  42365. this._queue_list$_delegate.set$_queue_list$_head(value);
  42366. },
  42367. get$_queue_list$_tail() {
  42368. return this._queue_list$_delegate.get$_queue_list$_tail();
  42369. },
  42370. set$_queue_list$_tail(value) {
  42371. this._queue_list$_delegate.set$_queue_list$_tail(value);
  42372. }
  42373. };
  42374. A._QueueList_Object_ListMixin.prototype = {};
  42375. A.UnionSet.prototype = {
  42376. get$length(_) {
  42377. var t1 = this.get$_union_set$_iterable().get$length(0);
  42378. return t1;
  42379. },
  42380. get$iterator(_) {
  42381. var t1 = this.get$_union_set$_iterable();
  42382. return t1.get$iterator(t1);
  42383. },
  42384. get$_union_set$_iterable() {
  42385. var t1 = this._sets,
  42386. t2 = this.$ti._precomputed1,
  42387. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  42388. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  42389. 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>"));
  42390. },
  42391. contains$1(_, element) {
  42392. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  42393. },
  42394. toSet$0(_) {
  42395. var t2, t3, t4,
  42396. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  42397. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  42398. t4 = t2._collection$_current;
  42399. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  42400. }
  42401. return t1;
  42402. }
  42403. };
  42404. A.UnionSet__iterable_closure.prototype = {
  42405. call$1(set) {
  42406. return set;
  42407. },
  42408. $signature() {
  42409. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  42410. }
  42411. };
  42412. A.UnionSet_contains_closure.prototype = {
  42413. call$1(set) {
  42414. return set.contains$1(0, this.element);
  42415. },
  42416. $signature() {
  42417. return this.$this.$ti._eval$1("bool(Set<1>)");
  42418. }
  42419. };
  42420. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  42421. A.UnmodifiableSetView0.prototype = {};
  42422. A.UnmodifiableSetMixin.prototype = {
  42423. add$1(_, value) {
  42424. return A.UnmodifiableSetMixin__throw();
  42425. },
  42426. addAll$1(_, elements) {
  42427. return A.UnmodifiableSetMixin__throw();
  42428. },
  42429. remove$1(_, value) {
  42430. return A.UnmodifiableSetMixin__throw();
  42431. }
  42432. };
  42433. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  42434. A._DelegatingIterableBase.prototype = {
  42435. any$1(_, test) {
  42436. return J.any$1$ax(this.get$_base(), test);
  42437. },
  42438. contains$1(_, element) {
  42439. return J.contains$1$asx(this.get$_base(), element);
  42440. },
  42441. elementAt$1(_, index) {
  42442. return J.elementAt$1$ax(this.get$_base(), index);
  42443. },
  42444. every$1(_, test) {
  42445. return J.every$1$ax(this.get$_base(), test);
  42446. },
  42447. get$first(_) {
  42448. return J.get$first$ax(this.get$_base());
  42449. },
  42450. get$isEmpty(_) {
  42451. return J.get$isEmpty$asx(this.get$_base());
  42452. },
  42453. get$isNotEmpty(_) {
  42454. return J.get$isNotEmpty$asx(this.get$_base());
  42455. },
  42456. get$iterator(_) {
  42457. return J.get$iterator$ax(this.get$_base());
  42458. },
  42459. get$last(_) {
  42460. return J.get$last$ax(this.get$_base());
  42461. },
  42462. get$length(_) {
  42463. return J.get$length$asx(this.get$_base());
  42464. },
  42465. map$1$1(_, f, $T) {
  42466. return J.map$1$1$ax(this.get$_base(), f, $T);
  42467. },
  42468. get$single(_) {
  42469. return J.get$single$ax(this.get$_base());
  42470. },
  42471. skip$1(_, n) {
  42472. return J.skip$1$ax(this.get$_base(), n);
  42473. },
  42474. take$1(_, n) {
  42475. return J.take$1$ax(this.get$_base(), n);
  42476. },
  42477. toList$1$growable(_, growable) {
  42478. return J.toList$1$growable$ax(this.get$_base(), true);
  42479. },
  42480. toList$0(_) {
  42481. return this.toList$1$growable(0, true);
  42482. },
  42483. toSet$0(_) {
  42484. return J.toSet$0$ax(this.get$_base());
  42485. },
  42486. where$1(_, test) {
  42487. return J.where$1$ax(this.get$_base(), test);
  42488. },
  42489. toString$0(_) {
  42490. return J.toString$0$(this.get$_base());
  42491. },
  42492. $isIterable: 1
  42493. };
  42494. A.DelegatingSet.prototype = {
  42495. add$1(_, value) {
  42496. return this._base.add$1(0, value);
  42497. },
  42498. addAll$1(_, elements) {
  42499. this._base.addAll$1(0, elements);
  42500. },
  42501. toSet$0(_) {
  42502. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  42503. },
  42504. $isEfficientLengthIterable: 1,
  42505. $isSet: 1,
  42506. get$_base() {
  42507. return this._base;
  42508. }
  42509. };
  42510. A.MapKeySet.prototype = {
  42511. get$_base() {
  42512. var t1 = this._baseMap;
  42513. return t1.get$keys(t1);
  42514. },
  42515. contains$1(_, element) {
  42516. return this._baseMap.containsKey$1(element);
  42517. },
  42518. get$isEmpty(_) {
  42519. var t1 = this._baseMap;
  42520. return t1.get$isEmpty(t1);
  42521. },
  42522. get$isNotEmpty(_) {
  42523. var t1 = this._baseMap;
  42524. return t1.get$isNotEmpty(t1);
  42525. },
  42526. get$length(_) {
  42527. var t1 = this._baseMap;
  42528. return t1.get$length(t1);
  42529. },
  42530. toString$0(_) {
  42531. return A.Iterable_iterableToFullString(this, "{", "}");
  42532. },
  42533. difference$1(other) {
  42534. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  42535. },
  42536. $isEfficientLengthIterable: 1,
  42537. $isSet: 1
  42538. };
  42539. A.MapKeySet_difference_closure.prototype = {
  42540. call$1(element) {
  42541. return !this.other._source.contains$1(0, element);
  42542. },
  42543. $signature() {
  42544. return this.$this.$ti._eval$1("bool(1)");
  42545. }
  42546. };
  42547. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  42548. A.BufferModule.prototype = {};
  42549. A.BufferConstants.prototype = {};
  42550. A.Buffer.prototype = {};
  42551. A.ConsoleModule.prototype = {};
  42552. A.Console.prototype = {};
  42553. A.EventEmitter.prototype = {};
  42554. A.FS.prototype = {};
  42555. A.FSConstants.prototype = {};
  42556. A.FSWatcher.prototype = {};
  42557. A.ReadStream.prototype = {};
  42558. A.ReadStreamOptions.prototype = {};
  42559. A.WriteStream.prototype = {};
  42560. A.WriteStreamOptions.prototype = {};
  42561. A.FileOptions.prototype = {};
  42562. A.StatOptions.prototype = {};
  42563. A.MkdirOptions.prototype = {};
  42564. A.RmdirOptions.prototype = {};
  42565. A.WatchOptions.prototype = {};
  42566. A.WatchFileOptions.prototype = {};
  42567. A.Stats.prototype = {};
  42568. A.Promise.prototype = {};
  42569. A.Date.prototype = {};
  42570. A.JsError.prototype = {};
  42571. A.Atomics.prototype = {};
  42572. A.Modules.prototype = {};
  42573. A.Module.prototype = {};
  42574. A.Net.prototype = {};
  42575. A.Socket.prototype = {};
  42576. A.NetAddress.prototype = {};
  42577. A.NetServer.prototype = {};
  42578. A.NodeJsError.prototype = {};
  42579. A.JsAssertionError.prototype = {};
  42580. A.JsRangeError.prototype = {};
  42581. A.JsReferenceError.prototype = {};
  42582. A.JsSyntaxError.prototype = {};
  42583. A.JsTypeError.prototype = {};
  42584. A.JsSystemError.prototype = {};
  42585. A.Process.prototype = {};
  42586. A.CPUUsage.prototype = {};
  42587. A.Release.prototype = {};
  42588. A.StreamModule.prototype = {};
  42589. A.Readable.prototype = {};
  42590. A.Writable.prototype = {};
  42591. A.Duplex.prototype = {};
  42592. A.Transform.prototype = {};
  42593. A.WritableOptions.prototype = {};
  42594. A.ReadableOptions.prototype = {};
  42595. A.Immediate.prototype = {};
  42596. A.Timeout.prototype = {};
  42597. A.TTY.prototype = {};
  42598. A.TTYReadStream.prototype = {};
  42599. A.TTYWriteStream.prototype = {};
  42600. A.Util.prototype = {};
  42601. A.promiseToFuture_closure.prototype = {
  42602. call$1(value) {
  42603. this.completer.complete$1(value);
  42604. },
  42605. $signature: 62
  42606. };
  42607. A.promiseToFuture_closure0.prototype = {
  42608. call$1(error) {
  42609. this.completer.completeError$1(error);
  42610. },
  42611. $signature: 62
  42612. };
  42613. A.futureToPromise_closure.prototype = {
  42614. call$2(resolve, reject) {
  42615. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  42616. },
  42617. $signature: 635
  42618. };
  42619. A.futureToPromise__closure.prototype = {
  42620. call$1(result) {
  42621. return this.resolve.call$1(result);
  42622. },
  42623. $signature() {
  42624. return this.T._eval$1("@(0)");
  42625. }
  42626. };
  42627. A.Context.prototype = {
  42628. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  42629. var t1;
  42630. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  42631. if (part2 == null) {
  42632. t1 = this.style;
  42633. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  42634. } else
  42635. t1 = false;
  42636. if (t1)
  42637. return part1;
  42638. t1 = this._context$_current;
  42639. 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);
  42640. },
  42641. absolute$1(part1) {
  42642. var _null = null;
  42643. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42644. },
  42645. dirname$1(path) {
  42646. var t1, t2,
  42647. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42648. parsed.removeTrailingSeparators$0();
  42649. t1 = parsed.parts;
  42650. t2 = t1.length;
  42651. if (t2 === 0) {
  42652. t1 = parsed.root;
  42653. return t1 == null ? "." : t1;
  42654. }
  42655. if (t2 === 1) {
  42656. t1 = parsed.root;
  42657. return t1 == null ? "." : t1;
  42658. }
  42659. B.JSArray_methods.removeLast$0(t1);
  42660. parsed.separators.pop();
  42661. parsed.removeTrailingSeparators$0();
  42662. return parsed.toString$0(0);
  42663. },
  42664. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  42665. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  42666. A._validateArgList("join", parts);
  42667. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  42668. },
  42669. join$2(_, part1, part2) {
  42670. var _null = null;
  42671. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42672. },
  42673. joinAll$1(parts) {
  42674. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  42675. 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();) {
  42676. t5 = t2.get$current(t2);
  42677. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  42678. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  42679. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  42680. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  42681. parsed.root = t4;
  42682. if (t3.needsSeparator$1(t4))
  42683. parsed.separators[0] = t3.get$separator(t3);
  42684. t4 = "" + parsed.toString$0(0);
  42685. } else if (t3.rootLength$1(t5) > 0) {
  42686. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  42687. t4 = "" + t5;
  42688. } else {
  42689. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  42690. if (needsSeparator)
  42691. t4 += t3.get$separator(t3);
  42692. t4 += t5;
  42693. }
  42694. needsSeparator = t3.needsSeparator$1(t5);
  42695. }
  42696. return t4.charCodeAt(0) == 0 ? t4 : t4;
  42697. },
  42698. split$1(_, path) {
  42699. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  42700. t1 = parsed.parts,
  42701. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  42702. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  42703. parsed.parts = t2;
  42704. t1 = parsed.root;
  42705. if (t1 != null)
  42706. B.JSArray_methods.insert$2(t2, 0, t1);
  42707. return parsed.parts;
  42708. },
  42709. canonicalize$1(_, path) {
  42710. var t1, parsed;
  42711. path = this.absolute$1(path);
  42712. t1 = this.style;
  42713. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  42714. return path;
  42715. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42716. parsed.normalize$1$canonicalize(true);
  42717. return parsed.toString$0(0);
  42718. },
  42719. normalize$1(path) {
  42720. var parsed;
  42721. if (!this._needsNormalization$1(path))
  42722. return path;
  42723. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42724. parsed.normalize$0();
  42725. return parsed.toString$0(0);
  42726. },
  42727. _needsNormalization$1(path) {
  42728. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  42729. t1 = this.style,
  42730. root = t1.rootLength$1(path);
  42731. if (root !== 0) {
  42732. if (t1 === $.$get$Style_windows())
  42733. for (i = 0; i < root; ++i)
  42734. if (path.charCodeAt(i) === 47)
  42735. return true;
  42736. start = root;
  42737. previous = 47;
  42738. } else {
  42739. start = 0;
  42740. previous = null;
  42741. }
  42742. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  42743. codeUnit = t2.charCodeAt(i);
  42744. if (t1.isSeparator$1(codeUnit)) {
  42745. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  42746. return true;
  42747. if (previous != null && t1.isSeparator$1(previous))
  42748. return true;
  42749. if (previous === 46)
  42750. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  42751. else
  42752. t4 = false;
  42753. if (t4)
  42754. return true;
  42755. }
  42756. }
  42757. if (previous == null)
  42758. return true;
  42759. if (t1.isSeparator$1(previous))
  42760. return true;
  42761. if (previous === 46)
  42762. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  42763. else
  42764. t1 = false;
  42765. if (t1)
  42766. return true;
  42767. return false;
  42768. },
  42769. relative$2$from(path, from) {
  42770. var fromParsed, pathParsed, t2, t3, _this = this,
  42771. _s26_ = 'Unable to find a path to "',
  42772. t1 = from == null;
  42773. if (t1 && _this.style.rootLength$1(path) <= 0)
  42774. return _this.normalize$1(path);
  42775. if (t1) {
  42776. t1 = _this._context$_current;
  42777. from = t1 == null ? A.current() : t1;
  42778. } else
  42779. from = _this.absolute$1(from);
  42780. t1 = _this.style;
  42781. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  42782. return _this.normalize$1(path);
  42783. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  42784. path = _this.absolute$1(path);
  42785. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  42786. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42787. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  42788. fromParsed.normalize$0();
  42789. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42790. pathParsed.normalize$0();
  42791. t2 = fromParsed.parts;
  42792. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  42793. return pathParsed.toString$0(0);
  42794. t2 = fromParsed.root;
  42795. t3 = pathParsed.root;
  42796. if (t2 != t3)
  42797. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  42798. else
  42799. t2 = false;
  42800. if (t2)
  42801. return pathParsed.toString$0(0);
  42802. while (true) {
  42803. t2 = fromParsed.parts;
  42804. if (t2.length !== 0) {
  42805. t3 = pathParsed.parts;
  42806. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  42807. } else
  42808. t2 = false;
  42809. if (!t2)
  42810. break;
  42811. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  42812. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  42813. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  42814. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  42815. }
  42816. t2 = fromParsed.parts;
  42817. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  42818. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42819. t2 = type$.String;
  42820. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  42821. t3 = pathParsed.separators;
  42822. t3[0] = "";
  42823. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  42824. t1 = pathParsed.parts;
  42825. t2 = t1.length;
  42826. if (t2 === 0)
  42827. return ".";
  42828. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  42829. B.JSArray_methods.removeLast$0(pathParsed.parts);
  42830. t1 = pathParsed.separators;
  42831. t1.pop();
  42832. t1.pop();
  42833. t1.push("");
  42834. }
  42835. pathParsed.root = "";
  42836. pathParsed.removeTrailingSeparators$0();
  42837. return pathParsed.toString$0(0);
  42838. },
  42839. relative$1(path) {
  42840. return this.relative$2$from(path, null);
  42841. },
  42842. _isWithinOrEquals$2($parent, child) {
  42843. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  42844. $parent = $parent;
  42845. child = child;
  42846. t1 = _this.style;
  42847. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  42848. childIsAbsolute = t1.rootLength$1(child) > 0;
  42849. if (parentIsAbsolute && !childIsAbsolute) {
  42850. child = _this.absolute$1(child);
  42851. if (t1.isRootRelative$1($parent))
  42852. $parent = _this.absolute$1($parent);
  42853. } else if (childIsAbsolute && !parentIsAbsolute) {
  42854. $parent = _this.absolute$1($parent);
  42855. if (t1.isRootRelative$1(child))
  42856. child = _this.absolute$1(child);
  42857. } else if (childIsAbsolute && parentIsAbsolute) {
  42858. childIsRootRelative = t1.isRootRelative$1(child);
  42859. parentIsRootRelative = t1.isRootRelative$1($parent);
  42860. if (childIsRootRelative && !parentIsRootRelative)
  42861. child = _this.absolute$1(child);
  42862. else if (parentIsRootRelative && !childIsRootRelative)
  42863. $parent = _this.absolute$1($parent);
  42864. }
  42865. result = _this._isWithinOrEqualsFast$2($parent, child);
  42866. if (result !== B._PathRelation_inconclusive)
  42867. return result;
  42868. relative = null;
  42869. try {
  42870. relative = _this.relative$2$from(child, $parent);
  42871. } catch (exception) {
  42872. if (A.unwrapException(exception) instanceof A.PathException)
  42873. return B._PathRelation_different;
  42874. else
  42875. throw exception;
  42876. }
  42877. if (t1.rootLength$1(relative) > 0)
  42878. return B._PathRelation_different;
  42879. if (J.$eq$(relative, "."))
  42880. return B._PathRelation_equal;
  42881. if (J.$eq$(relative, ".."))
  42882. return B._PathRelation_different;
  42883. 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;
  42884. },
  42885. _isWithinOrEqualsFast$2($parent, child) {
  42886. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  42887. if ($parent === ".")
  42888. $parent = "";
  42889. t1 = _this.style;
  42890. parentRootLength = t1.rootLength$1($parent);
  42891. childRootLength = t1.rootLength$1(child);
  42892. if (parentRootLength !== childRootLength)
  42893. return B._PathRelation_different;
  42894. for (i = 0; i < parentRootLength; ++i)
  42895. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  42896. return B._PathRelation_different;
  42897. t2 = child.length;
  42898. t3 = $parent.length;
  42899. childIndex = childRootLength;
  42900. parentIndex = parentRootLength;
  42901. lastCodeUnit = 47;
  42902. lastParentSeparator = null;
  42903. while (true) {
  42904. if (!(parentIndex < t3 && childIndex < t2))
  42905. break;
  42906. c$0: {
  42907. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42908. childCodeUnit = child.charCodeAt(childIndex);
  42909. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  42910. if (t1.isSeparator$1(parentCodeUnit))
  42911. lastParentSeparator = parentIndex;
  42912. ++parentIndex;
  42913. ++childIndex;
  42914. lastCodeUnit = parentCodeUnit;
  42915. break c$0;
  42916. }
  42917. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42918. parentIndex0 = parentIndex + 1;
  42919. lastParentSeparator = parentIndex;
  42920. parentIndex = parentIndex0;
  42921. break c$0;
  42922. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42923. ++childIndex;
  42924. break c$0;
  42925. }
  42926. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42927. ++parentIndex;
  42928. if (parentIndex === t3)
  42929. break;
  42930. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42931. if (t1.isSeparator$1(parentCodeUnit)) {
  42932. parentIndex0 = parentIndex + 1;
  42933. lastParentSeparator = parentIndex;
  42934. parentIndex = parentIndex0;
  42935. break c$0;
  42936. }
  42937. if (parentCodeUnit === 46) {
  42938. ++parentIndex;
  42939. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42940. return B._PathRelation_inconclusive;
  42941. }
  42942. }
  42943. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42944. ++childIndex;
  42945. if (childIndex === t2)
  42946. break;
  42947. childCodeUnit = child.charCodeAt(childIndex);
  42948. if (t1.isSeparator$1(childCodeUnit)) {
  42949. ++childIndex;
  42950. break c$0;
  42951. }
  42952. if (childCodeUnit === 46) {
  42953. ++childIndex;
  42954. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  42955. return B._PathRelation_inconclusive;
  42956. }
  42957. }
  42958. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_yLX)
  42959. return B._PathRelation_inconclusive;
  42960. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_yLX)
  42961. return B._PathRelation_inconclusive;
  42962. return B._PathRelation_different;
  42963. }
  42964. }
  42965. if (childIndex === t2) {
  42966. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42967. lastParentSeparator = parentIndex;
  42968. else if (lastParentSeparator == null)
  42969. lastParentSeparator = Math.max(0, parentRootLength - 1);
  42970. direction = _this._pathDirection$2($parent, lastParentSeparator);
  42971. if (direction === B._PathDirection_8OV)
  42972. return B._PathRelation_equal;
  42973. return direction === B._PathDirection_3KU ? B._PathRelation_inconclusive : B._PathRelation_different;
  42974. }
  42975. direction = _this._pathDirection$2(child, childIndex);
  42976. if (direction === B._PathDirection_8OV)
  42977. return B._PathRelation_equal;
  42978. if (direction === B._PathDirection_3KU)
  42979. return B._PathRelation_inconclusive;
  42980. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  42981. },
  42982. _pathDirection$2(path, index) {
  42983. var t1, t2, i, depth, reachedRoot, i0, t3;
  42984. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  42985. while (true) {
  42986. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  42987. break;
  42988. ++i;
  42989. }
  42990. if (i === t1)
  42991. break;
  42992. i0 = i;
  42993. while (true) {
  42994. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  42995. break;
  42996. ++i0;
  42997. }
  42998. t3 = i0 - i;
  42999. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  43000. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  43001. --depth;
  43002. if (depth < 0)
  43003. break;
  43004. if (depth === 0)
  43005. reachedRoot = true;
  43006. } else
  43007. ++depth;
  43008. if (i0 === t1)
  43009. break;
  43010. i = i0 + 1;
  43011. }
  43012. if (depth < 0)
  43013. return B._PathDirection_3KU;
  43014. if (depth === 0)
  43015. return B._PathDirection_8OV;
  43016. if (reachedRoot)
  43017. return B._PathDirection_e7w;
  43018. return B._PathDirection_yLX;
  43019. },
  43020. hash$1(path) {
  43021. var result, parsed, t1, _this = this;
  43022. path = _this.absolute$1(path);
  43023. result = _this._hashFast$1(path);
  43024. if (result != null)
  43025. return result;
  43026. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  43027. parsed.normalize$0();
  43028. t1 = _this._hashFast$1(parsed.toString$0(0));
  43029. t1.toString;
  43030. return t1;
  43031. },
  43032. _hashFast$1(path) {
  43033. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  43034. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  43035. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  43036. if (t2.isSeparator$1(codeUnit)) {
  43037. wasSeparator = true;
  43038. continue;
  43039. }
  43040. if (codeUnit === 46 && wasSeparator) {
  43041. t3 = i + 1;
  43042. if (t3 === t1)
  43043. break;
  43044. next = path.charCodeAt(t3);
  43045. if (t2.isSeparator$1(next))
  43046. continue;
  43047. t3 = false;
  43048. if (!beginning)
  43049. if (next === 46) {
  43050. t3 = i + 2;
  43051. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  43052. }
  43053. if (t3)
  43054. return null;
  43055. }
  43056. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  43057. beginning = false;
  43058. wasSeparator = false;
  43059. }
  43060. return hash;
  43061. },
  43062. withoutExtension$1(path) {
  43063. var i,
  43064. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  43065. for (i = parsed.parts.length - 1; i >= 0; --i)
  43066. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  43067. parsed.parts[i] = parsed._splitExtension$0()[0];
  43068. break;
  43069. }
  43070. return parsed.toString$0(0);
  43071. },
  43072. toUri$1(path) {
  43073. var t2,
  43074. t1 = this.style;
  43075. if (t1.rootLength$1(path) <= 0)
  43076. return t1.relativePathToUri$1(path);
  43077. else {
  43078. t2 = this._context$_current;
  43079. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  43080. }
  43081. },
  43082. prettyUri$1(uri) {
  43083. var path, rel, _this = this,
  43084. typedUri = A._parseUri(uri);
  43085. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  43086. return typedUri.toString$0(0);
  43087. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  43088. return typedUri.toString$0(0);
  43089. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  43090. rel = _this.relative$1(path);
  43091. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  43092. }
  43093. };
  43094. A.Context_joinAll_closure.prototype = {
  43095. call$1(part) {
  43096. return part !== "";
  43097. },
  43098. $signature: 4
  43099. };
  43100. A.Context_split_closure.prototype = {
  43101. call$1(part) {
  43102. return part.length !== 0;
  43103. },
  43104. $signature: 4
  43105. };
  43106. A._validateArgList_closure.prototype = {
  43107. call$1(arg) {
  43108. return arg == null ? "null" : '"' + arg + '"';
  43109. },
  43110. $signature: 636
  43111. };
  43112. A._PathDirection.prototype = {
  43113. toString$0(_) {
  43114. return this.name;
  43115. }
  43116. };
  43117. A._PathRelation.prototype = {
  43118. toString$0(_) {
  43119. return this.name;
  43120. }
  43121. };
  43122. A.InternalStyle.prototype = {
  43123. getRoot$1(path) {
  43124. var $length = this.rootLength$1(path);
  43125. if ($length > 0)
  43126. return B.JSString_methods.substring$2(path, 0, $length);
  43127. return this.isRootRelative$1(path) ? path[0] : null;
  43128. },
  43129. relativePathToUri$1(path) {
  43130. var segments, _null = null,
  43131. t1 = path.length;
  43132. if (t1 === 0)
  43133. return A._Uri__Uri(_null, _null, _null, _null);
  43134. segments = A.Context_Context(this).split$1(0, path);
  43135. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  43136. B.JSArray_methods.add$1(segments, "");
  43137. return A._Uri__Uri(_null, _null, segments, _null);
  43138. },
  43139. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43140. return codeUnit1 === codeUnit2;
  43141. },
  43142. pathsEqual$2(path1, path2) {
  43143. return path1 === path2;
  43144. },
  43145. canonicalizeCodeUnit$1(codeUnit) {
  43146. return codeUnit;
  43147. },
  43148. canonicalizePart$1(part) {
  43149. return part;
  43150. }
  43151. };
  43152. A.ParsedPath.prototype = {
  43153. get$basename() {
  43154. var _this = this,
  43155. t1 = type$.String,
  43156. 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));
  43157. copy.removeTrailingSeparators$0();
  43158. t1 = copy.parts;
  43159. if (t1.length === 0) {
  43160. t1 = _this.root;
  43161. return t1 == null ? "" : t1;
  43162. }
  43163. return B.JSArray_methods.get$last(t1);
  43164. },
  43165. get$hasTrailingSeparator() {
  43166. var t1 = this.parts;
  43167. if (t1.length !== 0)
  43168. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  43169. else
  43170. t1 = false;
  43171. return t1;
  43172. },
  43173. removeTrailingSeparators$0() {
  43174. var t1, t2, _this = this;
  43175. while (true) {
  43176. t1 = _this.parts;
  43177. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  43178. break;
  43179. B.JSArray_methods.removeLast$0(_this.parts);
  43180. _this.separators.pop();
  43181. }
  43182. t1 = _this.separators;
  43183. t2 = t1.length;
  43184. if (t2 !== 0)
  43185. t1[t2 - 1] = "";
  43186. },
  43187. normalize$1$canonicalize(canonicalize) {
  43188. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  43189. newParts = A._setArrayType([], type$.JSArray_String);
  43190. 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) {
  43191. part = t1[_i];
  43192. t4 = J.getInterceptor$(part);
  43193. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  43194. if (t4.$eq(part, ".."))
  43195. if (newParts.length !== 0)
  43196. newParts.pop();
  43197. else
  43198. ++leadingDoubles;
  43199. else
  43200. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  43201. }
  43202. if (_this.root == null)
  43203. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  43204. if (newParts.length === 0 && _this.root == null)
  43205. newParts.push(".");
  43206. _this.parts = newParts;
  43207. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  43208. t1 = _this.root;
  43209. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  43210. _this.separators[0] = "";
  43211. t1 = _this.root;
  43212. if (t1 != null && t3 === $.$get$Style_windows()) {
  43213. if (canonicalize)
  43214. t1 = _this.root = t1.toLowerCase();
  43215. t1.toString;
  43216. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  43217. }
  43218. _this.removeTrailingSeparators$0();
  43219. },
  43220. normalize$0() {
  43221. return this.normalize$1$canonicalize(false);
  43222. },
  43223. toString$0(_) {
  43224. var i, _this = this,
  43225. t1 = _this.root;
  43226. t1 = t1 != null ? "" + t1 : "";
  43227. for (i = 0; i < _this.parts.length; ++i)
  43228. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  43229. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  43230. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43231. },
  43232. _kthLastIndexOf$3(path, character, k) {
  43233. var index, count, leftMostIndexedCharacter;
  43234. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  43235. if (path[index] === character) {
  43236. ++count;
  43237. if (count === k)
  43238. return index;
  43239. leftMostIndexedCharacter = index;
  43240. }
  43241. return leftMostIndexedCharacter;
  43242. },
  43243. _splitExtension$1(level) {
  43244. var t1, file, lastDot;
  43245. if (level <= 0)
  43246. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  43247. t1 = this.parts;
  43248. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  43249. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  43250. if (file == null)
  43251. return A._setArrayType(["", ""], type$.JSArray_String);
  43252. if (file === "..")
  43253. return A._setArrayType(["..", ""], type$.JSArray_String);
  43254. lastDot = this._kthLastIndexOf$3(file, ".", level);
  43255. if (lastDot <= 0)
  43256. return A._setArrayType([file, ""], type$.JSArray_String);
  43257. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  43258. },
  43259. _splitExtension$0() {
  43260. return this._splitExtension$1(1);
  43261. }
  43262. };
  43263. A.ParsedPath__splitExtension_closure.prototype = {
  43264. call$1(p) {
  43265. return p !== "";
  43266. },
  43267. $signature: 138
  43268. };
  43269. A.ParsedPath__splitExtension_closure0.prototype = {
  43270. call$0() {
  43271. return null;
  43272. },
  43273. $signature: 1
  43274. };
  43275. A.PathException.prototype = {
  43276. toString$0(_) {
  43277. return "PathException: " + this.message;
  43278. },
  43279. $isException: 1,
  43280. get$message(receiver) {
  43281. return this.message;
  43282. }
  43283. };
  43284. A.PathMap.prototype = {};
  43285. A.PathMap__create_closure.prototype = {
  43286. call$2(path1, path2) {
  43287. if (path1 == null)
  43288. return path2 == null;
  43289. if (path2 == null)
  43290. return false;
  43291. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  43292. },
  43293. $signature: 577
  43294. };
  43295. A.PathMap__create_closure0.prototype = {
  43296. call$1(path) {
  43297. return path == null ? 0 : this._box_0.context.hash$1(path);
  43298. },
  43299. $signature: 570
  43300. };
  43301. A.PathMap__create_closure1.prototype = {
  43302. call$1(path) {
  43303. return typeof path == "string" || path == null;
  43304. },
  43305. $signature: 129
  43306. };
  43307. A.Style.prototype = {
  43308. toString$0(_) {
  43309. return this.get$name(this);
  43310. }
  43311. };
  43312. A.PosixStyle.prototype = {
  43313. containsSeparator$1(path) {
  43314. return B.JSString_methods.contains$1(path, "/");
  43315. },
  43316. isSeparator$1(codeUnit) {
  43317. return codeUnit === 47;
  43318. },
  43319. needsSeparator$1(path) {
  43320. var t1 = path.length;
  43321. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  43322. },
  43323. rootLength$2$withDrive(path, withDrive) {
  43324. if (path.length !== 0 && path.charCodeAt(0) === 47)
  43325. return 1;
  43326. return 0;
  43327. },
  43328. rootLength$1(path) {
  43329. return this.rootLength$2$withDrive(path, false);
  43330. },
  43331. isRootRelative$1(path) {
  43332. return false;
  43333. },
  43334. pathFromUri$1(uri) {
  43335. var t1;
  43336. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  43337. t1 = uri.get$path(uri);
  43338. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43339. }
  43340. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43341. },
  43342. absolutePathToUri$1(path) {
  43343. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43344. t1 = parsed.parts;
  43345. if (t1.length === 0)
  43346. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  43347. else if (parsed.get$hasTrailingSeparator())
  43348. B.JSArray_methods.add$1(parsed.parts, "");
  43349. return A._Uri__Uri(null, null, parsed.parts, "file");
  43350. },
  43351. get$name() {
  43352. return "posix";
  43353. },
  43354. get$separator() {
  43355. return "/";
  43356. }
  43357. };
  43358. A.UrlStyle.prototype = {
  43359. containsSeparator$1(path) {
  43360. return B.JSString_methods.contains$1(path, "/");
  43361. },
  43362. isSeparator$1(codeUnit) {
  43363. return codeUnit === 47;
  43364. },
  43365. needsSeparator$1(path) {
  43366. var t1 = path.length;
  43367. if (t1 === 0)
  43368. return false;
  43369. if (path.charCodeAt(t1 - 1) !== 47)
  43370. return true;
  43371. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  43372. },
  43373. rootLength$2$withDrive(path, withDrive) {
  43374. var i, codeUnit, index,
  43375. t1 = path.length;
  43376. if (t1 === 0)
  43377. return 0;
  43378. if (path.charCodeAt(0) === 47)
  43379. return 1;
  43380. for (i = 0; i < t1; ++i) {
  43381. codeUnit = path.charCodeAt(i);
  43382. if (codeUnit === 47)
  43383. return 0;
  43384. if (codeUnit === 58) {
  43385. if (i === 0)
  43386. return 0;
  43387. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  43388. if (index <= 0)
  43389. return t1;
  43390. if (!withDrive || t1 < index + 3)
  43391. return index;
  43392. if (!B.JSString_methods.startsWith$1(path, "file://"))
  43393. return index;
  43394. t1 = A.driveLetterEnd(path, index + 1);
  43395. return t1 == null ? index : t1;
  43396. }
  43397. }
  43398. return 0;
  43399. },
  43400. rootLength$1(path) {
  43401. return this.rootLength$2$withDrive(path, false);
  43402. },
  43403. isRootRelative$1(path) {
  43404. return path.length !== 0 && path.charCodeAt(0) === 47;
  43405. },
  43406. pathFromUri$1(uri) {
  43407. return uri.toString$0(0);
  43408. },
  43409. relativePathToUri$1(path) {
  43410. return A.Uri_parse(path);
  43411. },
  43412. absolutePathToUri$1(path) {
  43413. return A.Uri_parse(path);
  43414. },
  43415. get$name() {
  43416. return "url";
  43417. },
  43418. get$separator() {
  43419. return "/";
  43420. }
  43421. };
  43422. A.WindowsStyle.prototype = {
  43423. containsSeparator$1(path) {
  43424. return B.JSString_methods.contains$1(path, "/");
  43425. },
  43426. isSeparator$1(codeUnit) {
  43427. return codeUnit === 47 || codeUnit === 92;
  43428. },
  43429. needsSeparator$1(path) {
  43430. var t1 = path.length;
  43431. if (t1 === 0)
  43432. return false;
  43433. t1 = path.charCodeAt(t1 - 1);
  43434. return !(t1 === 47 || t1 === 92);
  43435. },
  43436. rootLength$2$withDrive(path, withDrive) {
  43437. var index,
  43438. t1 = path.length;
  43439. if (t1 === 0)
  43440. return 0;
  43441. if (path.charCodeAt(0) === 47)
  43442. return 1;
  43443. if (path.charCodeAt(0) === 92) {
  43444. if (t1 < 2 || path.charCodeAt(1) !== 92)
  43445. return 1;
  43446. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  43447. if (index > 0) {
  43448. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  43449. if (index > 0)
  43450. return index;
  43451. }
  43452. return t1;
  43453. }
  43454. if (t1 < 3)
  43455. return 0;
  43456. if (!A.isAlphabetic(path.charCodeAt(0)))
  43457. return 0;
  43458. if (path.charCodeAt(1) !== 58)
  43459. return 0;
  43460. t1 = path.charCodeAt(2);
  43461. if (!(t1 === 47 || t1 === 92))
  43462. return 0;
  43463. return 3;
  43464. },
  43465. rootLength$1(path) {
  43466. return this.rootLength$2$withDrive(path, false);
  43467. },
  43468. isRootRelative$1(path) {
  43469. return this.rootLength$1(path) === 1;
  43470. },
  43471. pathFromUri$1(uri) {
  43472. var path, t1;
  43473. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  43474. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43475. path = uri.get$path(uri);
  43476. if (uri.get$host() === "") {
  43477. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  43478. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  43479. } else
  43480. path = "\\\\" + uri.get$host() + path;
  43481. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  43482. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43483. },
  43484. absolutePathToUri$1(path) {
  43485. var rootParts, t2,
  43486. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43487. t1 = parsed.root;
  43488. t1.toString;
  43489. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  43490. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  43491. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  43492. if (parsed.get$hasTrailingSeparator())
  43493. B.JSArray_methods.add$1(parsed.parts, "");
  43494. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  43495. } else {
  43496. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  43497. B.JSArray_methods.add$1(parsed.parts, "");
  43498. t1 = parsed.parts;
  43499. t2 = parsed.root;
  43500. t2.toString;
  43501. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  43502. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  43503. return A._Uri__Uri(null, null, parsed.parts, "file");
  43504. }
  43505. },
  43506. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43507. var upperCase1;
  43508. if (codeUnit1 === codeUnit2)
  43509. return true;
  43510. if (codeUnit1 === 47)
  43511. return codeUnit2 === 92;
  43512. if (codeUnit1 === 92)
  43513. return codeUnit2 === 47;
  43514. if ((codeUnit1 ^ codeUnit2) !== 32)
  43515. return false;
  43516. upperCase1 = codeUnit1 | 32;
  43517. return upperCase1 >= 97 && upperCase1 <= 122;
  43518. },
  43519. pathsEqual$2(path1, path2) {
  43520. var t1, i;
  43521. if (path1 === path2)
  43522. return true;
  43523. t1 = path1.length;
  43524. if (t1 !== path2.length)
  43525. return false;
  43526. for (i = 0; i < t1; ++i)
  43527. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  43528. return false;
  43529. return true;
  43530. },
  43531. canonicalizeCodeUnit$1(codeUnit) {
  43532. if (codeUnit === 47)
  43533. return 92;
  43534. if (codeUnit < 65)
  43535. return codeUnit;
  43536. if (codeUnit > 90)
  43537. return codeUnit;
  43538. return codeUnit | 32;
  43539. },
  43540. canonicalizePart$1(part) {
  43541. return part.toLowerCase();
  43542. },
  43543. get$name() {
  43544. return "windows";
  43545. },
  43546. get$separator() {
  43547. return "\\";
  43548. }
  43549. };
  43550. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  43551. call$1(part) {
  43552. return part !== "";
  43553. },
  43554. $signature: 4
  43555. };
  43556. A.Version.prototype = {
  43557. get$min() {
  43558. return this;
  43559. },
  43560. get$max() {
  43561. return this;
  43562. },
  43563. get$includeMin() {
  43564. return true;
  43565. },
  43566. get$includeMax() {
  43567. return true;
  43568. },
  43569. $eq(_, other) {
  43570. var _this = this;
  43571. if (other == null)
  43572. return false;
  43573. 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);
  43574. },
  43575. get$hashCode(_) {
  43576. var _this = this;
  43577. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  43578. },
  43579. compareTo$1(_, other) {
  43580. var t1, t2, t3, comparison, _this = this;
  43581. if (other instanceof A.Version) {
  43582. t1 = _this.major;
  43583. t2 = other.major;
  43584. if (t1 !== t2)
  43585. return B.JSInt_methods.compareTo$1(t1, t2);
  43586. t1 = _this.minor;
  43587. t2 = other.minor;
  43588. if (t1 !== t2)
  43589. return B.JSInt_methods.compareTo$1(t1, t2);
  43590. t1 = _this.patch;
  43591. t2 = other.patch;
  43592. if (t1 !== t2)
  43593. return B.JSInt_methods.compareTo$1(t1, t2);
  43594. t1 = _this.preRelease;
  43595. t2 = t1.length === 0;
  43596. if (t2 && other.preRelease.length !== 0)
  43597. return 1;
  43598. t3 = other.preRelease;
  43599. if (t3.length === 0 && !t2)
  43600. return -1;
  43601. comparison = _this._compareLists$2(t1, t3);
  43602. if (comparison !== 0)
  43603. return comparison;
  43604. t1 = _this.build;
  43605. t2 = t1.length === 0;
  43606. if (t2 && other.build.length !== 0)
  43607. return -1;
  43608. t3 = other.build;
  43609. if (t3.length === 0 && !t2)
  43610. return 1;
  43611. return _this._compareLists$2(t1, t3);
  43612. } else
  43613. return -other.compareTo$1(0, _this);
  43614. },
  43615. toString$0(_) {
  43616. return this._version$_text;
  43617. },
  43618. _compareLists$2(a, b) {
  43619. var i, t1, t2, aPart, bPart;
  43620. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  43621. aPart = i < t1 ? a[i] : null;
  43622. bPart = i < t2 ? b[i] : null;
  43623. if (J.$eq$(aPart, bPart))
  43624. continue;
  43625. if (aPart == null)
  43626. return -1;
  43627. if (bPart == null)
  43628. return 1;
  43629. if (typeof aPart == "number")
  43630. if (typeof bPart == "number")
  43631. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  43632. else
  43633. return -1;
  43634. else if (typeof bPart == "number")
  43635. return 1;
  43636. else {
  43637. A._asString(aPart);
  43638. A._asString(bPart);
  43639. if (aPart === bPart)
  43640. t1 = 0;
  43641. else
  43642. t1 = aPart < bPart ? -1 : 1;
  43643. return t1;
  43644. }
  43645. }
  43646. return 0;
  43647. },
  43648. $isComparable: 1,
  43649. $isVersionRange: 1
  43650. };
  43651. A.Version__splitParts_closure.prototype = {
  43652. call$1(part) {
  43653. var t1 = A.Primitives_parseInt(part, null);
  43654. return t1 == null ? part : t1;
  43655. },
  43656. $signature: 545
  43657. };
  43658. A.VersionRange.prototype = {
  43659. $eq(_, other) {
  43660. var t1;
  43661. if (other == null)
  43662. return false;
  43663. if (!type$.VersionRange._is(other))
  43664. return false;
  43665. t1 = false;
  43666. if (this.min == other.get$min())
  43667. if (J.$eq$(this.max, other.get$max())) {
  43668. t1 = !other.get$includeMin();
  43669. if (t1)
  43670. other.get$includeMax();
  43671. }
  43672. return t1;
  43673. },
  43674. get$hashCode(_) {
  43675. var t1 = B.JSNull_methods.get$hashCode(this.min),
  43676. t2 = J.get$hashCode$(this.max);
  43677. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  43678. },
  43679. allows$1(other) {
  43680. var t1 = this.max;
  43681. if (t1 != null)
  43682. if (other.compareTo$1(0, t1) > 0)
  43683. return false;
  43684. return true;
  43685. },
  43686. compareTo$1(_, other) {
  43687. if (other.get$min() == null)
  43688. return this._compareMax$1(other);
  43689. return -1;
  43690. },
  43691. _compareMax$1(other) {
  43692. var t2, result,
  43693. t1 = this.max;
  43694. if (t1 == null) {
  43695. if (other.get$max() == null)
  43696. return 0;
  43697. return 1;
  43698. } else if (other.get$max() == null)
  43699. return -1;
  43700. t2 = other.get$max();
  43701. t2.toString;
  43702. result = t1.compareTo$1(0, t2);
  43703. if (result !== 0)
  43704. return result;
  43705. other.get$includeMax();
  43706. return 0;
  43707. },
  43708. toString$0(_) {
  43709. var t2,
  43710. max = this.max,
  43711. t1 = max == null;
  43712. if (!t1)
  43713. t2 = "" + "<=" + max.toString$0(0);
  43714. else
  43715. t2 = "";
  43716. t1 = t1 ? t2 + "any" : t2;
  43717. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43718. },
  43719. $isComparable: 1,
  43720. get$min() {
  43721. return this.min;
  43722. },
  43723. get$max() {
  43724. return this.max;
  43725. },
  43726. get$includeMin() {
  43727. return this.includeMin;
  43728. },
  43729. get$includeMax() {
  43730. return this.includeMax;
  43731. }
  43732. };
  43733. A.CssMediaQuery.prototype = {
  43734. merge$1(other) {
  43735. 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";
  43736. if (!_this.conjunction || !other.conjunction)
  43737. return B._SingletonCssMediaQueryMergeResult_1;
  43738. t1 = _this.modifier;
  43739. ourModifier = t1 == null ? _null : t1.toLowerCase();
  43740. t2 = _this.type;
  43741. t3 = t2 == null;
  43742. ourType = t3 ? _null : t2.toLowerCase();
  43743. t4 = other.modifier;
  43744. theirModifier = t4 == null ? _null : t4.toLowerCase();
  43745. t5 = other.type;
  43746. t6 = t5 == null;
  43747. theirType = t6 ? _null : t5.toLowerCase();
  43748. t7 = ourType == null;
  43749. if (t7 && theirType == null) {
  43750. t1 = A.List_List$of(_this.conditions, true, type$.String);
  43751. B.JSArray_methods.addAll$1(t1, other.conditions);
  43752. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  43753. }
  43754. t8 = ourModifier === "not";
  43755. if (t8 !== (theirModifier === "not")) {
  43756. if (ourType == theirType) {
  43757. negativeConditions = t8 ? _this.conditions : other.conditions;
  43758. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  43759. return B._SingletonCssMediaQueryMergeResult_0;
  43760. else
  43761. return B._SingletonCssMediaQueryMergeResult_1;
  43762. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  43763. return B._SingletonCssMediaQueryMergeResult_1;
  43764. if (t8) {
  43765. conditions = other.conditions;
  43766. type = theirType;
  43767. modifier = theirModifier;
  43768. } else {
  43769. conditions = _this.conditions;
  43770. type = ourType;
  43771. modifier = ourModifier;
  43772. }
  43773. } else if (t8) {
  43774. if (ourType != theirType)
  43775. return B._SingletonCssMediaQueryMergeResult_1;
  43776. fewerConditions = _this.conditions;
  43777. fewerConditions0 = other.conditions;
  43778. t3 = fewerConditions.length > fewerConditions0.length;
  43779. moreConditions = t3 ? fewerConditions : fewerConditions0;
  43780. if (t3)
  43781. fewerConditions = fewerConditions0;
  43782. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  43783. return B._SingletonCssMediaQueryMergeResult_1;
  43784. conditions = moreConditions;
  43785. type = ourType;
  43786. modifier = ourModifier;
  43787. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  43788. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  43789. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43790. B.JSArray_methods.addAll$1(t3, other.conditions);
  43791. conditions = t3;
  43792. modifier = theirModifier;
  43793. } else {
  43794. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  43795. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43796. B.JSArray_methods.addAll$1(t3, other.conditions);
  43797. conditions = t3;
  43798. modifier = ourModifier;
  43799. } else {
  43800. if (ourType != theirType)
  43801. return B._SingletonCssMediaQueryMergeResult_0;
  43802. else {
  43803. modifier = ourModifier == null ? theirModifier : ourModifier;
  43804. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43805. B.JSArray_methods.addAll$1(t3, other.conditions);
  43806. }
  43807. conditions = t3;
  43808. }
  43809. type = ourType;
  43810. }
  43811. t2 = type == ourType ? t2 : t5;
  43812. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  43813. },
  43814. $eq(_, other) {
  43815. if (other == null)
  43816. return false;
  43817. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  43818. },
  43819. get$hashCode(_) {
  43820. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  43821. },
  43822. toString$0(_) {
  43823. var t2, _this = this,
  43824. t1 = _this.modifier;
  43825. t1 = t1 != null ? "" + (t1 + " ") : "";
  43826. t2 = _this.type;
  43827. if (t2 != null) {
  43828. t1 += t2;
  43829. if (_this.conditions.length !== 0)
  43830. t1 += " and ";
  43831. }
  43832. t2 = _this.conjunction ? " and " : " or ";
  43833. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  43834. return t2.charCodeAt(0) == 0 ? t2 : t2;
  43835. }
  43836. };
  43837. A._SingletonCssMediaQueryMergeResult.prototype = {
  43838. _enumToString$0() {
  43839. return "_SingletonCssMediaQueryMergeResult." + this._name;
  43840. }
  43841. };
  43842. A.MediaQuerySuccessfulMergeResult.prototype = {
  43843. toString$0(_) {
  43844. return this.query.toString$0(0);
  43845. }
  43846. };
  43847. A.ModifiableCssAtRule.prototype = {
  43848. accept$1$1(visitor) {
  43849. return visitor.visitCssAtRule$1(this);
  43850. },
  43851. accept$1(visitor) {
  43852. return this.accept$1$1(visitor, type$.dynamic);
  43853. },
  43854. equalsIgnoringChildren$1(other) {
  43855. var t1, t2;
  43856. if (other instanceof A.ModifiableCssAtRule) {
  43857. t1 = this.name;
  43858. t2 = other.name;
  43859. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  43860. } else
  43861. t1 = false;
  43862. return t1;
  43863. },
  43864. copyWithoutChildren$0() {
  43865. var _this = this;
  43866. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  43867. },
  43868. addChild$1(child) {
  43869. this.super$ModifiableCssParentNode$addChild(child);
  43870. },
  43871. get$isChildless() {
  43872. return this.isChildless;
  43873. },
  43874. get$span(receiver) {
  43875. return this.span;
  43876. }
  43877. };
  43878. A.ModifiableCssComment.prototype = {
  43879. accept$1$1(visitor) {
  43880. return visitor.visitCssComment$1(this);
  43881. },
  43882. accept$1(visitor) {
  43883. return this.accept$1$1(visitor, type$.dynamic);
  43884. },
  43885. $isCssComment: 1,
  43886. get$span(receiver) {
  43887. return this.span;
  43888. }
  43889. };
  43890. A.ModifiableCssDeclaration.prototype = {
  43891. accept$1$1(visitor) {
  43892. return visitor.visitCssDeclaration$1(this);
  43893. },
  43894. accept$1(visitor) {
  43895. return this.accept$1$1(visitor, type$.dynamic);
  43896. },
  43897. toString$0(_) {
  43898. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  43899. },
  43900. get$span(receiver) {
  43901. return this.span;
  43902. }
  43903. };
  43904. A.ModifiableCssImport.prototype = {
  43905. accept$1$1(visitor) {
  43906. return visitor.visitCssImport$1(this);
  43907. },
  43908. accept$1(visitor) {
  43909. return this.accept$1$1(visitor, type$.dynamic);
  43910. },
  43911. get$span(receiver) {
  43912. return this.span;
  43913. }
  43914. };
  43915. A.ModifiableCssKeyframeBlock.prototype = {
  43916. accept$1$1(visitor) {
  43917. return visitor.visitCssKeyframeBlock$1(this);
  43918. },
  43919. accept$1(visitor) {
  43920. return this.accept$1$1(visitor, type$.dynamic);
  43921. },
  43922. equalsIgnoringChildren$1(other) {
  43923. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  43924. },
  43925. copyWithoutChildren$0() {
  43926. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  43927. },
  43928. get$span(receiver) {
  43929. return this.span;
  43930. }
  43931. };
  43932. A.ModifiableCssMediaRule.prototype = {
  43933. accept$1$1(visitor) {
  43934. return visitor.visitCssMediaRule$1(this);
  43935. },
  43936. accept$1(visitor) {
  43937. return this.accept$1$1(visitor, type$.dynamic);
  43938. },
  43939. equalsIgnoringChildren$1(other) {
  43940. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  43941. },
  43942. copyWithoutChildren$0() {
  43943. return A.ModifiableCssMediaRule$(this.queries, this.span);
  43944. },
  43945. get$span(receiver) {
  43946. return this.span;
  43947. }
  43948. };
  43949. A.ModifiableCssNode.prototype = {
  43950. get$hasFollowingSibling() {
  43951. var t2,
  43952. t1 = this._parent;
  43953. if (t1 == null)
  43954. t1 = null;
  43955. else {
  43956. t1 = t1.children;
  43957. t2 = this._indexInParent;
  43958. t2.toString;
  43959. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  43960. }
  43961. return t1 === true;
  43962. },
  43963. get$isGroupEnd() {
  43964. return this.isGroupEnd;
  43965. }
  43966. };
  43967. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  43968. call$1(sibling) {
  43969. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  43970. },
  43971. $signature: 536
  43972. };
  43973. A.ModifiableCssParentNode.prototype = {
  43974. get$isChildless() {
  43975. return false;
  43976. },
  43977. addChild$1(child) {
  43978. var t1;
  43979. child._parent = this;
  43980. t1 = this._children;
  43981. child._indexInParent = t1.length;
  43982. t1.push(child);
  43983. },
  43984. clearChildren$0() {
  43985. var t1, t2, _i, child;
  43986. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  43987. child = t1[_i];
  43988. child._indexInParent = child._parent = null;
  43989. }
  43990. B.JSArray_methods.clear$0(t1);
  43991. },
  43992. $isCssParentNode: 1,
  43993. get$children(receiver) {
  43994. return this.children;
  43995. }
  43996. };
  43997. A.ModifiableCssStyleRule.prototype = {
  43998. accept$1$1(visitor) {
  43999. return visitor.visitCssStyleRule$1(this);
  44000. },
  44001. accept$1(visitor) {
  44002. return this.accept$1$1(visitor, type$.dynamic);
  44003. },
  44004. equalsIgnoringChildren$1(other) {
  44005. var t1;
  44006. if (other instanceof A.ModifiableCssStyleRule)
  44007. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  44008. else
  44009. t1 = false;
  44010. return t1;
  44011. },
  44012. copyWithoutChildren$0() {
  44013. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  44014. },
  44015. get$span(receiver) {
  44016. return this.span;
  44017. }
  44018. };
  44019. A.ModifiableCssStylesheet.prototype = {
  44020. accept$1$1(visitor) {
  44021. return visitor.visitCssStylesheet$1(this);
  44022. },
  44023. accept$1(visitor) {
  44024. return this.accept$1$1(visitor, type$.dynamic);
  44025. },
  44026. equalsIgnoringChildren$1(other) {
  44027. return other instanceof A.ModifiableCssStylesheet;
  44028. },
  44029. copyWithoutChildren$0() {
  44030. return A.ModifiableCssStylesheet$(this.span);
  44031. },
  44032. $isCssStylesheet: 1,
  44033. get$span(receiver) {
  44034. return this.span;
  44035. }
  44036. };
  44037. A.ModifiableCssSupportsRule.prototype = {
  44038. accept$1$1(visitor) {
  44039. return visitor.visitCssSupportsRule$1(this);
  44040. },
  44041. accept$1(visitor) {
  44042. return this.accept$1$1(visitor, type$.dynamic);
  44043. },
  44044. equalsIgnoringChildren$1(other) {
  44045. var t1, t2;
  44046. if (other instanceof A.ModifiableCssSupportsRule) {
  44047. t1 = this.condition;
  44048. t2 = other.condition;
  44049. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  44050. } else
  44051. t1 = false;
  44052. return t1;
  44053. },
  44054. copyWithoutChildren$0() {
  44055. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  44056. },
  44057. get$span(receiver) {
  44058. return this.span;
  44059. }
  44060. };
  44061. A.CssNode.prototype = {
  44062. toString$0(_) {
  44063. return A.serialize(this, true, null, true, null, false, null, true)._0;
  44064. },
  44065. $isAstNode: 1
  44066. };
  44067. A.CssParentNode.prototype = {};
  44068. A._IsInvisibleVisitor.prototype = {
  44069. visitCssAtRule$1(rule) {
  44070. return false;
  44071. },
  44072. visitCssComment$1(comment) {
  44073. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  44074. },
  44075. visitCssStyleRule$1(rule) {
  44076. var t1 = rule._style_rule$_selector._box$_inner;
  44077. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  44078. }
  44079. };
  44080. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  44081. A.CssStylesheet.prototype = {
  44082. get$isGroupEnd() {
  44083. return false;
  44084. },
  44085. get$isChildless() {
  44086. return false;
  44087. },
  44088. accept$1$1(visitor) {
  44089. return visitor.visitCssStylesheet$1(this);
  44090. },
  44091. accept$1(visitor) {
  44092. return this.accept$1$1(visitor, type$.dynamic);
  44093. },
  44094. get$children(receiver) {
  44095. return this.children;
  44096. },
  44097. get$span(receiver) {
  44098. return this.span;
  44099. }
  44100. };
  44101. A.CssValue.prototype = {
  44102. $eq(_, other) {
  44103. if (other == null)
  44104. return false;
  44105. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  44106. },
  44107. get$hashCode(_) {
  44108. return J.get$hashCode$(this.value);
  44109. },
  44110. toString$0(_) {
  44111. return J.toString$0$(this.value);
  44112. },
  44113. $isAstNode: 1,
  44114. get$span(receiver) {
  44115. return this.span;
  44116. }
  44117. };
  44118. A._FakeAstNode.prototype = {
  44119. get$span(_) {
  44120. return this._callback.call$0();
  44121. },
  44122. $isAstNode: 1
  44123. };
  44124. A.Argument.prototype = {
  44125. toString$0(_) {
  44126. var t1 = this.defaultValue,
  44127. t2 = this.name;
  44128. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  44129. },
  44130. $isAstNode: 1,
  44131. get$span(receiver) {
  44132. return this.span;
  44133. }
  44134. };
  44135. A.ArgumentDeclaration.prototype = {
  44136. get$spanWithName() {
  44137. var t3, t4,
  44138. t1 = this.span,
  44139. t2 = t1.file,
  44140. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  44141. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  44142. while (true) {
  44143. if (i > 0) {
  44144. t3 = text.charCodeAt(i);
  44145. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  44146. } else
  44147. t3 = false;
  44148. if (!t3)
  44149. break;
  44150. --i;
  44151. }
  44152. t3 = text.charCodeAt(i);
  44153. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  44154. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44155. else
  44156. t3 = true;
  44157. if (!t3)
  44158. return t1;
  44159. --i;
  44160. while (true) {
  44161. if (i >= 0) {
  44162. t3 = text.charCodeAt(i);
  44163. if (t3 !== 95) {
  44164. if (!(t3 >= 97 && t3 <= 122))
  44165. t4 = t3 >= 65 && t3 <= 90;
  44166. else
  44167. t4 = true;
  44168. t4 = t4 || t3 >= 128;
  44169. } else
  44170. t4 = true;
  44171. if (!t4)
  44172. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44173. else
  44174. t3 = true;
  44175. } else
  44176. t3 = false;
  44177. if (!t3)
  44178. break;
  44179. --i;
  44180. }
  44181. t3 = i + 1;
  44182. t4 = text.charCodeAt(t3);
  44183. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  44184. return t1;
  44185. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  44186. },
  44187. verify$2(positional, names) {
  44188. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  44189. _s10_ = "invocation",
  44190. _s8_ = "argument";
  44191. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44192. argument = t1[i];
  44193. if (i < positional) {
  44194. t4 = argument.name;
  44195. if (t3.containsKey$1(t4))
  44196. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  44197. } else {
  44198. t4 = argument.name;
  44199. if (t3.containsKey$1(t4))
  44200. ++namedUsed;
  44201. else if (argument.defaultValue == null)
  44202. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  44203. }
  44204. }
  44205. if (_this.restArgument != null)
  44206. return;
  44207. if (positional > t2) {
  44208. t1 = names.get$isEmpty(0) ? "" : "positional ";
  44209. 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)));
  44210. }
  44211. if (namedUsed < t3.get$length(t3)) {
  44212. t2 = type$.String;
  44213. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  44214. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  44215. 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)));
  44216. }
  44217. },
  44218. _originalArgumentName$1($name) {
  44219. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  44220. if ($name === this.restArgument) {
  44221. t1 = this.span;
  44222. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  44223. 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, "."));
  44224. }
  44225. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  44226. argument = t1[_i];
  44227. if (argument.name === $name) {
  44228. t1 = argument.defaultValue;
  44229. t2 = argument.span;
  44230. t3 = t2.file;
  44231. t4 = t2._file$_start;
  44232. t2 = t2._end;
  44233. if (t1 == null) {
  44234. t1 = t3._decodedChars;
  44235. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44236. } else {
  44237. t1 = t3._decodedChars;
  44238. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44239. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  44240. end = A._lastNonWhitespace(t1, false);
  44241. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  44242. }
  44243. return t1;
  44244. }
  44245. }
  44246. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  44247. },
  44248. matches$2(positional, names) {
  44249. var t1, t2, t3, namedUsed, i, argument;
  44250. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44251. argument = t1[i];
  44252. if (i < positional) {
  44253. if (t3.containsKey$1(argument.name))
  44254. return false;
  44255. } else if (t3.containsKey$1(argument.name))
  44256. ++namedUsed;
  44257. else if (argument.defaultValue == null)
  44258. return false;
  44259. }
  44260. if (this.restArgument != null)
  44261. return true;
  44262. if (positional > t2)
  44263. return false;
  44264. if (namedUsed < t3.get$length(t3))
  44265. return false;
  44266. return true;
  44267. },
  44268. toString$0(_) {
  44269. var t2, t3, _i,
  44270. t1 = A._setArrayType([], type$.JSArray_String);
  44271. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44272. t1.push("$" + A.S(t2[_i]));
  44273. t2 = this.restArgument;
  44274. if (t2 != null)
  44275. t1.push("$" + t2 + "...");
  44276. return B.JSArray_methods.join$1(t1, ", ");
  44277. },
  44278. $isAstNode: 1,
  44279. get$span(receiver) {
  44280. return this.span;
  44281. }
  44282. };
  44283. A.ArgumentDeclaration_verify_closure.prototype = {
  44284. call$1(argument) {
  44285. return argument.name;
  44286. },
  44287. $signature: 535
  44288. };
  44289. A.ArgumentDeclaration_verify_closure0.prototype = {
  44290. call$1($name) {
  44291. return "$" + $name;
  44292. },
  44293. $signature: 5
  44294. };
  44295. A.ArgumentInvocation.prototype = {
  44296. get$isEmpty(_) {
  44297. var t1;
  44298. if (this.positional.length === 0) {
  44299. t1 = this.named;
  44300. t1 = t1.get$isEmpty(t1) && this.rest == null;
  44301. } else
  44302. t1 = false;
  44303. return t1;
  44304. },
  44305. toString$0(_) {
  44306. var t2, t3, _i, _1_0, _2_0, _this = this,
  44307. t1 = A._setArrayType([], type$.JSArray_String);
  44308. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44309. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  44310. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  44311. t3 = t2.get$current(t2);
  44312. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  44313. }
  44314. _1_0 = _this.rest;
  44315. if (_1_0 != null)
  44316. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  44317. _2_0 = _this.keywordRest;
  44318. if (_2_0 != null)
  44319. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  44320. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44321. },
  44322. _parenthesizeArgument$1(argument) {
  44323. var t1;
  44324. $label0$0: {
  44325. if (argument instanceof A.ListExpression && B.ListSeparator_ECn === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  44326. t1 = "(" + argument.toString$0(0) + ")";
  44327. break $label0$0;
  44328. }
  44329. t1 = argument.toString$0(0);
  44330. break $label0$0;
  44331. }
  44332. return t1;
  44333. },
  44334. $isAstNode: 1,
  44335. get$span(receiver) {
  44336. return this.span;
  44337. }
  44338. };
  44339. A.AtRootQuery.prototype = {
  44340. excludes$1(node) {
  44341. var t1, _this = this;
  44342. if (_this._all)
  44343. return !_this.include;
  44344. $label0$0: {
  44345. if (node instanceof A.ModifiableCssStyleRule) {
  44346. t1 = _this._at_root_query$_rule !== _this.include;
  44347. break $label0$0;
  44348. }
  44349. if (node instanceof A.ModifiableCssMediaRule) {
  44350. t1 = _this.excludesName$1("media");
  44351. break $label0$0;
  44352. }
  44353. if (node instanceof A.ModifiableCssSupportsRule) {
  44354. t1 = _this.excludesName$1("supports");
  44355. break $label0$0;
  44356. }
  44357. if (node instanceof A.ModifiableCssAtRule) {
  44358. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  44359. break $label0$0;
  44360. }
  44361. t1 = false;
  44362. break $label0$0;
  44363. }
  44364. return t1;
  44365. },
  44366. excludesName$1($name) {
  44367. var t1 = this._all || this.names.contains$1(0, $name);
  44368. return t1 !== this.include;
  44369. }
  44370. };
  44371. A.ConfiguredVariable.prototype = {
  44372. toString$0(_) {
  44373. var t1 = this.expression.toString$0(0),
  44374. t2 = this.isGuarded ? " !default" : "";
  44375. return "$" + this.name + ": " + t1 + t2;
  44376. },
  44377. $isAstNode: 1,
  44378. get$span(receiver) {
  44379. return this.span;
  44380. }
  44381. };
  44382. A.Expression.prototype = {$isAstNode: 1};
  44383. A._IsCalculationSafeVisitor.prototype = {
  44384. visitBinaryOperationExpression$1(_, node) {
  44385. var t1;
  44386. if (B.Set_mqKz.contains$1(0, node.operator))
  44387. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  44388. else
  44389. t1 = false;
  44390. return t1;
  44391. },
  44392. visitBooleanExpression$1(_, node) {
  44393. return false;
  44394. },
  44395. visitColorExpression$1(_, node) {
  44396. return false;
  44397. },
  44398. visitFunctionExpression$1(_, node) {
  44399. return true;
  44400. },
  44401. visitInterpolatedFunctionExpression$1(_, node) {
  44402. return true;
  44403. },
  44404. visitIfExpression$1(_, node) {
  44405. return true;
  44406. },
  44407. visitListExpression$1(_, node) {
  44408. var t1 = false;
  44409. if (node.separator === B.ListSeparator_nbm)
  44410. if (!node.hasBrackets) {
  44411. t1 = node.contents;
  44412. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure(this));
  44413. }
  44414. return t1;
  44415. },
  44416. visitMapExpression$1(_, node) {
  44417. return false;
  44418. },
  44419. visitNullExpression$1(_, node) {
  44420. return false;
  44421. },
  44422. visitNumberExpression$1(_, node) {
  44423. return true;
  44424. },
  44425. visitParenthesizedExpression$1(_, node) {
  44426. return node.expression.accept$1(this);
  44427. },
  44428. visitSelectorExpression$1(_, node) {
  44429. return false;
  44430. },
  44431. visitStringExpression$1(_, node) {
  44432. var text, t1, t2;
  44433. if (node.hasQuotes)
  44434. return false;
  44435. text = node.text.get$initialPlain();
  44436. t1 = false;
  44437. if (!B.JSString_methods.startsWith$1(text, "!"))
  44438. if (!B.JSString_methods.startsWith$1(text, "#")) {
  44439. t2 = text.length;
  44440. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  44441. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  44442. }
  44443. return t1;
  44444. },
  44445. visitSupportsExpression$1(_, node) {
  44446. return false;
  44447. },
  44448. visitUnaryOperationExpression$1(_, node) {
  44449. return false;
  44450. },
  44451. visitValueExpression$1(_, node) {
  44452. return false;
  44453. },
  44454. visitVariableExpression$1(_, node) {
  44455. return true;
  44456. }
  44457. };
  44458. A._IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  44459. call$1(expression) {
  44460. return expression.accept$1(this.$this);
  44461. },
  44462. $signature: 116
  44463. };
  44464. A.BinaryOperationExpression.prototype = {
  44465. get$span(_) {
  44466. var right,
  44467. left = this.left;
  44468. for (; left instanceof A.BinaryOperationExpression;)
  44469. left = left.left;
  44470. right = this.right;
  44471. for (; right instanceof A.BinaryOperationExpression;)
  44472. right = right.right;
  44473. return left.get$span(left).expand$1(0, right.get$span(right));
  44474. },
  44475. get$operatorSpan() {
  44476. var t3, t4,
  44477. t1 = this.left,
  44478. t2 = t1.get$span(t1);
  44479. t2 = t2.get$file(t2);
  44480. t3 = this.right;
  44481. t4 = t3.get$span(t3);
  44482. if (t2 === t4.get$file(t4)) {
  44483. t2 = t1.get$span(t1);
  44484. t2 = t2.get$end(t2);
  44485. t4 = t3.get$span(t3);
  44486. t4 = t2.offset < t4.get$start(t4).offset;
  44487. t2 = t4;
  44488. } else
  44489. t2 = false;
  44490. if (t2) {
  44491. t2 = t1.get$span(t1);
  44492. t2 = t2.get$file(t2);
  44493. t1 = t1.get$span(t1);
  44494. t1 = t1.get$end(t1);
  44495. t3 = t3.get$span(t3);
  44496. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  44497. t1 = t3;
  44498. } else
  44499. t1 = this.get$span(0);
  44500. return t1;
  44501. },
  44502. accept$1$1(visitor) {
  44503. return visitor.visitBinaryOperationExpression$1(0, this);
  44504. },
  44505. accept$1(visitor) {
  44506. return this.accept$1$1(visitor, type$.dynamic);
  44507. },
  44508. toString$0(_) {
  44509. var t1, t2, right, t3, operator, _this = this,
  44510. _0_0 = _this.left;
  44511. $label0$0: {
  44512. if (_0_0 instanceof A.BinaryOperationExpression) {
  44513. t1 = _0_0.operator.precedence < _this.operator.precedence;
  44514. break $label0$0;
  44515. }
  44516. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  44517. t1 = true;
  44518. break $label0$0;
  44519. }
  44520. t1 = false;
  44521. break $label0$0;
  44522. }
  44523. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44524. t2 += _0_0.toString$0(0);
  44525. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  44526. t2 = _this.operator;
  44527. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  44528. right = _this.right;
  44529. $label1$1: {
  44530. t3 = false;
  44531. if (right instanceof A.BinaryOperationExpression) {
  44532. operator = right.operator;
  44533. if (operator.precedence <= t2.precedence) {
  44534. t3 = !(operator === t2 && operator.isAssociative);
  44535. t2 = t3;
  44536. } else
  44537. t2 = t3;
  44538. break $label1$1;
  44539. }
  44540. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  44541. t2 = true;
  44542. break $label1$1;
  44543. }
  44544. t2 = t3;
  44545. break $label1$1;
  44546. }
  44547. if (t2)
  44548. t1 += A.Primitives_stringFromCharCode(40);
  44549. t1 += right.toString$0(0);
  44550. if (t2)
  44551. t1 += A.Primitives_stringFromCharCode(41);
  44552. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44553. }
  44554. };
  44555. A.BinaryOperator.prototype = {
  44556. _enumToString$0() {
  44557. return "BinaryOperator." + this._name;
  44558. },
  44559. toString$0(_) {
  44560. return this.name;
  44561. }
  44562. };
  44563. A.BooleanExpression.prototype = {
  44564. accept$1$1(visitor) {
  44565. return visitor.visitBooleanExpression$1(0, this);
  44566. },
  44567. accept$1(visitor) {
  44568. return this.accept$1$1(visitor, type$.dynamic);
  44569. },
  44570. toString$0(_) {
  44571. return String(this.value);
  44572. },
  44573. get$span(receiver) {
  44574. return this.span;
  44575. }
  44576. };
  44577. A.ColorExpression.prototype = {
  44578. accept$1$1(visitor) {
  44579. return visitor.visitColorExpression$1(0, this);
  44580. },
  44581. accept$1(visitor) {
  44582. return this.accept$1$1(visitor, type$.dynamic);
  44583. },
  44584. toString$0(_) {
  44585. return A.serializeValue(this.value, true, true);
  44586. },
  44587. get$span(receiver) {
  44588. return this.span;
  44589. }
  44590. };
  44591. A.FunctionExpression.prototype = {
  44592. get$nameSpan() {
  44593. if (this.namespace == null)
  44594. return A.SpanExtensions_initialIdentifier(this.span);
  44595. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  44596. },
  44597. accept$1$1(visitor) {
  44598. return visitor.visitFunctionExpression$1(0, this);
  44599. },
  44600. accept$1(visitor) {
  44601. return this.accept$1$1(visitor, type$.dynamic);
  44602. },
  44603. toString$0(_) {
  44604. var t1 = this.namespace;
  44605. t1 = t1 != null ? "" + (t1 + ".") : "";
  44606. t1 += this.originalName + this.$arguments.toString$0(0);
  44607. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44608. },
  44609. get$span(receiver) {
  44610. return this.span;
  44611. }
  44612. };
  44613. A.IfExpression.prototype = {
  44614. accept$1$1(visitor) {
  44615. return visitor.visitIfExpression$1(0, this);
  44616. },
  44617. accept$1(visitor) {
  44618. return this.accept$1$1(visitor, type$.dynamic);
  44619. },
  44620. toString$0(_) {
  44621. return "if" + this.$arguments.toString$0(0);
  44622. },
  44623. get$span(receiver) {
  44624. return this.span;
  44625. }
  44626. };
  44627. A.InterpolatedFunctionExpression.prototype = {
  44628. accept$1$1(visitor) {
  44629. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  44630. },
  44631. accept$1(visitor) {
  44632. return this.accept$1$1(visitor, type$.dynamic);
  44633. },
  44634. toString$0(_) {
  44635. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  44636. },
  44637. get$span(receiver) {
  44638. return this.span;
  44639. }
  44640. };
  44641. A.ListExpression.prototype = {
  44642. accept$1$1(visitor) {
  44643. return visitor.visitListExpression$1(0, this);
  44644. },
  44645. accept$1(visitor) {
  44646. return this.accept$1$1(visitor, type$.dynamic);
  44647. },
  44648. toString$0(_) {
  44649. var t2, t3, t4, t5, _this = this,
  44650. t1 = _this.hasBrackets;
  44651. if (t1)
  44652. t2 = "" + A.Primitives_stringFromCharCode(91);
  44653. else {
  44654. t2 = _this.contents.length;
  44655. if (t2 !== 0)
  44656. t2 = t2 === 1 && _this.separator === B.ListSeparator_ECn;
  44657. else
  44658. t2 = true;
  44659. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44660. }
  44661. t3 = _this.contents;
  44662. t4 = _this.separator === B.ListSeparator_ECn;
  44663. t5 = t4 ? ", " : " ";
  44664. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  44665. if (t1)
  44666. t1 = t5 + A.Primitives_stringFromCharCode(93);
  44667. else {
  44668. t1 = t3.length;
  44669. if (t1 === 0)
  44670. t1 = t5 + A.Primitives_stringFromCharCode(41);
  44671. else
  44672. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  44673. }
  44674. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44675. },
  44676. _list0$_elementNeedsParens$1(expression) {
  44677. var childSeparator, t1, _0_13;
  44678. $label0$0: {
  44679. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  44680. childSeparator = expression.separator;
  44681. t1 = this.separator === B.ListSeparator_ECn ? childSeparator === B.ListSeparator_ECn : childSeparator !== B.ListSeparator_undecided_null_undecided;
  44682. break $label0$0;
  44683. }
  44684. if (expression instanceof A.UnaryOperationExpression) {
  44685. _0_13 = expression.operator;
  44686. if (B.UnaryOperator_cLp !== _0_13)
  44687. t1 = B.UnaryOperator_AiQ === _0_13;
  44688. else
  44689. t1 = true;
  44690. } else
  44691. t1 = false;
  44692. if (t1) {
  44693. t1 = this.separator === B.ListSeparator_nbm;
  44694. break $label0$0;
  44695. }
  44696. t1 = false;
  44697. break $label0$0;
  44698. }
  44699. return t1;
  44700. },
  44701. get$span(receiver) {
  44702. return this.span;
  44703. }
  44704. };
  44705. A.ListExpression_toString_closure.prototype = {
  44706. call$1(element) {
  44707. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  44708. },
  44709. $signature: 125
  44710. };
  44711. A.MapExpression.prototype = {
  44712. accept$1$1(visitor) {
  44713. return visitor.visitMapExpression$1(0, this);
  44714. },
  44715. accept$1(visitor) {
  44716. return this.accept$1$1(visitor, type$.dynamic);
  44717. },
  44718. toString$0(_) {
  44719. var t2, t3, _i, t4, key, value,
  44720. t1 = A._setArrayType([], type$.JSArray_String);
  44721. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  44722. t4 = t2[_i];
  44723. key = t4._0;
  44724. value = t4._1;
  44725. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  44726. }
  44727. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44728. },
  44729. get$span(receiver) {
  44730. return this.span;
  44731. }
  44732. };
  44733. A.NullExpression.prototype = {
  44734. accept$1$1(visitor) {
  44735. return visitor.visitNullExpression$1(0, this);
  44736. },
  44737. accept$1(visitor) {
  44738. return this.accept$1$1(visitor, type$.dynamic);
  44739. },
  44740. toString$0(_) {
  44741. return "null";
  44742. },
  44743. get$span(receiver) {
  44744. return this.span;
  44745. }
  44746. };
  44747. A.NumberExpression.prototype = {
  44748. accept$1$1(visitor) {
  44749. return visitor.visitNumberExpression$1(0, this);
  44750. },
  44751. accept$1(visitor) {
  44752. return this.accept$1$1(visitor, type$.dynamic);
  44753. },
  44754. toString$0(_) {
  44755. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  44756. },
  44757. get$span(receiver) {
  44758. return this.span;
  44759. }
  44760. };
  44761. A.ParenthesizedExpression.prototype = {
  44762. accept$1$1(visitor) {
  44763. return visitor.visitParenthesizedExpression$1(0, this);
  44764. },
  44765. accept$1(visitor) {
  44766. return this.accept$1$1(visitor, type$.dynamic);
  44767. },
  44768. toString$0(_) {
  44769. return "(" + this.expression.toString$0(0) + ")";
  44770. },
  44771. get$span(receiver) {
  44772. return this.span;
  44773. }
  44774. };
  44775. A.SelectorExpression.prototype = {
  44776. accept$1$1(visitor) {
  44777. return visitor.visitSelectorExpression$1(0, this);
  44778. },
  44779. accept$1(visitor) {
  44780. return this.accept$1$1(visitor, type$.dynamic);
  44781. },
  44782. toString$0(_) {
  44783. return "&";
  44784. },
  44785. get$span(receiver) {
  44786. return this.span;
  44787. }
  44788. };
  44789. A.StringExpression.prototype = {
  44790. get$span(_) {
  44791. return this.text.span;
  44792. },
  44793. accept$1$1(visitor) {
  44794. return visitor.visitStringExpression$1(0, this);
  44795. },
  44796. accept$1(visitor) {
  44797. return this.accept$1$1(visitor, type$.dynamic);
  44798. },
  44799. asInterpolation$1$static($static) {
  44800. var t1, t2, quote, t3, t4, buffer, t5, _i, value;
  44801. if (!this.hasQuotes)
  44802. return this.text;
  44803. t1 = this.text;
  44804. t2 = t1.contents;
  44805. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  44806. t3 = new A.StringBuffer("");
  44807. t4 = A._setArrayType([], type$.JSArray_Object);
  44808. buffer = new A.InterpolationBuffer(t3, t4);
  44809. t5 = A.Primitives_stringFromCharCode(quote);
  44810. t3._contents += t5;
  44811. for (t5 = t2.length, _i = 0; _i < t5; ++_i) {
  44812. value = t2[_i];
  44813. if (value instanceof A.Expression) {
  44814. buffer._flushText$0();
  44815. t4.push(value);
  44816. continue;
  44817. }
  44818. if (typeof value == "string")
  44819. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  44820. }
  44821. t2 = A.Primitives_stringFromCharCode(quote);
  44822. t3._contents += t2;
  44823. return buffer.interpolation$1(t1.span);
  44824. },
  44825. asInterpolation$0() {
  44826. return this.asInterpolation$1$static(false);
  44827. },
  44828. toString$0(_) {
  44829. return this.asInterpolation$0().toString$0(0);
  44830. }
  44831. };
  44832. A.SupportsExpression.prototype = {
  44833. get$span(_) {
  44834. var t1 = this.condition;
  44835. return t1.get$span(t1);
  44836. },
  44837. accept$1$1(visitor) {
  44838. return visitor.visitSupportsExpression$1(0, this);
  44839. },
  44840. accept$1(visitor) {
  44841. return this.accept$1$1(visitor, type$.dynamic);
  44842. },
  44843. toString$0(_) {
  44844. return this.condition.toString$0(0);
  44845. }
  44846. };
  44847. A.UnaryOperationExpression.prototype = {
  44848. accept$1$1(visitor) {
  44849. return visitor.visitUnaryOperationExpression$1(0, this);
  44850. },
  44851. accept$1(visitor) {
  44852. return this.accept$1$1(visitor, type$.dynamic);
  44853. },
  44854. toString$0(_) {
  44855. var operand,
  44856. t1 = this.operator,
  44857. t2 = t1.operator;
  44858. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  44859. operand = this.operand;
  44860. $label0$0: {
  44861. t2 = true;
  44862. if (!(operand instanceof A.BinaryOperationExpression))
  44863. if (!(operand instanceof A.UnaryOperationExpression))
  44864. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  44865. if (t2)
  44866. break $label0$0;
  44867. break $label0$0;
  44868. }
  44869. if (t2)
  44870. t1 += "40";
  44871. t1 += operand.toString$0(0);
  44872. if (t2)
  44873. t1 += "41";
  44874. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44875. },
  44876. get$span(receiver) {
  44877. return this.span;
  44878. }
  44879. };
  44880. A.UnaryOperator.prototype = {
  44881. _enumToString$0() {
  44882. return "UnaryOperator." + this._name;
  44883. },
  44884. toString$0(_) {
  44885. return this.name;
  44886. }
  44887. };
  44888. A.ValueExpression.prototype = {
  44889. accept$1$1(visitor) {
  44890. return visitor.visitValueExpression$1(0, this);
  44891. },
  44892. accept$1(visitor) {
  44893. return this.accept$1$1(visitor, type$.dynamic);
  44894. },
  44895. toString$0(_) {
  44896. return A.serializeValue(this.value, true, true);
  44897. },
  44898. get$span(receiver) {
  44899. return this.span;
  44900. }
  44901. };
  44902. A.VariableExpression.prototype = {
  44903. accept$1$1(visitor) {
  44904. return visitor.visitVariableExpression$1(0, this);
  44905. },
  44906. accept$1(visitor) {
  44907. return this.accept$1$1(visitor, type$.dynamic);
  44908. },
  44909. toString$0(_) {
  44910. var t1 = this.span;
  44911. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  44912. },
  44913. get$span(receiver) {
  44914. return this.span;
  44915. }
  44916. };
  44917. A.DynamicImport.prototype = {
  44918. toString$0(_) {
  44919. return A.StringExpression_quoteText(this.urlString);
  44920. },
  44921. $isAstNode: 1,
  44922. $isImport: 1,
  44923. get$span(receiver) {
  44924. return this.span;
  44925. }
  44926. };
  44927. A.StaticImport.prototype = {
  44928. toString$0(_) {
  44929. var t1 = this.url.toString$0(0),
  44930. t2 = this.modifiers;
  44931. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  44932. },
  44933. $isAstNode: 1,
  44934. $isImport: 1,
  44935. get$span(receiver) {
  44936. return this.span;
  44937. }
  44938. };
  44939. A.Interpolation.prototype = {
  44940. get$asPlain() {
  44941. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  44942. _0_0 = this.contents;
  44943. $label0$0: {
  44944. _0_1 = _0_0.length;
  44945. if (_0_1 <= 0) {
  44946. t1 = "";
  44947. break $label0$0;
  44948. }
  44949. _0_6_isSet = _0_1 === 1;
  44950. _0_6 = null;
  44951. if (_0_6_isSet) {
  44952. _0_60 = _0_0[0];
  44953. t1 = _0_60;
  44954. _0_6 = t1;
  44955. t1 = typeof t1 == "string";
  44956. } else
  44957. t1 = false;
  44958. if (t1) {
  44959. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  44960. t1 = first;
  44961. break $label0$0;
  44962. }
  44963. t1 = null;
  44964. break $label0$0;
  44965. }
  44966. return t1;
  44967. },
  44968. get$initialPlain() {
  44969. var _0_4_isSet, _0_4, _0_40, t1, first,
  44970. _0_0 = this.contents;
  44971. $label0$0: {
  44972. _0_4_isSet = _0_0.length >= 1;
  44973. _0_4 = null;
  44974. if (_0_4_isSet) {
  44975. _0_40 = _0_0[0];
  44976. t1 = _0_40;
  44977. _0_4 = t1;
  44978. t1 = typeof t1 == "string";
  44979. } else
  44980. t1 = false;
  44981. if (t1) {
  44982. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  44983. t1 = first;
  44984. break $label0$0;
  44985. }
  44986. t1 = "";
  44987. break $label0$0;
  44988. }
  44989. return t1;
  44990. },
  44991. Interpolation$2(contents, span) {
  44992. var t1, t2, i, t3, t4,
  44993. _s8_ = "contents";
  44994. for (t1 = this.contents, t2 = t1.length, i = 0; i < t2; ++i) {
  44995. t3 = t1[i];
  44996. t4 = typeof t3 == "string";
  44997. if (!t4 && !(t3 instanceof A.Expression))
  44998. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  44999. if (i !== 0 && typeof t1[i - 1] == "string" && t4)
  45000. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  45001. }
  45002. },
  45003. toString$0(_) {
  45004. var t1 = this.contents;
  45005. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  45006. },
  45007. $isAstNode: 1,
  45008. get$span(receiver) {
  45009. return this.span;
  45010. }
  45011. };
  45012. A.Interpolation_toString_closure.prototype = {
  45013. call$1(value) {
  45014. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  45015. },
  45016. $signature: 113
  45017. };
  45018. A.Statement.prototype = {$isAstNode: 1};
  45019. A.AtRootRule.prototype = {
  45020. accept$1$1(visitor) {
  45021. return visitor.visitAtRootRule$1(0, this);
  45022. },
  45023. accept$1(visitor) {
  45024. return this.accept$1$1(visitor, type$.dynamic);
  45025. },
  45026. toString$0(_) {
  45027. var buffer = new A.StringBuffer("@at-root "),
  45028. t1 = this.query;
  45029. if (t1 != null)
  45030. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  45031. t1 = this.children;
  45032. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45033. },
  45034. get$span(receiver) {
  45035. return this.span;
  45036. }
  45037. };
  45038. A.AtRule.prototype = {
  45039. accept$1$1(visitor) {
  45040. return visitor.visitAtRule$1(0, this);
  45041. },
  45042. accept$1(visitor) {
  45043. return this.accept$1$1(visitor, type$.dynamic);
  45044. },
  45045. toString$0(_) {
  45046. var children,
  45047. t1 = "@" + this.name.toString$0(0),
  45048. buffer = new A.StringBuffer(t1),
  45049. t2 = this.value;
  45050. if (t2 != null)
  45051. buffer._contents = t1 + (" " + t2.toString$0(0));
  45052. children = this.children;
  45053. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  45054. },
  45055. get$span(receiver) {
  45056. return this.span;
  45057. }
  45058. };
  45059. A.CallableDeclaration.prototype = {
  45060. get$span(receiver) {
  45061. return this.span;
  45062. }
  45063. };
  45064. A.ContentBlock.prototype = {
  45065. accept$1$1(visitor) {
  45066. return visitor.visitContentBlock$1(0, this);
  45067. },
  45068. accept$1(visitor) {
  45069. return this.accept$1$1(visitor, type$.dynamic);
  45070. },
  45071. toString$0(_) {
  45072. var t2,
  45073. t1 = this.$arguments;
  45074. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  45075. t2 = this.children;
  45076. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45077. }
  45078. };
  45079. A.ContentRule.prototype = {
  45080. accept$1$1(visitor) {
  45081. return visitor.visitContentRule$1(0, this);
  45082. },
  45083. accept$1(visitor) {
  45084. return this.accept$1$1(visitor, type$.dynamic);
  45085. },
  45086. toString$0(_) {
  45087. var t1 = this.$arguments;
  45088. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  45089. },
  45090. get$span(receiver) {
  45091. return this.span;
  45092. }
  45093. };
  45094. A.DebugRule.prototype = {
  45095. accept$1$1(visitor) {
  45096. return visitor.visitDebugRule$1(0, this);
  45097. },
  45098. accept$1(visitor) {
  45099. return this.accept$1$1(visitor, type$.dynamic);
  45100. },
  45101. toString$0(_) {
  45102. return "@debug " + this.expression.toString$0(0) + ";";
  45103. },
  45104. get$span(receiver) {
  45105. return this.span;
  45106. }
  45107. };
  45108. A.Declaration.prototype = {
  45109. accept$1$1(visitor) {
  45110. return visitor.visitDeclaration$1(0, 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(0, 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(0, 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. get$span(receiver) {
  45170. return this.span;
  45171. }
  45172. };
  45173. A.ExtendRule.prototype = {
  45174. accept$1$1(visitor) {
  45175. return visitor.visitExtendRule$1(0, this);
  45176. },
  45177. accept$1(visitor) {
  45178. return this.accept$1$1(visitor, type$.dynamic);
  45179. },
  45180. toString$0(_) {
  45181. var t1 = this.selector.toString$0(0),
  45182. t2 = this.isOptional ? " !optional" : "";
  45183. return "@extend " + t1 + t2 + ";";
  45184. },
  45185. get$span(receiver) {
  45186. return this.span;
  45187. }
  45188. };
  45189. A.ForRule.prototype = {
  45190. accept$1$1(visitor) {
  45191. return visitor.visitForRule$1(0, this);
  45192. },
  45193. accept$1(visitor) {
  45194. return this.accept$1$1(visitor, type$.dynamic);
  45195. },
  45196. toString$0(_) {
  45197. var _this = this,
  45198. t1 = _this.from.toString$0(0),
  45199. t2 = _this.isExclusive ? "to" : "through",
  45200. t3 = _this.children;
  45201. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  45202. },
  45203. get$span(receiver) {
  45204. return this.span;
  45205. }
  45206. };
  45207. A.ForwardRule.prototype = {
  45208. accept$1$1(visitor) {
  45209. return visitor.visitForwardRule$1(0, this);
  45210. },
  45211. accept$1(visitor) {
  45212. return this.accept$1$1(visitor, type$.dynamic);
  45213. },
  45214. toString$0(_) {
  45215. var t2, prefix, _this = this,
  45216. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  45217. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  45218. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  45219. if (shownMixinsAndFunctions != null) {
  45220. t2 = _this.shownVariables;
  45221. t2.toString;
  45222. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  45223. t1 = t2;
  45224. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  45225. t2 = _this.hiddenVariables;
  45226. t2.toString;
  45227. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  45228. t1 = t2;
  45229. }
  45230. prefix = _this.prefix;
  45231. if (prefix != null)
  45232. t1 += " as " + prefix + "*";
  45233. t2 = _this.configuration;
  45234. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45235. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45236. },
  45237. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  45238. var t2,
  45239. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  45240. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  45241. t1.push("$" + t2.get$current(0));
  45242. return B.JSArray_methods.join$1(t1, ", ");
  45243. },
  45244. get$span(receiver) {
  45245. return this.span;
  45246. }
  45247. };
  45248. A.FunctionRule.prototype = {
  45249. accept$1$1(visitor) {
  45250. return visitor.visitFunctionRule$1(0, this);
  45251. },
  45252. accept$1(visitor) {
  45253. return this.accept$1$1(visitor, type$.dynamic);
  45254. },
  45255. toString$0(_) {
  45256. var t1 = this.children;
  45257. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45258. }
  45259. };
  45260. A.IfRule.prototype = {
  45261. accept$1$1(visitor) {
  45262. return visitor.visitIfRule$1(0, this);
  45263. },
  45264. accept$1(visitor) {
  45265. return this.accept$1$1(visitor, type$.dynamic);
  45266. },
  45267. toString$0(_) {
  45268. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  45269. lastClause = this.lastClause;
  45270. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  45271. },
  45272. get$span(receiver) {
  45273. return this.span;
  45274. }
  45275. };
  45276. A.IfRule_toString_closure.prototype = {
  45277. call$2(index, clause) {
  45278. var t1 = index === 0 ? "if" : "else if";
  45279. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  45280. },
  45281. $signature: 516
  45282. };
  45283. A.IfRuleClause.prototype = {};
  45284. A.IfRuleClause$__closure.prototype = {
  45285. call$1(child) {
  45286. var t1;
  45287. $label0$0: {
  45288. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45289. t1 = true;
  45290. break $label0$0;
  45291. }
  45292. if (child instanceof A.ImportRule) {
  45293. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  45294. break $label0$0;
  45295. }
  45296. t1 = false;
  45297. break $label0$0;
  45298. }
  45299. return t1;
  45300. },
  45301. $signature: 152
  45302. };
  45303. A.IfRuleClause$___closure.prototype = {
  45304. call$1($import) {
  45305. return $import instanceof A.DynamicImport;
  45306. },
  45307. $signature: 153
  45308. };
  45309. A.IfClause.prototype = {
  45310. toString$0(_) {
  45311. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45312. }
  45313. };
  45314. A.ElseClause.prototype = {
  45315. toString$0(_) {
  45316. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45317. }
  45318. };
  45319. A.ImportRule.prototype = {
  45320. accept$1$1(visitor) {
  45321. return visitor.visitImportRule$1(0, this);
  45322. },
  45323. accept$1(visitor) {
  45324. return this.accept$1$1(visitor, type$.dynamic);
  45325. },
  45326. toString$0(_) {
  45327. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  45328. },
  45329. get$span(receiver) {
  45330. return this.span;
  45331. }
  45332. };
  45333. A.IncludeRule.prototype = {
  45334. get$spanWithoutContent() {
  45335. var t2, t3,
  45336. t1 = this.span;
  45337. if (!(this.content == null)) {
  45338. t2 = t1.file;
  45339. t3 = this.$arguments.span;
  45340. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  45341. t1 = t3;
  45342. }
  45343. return t1;
  45344. },
  45345. get$nameSpan() {
  45346. var startSpan, scanner, _null = null,
  45347. t1 = this.span,
  45348. t2 = t1._file$_start,
  45349. t3 = t1._end,
  45350. t4 = t1.file._decodedChars;
  45351. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  45352. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  45353. else {
  45354. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  45355. scanner.expectChar$1(64);
  45356. A._scanIdentifier(scanner);
  45357. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  45358. }
  45359. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  45360. },
  45361. accept$1$1(visitor) {
  45362. return visitor.visitIncludeRule$1(0, this);
  45363. },
  45364. accept$1(visitor) {
  45365. return this.accept$1$1(visitor, type$.dynamic);
  45366. },
  45367. toString$0(_) {
  45368. var t2, _this = this,
  45369. t1 = _this.namespace;
  45370. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  45371. t1 += _this.name;
  45372. t2 = _this.$arguments;
  45373. if (!t2.get$isEmpty(0))
  45374. t1 += "(" + t2.toString$0(0) + ")";
  45375. t2 = _this.content;
  45376. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  45377. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45378. },
  45379. get$span(receiver) {
  45380. return this.span;
  45381. }
  45382. };
  45383. A.LoudComment.prototype = {
  45384. get$span(_) {
  45385. return this.text.span;
  45386. },
  45387. accept$1$1(visitor) {
  45388. return visitor.visitLoudComment$1(0, this);
  45389. },
  45390. accept$1(visitor) {
  45391. return this.accept$1$1(visitor, type$.dynamic);
  45392. },
  45393. toString$0(_) {
  45394. return this.text.toString$0(0);
  45395. }
  45396. };
  45397. A.MediaRule.prototype = {
  45398. accept$1$1(visitor) {
  45399. return visitor.visitMediaRule$1(0, this);
  45400. },
  45401. accept$1(visitor) {
  45402. return this.accept$1$1(visitor, type$.dynamic);
  45403. },
  45404. toString$0(_) {
  45405. var t1 = this.children;
  45406. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45407. },
  45408. get$span(receiver) {
  45409. return this.span;
  45410. }
  45411. };
  45412. A.MixinRule.prototype = {
  45413. get$hasContent() {
  45414. var result, _this = this,
  45415. value = _this.__MixinRule_hasContent_FI;
  45416. if (value === $) {
  45417. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  45418. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  45419. _this.__MixinRule_hasContent_FI = result;
  45420. value = result;
  45421. }
  45422. return value;
  45423. },
  45424. accept$1$1(visitor) {
  45425. return visitor.visitMixinRule$1(0, this);
  45426. },
  45427. accept$1(visitor) {
  45428. return this.accept$1$1(visitor, type$.dynamic);
  45429. },
  45430. toString$0(_) {
  45431. var t1 = "@mixin " + this.name,
  45432. t2 = this.$arguments;
  45433. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  45434. t1 += "(" + t2.toString$0(0) + ")";
  45435. t2 = this.children;
  45436. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45437. return t2.charCodeAt(0) == 0 ? t2 : t2;
  45438. }
  45439. };
  45440. A._HasContentVisitor.prototype = {
  45441. visitContentRule$1(_, _0) {
  45442. return true;
  45443. }
  45444. };
  45445. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  45446. A.ParentStatement.prototype = {};
  45447. A.ParentStatement_closure.prototype = {
  45448. call$1(child) {
  45449. var t1;
  45450. $label0$0: {
  45451. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45452. t1 = true;
  45453. break $label0$0;
  45454. }
  45455. if (child instanceof A.ImportRule) {
  45456. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  45457. break $label0$0;
  45458. }
  45459. t1 = false;
  45460. break $label0$0;
  45461. }
  45462. return t1;
  45463. },
  45464. $signature: 152
  45465. };
  45466. A.ParentStatement__closure.prototype = {
  45467. call$1($import) {
  45468. return $import instanceof A.DynamicImport;
  45469. },
  45470. $signature: 153
  45471. };
  45472. A.ReturnRule.prototype = {
  45473. accept$1$1(visitor) {
  45474. return visitor.visitReturnRule$1(0, this);
  45475. },
  45476. accept$1(visitor) {
  45477. return this.accept$1$1(visitor, type$.dynamic);
  45478. },
  45479. toString$0(_) {
  45480. return "@return " + this.expression.toString$0(0) + ";";
  45481. },
  45482. get$span(receiver) {
  45483. return this.span;
  45484. }
  45485. };
  45486. A.SilentComment.prototype = {
  45487. accept$1$1(visitor) {
  45488. return visitor.visitSilentComment$1(0, 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. get$span(receiver) {
  45497. return this.span;
  45498. }
  45499. };
  45500. A.StyleRule.prototype = {
  45501. accept$1$1(visitor) {
  45502. return visitor.visitStyleRule$1(0, this);
  45503. },
  45504. accept$1(visitor) {
  45505. return this.accept$1$1(visitor, type$.dynamic);
  45506. },
  45507. toString$0(_) {
  45508. var t1 = this.children;
  45509. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45510. },
  45511. get$span(receiver) {
  45512. return this.span;
  45513. }
  45514. };
  45515. A.Stylesheet.prototype = {
  45516. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  45517. var t1, t2, t3, t4, _i, child;
  45518. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  45519. child = t1[_i];
  45520. if (child instanceof A.UseRule) {
  45521. t4.push(child);
  45522. continue;
  45523. }
  45524. if (child instanceof A.ForwardRule) {
  45525. t3.push(child);
  45526. continue;
  45527. }
  45528. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  45529. continue;
  45530. break;
  45531. }
  45532. },
  45533. accept$1$1(visitor) {
  45534. return visitor.visitStylesheet$1(0, this);
  45535. },
  45536. accept$1(visitor) {
  45537. return this.accept$1$1(visitor, type$.dynamic);
  45538. },
  45539. toString$0(_) {
  45540. var t1 = this.children;
  45541. return (t1 && B.JSArray_methods).join$1(t1, " ");
  45542. },
  45543. get$span(receiver) {
  45544. return this.span;
  45545. }
  45546. };
  45547. A.SupportsRule.prototype = {
  45548. accept$1$1(visitor) {
  45549. return visitor.visitSupportsRule$1(0, this);
  45550. },
  45551. accept$1(visitor) {
  45552. return this.accept$1$1(visitor, type$.dynamic);
  45553. },
  45554. toString$0(_) {
  45555. var t1 = this.children;
  45556. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45557. },
  45558. get$span(receiver) {
  45559. return this.span;
  45560. }
  45561. };
  45562. A.UseRule.prototype = {
  45563. UseRule$4$configuration(url, namespace, span, configuration) {
  45564. var t1, t2, _i, variable;
  45565. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  45566. variable = t1[_i];
  45567. if (variable.isGuarded)
  45568. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  45569. }
  45570. },
  45571. accept$1$1(visitor) {
  45572. return visitor.visitUseRule$1(0, this);
  45573. },
  45574. accept$1(visitor) {
  45575. return this.accept$1$1(visitor, type$.dynamic);
  45576. },
  45577. toString$0(_) {
  45578. var t1 = this.url,
  45579. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  45580. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  45581. dot = B.JSString_methods.indexOf$1(basename, ".");
  45582. t1 = this.namespace;
  45583. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  45584. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  45585. else
  45586. t1 = t2;
  45587. t2 = this.configuration;
  45588. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45589. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45590. },
  45591. get$span(receiver) {
  45592. return this.span;
  45593. }
  45594. };
  45595. A.VariableDeclaration.prototype = {
  45596. accept$1$1(visitor) {
  45597. return visitor.visitVariableDeclaration$1(0, this);
  45598. },
  45599. accept$1(visitor) {
  45600. return this.accept$1$1(visitor, type$.dynamic);
  45601. },
  45602. toString$0(_) {
  45603. var t1 = this.namespace;
  45604. t1 = t1 != null ? "" + (t1 + ".") : "";
  45605. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  45606. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45607. },
  45608. get$span(receiver) {
  45609. return this.span;
  45610. }
  45611. };
  45612. A.WarnRule.prototype = {
  45613. accept$1$1(visitor) {
  45614. return visitor.visitWarnRule$1(0, this);
  45615. },
  45616. accept$1(visitor) {
  45617. return this.accept$1$1(visitor, type$.dynamic);
  45618. },
  45619. toString$0(_) {
  45620. return "@warn " + this.expression.toString$0(0) + ";";
  45621. },
  45622. get$span(receiver) {
  45623. return this.span;
  45624. }
  45625. };
  45626. A.WhileRule.prototype = {
  45627. accept$1$1(visitor) {
  45628. return visitor.visitWhileRule$1(0, this);
  45629. },
  45630. accept$1(visitor) {
  45631. return this.accept$1$1(visitor, type$.dynamic);
  45632. },
  45633. toString$0(_) {
  45634. var t1 = this.children;
  45635. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45636. },
  45637. get$span(receiver) {
  45638. return this.span;
  45639. }
  45640. };
  45641. A.SupportsAnything.prototype = {
  45642. toString$0(_) {
  45643. return "(" + this.contents.toString$0(0) + ")";
  45644. },
  45645. $isAstNode: 1,
  45646. get$span(receiver) {
  45647. return this.span;
  45648. }
  45649. };
  45650. A.SupportsDeclaration.prototype = {
  45651. get$isCustomProperty() {
  45652. var t1,
  45653. _0_0 = this.name;
  45654. $label0$0: {
  45655. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  45656. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  45657. break $label0$0;
  45658. }
  45659. t1 = false;
  45660. break $label0$0;
  45661. }
  45662. return t1;
  45663. },
  45664. toString$0(_) {
  45665. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  45666. },
  45667. $isAstNode: 1,
  45668. get$span(receiver) {
  45669. return this.span;
  45670. }
  45671. };
  45672. A.SupportsFunction.prototype = {
  45673. toString$0(_) {
  45674. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  45675. },
  45676. $isAstNode: 1,
  45677. get$span(receiver) {
  45678. return this.span;
  45679. }
  45680. };
  45681. A.SupportsInterpolation.prototype = {
  45682. toString$0(_) {
  45683. return "#{" + this.expression.toString$0(0) + "}";
  45684. },
  45685. $isAstNode: 1,
  45686. get$span(receiver) {
  45687. return this.span;
  45688. }
  45689. };
  45690. A.SupportsNegation.prototype = {
  45691. toString$0(_) {
  45692. var t1 = this.condition;
  45693. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  45694. return "not (" + t1.toString$0(0) + ")";
  45695. else
  45696. return "not " + t1.toString$0(0);
  45697. },
  45698. $isAstNode: 1,
  45699. get$span(receiver) {
  45700. return this.span;
  45701. }
  45702. };
  45703. A.SupportsOperation.prototype = {
  45704. toString$0(_) {
  45705. var _this = this;
  45706. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  45707. },
  45708. _operation$_parenthesize$1(condition) {
  45709. var t1;
  45710. if (!(condition instanceof A.SupportsNegation))
  45711. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  45712. else
  45713. t1 = true;
  45714. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  45715. },
  45716. $isAstNode: 1,
  45717. get$span(receiver) {
  45718. return this.span;
  45719. }
  45720. };
  45721. A.Selector.prototype = {
  45722. assertNotBogus$1$name($name) {
  45723. if (!this.accept$1(B._IsBogusVisitor_true))
  45724. return;
  45725. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_ido);
  45726. },
  45727. toString$0(_) {
  45728. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  45729. this.accept$1(visitor);
  45730. return visitor._serialize$_buffer.toString$0(0);
  45731. },
  45732. $isAstNode: 1,
  45733. get$span(receiver) {
  45734. return this.span;
  45735. }
  45736. };
  45737. A._IsInvisibleVisitor0.prototype = {
  45738. visitSelectorList$1(list) {
  45739. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  45740. },
  45741. visitComplexSelector$1(complex) {
  45742. var t1;
  45743. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  45744. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  45745. else
  45746. t1 = true;
  45747. return t1;
  45748. },
  45749. visitPlaceholderSelector$1(placeholder) {
  45750. return true;
  45751. },
  45752. visitPseudoSelector$1(pseudo) {
  45753. var t1,
  45754. _0_0 = pseudo.selector;
  45755. if (_0_0 != null) {
  45756. if (pseudo.name === "not")
  45757. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  45758. else
  45759. t1 = this.visitSelectorList$1(_0_0);
  45760. return t1;
  45761. } else
  45762. return false;
  45763. }
  45764. };
  45765. A._IsBogusVisitor.prototype = {
  45766. visitComplexSelector$1(complex) {
  45767. var t2,
  45768. t1 = complex.components;
  45769. if (t1.length === 0)
  45770. return complex.leadingCombinators.length !== 0;
  45771. else {
  45772. t2 = this.includeLeadingCombinator ? 0 : 1;
  45773. 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));
  45774. }
  45775. },
  45776. visitPseudoSelector$1(pseudo) {
  45777. var selector = pseudo.selector;
  45778. if (selector == null)
  45779. return false;
  45780. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  45781. }
  45782. };
  45783. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  45784. call$1(component) {
  45785. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45786. },
  45787. $signature: 51
  45788. };
  45789. A._IsUselessVisitor.prototype = {
  45790. visitComplexSelector$1(complex) {
  45791. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  45792. },
  45793. visitPseudoSelector$1(pseudo) {
  45794. return pseudo.accept$1(B._IsBogusVisitor_true);
  45795. }
  45796. };
  45797. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  45798. call$1(component) {
  45799. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45800. },
  45801. $signature: 51
  45802. };
  45803. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  45804. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  45805. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  45806. A.AttributeSelector.prototype = {
  45807. accept$1$1(visitor) {
  45808. return visitor.visitAttributeSelector$1(this);
  45809. },
  45810. accept$1(visitor) {
  45811. return this.accept$1$1(visitor, type$.dynamic);
  45812. },
  45813. $eq(_, other) {
  45814. var _this = this;
  45815. if (other == null)
  45816. return false;
  45817. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  45818. },
  45819. get$hashCode(_) {
  45820. var _this = this,
  45821. t1 = _this.name;
  45822. 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;
  45823. }
  45824. };
  45825. A.AttributeOperator.prototype = {
  45826. _enumToString$0() {
  45827. return "AttributeOperator." + this._name;
  45828. },
  45829. toString$0(_) {
  45830. return this._attribute$_text;
  45831. }
  45832. };
  45833. A.ClassSelector.prototype = {
  45834. $eq(_, other) {
  45835. if (other == null)
  45836. return false;
  45837. return other instanceof A.ClassSelector && other.name === this.name;
  45838. },
  45839. accept$1$1(visitor) {
  45840. return visitor.visitClassSelector$1(this);
  45841. },
  45842. accept$1(visitor) {
  45843. return this.accept$1$1(visitor, type$.dynamic);
  45844. },
  45845. addSuffix$1(suffix) {
  45846. return new A.ClassSelector(this.name + suffix, this.span);
  45847. },
  45848. get$hashCode(_) {
  45849. return B.JSString_methods.get$hashCode(this.name);
  45850. }
  45851. };
  45852. A.Combinator.prototype = {
  45853. _enumToString$0() {
  45854. return "Combinator." + this._name;
  45855. },
  45856. toString$0(_) {
  45857. return this._combinator$_text;
  45858. }
  45859. };
  45860. A.ComplexSelector.prototype = {
  45861. get$specificity() {
  45862. var result, _this = this,
  45863. value = _this.__ComplexSelector_specificity_FI;
  45864. if (value === $) {
  45865. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  45866. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  45867. _this.__ComplexSelector_specificity_FI = result;
  45868. value = result;
  45869. }
  45870. return value;
  45871. },
  45872. get$singleCompound() {
  45873. var _0_0, t1, _0_4, t2, selector, _null = null;
  45874. if (this.leadingCombinators.length !== 0)
  45875. return _null;
  45876. _0_0 = this.components;
  45877. $label0$0: {
  45878. t1 = false;
  45879. if (_0_0.length === 1) {
  45880. _0_4 = _0_0[0];
  45881. t2 = _0_4;
  45882. selector = t2.selector;
  45883. t1 = _0_4.combinators.length <= 0;
  45884. } else
  45885. selector = _null;
  45886. if (t1) {
  45887. t1 = selector;
  45888. break $label0$0;
  45889. }
  45890. t1 = _null;
  45891. break $label0$0;
  45892. }
  45893. return t1;
  45894. },
  45895. accept$1$1(visitor) {
  45896. return visitor.visitComplexSelector$1(this);
  45897. },
  45898. accept$1(visitor) {
  45899. return this.accept$1$1(visitor, type$.dynamic);
  45900. },
  45901. isSuperselector$1(other) {
  45902. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  45903. },
  45904. withAdditionalCombinators$1(combinators) {
  45905. var _0_0, _0_1, t1, initial, last, _this = this;
  45906. if (combinators.length === 0)
  45907. return _this;
  45908. _0_0 = _this.components;
  45909. $label0$0: {
  45910. _0_1 = _0_0.length;
  45911. if (_0_1 >= 1) {
  45912. t1 = _0_1 - 1;
  45913. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  45914. last = _0_0[t1];
  45915. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45916. t1.push(last.withAdditionalCombinators$1(combinators));
  45917. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  45918. break $label0$0;
  45919. }
  45920. if (_0_1 <= 0) {
  45921. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45922. B.JSArray_methods.addAll$1(t1, combinators);
  45923. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  45924. break $label0$0;
  45925. }
  45926. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  45927. }
  45928. return t1;
  45929. },
  45930. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  45931. var t2, _0_1, initial, last, _this = this,
  45932. t1 = child.leadingCombinators,
  45933. _0_0 = _this.components;
  45934. if (t1.length === 0) {
  45935. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  45936. B.JSArray_methods.addAll$1(t1, child.components);
  45937. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45938. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  45939. } else {
  45940. _0_1 = _0_0.length;
  45941. if (_0_1 >= 1) {
  45942. t2 = _0_1 - 1;
  45943. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  45944. last = _0_0[t2];
  45945. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45946. t2.push(last.withAdditionalCombinators$1(t1));
  45947. B.JSArray_methods.addAll$1(t2, child.components);
  45948. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45949. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  45950. } else {
  45951. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45952. B.JSArray_methods.addAll$1(t2, t1);
  45953. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45954. return A.ComplexSelector$(t2, child.components, span, t1);
  45955. }
  45956. }
  45957. },
  45958. concatenate$2(child, span) {
  45959. return this.concatenate$3$forceLineBreak(child, span, false);
  45960. },
  45961. get$hashCode(_) {
  45962. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  45963. },
  45964. $eq(_, other) {
  45965. if (other == null)
  45966. return false;
  45967. 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);
  45968. }
  45969. };
  45970. A.ComplexSelector_specificity_closure.prototype = {
  45971. call$2(sum, component) {
  45972. return sum + component.selector.get$specificity();
  45973. },
  45974. $signature: 383
  45975. };
  45976. A.ComplexSelectorComponent.prototype = {
  45977. withAdditionalCombinators$1(combinators) {
  45978. var t1, t2, _this = this;
  45979. if (combinators.length === 0)
  45980. t1 = _this;
  45981. else {
  45982. t1 = type$.CssValue_Combinator;
  45983. t2 = A.List_List$of(_this.combinators, true, t1);
  45984. B.JSArray_methods.addAll$1(t2, combinators);
  45985. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  45986. }
  45987. return t1;
  45988. },
  45989. get$hashCode(_) {
  45990. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  45991. },
  45992. $eq(_, other) {
  45993. var t1;
  45994. if (other == null)
  45995. return false;
  45996. if (other instanceof A.ComplexSelectorComponent) {
  45997. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  45998. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  45999. } else
  46000. t1 = false;
  46001. return t1;
  46002. },
  46003. toString$0(_) {
  46004. var t1 = this.combinators;
  46005. 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, "");
  46006. }
  46007. };
  46008. A.ComplexSelectorComponent_toString_closure.prototype = {
  46009. call$1(combinator) {
  46010. return " " + combinator.toString$0(0);
  46011. },
  46012. $signature: 360
  46013. };
  46014. A.CompoundSelector.prototype = {
  46015. get$specificity() {
  46016. var result, _this = this,
  46017. value = _this.__CompoundSelector_specificity_FI;
  46018. if (value === $) {
  46019. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  46020. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  46021. _this.__CompoundSelector_specificity_FI = result;
  46022. value = result;
  46023. }
  46024. return value;
  46025. },
  46026. get$hasComplicatedSuperselectorSemantics() {
  46027. var result, _this = this,
  46028. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  46029. if (value === $) {
  46030. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  46031. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  46032. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  46033. value = result;
  46034. }
  46035. return value;
  46036. },
  46037. accept$1$1(visitor) {
  46038. return visitor.visitCompoundSelector$1(this);
  46039. },
  46040. accept$1(visitor) {
  46041. return this.accept$1$1(visitor, type$.dynamic);
  46042. },
  46043. get$hashCode(_) {
  46044. return B.C_ListEquality0.hash$1(this.components);
  46045. },
  46046. $eq(_, other) {
  46047. if (other == null)
  46048. return false;
  46049. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  46050. }
  46051. };
  46052. A.CompoundSelector_specificity_closure.prototype = {
  46053. call$2(sum, component) {
  46054. return sum + component.get$specificity();
  46055. },
  46056. $signature: 359
  46057. };
  46058. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  46059. call$1(component) {
  46060. return component.get$hasComplicatedSuperselectorSemantics();
  46061. },
  46062. $signature: 13
  46063. };
  46064. A.IDSelector.prototype = {
  46065. get$specificity() {
  46066. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  46067. },
  46068. accept$1$1(visitor) {
  46069. return visitor.visitIDSelector$1(this);
  46070. },
  46071. accept$1(visitor) {
  46072. return this.accept$1$1(visitor, type$.dynamic);
  46073. },
  46074. addSuffix$1(suffix) {
  46075. return new A.IDSelector(this.name + suffix, this.span);
  46076. },
  46077. unify$1(compound) {
  46078. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  46079. return null;
  46080. return this.super$SimpleSelector$unify(compound);
  46081. },
  46082. $eq(_, other) {
  46083. if (other == null)
  46084. return false;
  46085. return other instanceof A.IDSelector && other.name === this.name;
  46086. },
  46087. get$hashCode(_) {
  46088. return B.JSString_methods.get$hashCode(this.name);
  46089. }
  46090. };
  46091. A.IDSelector_unify_closure.prototype = {
  46092. call$1(simple) {
  46093. var t1;
  46094. if (simple instanceof A.IDSelector)
  46095. t1 = this.$this.name !== simple.name;
  46096. else
  46097. t1 = false;
  46098. return t1;
  46099. },
  46100. $signature: 13
  46101. };
  46102. A.SelectorList.prototype = {
  46103. get$asSassList() {
  46104. var t1 = this.components;
  46105. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  46106. },
  46107. accept$1$1(visitor) {
  46108. return visitor.visitSelectorList$1(this);
  46109. },
  46110. accept$1(visitor) {
  46111. return this.accept$1$1(visitor, type$.dynamic);
  46112. },
  46113. unify$1(other) {
  46114. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  46115. t1 = type$.JSArray_ComplexSelector,
  46116. t2 = A._setArrayType([], t1);
  46117. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  46118. complex1 = t3[_i];
  46119. for (_i0 = 0; _i0 < t6; ++_i0) {
  46120. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  46121. if (t7 != null)
  46122. B.JSArray_methods.addAll$1(t2, t7);
  46123. }
  46124. }
  46125. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  46126. },
  46127. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  46128. var parentSelector, t1, _this = this;
  46129. if ($parent == null) {
  46130. if (preserveParentSelectors)
  46131. return _this;
  46132. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  46133. if (parentSelector == null)
  46134. return _this;
  46135. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  46136. }
  46137. t1 = _this.components;
  46138. return A.SelectorList$(A.flattenVertically(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")), type$.ComplexSelector), _this.span);
  46139. },
  46140. nestWithin$1($parent) {
  46141. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  46142. },
  46143. nestWithin$2$implicitParent($parent, implicitParent) {
  46144. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  46145. },
  46146. _nestWithinCompound$2(component, $parent) {
  46147. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  46148. t1 = component.selector,
  46149. simples = t1.components,
  46150. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  46151. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  46152. return null;
  46153. if (containsSelectorPseudo) {
  46154. t2 = simples;
  46155. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  46156. } else
  46157. resolvedSimples0 = simples;
  46158. resolvedSimples = resolvedSimples0;
  46159. parentSelector = J.get$first$ax(simples);
  46160. try {
  46161. if (!(parentSelector instanceof A.ParentSelector)) {
  46162. t2 = component.span;
  46163. t2 = A._setArrayType([A.ComplexSelector$(B.List_empty0, 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);
  46164. return t2;
  46165. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  46166. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  46167. return t1.components;
  46168. }
  46169. } catch (exception) {
  46170. t1 = A.unwrapException(exception);
  46171. if (t1 instanceof A.SassException) {
  46172. error = t1;
  46173. stackTrace = A.getTraceFromException(exception);
  46174. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  46175. } else
  46176. throw exception;
  46177. }
  46178. t1 = $parent.components;
  46179. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46180. },
  46181. isSuperselector$1(other) {
  46182. return A.listIsSuperselector(this.components, other.components);
  46183. },
  46184. withAdditionalCombinators$1(combinators) {
  46185. var t1;
  46186. if (combinators.length === 0)
  46187. t1 = this;
  46188. else {
  46189. t1 = this.components;
  46190. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  46191. }
  46192. return t1;
  46193. },
  46194. get$hashCode(_) {
  46195. return B.C_ListEquality0.hash$1(this.components);
  46196. },
  46197. $eq(_, other) {
  46198. if (other == null)
  46199. return false;
  46200. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  46201. }
  46202. };
  46203. A.SelectorList_asSassList_closure.prototype = {
  46204. call$1(complex) {
  46205. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  46206. t1 = type$.JSArray_Value,
  46207. t2 = A._setArrayType([], t1);
  46208. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  46209. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  46210. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  46211. component = t3[_i];
  46212. t5 = component.selector;
  46213. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  46214. t5.accept$1(visitor);
  46215. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  46216. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  46217. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  46218. B.JSArray_methods.addAll$1(t2, t5);
  46219. }
  46220. return A.SassList$(t2, B.ListSeparator_nbm, false);
  46221. },
  46222. $signature: 342
  46223. };
  46224. A.SelectorList_nestWithin_closure.prototype = {
  46225. call$1(complex) {
  46226. 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;
  46227. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  46228. if (!_this.implicitParent)
  46229. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  46230. t1 = _this.parent.components;
  46231. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46232. }
  46233. t1 = type$.JSArray_ComplexSelector;
  46234. newComplexes = A._setArrayType([], t1);
  46235. 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) {
  46236. component = t2[_i];
  46237. resolved = t4._nestWithinCompound$2(component, t5);
  46238. if (resolved == null)
  46239. if (newComplexes.length === 0)
  46240. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  46241. else
  46242. for (i = 0; i < newComplexes.length; ++i) {
  46243. t12 = newComplexes[i];
  46244. t13 = t12.leadingCombinators;
  46245. t14 = A.List_List$of(t12.components, true, t10);
  46246. t14.push(component);
  46247. t12 = t12.lineBreak;
  46248. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12);
  46249. }
  46250. else if (newComplexes.length === 0)
  46251. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  46252. else {
  46253. t12 = A._setArrayType([], t1);
  46254. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  46255. newComplex = newComplexes[_i0];
  46256. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  46257. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  46258. }
  46259. newComplexes = t12;
  46260. }
  46261. }
  46262. return newComplexes;
  46263. },
  46264. $signature: 338
  46265. };
  46266. A.SelectorList_nestWithin__closure.prototype = {
  46267. call$1(parentComplex) {
  46268. var t1 = this.complex;
  46269. return parentComplex.concatenate$2(t1, t1.span);
  46270. },
  46271. $signature: 59
  46272. };
  46273. A.SelectorList_nestWithin__closure0.prototype = {
  46274. call$1(resolvedComplex) {
  46275. var t1 = resolvedComplex.leadingCombinators,
  46276. t2 = this.complex,
  46277. t3 = t2.leadingCombinators;
  46278. if (t1.length === 0)
  46279. t1 = t3;
  46280. else {
  46281. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  46282. B.JSArray_methods.addAll$1(t3, t1);
  46283. t1 = t3;
  46284. }
  46285. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  46286. },
  46287. $signature: 59
  46288. };
  46289. A.SelectorList__nestWithinCompound_closure.prototype = {
  46290. call$1(simple) {
  46291. var selector;
  46292. if (!(simple instanceof A.PseudoSelector))
  46293. return false;
  46294. selector = simple.selector;
  46295. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46296. },
  46297. $signature: 13
  46298. };
  46299. A.SelectorList__nestWithinCompound_closure0.prototype = {
  46300. call$1(simple) {
  46301. var selector, t1, _0_2;
  46302. $label0$0: {
  46303. selector = null;
  46304. t1 = false;
  46305. if (simple instanceof A.PseudoSelector) {
  46306. _0_2 = simple.selector;
  46307. if (_0_2 != null) {
  46308. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  46309. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46310. }
  46311. }
  46312. if (t1) {
  46313. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  46314. break $label0$0;
  46315. }
  46316. t1 = simple;
  46317. break $label0$0;
  46318. }
  46319. return t1;
  46320. },
  46321. $signature: 335
  46322. };
  46323. A.SelectorList__nestWithinCompound_closure1.prototype = {
  46324. call$1(complex) {
  46325. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  46326. try {
  46327. t4 = complex.components;
  46328. lastComponent = B.JSArray_methods.get$last(t4);
  46329. if (lastComponent.combinators.length !== 0) {
  46330. 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);
  46331. throw A.wrapException(t1);
  46332. }
  46333. suffix = _this.parentSelector.suffix;
  46334. lastSimples = lastComponent.selector.components;
  46335. t5 = type$.SimpleSelector;
  46336. t6 = _this.resolvedSimples;
  46337. t7 = J.getInterceptor$ax(t6);
  46338. if (suffix == null) {
  46339. t1 = A.List_List$of(lastSimples, true, t5);
  46340. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  46341. t1 = t1;
  46342. } else {
  46343. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  46344. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  46345. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  46346. t1 = t2;
  46347. }
  46348. t2 = _this.component;
  46349. last = A.CompoundSelector$(t1, t2.selector.span);
  46350. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  46351. t4 = t2.span;
  46352. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  46353. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  46354. return t4;
  46355. } catch (exception) {
  46356. t1 = A.unwrapException(exception);
  46357. if (t1 instanceof A.SassException) {
  46358. error = t1;
  46359. stackTrace = A.getTraceFromException(exception);
  46360. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  46361. } else
  46362. throw exception;
  46363. }
  46364. },
  46365. $signature: 59
  46366. };
  46367. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  46368. call$1(complex) {
  46369. return complex.withAdditionalCombinators$1(this.combinators);
  46370. },
  46371. $signature: 59
  46372. };
  46373. A._ParentSelectorVisitor.prototype = {
  46374. visitParentSelector$1(selector) {
  46375. return selector;
  46376. }
  46377. };
  46378. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  46379. A.ParentSelector.prototype = {
  46380. accept$1$1(visitor) {
  46381. return visitor.visitParentSelector$1(this);
  46382. },
  46383. accept$1(visitor) {
  46384. return this.accept$1$1(visitor, type$.dynamic);
  46385. },
  46386. unify$1(compound) {
  46387. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  46388. }
  46389. };
  46390. A.PlaceholderSelector.prototype = {
  46391. accept$1$1(visitor) {
  46392. return visitor.visitPlaceholderSelector$1(this);
  46393. },
  46394. accept$1(visitor) {
  46395. return this.accept$1$1(visitor, type$.dynamic);
  46396. },
  46397. addSuffix$1(suffix) {
  46398. return new A.PlaceholderSelector(this.name + suffix, this.span);
  46399. },
  46400. $eq(_, other) {
  46401. if (other == null)
  46402. return false;
  46403. return other instanceof A.PlaceholderSelector && other.name === this.name;
  46404. },
  46405. get$hashCode(_) {
  46406. return B.JSString_methods.get$hashCode(this.name);
  46407. }
  46408. };
  46409. A.PseudoSelector.prototype = {
  46410. get$isHostContext() {
  46411. return this.isClass && this.name === "host-context" && this.selector != null;
  46412. },
  46413. get$hasComplicatedSuperselectorSemantics() {
  46414. return !this.isClass || this.selector != null;
  46415. },
  46416. get$specificity() {
  46417. var result, _this = this,
  46418. value = _this.__PseudoSelector_specificity_FI;
  46419. if (value === $) {
  46420. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  46421. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  46422. _this.__PseudoSelector_specificity_FI = result;
  46423. value = result;
  46424. }
  46425. return value;
  46426. },
  46427. withSelector$1(selector) {
  46428. var _this = this;
  46429. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  46430. },
  46431. addSuffix$1(suffix) {
  46432. var _this = this;
  46433. if (_this.argument != null || _this.selector != null)
  46434. _this.super$SimpleSelector$addSuffix(suffix);
  46435. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  46436. },
  46437. unify$1(compound) {
  46438. var other, result, t2, addedThis, _i, simple, _this = this,
  46439. t1 = _this.name;
  46440. if (t1 === "host" || t1 === "host-context") {
  46441. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  46442. return null;
  46443. } else {
  46444. t1 = false;
  46445. if (compound.length === 1) {
  46446. other = compound[0];
  46447. if (!(other instanceof A.UniversalSelector)) {
  46448. if (other instanceof A.PseudoSelector)
  46449. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46450. } else
  46451. t1 = true;
  46452. } else
  46453. other = null;
  46454. if (t1)
  46455. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46456. }
  46457. if (B.JSArray_methods.contains$1(compound, _this))
  46458. return compound;
  46459. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46460. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46461. simple = compound[_i];
  46462. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  46463. if (t2)
  46464. return null;
  46465. result.push(_this);
  46466. addedThis = true;
  46467. }
  46468. result.push(simple);
  46469. }
  46470. if (!addedThis)
  46471. result.push(_this);
  46472. return result;
  46473. },
  46474. isSuperselector$1(other) {
  46475. var selector, t1, t2, _this = this;
  46476. if (_this.super$SimpleSelector$isSuperselector(other))
  46477. return true;
  46478. selector = _this.selector;
  46479. if (selector == null)
  46480. return _this.$eq(0, other);
  46481. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  46482. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  46483. return t1 == null ? false : t1;
  46484. }
  46485. t1 = type$.JSArray_SimpleSelector;
  46486. t2 = _this.span;
  46487. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  46488. },
  46489. accept$1$1(visitor) {
  46490. return visitor.visitPseudoSelector$1(this);
  46491. },
  46492. accept$1(visitor) {
  46493. return this.accept$1$1(visitor, type$.dynamic);
  46494. },
  46495. $eq(_, other) {
  46496. var _this = this;
  46497. if (other == null)
  46498. return false;
  46499. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  46500. },
  46501. get$hashCode(_) {
  46502. var _this = this,
  46503. t1 = B.JSString_methods.get$hashCode(_this.name),
  46504. t2 = !_this.isClass ? 519018 : 218159;
  46505. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  46506. }
  46507. };
  46508. A.PseudoSelector_specificity_closure.prototype = {
  46509. call$0() {
  46510. var selector, t2,
  46511. t1 = this.$this;
  46512. if (!t1.isClass)
  46513. return 1;
  46514. selector = t1.selector;
  46515. if (selector == null)
  46516. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46517. switch (t1.normalizedName) {
  46518. case "where":
  46519. return 0;
  46520. case "is":
  46521. case "not":
  46522. case "has":
  46523. case "matches":
  46524. t1 = selector.components;
  46525. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  46526. case "nth-child":
  46527. case "nth-last-child":
  46528. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  46529. t2 = selector.components;
  46530. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  46531. default:
  46532. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46533. }
  46534. },
  46535. $signature: 10
  46536. };
  46537. A.PseudoSelector_specificity__closure.prototype = {
  46538. call$1(component) {
  46539. return component.get$specificity();
  46540. },
  46541. $signature: 171
  46542. };
  46543. A.PseudoSelector_specificity__closure0.prototype = {
  46544. call$1(component) {
  46545. return component.get$specificity();
  46546. },
  46547. $signature: 171
  46548. };
  46549. A.PseudoSelector_unify_closure.prototype = {
  46550. call$1(simple) {
  46551. var t1;
  46552. if (simple instanceof A.PseudoSelector)
  46553. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  46554. else
  46555. t1 = false;
  46556. return t1;
  46557. },
  46558. $signature: 13
  46559. };
  46560. A.QualifiedName.prototype = {
  46561. $eq(_, other) {
  46562. if (other == null)
  46563. return false;
  46564. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  46565. },
  46566. get$hashCode(_) {
  46567. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  46568. },
  46569. toString$0(_) {
  46570. var t1 = this.namespace,
  46571. t2 = this.name;
  46572. return t1 == null ? t2 : t1 + "|" + t2;
  46573. }
  46574. };
  46575. A.SimpleSelector.prototype = {
  46576. get$specificity() {
  46577. return 1000;
  46578. },
  46579. get$hasComplicatedSuperselectorSemantics() {
  46580. return false;
  46581. },
  46582. addSuffix$1(suffix) {
  46583. 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));
  46584. },
  46585. unify$1(compound) {
  46586. var other, result, addedThis, _i, simple, _this = this,
  46587. t1 = false;
  46588. if (compound.length === 1) {
  46589. other = compound[0];
  46590. if (!(other instanceof A.UniversalSelector)) {
  46591. if (other instanceof A.PseudoSelector)
  46592. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46593. } else
  46594. t1 = true;
  46595. } else
  46596. other = null;
  46597. if (t1)
  46598. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46599. if (B.JSArray_methods.contains$1(compound, _this))
  46600. return compound;
  46601. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46602. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46603. simple = compound[_i];
  46604. if (!addedThis && simple instanceof A.PseudoSelector) {
  46605. result.push(_this);
  46606. addedThis = true;
  46607. }
  46608. result.push(simple);
  46609. }
  46610. if (!addedThis)
  46611. result.push(_this);
  46612. return result;
  46613. },
  46614. isSuperselector$1(other) {
  46615. var list;
  46616. if (this.$eq(0, other))
  46617. return true;
  46618. if (other instanceof A.PseudoSelector && other.isClass) {
  46619. list = other.selector;
  46620. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  46621. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  46622. }
  46623. return false;
  46624. }
  46625. };
  46626. A.SimpleSelector_isSuperselector_closure.prototype = {
  46627. call$1(complex) {
  46628. var t1 = complex.components;
  46629. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  46630. },
  46631. $signature: 17
  46632. };
  46633. A.SimpleSelector_isSuperselector__closure.prototype = {
  46634. call$1(simple) {
  46635. return this.$this.isSuperselector$1(simple);
  46636. },
  46637. $signature: 13
  46638. };
  46639. A.TypeSelector.prototype = {
  46640. get$specificity() {
  46641. return 1;
  46642. },
  46643. accept$1$1(visitor) {
  46644. return visitor.visitTypeSelector$1(this);
  46645. },
  46646. accept$1(visitor) {
  46647. return this.accept$1$1(visitor, type$.dynamic);
  46648. },
  46649. addSuffix$1(suffix) {
  46650. var t1 = this.name;
  46651. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  46652. },
  46653. unify$1(compound) {
  46654. var unified, t1,
  46655. _0_0 = B.JSArray_methods.get$first(compound);
  46656. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  46657. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  46658. if (unified == null)
  46659. return null;
  46660. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46661. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  46662. return t1;
  46663. } else {
  46664. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  46665. B.JSArray_methods.addAll$1(t1, compound);
  46666. return t1;
  46667. }
  46668. },
  46669. isSuperselector$1(other) {
  46670. var t1, t2, t3;
  46671. if (!this.super$SimpleSelector$isSuperselector(other)) {
  46672. t1 = false;
  46673. if (other instanceof A.TypeSelector) {
  46674. t2 = this.name;
  46675. t3 = other.name;
  46676. if (t2.name === t3.name) {
  46677. t1 = t2.namespace;
  46678. t1 = t1 === "*" || t1 == t3.namespace;
  46679. }
  46680. }
  46681. } else
  46682. t1 = true;
  46683. return t1;
  46684. },
  46685. $eq(_, other) {
  46686. if (other == null)
  46687. return false;
  46688. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  46689. },
  46690. get$hashCode(_) {
  46691. var t1 = this.name;
  46692. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  46693. }
  46694. };
  46695. A.UniversalSelector.prototype = {
  46696. get$specificity() {
  46697. return 0;
  46698. },
  46699. accept$1$1(visitor) {
  46700. return visitor.visitUniversalSelector$1(this);
  46701. },
  46702. accept$1(visitor) {
  46703. return this.accept$1$1(visitor, type$.dynamic);
  46704. },
  46705. unify$1(compound) {
  46706. var _0_40, t1, rest, unified, t2, _this = this, _null = null,
  46707. _0_1 = compound.length,
  46708. _0_4_isSet = _0_1 >= 1,
  46709. _0_4 = _null;
  46710. if (_0_4_isSet) {
  46711. _0_40 = compound[0];
  46712. t1 = _0_40;
  46713. _0_4 = t1;
  46714. if (!(t1 instanceof A.UniversalSelector))
  46715. t1 = _0_4 instanceof A.TypeSelector;
  46716. else
  46717. t1 = true;
  46718. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  46719. } else {
  46720. rest = _null;
  46721. t1 = false;
  46722. }
  46723. if (t1) {
  46724. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  46725. if (unified == null)
  46726. return _null;
  46727. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46728. B.JSArray_methods.addAll$1(t1, rest);
  46729. return t1;
  46730. }
  46731. t1 = false;
  46732. if (_0_1 === 1) {
  46733. if (_0_4_isSet)
  46734. t2 = _0_4;
  46735. else {
  46736. _0_4 = compound[0];
  46737. t2 = _0_4;
  46738. _0_4_isSet = true;
  46739. }
  46740. if (t2 instanceof A.PseudoSelector) {
  46741. t2 = _0_4_isSet ? _0_4 : compound[0];
  46742. type$.PseudoSelector._as(t2);
  46743. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  46744. }
  46745. }
  46746. if (t1)
  46747. return _null;
  46748. if (_0_1 <= 0)
  46749. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46750. t1 = _this.namespace;
  46751. if (t1 == null || t1 === "*")
  46752. t1 = compound;
  46753. else {
  46754. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46755. B.JSArray_methods.addAll$1(t1, compound);
  46756. }
  46757. return t1;
  46758. },
  46759. isSuperselector$1(other) {
  46760. var t1 = this.namespace;
  46761. if (t1 === "*")
  46762. return true;
  46763. if (other instanceof A.TypeSelector)
  46764. return t1 == other.name.namespace;
  46765. if (other instanceof A.UniversalSelector)
  46766. return t1 == other.namespace;
  46767. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  46768. },
  46769. $eq(_, other) {
  46770. if (other == null)
  46771. return false;
  46772. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  46773. },
  46774. get$hashCode(_) {
  46775. return J.get$hashCode$(this.namespace);
  46776. }
  46777. };
  46778. A._compileStylesheet_closure0.prototype = {
  46779. call$1(url) {
  46780. var t1;
  46781. if (url === "") {
  46782. t1 = this.stylesheet.span;
  46783. 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();
  46784. } else
  46785. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  46786. return t1;
  46787. },
  46788. $signature: 5
  46789. };
  46790. A.AsyncEnvironment.prototype = {
  46791. closure$0() {
  46792. var t4, t5, t6, _this = this,
  46793. t1 = _this._async_environment$_forwardedModules,
  46794. t2 = _this._async_environment$_nestedForwardedModules,
  46795. t3 = _this._async_environment$_variables;
  46796. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  46797. t4 = _this._async_environment$_variableNodes;
  46798. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  46799. t5 = _this._async_environment$_functions;
  46800. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  46801. t6 = _this._async_environment$_mixins;
  46802. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  46803. 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);
  46804. },
  46805. forwardModule$2(module, rule) {
  46806. var view, t1, t2, _this = this,
  46807. forwardedModules = _this._async_environment$_forwardedModules;
  46808. if (forwardedModules == null)
  46809. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46810. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  46811. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  46812. t2 = t1.__js_helper$_current;
  46813. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  46814. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  46815. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  46816. }
  46817. _this._async_environment$_allModules.push(module);
  46818. forwardedModules.$indexSet(0, view, rule);
  46819. },
  46820. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  46821. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  46822. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  46823. larger = oldMembers;
  46824. smaller = newMembers;
  46825. } else {
  46826. larger = newMembers;
  46827. smaller = oldMembers;
  46828. }
  46829. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  46830. t4 = t2.get$current(t2);
  46831. $name = t4._0;
  46832. small = t4._1;
  46833. large = larger.$index(0, $name);
  46834. if (large == null)
  46835. continue;
  46836. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  46837. continue;
  46838. if (t3)
  46839. $name = "$" + $name;
  46840. t2 = this._async_environment$_forwardedModules;
  46841. if (t2 == null)
  46842. span = null;
  46843. else {
  46844. t2 = t2.$index(0, oldModule);
  46845. span = t2 == null ? null : J.get$span$z(t2);
  46846. }
  46847. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  46848. if (span != null)
  46849. t2.$indexSet(0, span, "original @forward");
  46850. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  46851. }
  46852. },
  46853. importForwards$1(module) {
  46854. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, _length, _list, _this = this,
  46855. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  46856. if (forwarded == null)
  46857. return;
  46858. forwardedModules = _this._async_environment$_forwardedModules;
  46859. if (forwardedModules != null) {
  46860. t1 = type$.Module_AsyncCallable;
  46861. t2 = type$.AstNode;
  46862. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  46863. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  46864. t4 = t1.get$current(t1);
  46865. module = t4._0;
  46866. node = t4._1;
  46867. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  46868. t3.$indexSet(0, module, node);
  46869. }
  46870. forwarded = t3;
  46871. } else
  46872. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46873. t1 = type$.String;
  46874. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46875. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  46876. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  46877. t2.add$1(0, t4.get$current(t4));
  46878. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46879. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  46880. t5 = t4.__js_helper$_current;
  46881. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46882. t3.add$1(0, t5.get$current(t5));
  46883. }
  46884. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46885. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  46886. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46887. t1.add$1(0, t5.get$current(t5));
  46888. t4 = _this._async_environment$_variables;
  46889. t5 = t4.length;
  46890. if (t5 === 1) {
  46891. 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) {
  46892. t11 = t8[_i];
  46893. module = t11._0;
  46894. node = t11._1;
  46895. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46896. if (shadowed != null) {
  46897. t5.remove$1(0, module);
  46898. t11 = shadowed.variables;
  46899. t12 = false;
  46900. if (t11.get$isEmpty(t11)) {
  46901. t11 = shadowed.functions;
  46902. if (t11.get$isEmpty(t11)) {
  46903. t11 = shadowed.mixins;
  46904. if (t11.get$isEmpty(t11)) {
  46905. t11 = shadowed._shadowed_view$_inner;
  46906. t11 = t11.get$css(t11);
  46907. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  46908. } else
  46909. t11 = t12;
  46910. } else
  46911. t11 = t12;
  46912. } else
  46913. t11 = t12;
  46914. if (!t11)
  46915. t5.$indexSet(0, shadowed, node);
  46916. }
  46917. }
  46918. 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) {
  46919. t8 = t6[_i];
  46920. module = t8._0;
  46921. node = t8._1;
  46922. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46923. if (shadowed != null) {
  46924. forwardedModules.remove$1(0, module);
  46925. t8 = shadowed.variables;
  46926. t9 = false;
  46927. if (t8.get$isEmpty(t8)) {
  46928. t8 = shadowed.functions;
  46929. if (t8.get$isEmpty(t8)) {
  46930. t8 = shadowed.mixins;
  46931. if (t8.get$isEmpty(t8)) {
  46932. t8 = shadowed._shadowed_view$_inner;
  46933. t8 = t8.get$css(t8);
  46934. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  46935. } else
  46936. t8 = t9;
  46937. } else
  46938. t8 = t9;
  46939. } else
  46940. t8 = t9;
  46941. if (!t8)
  46942. forwardedModules.$indexSet(0, shadowed, node);
  46943. }
  46944. }
  46945. t5.addAll$1(0, forwarded);
  46946. forwardedModules.addAll$1(0, forwarded);
  46947. } else {
  46948. t6 = _this._async_environment$_nestedForwardedModules;
  46949. if (t6 == null) {
  46950. _length = t5 - 1;
  46951. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  46952. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  46953. _list[_i] = A._setArrayType([], t5);
  46954. _this._async_environment$_nestedForwardedModules = _list;
  46955. t5 = _list;
  46956. } else
  46957. t5 = t6;
  46958. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  46959. }
  46960. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46961. t8 = t2._collection$_current;
  46962. if (t8 == null)
  46963. t8 = t7._as(t8);
  46964. t5.remove$1(0, t8);
  46965. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  46966. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  46967. }
  46968. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46969. t6 = t2._collection$_current;
  46970. if (t6 == null)
  46971. t6 = t5._as(t6);
  46972. t3.remove$1(0, t6);
  46973. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  46974. }
  46975. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  46976. t5 = t1._collection$_current;
  46977. if (t5 == null)
  46978. t5 = t4._as(t5);
  46979. t2.remove$1(0, t5);
  46980. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  46981. }
  46982. },
  46983. getVariable$2$namespace($name, namespace) {
  46984. var t1, _0_0, _1_0, _this = this;
  46985. if (namespace != null)
  46986. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  46987. if (_this._async_environment$_lastVariableName === $name) {
  46988. t1 = _this._async_environment$_lastVariableIndex;
  46989. t1.toString;
  46990. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  46991. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  46992. }
  46993. t1 = _this._async_environment$_variableIndices;
  46994. _0_0 = t1.$index(0, $name);
  46995. if (_0_0 != null) {
  46996. _this._async_environment$_lastVariableName = $name;
  46997. _this._async_environment$_lastVariableIndex = _0_0;
  46998. t1 = J.$index$asx(_this._async_environment$_variables[_0_0], $name);
  46999. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  47000. } else {
  47001. _1_0 = _this._async_environment$_variableIndex$1($name);
  47002. if (_1_0 != null) {
  47003. _this._async_environment$_lastVariableName = $name;
  47004. _this._async_environment$_lastVariableIndex = _1_0;
  47005. t1.$indexSet(0, $name, _1_0);
  47006. t1 = J.$index$asx(_this._async_environment$_variables[_1_0], $name);
  47007. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  47008. } else
  47009. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  47010. }
  47011. },
  47012. getVariable$1($name) {
  47013. return this.getVariable$2$namespace($name, null);
  47014. },
  47015. _async_environment$_getVariableFromGlobalModule$1($name) {
  47016. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  47017. },
  47018. getVariableNode$2$namespace($name, namespace) {
  47019. var t1, _0_0, _1_0, _this = this;
  47020. if (namespace != null)
  47021. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  47022. if (_this._async_environment$_lastVariableName === $name) {
  47023. t1 = _this._async_environment$_lastVariableIndex;
  47024. t1.toString;
  47025. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  47026. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47027. }
  47028. t1 = _this._async_environment$_variableIndices;
  47029. _0_0 = t1.$index(0, $name);
  47030. if (_0_0 != null) {
  47031. _this._async_environment$_lastVariableName = $name;
  47032. _this._async_environment$_lastVariableIndex = _0_0;
  47033. t1 = J.$index$asx(_this._async_environment$_variableNodes[_0_0], $name);
  47034. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47035. } else {
  47036. _1_0 = _this._async_environment$_variableIndex$1($name);
  47037. if (_1_0 != null) {
  47038. _this._async_environment$_lastVariableName = $name;
  47039. _this._async_environment$_lastVariableIndex = _1_0;
  47040. t1.$indexSet(0, $name, _1_0);
  47041. t1 = J.$index$asx(_this._async_environment$_variableNodes[_1_0], $name);
  47042. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  47043. } else
  47044. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  47045. }
  47046. },
  47047. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  47048. var t1, t2, _0_0;
  47049. 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();) {
  47050. t1 = t2._currentIterator;
  47051. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  47052. if (_0_0 != null)
  47053. return _0_0;
  47054. }
  47055. return null;
  47056. },
  47057. globalVariableExists$2$namespace($name, namespace) {
  47058. if (namespace != null)
  47059. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  47060. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  47061. return true;
  47062. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  47063. },
  47064. globalVariableExists$1($name) {
  47065. return this.globalVariableExists$2$namespace($name, null);
  47066. },
  47067. _async_environment$_variableIndex$1($name) {
  47068. var t1, i;
  47069. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  47070. if (t1[i].containsKey$1($name))
  47071. return i;
  47072. return null;
  47073. },
  47074. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  47075. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  47076. if (namespace != null) {
  47077. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  47078. return;
  47079. }
  47080. if (global || _this._async_environment$_variables.length === 1) {
  47081. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  47082. t1 = _this._async_environment$_variables;
  47083. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  47084. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  47085. if (moduleWithName != null) {
  47086. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  47087. return;
  47088. }
  47089. }
  47090. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  47091. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  47092. return;
  47093. }
  47094. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  47095. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  47096. for (t1 = A._arrayInstanceType(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();) {
  47097. t3 = t2.__internal$_current;
  47098. 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();) {
  47099. t5 = t3.__internal$_current;
  47100. if (t5 == null)
  47101. t5 = t4._as(t5);
  47102. if (t5.get$variables().containsKey$1($name)) {
  47103. t5.setVariable$3($name, value, nodeWithSpan);
  47104. return;
  47105. }
  47106. }
  47107. }
  47108. if (_this._async_environment$_lastVariableName === $name) {
  47109. t1 = _this._async_environment$_lastVariableIndex;
  47110. t1.toString;
  47111. index = t1;
  47112. } else
  47113. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  47114. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  47115. index = _this._async_environment$_variables.length - 1;
  47116. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47117. }
  47118. _this._async_environment$_lastVariableName = $name;
  47119. _this._async_environment$_lastVariableIndex = index;
  47120. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  47121. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47122. },
  47123. setVariable$4$global($name, value, nodeWithSpan, global) {
  47124. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  47125. },
  47126. setLocalVariable$3($name, value, nodeWithSpan) {
  47127. var index, _this = this,
  47128. t1 = _this._async_environment$_variables,
  47129. t2 = t1.length;
  47130. _this._async_environment$_lastVariableName = $name;
  47131. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  47132. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47133. J.$indexSet$ax(t1[index], $name, value);
  47134. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47135. },
  47136. getFunction$2$namespace($name, namespace) {
  47137. var t1, _0_0, _1_0, _this = this;
  47138. if (namespace != null) {
  47139. t1 = _this._async_environment$_getModule$1(namespace);
  47140. return t1.get$functions(t1).$index(0, $name);
  47141. }
  47142. t1 = _this._async_environment$_functionIndices;
  47143. _0_0 = t1.$index(0, $name);
  47144. if (_0_0 != null) {
  47145. t1 = J.$index$asx(_this._async_environment$_functions[_0_0], $name);
  47146. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47147. } else {
  47148. _1_0 = _this._async_environment$_functionIndex$1($name);
  47149. if (_1_0 != null) {
  47150. t1.$indexSet(0, $name, _1_0);
  47151. t1 = J.$index$asx(_this._async_environment$_functions[_1_0], $name);
  47152. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47153. } else
  47154. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  47155. }
  47156. },
  47157. getFunction$1($name) {
  47158. return this.getFunction$2$namespace($name, null);
  47159. },
  47160. _async_environment$_getFunctionFromGlobalModule$1($name) {
  47161. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  47162. },
  47163. _async_environment$_functionIndex$1($name) {
  47164. var t1, i;
  47165. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  47166. if (t1[i].containsKey$1($name))
  47167. return i;
  47168. return null;
  47169. },
  47170. getMixin$2$namespace($name, namespace) {
  47171. var t1, _0_0, _1_0, _this = this;
  47172. if (namespace != null)
  47173. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  47174. t1 = _this._async_environment$_mixinIndices;
  47175. _0_0 = t1.$index(0, $name);
  47176. if (_0_0 != null) {
  47177. t1 = J.$index$asx(_this._async_environment$_mixins[_0_0], $name);
  47178. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47179. } else {
  47180. _1_0 = _this._async_environment$_mixinIndex$1($name);
  47181. if (_1_0 != null) {
  47182. t1.$indexSet(0, $name, _1_0);
  47183. t1 = J.$index$asx(_this._async_environment$_mixins[_1_0], $name);
  47184. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47185. } else
  47186. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  47187. }
  47188. },
  47189. _async_environment$_getMixinFromGlobalModule$1($name) {
  47190. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  47191. },
  47192. _async_environment$_mixinIndex$1($name) {
  47193. var t1, i;
  47194. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  47195. if (t1[i].containsKey$1($name))
  47196. return i;
  47197. return null;
  47198. },
  47199. withContent$2($content, callback) {
  47200. return this.withContent$body$AsyncEnvironment($content, callback);
  47201. },
  47202. withContent$body$AsyncEnvironment($content, callback) {
  47203. var $async$goto = 0,
  47204. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47205. $async$self = this, oldContent;
  47206. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47207. if ($async$errorCode === 1)
  47208. return A._asyncRethrow($async$result, $async$completer);
  47209. while (true)
  47210. switch ($async$goto) {
  47211. case 0:
  47212. // Function start
  47213. oldContent = $async$self._async_environment$_content;
  47214. $async$self._async_environment$_content = $content;
  47215. $async$goto = 2;
  47216. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  47217. case 2:
  47218. // returning from await.
  47219. $async$self._async_environment$_content = oldContent;
  47220. // implicit return
  47221. return A._asyncReturn(null, $async$completer);
  47222. }
  47223. });
  47224. return A._asyncStartSync($async$withContent$2, $async$completer);
  47225. },
  47226. asMixin$1(callback) {
  47227. var $async$goto = 0,
  47228. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47229. $async$self = this, oldInMixin;
  47230. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47231. if ($async$errorCode === 1)
  47232. return A._asyncRethrow($async$result, $async$completer);
  47233. while (true)
  47234. switch ($async$goto) {
  47235. case 0:
  47236. // Function start
  47237. oldInMixin = $async$self._async_environment$_inMixin;
  47238. $async$self._async_environment$_inMixin = true;
  47239. $async$goto = 2;
  47240. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  47241. case 2:
  47242. // returning from await.
  47243. $async$self._async_environment$_inMixin = oldInMixin;
  47244. // implicit return
  47245. return A._asyncReturn(null, $async$completer);
  47246. }
  47247. });
  47248. return A._asyncStartSync($async$asMixin$1, $async$completer);
  47249. },
  47250. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  47251. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  47252. },
  47253. scope$1$1(callback, $T) {
  47254. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  47255. },
  47256. scope$1$2$when(callback, when, $T) {
  47257. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  47258. },
  47259. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  47260. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  47261. },
  47262. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  47263. var $async$goto = 0,
  47264. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  47265. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  47266. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47267. if ($async$errorCode === 1) {
  47268. $async$currentError = $async$result;
  47269. $async$goto = $async$handler;
  47270. }
  47271. while (true)
  47272. switch ($async$goto) {
  47273. case 0:
  47274. // Function start
  47275. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  47276. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  47277. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  47278. $async$goto = !when ? 3 : 4;
  47279. break;
  47280. case 3:
  47281. // then
  47282. $async$handler = 5;
  47283. $async$goto = 8;
  47284. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47285. case 8:
  47286. // returning from await.
  47287. t1 = $async$result;
  47288. $async$returnValue = t1;
  47289. $async$next = [1];
  47290. // goto finally
  47291. $async$goto = 6;
  47292. break;
  47293. $async$next.push(7);
  47294. // goto finally
  47295. $async$goto = 6;
  47296. break;
  47297. case 5:
  47298. // uncaught
  47299. $async$next = [2];
  47300. case 6:
  47301. // finally
  47302. $async$handler = 2;
  47303. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47304. // goto the next finally handler
  47305. $async$goto = $async$next.pop();
  47306. break;
  47307. case 7:
  47308. // after finally
  47309. case 4:
  47310. // join
  47311. t1 = $async$self._async_environment$_variables;
  47312. t2 = type$.String;
  47313. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  47314. t3 = $async$self._async_environment$_variableNodes;
  47315. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  47316. t4 = $async$self._async_environment$_functions;
  47317. t5 = type$.AsyncCallable;
  47318. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47319. t6 = $async$self._async_environment$_mixins;
  47320. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47321. t5 = $async$self._async_environment$_nestedForwardedModules;
  47322. if (t5 != null)
  47323. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  47324. $async$handler = 9;
  47325. $async$goto = 12;
  47326. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47327. case 12:
  47328. // returning from await.
  47329. t2 = $async$result;
  47330. $async$returnValue = t2;
  47331. $async$next = [1];
  47332. // goto finally
  47333. $async$goto = 10;
  47334. break;
  47335. $async$next.push(11);
  47336. // goto finally
  47337. $async$goto = 10;
  47338. break;
  47339. case 9:
  47340. // uncaught
  47341. $async$next = [2];
  47342. case 10:
  47343. // finally
  47344. $async$handler = 2;
  47345. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47346. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  47347. 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();) {
  47348. $name = t1.get$current(t1);
  47349. t2.remove$1(0, $name);
  47350. }
  47351. B.JSArray_methods.removeLast$0(t3);
  47352. 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();) {
  47353. name0 = t1.get$current(t1);
  47354. t2.remove$1(0, name0);
  47355. }
  47356. 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();) {
  47357. name1 = t1.get$current(t1);
  47358. t2.remove$1(0, name1);
  47359. }
  47360. t1 = $async$self._async_environment$_nestedForwardedModules;
  47361. if (t1 != null)
  47362. t1.pop();
  47363. // goto the next finally handler
  47364. $async$goto = $async$next.pop();
  47365. break;
  47366. case 11:
  47367. // after finally
  47368. case 1:
  47369. // return
  47370. return A._asyncReturn($async$returnValue, $async$completer);
  47371. case 2:
  47372. // rethrow
  47373. return A._asyncRethrow($async$currentError, $async$completer);
  47374. }
  47375. });
  47376. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  47377. },
  47378. toImplicitConfiguration$0() {
  47379. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  47380. t1 = type$.String,
  47381. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  47382. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  47383. values = t2[i];
  47384. nodes = t4[i];
  47385. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  47386. t6 = t5.get$current(t5);
  47387. $name = t6._0;
  47388. value = t6._1;
  47389. t6 = nodes.$index(0, $name);
  47390. t6.toString;
  47391. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  47392. }
  47393. }
  47394. return new A.Configuration(configuration, null);
  47395. },
  47396. toModule$3(css, preModuleComments, extensionStore) {
  47397. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  47398. },
  47399. toDummyModule$0() {
  47400. 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()));
  47401. },
  47402. _async_environment$_getModule$1(namespace) {
  47403. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  47404. if (_0_0 != null)
  47405. return _0_0;
  47406. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  47407. },
  47408. _async_environment$_fromOneModule$1$3($name, type, callback) {
  47409. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  47410. _0_0 = this._async_environment$_nestedForwardedModules;
  47411. if (_0_0 != null)
  47412. 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();) {
  47413. t3 = t2.__internal$_current;
  47414. 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();) {
  47415. t5 = t3.__internal$_current;
  47416. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  47417. if (_1_0 != null)
  47418. return _1_0;
  47419. }
  47420. }
  47421. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  47422. _2_0 = callback.call$1(t1.__js_helper$_current);
  47423. if (_2_0 != null)
  47424. return _2_0;
  47425. }
  47426. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  47427. t4 = t2.__js_helper$_current;
  47428. valueInModule = callback.call$1(t4);
  47429. if (valueInModule == null)
  47430. continue;
  47431. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  47432. if (identityFromModule.$eq(0, identity))
  47433. continue;
  47434. if (value != null) {
  47435. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  47436. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  47437. t1 = t3.get$current(t3);
  47438. module = t1._0;
  47439. node = t1._1;
  47440. if (callback.call$1(module) != null)
  47441. t2.$indexSet(0, node.get$span(node), t4);
  47442. }
  47443. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  47444. }
  47445. identity = identityFromModule;
  47446. value = valueInModule;
  47447. }
  47448. return value;
  47449. },
  47450. _async_environment$_fromOneModule$3($name, type, callback) {
  47451. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  47452. }
  47453. };
  47454. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  47455. call$1(module) {
  47456. return module.get$variables().$index(0, this.name);
  47457. },
  47458. $signature: 320
  47459. };
  47460. A.AsyncEnvironment_setVariable_closure.prototype = {
  47461. call$0() {
  47462. var t1 = this.$this;
  47463. t1._async_environment$_lastVariableName = this.name;
  47464. return t1._async_environment$_lastVariableIndex = 0;
  47465. },
  47466. $signature: 10
  47467. };
  47468. A.AsyncEnvironment_setVariable_closure0.prototype = {
  47469. call$1(module) {
  47470. return module.get$variables().containsKey$1(this.name) ? module : null;
  47471. },
  47472. $signature: 319
  47473. };
  47474. A.AsyncEnvironment_setVariable_closure1.prototype = {
  47475. call$0() {
  47476. var t1 = this.$this,
  47477. t2 = t1._async_environment$_variableIndex$1(this.name);
  47478. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  47479. },
  47480. $signature: 10
  47481. };
  47482. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  47483. call$1(module) {
  47484. return module.get$functions(module).$index(0, this.name);
  47485. },
  47486. $signature: 176
  47487. };
  47488. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  47489. call$1(module) {
  47490. return module.get$mixins().$index(0, this.name);
  47491. },
  47492. $signature: 176
  47493. };
  47494. A.AsyncEnvironment_toModule_closure.prototype = {
  47495. call$1(modules) {
  47496. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47497. },
  47498. $signature: 177
  47499. };
  47500. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  47501. call$1(modules) {
  47502. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47503. },
  47504. $signature: 177
  47505. };
  47506. A._EnvironmentModule0.prototype = {
  47507. get$url(_) {
  47508. var t1 = this.css;
  47509. t1 = t1.get$span(t1);
  47510. return t1.get$sourceUrl(t1);
  47511. },
  47512. setVariable$3($name, value, nodeWithSpan) {
  47513. var t1, t2,
  47514. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  47515. if (_0_0 != null) {
  47516. _0_0.setVariable$3($name, value, nodeWithSpan);
  47517. return;
  47518. }
  47519. t1 = this._async_environment$_environment;
  47520. t2 = t1._async_environment$_variables;
  47521. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  47522. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  47523. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  47524. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  47525. return;
  47526. },
  47527. variableIdentity$1($name) {
  47528. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  47529. return module == null ? this : module.variableIdentity$1($name);
  47530. },
  47531. cloneCss$0() {
  47532. var _0_0, _this = this;
  47533. if (!_this.transitivelyContainsCss)
  47534. return _this;
  47535. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  47536. 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);
  47537. },
  47538. toString$0(_) {
  47539. var t1 = this.css,
  47540. t2 = t1.get$span(t1);
  47541. if (t2.get$sourceUrl(t2) == null)
  47542. t1 = "<unknown url>";
  47543. else {
  47544. t1 = t1.get$span(t1);
  47545. t1 = t1.get$sourceUrl(t1);
  47546. t2 = $.$get$context();
  47547. t1.toString;
  47548. t1 = t2.prettyUri$1(t1);
  47549. }
  47550. return t1;
  47551. },
  47552. $isModule0: 1,
  47553. get$upstream() {
  47554. return this.upstream;
  47555. },
  47556. get$variables() {
  47557. return this.variables;
  47558. },
  47559. get$variableNodes() {
  47560. return this.variableNodes;
  47561. },
  47562. get$functions(receiver) {
  47563. return this.functions;
  47564. },
  47565. get$mixins() {
  47566. return this.mixins;
  47567. },
  47568. get$extensionStore() {
  47569. return this.extensionStore;
  47570. },
  47571. get$css(receiver) {
  47572. return this.css;
  47573. },
  47574. get$preModuleComments() {
  47575. return this.preModuleComments;
  47576. },
  47577. get$transitivelyContainsCss() {
  47578. return this.transitivelyContainsCss;
  47579. },
  47580. get$transitivelyContainsExtensions() {
  47581. return this.transitivelyContainsExtensions;
  47582. }
  47583. };
  47584. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  47585. call$1(module) {
  47586. return module.get$variables();
  47587. },
  47588. $signature: 317
  47589. };
  47590. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  47591. call$1(module) {
  47592. return module.get$variableNodes();
  47593. },
  47594. $signature: 313
  47595. };
  47596. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  47597. call$1(module) {
  47598. return module.get$functions(module);
  47599. },
  47600. $signature: 179
  47601. };
  47602. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  47603. call$1(module) {
  47604. return module.get$mixins();
  47605. },
  47606. $signature: 179
  47607. };
  47608. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  47609. call$1(module) {
  47610. return module.get$transitivelyContainsCss();
  47611. },
  47612. $signature: 114
  47613. };
  47614. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  47615. call$1(module) {
  47616. return module.get$transitivelyContainsExtensions();
  47617. },
  47618. $signature: 114
  47619. };
  47620. A.AsyncImportCache.prototype = {
  47621. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  47622. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  47623. },
  47624. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  47625. var $async$goto = 0,
  47626. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47627. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  47628. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47629. if ($async$errorCode === 1)
  47630. return A._asyncRethrow($async$result, $async$completer);
  47631. while (true)
  47632. switch ($async$goto) {
  47633. case 0:
  47634. // Function start
  47635. if (A.isBrowser())
  47636. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  47637. else
  47638. t1 = false;
  47639. if (t1)
  47640. throw A.wrapException(string$.Custom);
  47641. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  47642. break;
  47643. case 3:
  47644. // then
  47645. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  47646. if (resolvedUrl == null)
  47647. resolvedUrl = url;
  47648. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  47649. $async$goto = 5;
  47650. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  47651. case 5:
  47652. // returning from await.
  47653. relativeResult = $async$result;
  47654. if (relativeResult != null) {
  47655. $async$returnValue = relativeResult;
  47656. // goto return
  47657. $async$goto = 1;
  47658. break;
  47659. }
  47660. case 4:
  47661. // join
  47662. key = new A._Record_2_forImport(url, forImport);
  47663. t1 = $async$self._async_import_cache$_canonicalizeCache;
  47664. if (t1.containsKey$1(key)) {
  47665. $async$returnValue = t1.$index(0, key);
  47666. // goto return
  47667. $async$goto = 1;
  47668. break;
  47669. }
  47670. t2 = $async$self._async_import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0;
  47671. case 6:
  47672. // for condition
  47673. if (!(i < t2.length)) {
  47674. // goto after for
  47675. $async$goto = 8;
  47676. break;
  47677. }
  47678. importer = t2[i];
  47679. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  47680. if (t4.containsKey$1(perImporterKey)) {
  47681. t7 = t4.$index(0, perImporterKey);
  47682. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  47683. } else
  47684. _1_0 = null;
  47685. _1_2_isSet = t3._is(_1_0);
  47686. result = null;
  47687. if (_1_2_isSet) {
  47688. _1_2 = _1_0._0;
  47689. t7 = _1_2 != null;
  47690. if (t7) {
  47691. t6._as(_1_2);
  47692. result = _1_2;
  47693. }
  47694. } else {
  47695. _1_2 = null;
  47696. t7 = false;
  47697. }
  47698. if (t7) {
  47699. $async$returnValue = result;
  47700. // goto return
  47701. $async$goto = 1;
  47702. break;
  47703. }
  47704. if (_1_2_isSet)
  47705. t7 = _1_2 == null;
  47706. else
  47707. t7 = false;
  47708. if (t7) {
  47709. // goto for update
  47710. $async$goto = 7;
  47711. break;
  47712. }
  47713. $async$goto = 10;
  47714. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  47715. case 10:
  47716. // returning from await.
  47717. _2_0 = $async$result;
  47718. _2_1 = _2_0._0;
  47719. _2_5_isSet = _2_1 != null;
  47720. _2_5 = null;
  47721. _2_3 = null;
  47722. t7 = false;
  47723. if (_2_5_isSet) {
  47724. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  47725. _2_3 = _2_0._1;
  47726. t7 = _2_3;
  47727. _2_5 = t7;
  47728. t7 = t7 && cacheable;
  47729. } else
  47730. result = null;
  47731. if (t7) {
  47732. t1.$indexSet(0, key, result);
  47733. $async$returnValue = result;
  47734. // goto return
  47735. $async$goto = 1;
  47736. break;
  47737. }
  47738. if (_2_5_isSet) {
  47739. t7 = _2_5;
  47740. _2_3_isSet = _2_5_isSet;
  47741. } else {
  47742. _2_3 = _2_0._1;
  47743. t7 = _2_3;
  47744. _2_3_isSet = true;
  47745. }
  47746. t7 = t7 && !cacheable;
  47747. if (t7) {
  47748. t4.$indexSet(0, perImporterKey, _2_1);
  47749. if (_2_1 != null) {
  47750. $async$returnValue = _2_1;
  47751. // goto return
  47752. $async$goto = 1;
  47753. break;
  47754. }
  47755. // goto break $label0$1
  47756. $async$goto = 9;
  47757. break;
  47758. }
  47759. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  47760. if (t7) {
  47761. if (cacheable) {
  47762. for (j = 0; j < i; ++j)
  47763. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  47764. cacheable = false;
  47765. }
  47766. if (_2_1 != null) {
  47767. $async$returnValue = _2_1;
  47768. // goto return
  47769. $async$goto = 1;
  47770. break;
  47771. }
  47772. }
  47773. case 9:
  47774. // break $label0$1
  47775. case 7:
  47776. // for update
  47777. ++i;
  47778. // goto for condition
  47779. $async$goto = 6;
  47780. break;
  47781. case 8:
  47782. // after for
  47783. if (cacheable)
  47784. t1.$indexSet(0, key, null);
  47785. $async$returnValue = null;
  47786. // goto return
  47787. $async$goto = 1;
  47788. break;
  47789. case 1:
  47790. // return
  47791. return A._asyncReturn($async$returnValue, $async$completer);
  47792. }
  47793. });
  47794. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  47795. },
  47796. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  47797. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  47798. },
  47799. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  47800. var $async$goto = 0,
  47801. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  47802. $async$returnValue, $async$self = this, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  47803. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47804. if ($async$errorCode === 1)
  47805. return A._asyncRethrow($async$result, $async$completer);
  47806. while (true)
  47807. switch ($async$goto) {
  47808. case 0:
  47809. // Function start
  47810. $async$goto = baseUrl != null ? 3 : 5;
  47811. break;
  47812. case 3:
  47813. // then
  47814. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  47815. break;
  47816. case 6:
  47817. // then
  47818. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  47819. $async$goto = 9;
  47820. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47821. case 9:
  47822. // returning from await.
  47823. t1 = $async$result;
  47824. passContainingUrl = t1;
  47825. // goto join
  47826. $async$goto = 7;
  47827. break;
  47828. case 8:
  47829. // else
  47830. passContainingUrl = true;
  47831. case 7:
  47832. // join
  47833. // goto join
  47834. $async$goto = 4;
  47835. break;
  47836. case 5:
  47837. // else
  47838. passContainingUrl = false;
  47839. case 4:
  47840. // join
  47841. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  47842. t1 = type$.nullable_Object;
  47843. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  47844. $async$goto = 10;
  47845. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  47846. case 10:
  47847. // returning from await.
  47848. result = $async$result;
  47849. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  47850. if (result == null) {
  47851. $async$returnValue = new A._Record_2(null, cacheable);
  47852. // goto return
  47853. $async$goto = 1;
  47854. break;
  47855. }
  47856. $async$goto = result.get$scheme() === "" ? 11 : 13;
  47857. break;
  47858. case 11:
  47859. // then
  47860. A.WarnForDeprecation_warnForDeprecation($async$self._async_import_cache$_logger, B.Deprecation_IMm, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  47861. // goto join
  47862. $async$goto = 12;
  47863. break;
  47864. case 13:
  47865. // else
  47866. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  47867. $async$goto = 14;
  47868. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47869. case 14:
  47870. // returning from await.
  47871. if ($async$result)
  47872. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  47873. case 12:
  47874. // join
  47875. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  47876. // goto return
  47877. $async$goto = 1;
  47878. break;
  47879. case 1:
  47880. // return
  47881. return A._asyncReturn($async$returnValue, $async$completer);
  47882. }
  47883. });
  47884. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  47885. },
  47886. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  47887. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  47888. },
  47889. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  47890. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  47891. },
  47892. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  47893. var $async$goto = 0,
  47894. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47895. $async$returnValue, $async$self = this;
  47896. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47897. if ($async$errorCode === 1)
  47898. return A._asyncRethrow($async$result, $async$completer);
  47899. while (true)
  47900. switch ($async$goto) {
  47901. case 0:
  47902. // Function start
  47903. $async$goto = 3;
  47904. 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);
  47905. case 3:
  47906. // returning from await.
  47907. $async$returnValue = $async$result;
  47908. // goto return
  47909. $async$goto = 1;
  47910. break;
  47911. case 1:
  47912. // return
  47913. return A._asyncReturn($async$returnValue, $async$completer);
  47914. }
  47915. });
  47916. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  47917. },
  47918. humanize$1(canonicalUrl) {
  47919. var t1 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  47920. t1 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(this._async_import_cache$_canonicalizeCache.get$values(0), t1), new A.AsyncImportCache_humanize_closure(canonicalUrl), t1._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure0(), t1._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure1()), new A.AsyncImportCache_humanize_closure2(canonicalUrl));
  47921. return t1 == null ? canonicalUrl : t1;
  47922. },
  47923. sourceMapUrl$1(_, canonicalUrl) {
  47924. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  47925. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  47926. return t1 == null ? canonicalUrl : t1;
  47927. }
  47928. };
  47929. A.AsyncImportCache_canonicalize_closure.prototype = {
  47930. call$0() {
  47931. var $async$goto = 0,
  47932. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47933. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  47934. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47935. if ($async$errorCode === 1)
  47936. return A._asyncRethrow($async$result, $async$completer);
  47937. while (true)
  47938. switch ($async$goto) {
  47939. case 0:
  47940. // Function start
  47941. t1 = $async$self.$this;
  47942. t2 = $async$self.baseUrl;
  47943. $async$goto = 3;
  47944. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  47945. case 3:
  47946. // returning from await.
  47947. _0_0 = $async$result;
  47948. result = _0_0._0;
  47949. _0_0._1;
  47950. if (t2 != null)
  47951. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  47952. $async$returnValue = result;
  47953. // goto return
  47954. $async$goto = 1;
  47955. break;
  47956. case 1:
  47957. // return
  47958. return A._asyncReturn($async$returnValue, $async$completer);
  47959. }
  47960. });
  47961. return A._asyncStartSync($async$call$0, $async$completer);
  47962. },
  47963. $signature: 309
  47964. };
  47965. A.AsyncImportCache__canonicalize_closure.prototype = {
  47966. call$0() {
  47967. return this.importer.canonicalize$1(0, this.url);
  47968. },
  47969. $signature: 184
  47970. };
  47971. A.AsyncImportCache_importCanonical_closure.prototype = {
  47972. call$0() {
  47973. var $async$goto = 0,
  47974. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47975. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  47976. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47977. if ($async$errorCode === 1)
  47978. return A._asyncRethrow($async$result, $async$completer);
  47979. while (true)
  47980. switch ($async$goto) {
  47981. case 0:
  47982. // Function start
  47983. t1 = $async$self.canonicalUrl;
  47984. t2 = A._Future$value($async$self.importer.load$1(0, t1), type$.nullable_ImporterResult);
  47985. $async$goto = 3;
  47986. return A._asyncAwait(t2, $async$call$0);
  47987. case 3:
  47988. // returning from await.
  47989. result = $async$result;
  47990. if (result == null) {
  47991. $async$returnValue = null;
  47992. // goto return
  47993. $async$goto = 1;
  47994. break;
  47995. }
  47996. t2 = $async$self.$this;
  47997. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  47998. t3 = result.contents;
  47999. t4 = result.syntax;
  48000. t1 = $async$self.originalUrl.resolveUri$1(t1);
  48001. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  48002. // goto return
  48003. $async$goto = 1;
  48004. break;
  48005. case 1:
  48006. // return
  48007. return A._asyncReturn($async$returnValue, $async$completer);
  48008. }
  48009. });
  48010. return A._asyncStartSync($async$call$0, $async$completer);
  48011. },
  48012. $signature: 266
  48013. };
  48014. A.AsyncImportCache_humanize_closure.prototype = {
  48015. call$1(result) {
  48016. return result._1.$eq(0, this.canonicalUrl);
  48017. },
  48018. $signature: 270
  48019. };
  48020. A.AsyncImportCache_humanize_closure0.prototype = {
  48021. call$1(result) {
  48022. return result._2;
  48023. },
  48024. $signature: 278
  48025. };
  48026. A.AsyncImportCache_humanize_closure1.prototype = {
  48027. call$1(url) {
  48028. return url.get$path(url).length;
  48029. },
  48030. $signature: 103
  48031. };
  48032. A.AsyncImportCache_humanize_closure2.prototype = {
  48033. call$1(url) {
  48034. var t1 = $.$get$url(),
  48035. t2 = this.canonicalUrl;
  48036. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  48037. },
  48038. $signature: 43
  48039. };
  48040. A.AsyncBuiltInCallable.prototype = {
  48041. callbackFor$2(positional, names) {
  48042. return new A._Record_2(this._async_built_in$_arguments, this._async_built_in$_callback);
  48043. },
  48044. $isAsyncCallable: 1,
  48045. get$name(receiver) {
  48046. return this.name;
  48047. },
  48048. get$acceptsContent() {
  48049. return this.acceptsContent;
  48050. }
  48051. };
  48052. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  48053. call$1($arguments) {
  48054. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  48055. },
  48056. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  48057. var $async$goto = 0,
  48058. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  48059. $async$returnValue, $async$self = this, t1;
  48060. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48061. if ($async$errorCode === 1)
  48062. return A._asyncRethrow($async$result, $async$completer);
  48063. while (true)
  48064. switch ($async$goto) {
  48065. case 0:
  48066. // Function start
  48067. t1 = $async$self.callback.call$1($arguments);
  48068. $async$goto = 3;
  48069. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  48070. case 3:
  48071. // returning from await.
  48072. $async$returnValue = B.C__SassNull;
  48073. // goto return
  48074. $async$goto = 1;
  48075. break;
  48076. case 1:
  48077. // return
  48078. return A._asyncReturn($async$returnValue, $async$completer);
  48079. }
  48080. });
  48081. return A._asyncStartSync($async$call$1, $async$completer);
  48082. },
  48083. $signature: 258
  48084. };
  48085. A.BuiltInCallable.prototype = {
  48086. callbackFor$2(positional, names) {
  48087. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  48088. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  48089. overload = t1[_i];
  48090. t3 = overload._0;
  48091. if (t3.matches$2(positional, names))
  48092. return overload;
  48093. mismatchDistance = t3.$arguments.length - positional;
  48094. if (minMismatchDistance != null) {
  48095. t3 = Math.abs(mismatchDistance);
  48096. t4 = Math.abs(minMismatchDistance);
  48097. if (t3 > t4)
  48098. continue;
  48099. if (t3 === t4 && mismatchDistance < 0)
  48100. continue;
  48101. }
  48102. minMismatchDistance = mismatchDistance;
  48103. fuzzyMatch = overload;
  48104. }
  48105. if (fuzzyMatch != null)
  48106. return fuzzyMatch;
  48107. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  48108. },
  48109. withName$1($name) {
  48110. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  48111. },
  48112. $isCallable0: 1,
  48113. $isAsyncCallable: 1,
  48114. $isAsyncBuiltInCallable: 1,
  48115. get$name(receiver) {
  48116. return this.name;
  48117. },
  48118. get$acceptsContent() {
  48119. return this.acceptsContent;
  48120. }
  48121. };
  48122. A.BuiltInCallable$mixin_closure.prototype = {
  48123. call$1($arguments) {
  48124. this.callback.call$1($arguments);
  48125. return B.C__SassNull;
  48126. },
  48127. $signature: 6
  48128. };
  48129. A.PlainCssCallable.prototype = {
  48130. $eq(_, other) {
  48131. if (other == null)
  48132. return false;
  48133. return other instanceof A.PlainCssCallable && this.name === other.name;
  48134. },
  48135. get$hashCode(_) {
  48136. return B.JSString_methods.get$hashCode(this.name);
  48137. },
  48138. $isCallable0: 1,
  48139. $isAsyncCallable: 1,
  48140. get$name(receiver) {
  48141. return this.name;
  48142. }
  48143. };
  48144. A.UserDefinedCallable.prototype = {
  48145. get$name(_) {
  48146. return this.declaration.name;
  48147. },
  48148. $isCallable0: 1,
  48149. $isAsyncCallable: 1
  48150. };
  48151. A._compileStylesheet_closure.prototype = {
  48152. call$1(url) {
  48153. var t1;
  48154. if (url === "") {
  48155. t1 = this.stylesheet.span;
  48156. 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();
  48157. } else
  48158. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  48159. return t1;
  48160. },
  48161. $signature: 5
  48162. };
  48163. A.CompileResult.prototype = {};
  48164. A.Configuration.prototype = {
  48165. throughForward$1($forward) {
  48166. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  48167. newValues = this._configuration$_values;
  48168. if (newValues.get$isEmpty(newValues))
  48169. return B.Configuration_Map_empty_null;
  48170. _0_0 = $forward.prefix;
  48171. if (_0_0 != null)
  48172. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  48173. _1_0 = $forward.shownVariables;
  48174. if (_1_0 != null)
  48175. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  48176. else {
  48177. _2_0 = $forward.hiddenVariables;
  48178. if (_2_0 != null) {
  48179. t1 = _2_0._base.get$isNotEmpty(0);
  48180. hiddenVariables = _2_0;
  48181. } else {
  48182. hiddenVariables = null;
  48183. t1 = false;
  48184. }
  48185. if (t1)
  48186. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  48187. }
  48188. return this._withValues$1(newValues);
  48189. },
  48190. _withValues$1(values) {
  48191. var t1 = this.__originalConfiguration;
  48192. return new A.Configuration(values, t1 == null ? this : t1);
  48193. },
  48194. toString$0(_) {
  48195. var t2, t3,
  48196. t1 = A._setArrayType([], type$.JSArray_String);
  48197. 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();) {
  48198. t3 = t2.get$current(t2);
  48199. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  48200. }
  48201. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  48202. }
  48203. };
  48204. A.ExplicitConfiguration.prototype = {
  48205. _withValues$1(values) {
  48206. var t1 = this.__originalConfiguration;
  48207. if (t1 == null)
  48208. t1 = this;
  48209. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  48210. }
  48211. };
  48212. A.ConfiguredValue.prototype = {
  48213. toString$0(_) {
  48214. return A.serializeValue(this.value, true, true);
  48215. }
  48216. };
  48217. A.Deprecation.prototype = {
  48218. _enumToString$0() {
  48219. return "Deprecation." + this._name;
  48220. },
  48221. toString$0(_) {
  48222. return this.id;
  48223. }
  48224. };
  48225. A.Deprecation_fromId_closure.prototype = {
  48226. call$1(deprecation) {
  48227. return deprecation.id === this.id;
  48228. },
  48229. $signature: 298
  48230. };
  48231. A.Environment.prototype = {
  48232. closure$0() {
  48233. var t4, t5, t6, _this = this,
  48234. t1 = _this._forwardedModules,
  48235. t2 = _this._nestedForwardedModules,
  48236. t3 = _this._variables;
  48237. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  48238. t4 = _this._variableNodes;
  48239. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  48240. t5 = _this._functions;
  48241. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  48242. t6 = _this._mixins;
  48243. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  48244. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  48245. },
  48246. forwardModule$2(module, rule) {
  48247. var view, t1, t2, _this = this,
  48248. forwardedModules = _this._forwardedModules;
  48249. if (forwardedModules == null)
  48250. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48251. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  48252. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  48253. t2 = t1.__js_helper$_current;
  48254. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  48255. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  48256. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  48257. }
  48258. _this._allModules.push(module);
  48259. forwardedModules.$indexSet(0, view, rule);
  48260. },
  48261. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  48262. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  48263. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  48264. larger = oldMembers;
  48265. smaller = newMembers;
  48266. } else {
  48267. larger = newMembers;
  48268. smaller = oldMembers;
  48269. }
  48270. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  48271. t4 = t2.get$current(t2);
  48272. $name = t4._0;
  48273. small = t4._1;
  48274. large = larger.$index(0, $name);
  48275. if (large == null)
  48276. continue;
  48277. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  48278. continue;
  48279. if (t3)
  48280. $name = "$" + $name;
  48281. t2 = this._forwardedModules;
  48282. if (t2 == null)
  48283. span = null;
  48284. else {
  48285. t2 = t2.$index(0, oldModule);
  48286. span = t2 == null ? null : J.get$span$z(t2);
  48287. }
  48288. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  48289. if (span != null)
  48290. t2.$indexSet(0, span, "original @forward");
  48291. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  48292. }
  48293. },
  48294. importForwards$1(module) {
  48295. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, _length, _list, _this = this,
  48296. forwarded = module._environment$_environment._forwardedModules;
  48297. if (forwarded == null)
  48298. return;
  48299. forwardedModules = _this._forwardedModules;
  48300. if (forwardedModules != null) {
  48301. t1 = type$.Module_Callable;
  48302. t2 = type$.AstNode;
  48303. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  48304. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  48305. t4 = t1.get$current(t1);
  48306. module = t4._0;
  48307. node = t4._1;
  48308. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  48309. t3.$indexSet(0, module, node);
  48310. }
  48311. forwarded = t3;
  48312. } else
  48313. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48314. t1 = type$.String;
  48315. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48316. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  48317. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  48318. t2.add$1(0, t4.get$current(t4));
  48319. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48320. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  48321. t5 = t4.__js_helper$_current;
  48322. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48323. t3.add$1(0, t5.get$current(t5));
  48324. }
  48325. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48326. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  48327. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48328. t1.add$1(0, t5.get$current(t5));
  48329. t4 = _this._variables;
  48330. t5 = t4.length;
  48331. if (t5 === 1) {
  48332. 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) {
  48333. t11 = t8[_i];
  48334. module = t11._0;
  48335. node = t11._1;
  48336. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48337. if (shadowed != null) {
  48338. t5.remove$1(0, module);
  48339. t11 = shadowed.variables;
  48340. t12 = false;
  48341. if (t11.get$isEmpty(t11)) {
  48342. t11 = shadowed.functions;
  48343. if (t11.get$isEmpty(t11)) {
  48344. t11 = shadowed.mixins;
  48345. if (t11.get$isEmpty(t11)) {
  48346. t11 = shadowed._shadowed_view$_inner;
  48347. t11 = t11.get$css(t11);
  48348. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  48349. } else
  48350. t11 = t12;
  48351. } else
  48352. t11 = t12;
  48353. } else
  48354. t11 = t12;
  48355. if (!t11)
  48356. t5.$indexSet(0, shadowed, node);
  48357. }
  48358. }
  48359. 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) {
  48360. t8 = t6[_i];
  48361. module = t8._0;
  48362. node = t8._1;
  48363. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48364. if (shadowed != null) {
  48365. forwardedModules.remove$1(0, module);
  48366. t8 = shadowed.variables;
  48367. t9 = false;
  48368. if (t8.get$isEmpty(t8)) {
  48369. t8 = shadowed.functions;
  48370. if (t8.get$isEmpty(t8)) {
  48371. t8 = shadowed.mixins;
  48372. if (t8.get$isEmpty(t8)) {
  48373. t8 = shadowed._shadowed_view$_inner;
  48374. t8 = t8.get$css(t8);
  48375. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  48376. } else
  48377. t8 = t9;
  48378. } else
  48379. t8 = t9;
  48380. } else
  48381. t8 = t9;
  48382. if (!t8)
  48383. forwardedModules.$indexSet(0, shadowed, node);
  48384. }
  48385. }
  48386. t5.addAll$1(0, forwarded);
  48387. forwardedModules.addAll$1(0, forwarded);
  48388. } else {
  48389. t6 = _this._nestedForwardedModules;
  48390. if (t6 == null) {
  48391. _length = t5 - 1;
  48392. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  48393. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  48394. _list[_i] = A._setArrayType([], t5);
  48395. _this._nestedForwardedModules = _list;
  48396. t5 = _list;
  48397. } else
  48398. t5 = t6;
  48399. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  48400. }
  48401. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48402. t8 = t2._collection$_current;
  48403. if (t8 == null)
  48404. t8 = t7._as(t8);
  48405. t5.remove$1(0, t8);
  48406. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  48407. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  48408. }
  48409. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48410. t6 = t2._collection$_current;
  48411. if (t6 == null)
  48412. t6 = t5._as(t6);
  48413. t3.remove$1(0, t6);
  48414. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  48415. }
  48416. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  48417. t5 = t1._collection$_current;
  48418. if (t5 == null)
  48419. t5 = t4._as(t5);
  48420. t2.remove$1(0, t5);
  48421. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  48422. }
  48423. },
  48424. getVariable$2$namespace($name, namespace) {
  48425. var t1, _0_0, _1_0, _this = this;
  48426. if (namespace != null)
  48427. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  48428. if (_this._lastVariableName === $name) {
  48429. t1 = _this._lastVariableIndex;
  48430. t1.toString;
  48431. t1 = J.$index$asx(_this._variables[t1], $name);
  48432. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48433. }
  48434. t1 = _this._variableIndices;
  48435. _0_0 = t1.$index(0, $name);
  48436. if (_0_0 != null) {
  48437. _this._lastVariableName = $name;
  48438. _this._lastVariableIndex = _0_0;
  48439. t1 = J.$index$asx(_this._variables[_0_0], $name);
  48440. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48441. } else {
  48442. _1_0 = _this._variableIndex$1($name);
  48443. if (_1_0 != null) {
  48444. _this._lastVariableName = $name;
  48445. _this._lastVariableIndex = _1_0;
  48446. t1.$indexSet(0, $name, _1_0);
  48447. t1 = J.$index$asx(_this._variables[_1_0], $name);
  48448. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48449. } else
  48450. return _this._getVariableFromGlobalModule$1($name);
  48451. }
  48452. },
  48453. getVariable$1($name) {
  48454. return this.getVariable$2$namespace($name, null);
  48455. },
  48456. _getVariableFromGlobalModule$1($name) {
  48457. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  48458. },
  48459. getVariableNode$2$namespace($name, namespace) {
  48460. var t1, _0_0, _1_0, _this = this;
  48461. if (namespace != null)
  48462. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  48463. if (_this._lastVariableName === $name) {
  48464. t1 = _this._lastVariableIndex;
  48465. t1.toString;
  48466. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  48467. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48468. }
  48469. t1 = _this._variableIndices;
  48470. _0_0 = t1.$index(0, $name);
  48471. if (_0_0 != null) {
  48472. _this._lastVariableName = $name;
  48473. _this._lastVariableIndex = _0_0;
  48474. t1 = J.$index$asx(_this._variableNodes[_0_0], $name);
  48475. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48476. } else {
  48477. _1_0 = _this._variableIndex$1($name);
  48478. if (_1_0 != null) {
  48479. _this._lastVariableName = $name;
  48480. _this._lastVariableIndex = _1_0;
  48481. t1.$indexSet(0, $name, _1_0);
  48482. t1 = J.$index$asx(_this._variableNodes[_1_0], $name);
  48483. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48484. } else
  48485. return _this._getVariableNodeFromGlobalModule$1($name);
  48486. }
  48487. },
  48488. _getVariableNodeFromGlobalModule$1($name) {
  48489. var t1, t2, _0_0;
  48490. 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();) {
  48491. t1 = t2._currentIterator;
  48492. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  48493. if (_0_0 != null)
  48494. return _0_0;
  48495. }
  48496. return null;
  48497. },
  48498. globalVariableExists$2$namespace($name, namespace) {
  48499. if (namespace != null)
  48500. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  48501. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  48502. return true;
  48503. return this._getVariableFromGlobalModule$1($name) != null;
  48504. },
  48505. globalVariableExists$1($name) {
  48506. return this.globalVariableExists$2$namespace($name, null);
  48507. },
  48508. _variableIndex$1($name) {
  48509. var t1, i;
  48510. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  48511. if (t1[i].containsKey$1($name))
  48512. return i;
  48513. return null;
  48514. },
  48515. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  48516. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  48517. if (namespace != null) {
  48518. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  48519. return;
  48520. }
  48521. if (global || _this._variables.length === 1) {
  48522. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  48523. t1 = _this._variables;
  48524. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  48525. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  48526. if (moduleWithName != null) {
  48527. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  48528. return;
  48529. }
  48530. }
  48531. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  48532. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  48533. return;
  48534. }
  48535. nestedForwardedModules = _this._nestedForwardedModules;
  48536. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  48537. for (t1 = A._arrayInstanceType(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();) {
  48538. t3 = t2.__internal$_current;
  48539. 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();) {
  48540. t5 = t3.__internal$_current;
  48541. if (t5 == null)
  48542. t5 = t4._as(t5);
  48543. if (t5.get$variables().containsKey$1($name)) {
  48544. t5.setVariable$3($name, value, nodeWithSpan);
  48545. return;
  48546. }
  48547. }
  48548. }
  48549. if (_this._lastVariableName === $name) {
  48550. t1 = _this._lastVariableIndex;
  48551. t1.toString;
  48552. index = t1;
  48553. } else
  48554. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  48555. if (!_this._inSemiGlobalScope && index === 0) {
  48556. index = _this._variables.length - 1;
  48557. _this._variableIndices.$indexSet(0, $name, index);
  48558. }
  48559. _this._lastVariableName = $name;
  48560. _this._lastVariableIndex = index;
  48561. J.$indexSet$ax(_this._variables[index], $name, value);
  48562. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48563. },
  48564. setVariable$4$global($name, value, nodeWithSpan, global) {
  48565. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  48566. },
  48567. setLocalVariable$3($name, value, nodeWithSpan) {
  48568. var index, _this = this,
  48569. t1 = _this._variables,
  48570. t2 = t1.length;
  48571. _this._lastVariableName = $name;
  48572. index = _this._lastVariableIndex = t2 - 1;
  48573. _this._variableIndices.$indexSet(0, $name, index);
  48574. J.$indexSet$ax(t1[index], $name, value);
  48575. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48576. },
  48577. getFunction$2$namespace($name, namespace) {
  48578. var t1, _0_0, _1_0, _this = this;
  48579. if (namespace != null) {
  48580. t1 = _this._getModule$1(namespace);
  48581. return t1.get$functions(t1).$index(0, $name);
  48582. }
  48583. t1 = _this._functionIndices;
  48584. _0_0 = t1.$index(0, $name);
  48585. if (_0_0 != null) {
  48586. t1 = J.$index$asx(_this._functions[_0_0], $name);
  48587. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48588. } else {
  48589. _1_0 = _this._functionIndex$1($name);
  48590. if (_1_0 != null) {
  48591. t1.$indexSet(0, $name, _1_0);
  48592. t1 = J.$index$asx(_this._functions[_1_0], $name);
  48593. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48594. } else
  48595. return _this._getFunctionFromGlobalModule$1($name);
  48596. }
  48597. },
  48598. getFunction$1($name) {
  48599. return this.getFunction$2$namespace($name, null);
  48600. },
  48601. _getFunctionFromGlobalModule$1($name) {
  48602. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  48603. },
  48604. _functionIndex$1($name) {
  48605. var t1, i;
  48606. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  48607. if (t1[i].containsKey$1($name))
  48608. return i;
  48609. return null;
  48610. },
  48611. getMixin$2$namespace($name, namespace) {
  48612. var t1, _0_0, _1_0, _this = this;
  48613. if (namespace != null)
  48614. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  48615. t1 = _this._mixinIndices;
  48616. _0_0 = t1.$index(0, $name);
  48617. if (_0_0 != null) {
  48618. t1 = J.$index$asx(_this._mixins[_0_0], $name);
  48619. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48620. } else {
  48621. _1_0 = _this._mixinIndex$1($name);
  48622. if (_1_0 != null) {
  48623. t1.$indexSet(0, $name, _1_0);
  48624. t1 = J.$index$asx(_this._mixins[_1_0], $name);
  48625. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48626. } else
  48627. return _this._getMixinFromGlobalModule$1($name);
  48628. }
  48629. },
  48630. _getMixinFromGlobalModule$1($name) {
  48631. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  48632. },
  48633. _mixinIndex$1($name) {
  48634. var t1, i;
  48635. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  48636. if (t1[i].containsKey$1($name))
  48637. return i;
  48638. return null;
  48639. },
  48640. withContent$2($content, callback) {
  48641. var oldContent = this._content;
  48642. this._content = $content;
  48643. callback.call$0();
  48644. this._content = oldContent;
  48645. },
  48646. asMixin$1(callback) {
  48647. var oldInMixin = this._inMixin;
  48648. this._inMixin = true;
  48649. callback.call$0();
  48650. this._inMixin = oldInMixin;
  48651. },
  48652. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  48653. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  48654. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  48655. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  48656. _this._inSemiGlobalScope = semiGlobal;
  48657. if (!when)
  48658. try {
  48659. t1 = callback.call$0();
  48660. return t1;
  48661. } finally {
  48662. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48663. }
  48664. t1 = _this._variables;
  48665. t2 = type$.String;
  48666. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  48667. t3 = _this._variableNodes;
  48668. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  48669. t4 = _this._functions;
  48670. t5 = type$.Callable;
  48671. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48672. t6 = _this._mixins;
  48673. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48674. t5 = _this._nestedForwardedModules;
  48675. if (t5 != null)
  48676. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  48677. try {
  48678. t2 = callback.call$0();
  48679. return t2;
  48680. } finally {
  48681. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48682. _this._lastVariableIndex = _this._lastVariableName = null;
  48683. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  48684. $name = t1.get$current(t1);
  48685. t2.remove$1(0, $name);
  48686. }
  48687. B.JSArray_methods.removeLast$0(t3);
  48688. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  48689. name0 = t1.get$current(t1);
  48690. t2.remove$1(0, name0);
  48691. }
  48692. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  48693. name1 = t1.get$current(t1);
  48694. t2.remove$1(0, name1);
  48695. }
  48696. t1 = _this._nestedForwardedModules;
  48697. if (t1 != null)
  48698. t1.pop();
  48699. }
  48700. },
  48701. scope$1$1(callback) {
  48702. return this.scope$1$3$semiGlobal$when(callback, false, true);
  48703. },
  48704. scope$1$2$when(callback, when) {
  48705. return this.scope$1$3$semiGlobal$when(callback, false, when);
  48706. },
  48707. scope$1$2$semiGlobal(callback, semiGlobal) {
  48708. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  48709. },
  48710. toImplicitConfiguration$0() {
  48711. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  48712. t1 = type$.String,
  48713. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  48714. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  48715. values = t2[i];
  48716. nodes = t4[i];
  48717. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  48718. t6 = t5.get$current(t5);
  48719. $name = t6._0;
  48720. value = t6._1;
  48721. t6 = nodes.$index(0, $name);
  48722. t6.toString;
  48723. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  48724. }
  48725. }
  48726. return new A.Configuration(configuration, null);
  48727. },
  48728. toModule$3(css, preModuleComments, extensionStore) {
  48729. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  48730. },
  48731. toDummyModule$0() {
  48732. 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()));
  48733. },
  48734. _getModule$1(namespace) {
  48735. var _0_0 = this._environment$_modules.$index(0, namespace);
  48736. if (_0_0 != null)
  48737. return _0_0;
  48738. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  48739. },
  48740. _fromOneModule$1$3($name, type, callback) {
  48741. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  48742. _0_0 = this._nestedForwardedModules;
  48743. if (_0_0 != null)
  48744. 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();) {
  48745. t3 = t2.__internal$_current;
  48746. 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();) {
  48747. t5 = t3.__internal$_current;
  48748. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  48749. if (_1_0 != null)
  48750. return _1_0;
  48751. }
  48752. }
  48753. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  48754. _2_0 = callback.call$1(t1.__js_helper$_current);
  48755. if (_2_0 != null)
  48756. return _2_0;
  48757. }
  48758. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  48759. t4 = t2.__js_helper$_current;
  48760. valueInModule = callback.call$1(t4);
  48761. if (valueInModule == null)
  48762. continue;
  48763. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  48764. if (identityFromModule.$eq(0, identity))
  48765. continue;
  48766. if (value != null) {
  48767. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  48768. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  48769. t1 = t3.get$current(t3);
  48770. module = t1._0;
  48771. node = t1._1;
  48772. if (callback.call$1(module) != null)
  48773. t2.$indexSet(0, node.get$span(node), t4);
  48774. }
  48775. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  48776. }
  48777. identity = identityFromModule;
  48778. value = valueInModule;
  48779. }
  48780. return value;
  48781. },
  48782. _fromOneModule$3($name, type, callback) {
  48783. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  48784. }
  48785. };
  48786. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  48787. call$1(module) {
  48788. return module.get$variables().$index(0, this.name);
  48789. },
  48790. $signature: 301
  48791. };
  48792. A.Environment_setVariable_closure.prototype = {
  48793. call$0() {
  48794. var t1 = this.$this;
  48795. t1._lastVariableName = this.name;
  48796. return t1._lastVariableIndex = 0;
  48797. },
  48798. $signature: 10
  48799. };
  48800. A.Environment_setVariable_closure0.prototype = {
  48801. call$1(module) {
  48802. return module.get$variables().containsKey$1(this.name) ? module : null;
  48803. },
  48804. $signature: 302
  48805. };
  48806. A.Environment_setVariable_closure1.prototype = {
  48807. call$0() {
  48808. var t1 = this.$this,
  48809. t2 = t1._variableIndex$1(this.name);
  48810. return t2 == null ? t1._variables.length - 1 : t2;
  48811. },
  48812. $signature: 10
  48813. };
  48814. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  48815. call$1(module) {
  48816. return module.get$functions(module).$index(0, this.name);
  48817. },
  48818. $signature: 253
  48819. };
  48820. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  48821. call$1(module) {
  48822. return module.get$mixins().$index(0, this.name);
  48823. },
  48824. $signature: 253
  48825. };
  48826. A.Environment_toModule_closure.prototype = {
  48827. call$1(modules) {
  48828. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48829. },
  48830. $signature: 247
  48831. };
  48832. A.Environment_toDummyModule_closure.prototype = {
  48833. call$1(modules) {
  48834. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48835. },
  48836. $signature: 247
  48837. };
  48838. A._EnvironmentModule.prototype = {
  48839. get$url(_) {
  48840. var t1 = this.css;
  48841. t1 = t1.get$span(t1);
  48842. return t1.get$sourceUrl(t1);
  48843. },
  48844. setVariable$3($name, value, nodeWithSpan) {
  48845. var t1, t2,
  48846. _0_0 = this._modulesByVariable.$index(0, $name);
  48847. if (_0_0 != null) {
  48848. _0_0.setVariable$3($name, value, nodeWithSpan);
  48849. return;
  48850. }
  48851. t1 = this._environment$_environment;
  48852. t2 = t1._variables;
  48853. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  48854. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  48855. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  48856. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  48857. return;
  48858. },
  48859. variableIdentity$1($name) {
  48860. var module = this._modulesByVariable.$index(0, $name);
  48861. return module == null ? this : module.variableIdentity$1($name);
  48862. },
  48863. cloneCss$0() {
  48864. var _0_0, _this = this;
  48865. if (!_this.transitivelyContainsCss)
  48866. return _this;
  48867. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  48868. 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);
  48869. },
  48870. toString$0(_) {
  48871. var t1 = this.css,
  48872. t2 = t1.get$span(t1);
  48873. if (t2.get$sourceUrl(t2) == null)
  48874. t1 = "<unknown url>";
  48875. else {
  48876. t1 = t1.get$span(t1);
  48877. t1 = t1.get$sourceUrl(t1);
  48878. t2 = $.$get$context();
  48879. t1.toString;
  48880. t1 = t2.prettyUri$1(t1);
  48881. }
  48882. return t1;
  48883. },
  48884. $isModule0: 1,
  48885. get$upstream() {
  48886. return this.upstream;
  48887. },
  48888. get$variables() {
  48889. return this.variables;
  48890. },
  48891. get$variableNodes() {
  48892. return this.variableNodes;
  48893. },
  48894. get$functions(receiver) {
  48895. return this.functions;
  48896. },
  48897. get$mixins() {
  48898. return this.mixins;
  48899. },
  48900. get$extensionStore() {
  48901. return this.extensionStore;
  48902. },
  48903. get$css(receiver) {
  48904. return this.css;
  48905. },
  48906. get$preModuleComments() {
  48907. return this.preModuleComments;
  48908. },
  48909. get$transitivelyContainsCss() {
  48910. return this.transitivelyContainsCss;
  48911. },
  48912. get$transitivelyContainsExtensions() {
  48913. return this.transitivelyContainsExtensions;
  48914. }
  48915. };
  48916. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  48917. call$1(module) {
  48918. return module.get$variables();
  48919. },
  48920. $signature: 314
  48921. };
  48922. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  48923. call$1(module) {
  48924. return module.get$variableNodes();
  48925. },
  48926. $signature: 316
  48927. };
  48928. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  48929. call$1(module) {
  48930. return module.get$functions(module);
  48931. },
  48932. $signature: 240
  48933. };
  48934. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  48935. call$1(module) {
  48936. return module.get$mixins();
  48937. },
  48938. $signature: 240
  48939. };
  48940. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  48941. call$1(module) {
  48942. return module.get$transitivelyContainsCss();
  48943. },
  48944. $signature: 110
  48945. };
  48946. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  48947. call$1(module) {
  48948. return module.get$transitivelyContainsExtensions();
  48949. },
  48950. $signature: 110
  48951. };
  48952. A.SassException.prototype = {
  48953. get$trace(_) {
  48954. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  48955. },
  48956. get$span(_) {
  48957. return A.SourceSpanException.prototype.get$span.call(this, 0);
  48958. },
  48959. withAdditionalSpan$2(span, label) {
  48960. 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);
  48961. },
  48962. withTrace$1(trace) {
  48963. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48964. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  48965. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  48966. },
  48967. withLoadedUrls$1(loadedUrls) {
  48968. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48969. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  48970. return new A.SassException(t2, this._span_exception$_message, t1);
  48971. },
  48972. toString$1$color(_, color) {
  48973. var t2, _i, frame, t3, _this = this,
  48974. buffer = new A.StringBuffer(""),
  48975. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  48976. buffer._contents = t1;
  48977. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  48978. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48979. frame = t1[_i];
  48980. if (J.get$length$asx(frame) === 0)
  48981. continue;
  48982. t3 = buffer._contents += "\n";
  48983. buffer._contents = t3 + (" " + A.S(frame));
  48984. }
  48985. t1 = buffer._contents;
  48986. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48987. },
  48988. toString$0(_) {
  48989. return this.toString$1$color(0, null);
  48990. },
  48991. toCssString$0() {
  48992. var commentMessage, stringMessage, rune,
  48993. t1 = $._glyphs,
  48994. t2 = $._glyphs = B.C_AsciiGlyphSet,
  48995. t3 = this.toString$1$color(0, false);
  48996. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  48997. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  48998. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  48999. stringMessage = new A.StringBuffer("");
  49000. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  49001. rune = t1._currentCodePoint;
  49002. if (rune > 127) {
  49003. t2 = A.Primitives_stringFromCharCode(92);
  49004. stringMessage._contents += t2;
  49005. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  49006. stringMessage._contents += t2;
  49007. t2 = A.Primitives_stringFromCharCode(32);
  49008. stringMessage._contents += t2;
  49009. } else {
  49010. t2 = A.Primitives_stringFromCharCode(rune);
  49011. stringMessage._contents += t2;
  49012. }
  49013. }
  49014. 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}";
  49015. }
  49016. };
  49017. A.MultiSpanSassException.prototype = {
  49018. withAdditionalSpan$2(span, label) {
  49019. var _this = this,
  49020. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49021. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49022. t2.$indexSet(0, span, label);
  49023. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  49024. },
  49025. withTrace$1(trace) {
  49026. var _this = this;
  49027. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  49028. },
  49029. withLoadedUrls$1(loadedUrls) {
  49030. var _this = this;
  49031. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  49032. },
  49033. toString$1$color(_, color) {
  49034. var t1, t2, _i, frame, t3, _this = this,
  49035. useColor = color === true,
  49036. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  49037. 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));
  49038. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  49039. frame = t1[_i];
  49040. if (J.get$length$asx(frame) === 0)
  49041. continue;
  49042. buffer._contents += "\n";
  49043. t3 = " " + A.S(frame);
  49044. buffer._contents += t3;
  49045. }
  49046. t1 = buffer._contents;
  49047. return t1.charCodeAt(0) == 0 ? t1 : t1;
  49048. },
  49049. toString$0(_) {
  49050. return this.toString$1$color(0, null);
  49051. },
  49052. get$primaryLabel() {
  49053. return this.primaryLabel;
  49054. },
  49055. get$secondarySpans() {
  49056. return this.secondarySpans;
  49057. }
  49058. };
  49059. A.SassRuntimeException.prototype = {
  49060. withAdditionalSpan$2(span, label) {
  49061. var _this = this;
  49062. 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);
  49063. },
  49064. withLoadedUrls$1(loadedUrls) {
  49065. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  49066. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  49067. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  49068. },
  49069. get$trace(receiver) {
  49070. return this.trace;
  49071. }
  49072. };
  49073. A.MultiSpanSassRuntimeException.prototype = {
  49074. withAdditionalSpan$2(span, label) {
  49075. var _this = this,
  49076. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49077. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49078. t2.$indexSet(0, span, label);
  49079. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  49080. },
  49081. withLoadedUrls$1(loadedUrls) {
  49082. var _this = this;
  49083. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  49084. },
  49085. $isSassRuntimeException: 1,
  49086. get$trace(receiver) {
  49087. return this.trace;
  49088. }
  49089. };
  49090. A.SassFormatException.prototype = {
  49091. get$source() {
  49092. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49093. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49094. },
  49095. withAdditionalSpan$2(span, label) {
  49096. 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);
  49097. },
  49098. withLoadedUrls$1(loadedUrls) {
  49099. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  49100. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  49101. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  49102. },
  49103. $isFormatException: 1,
  49104. $isSourceSpanFormatException: 1
  49105. };
  49106. A.MultiSpanSassFormatException.prototype = {
  49107. get$source() {
  49108. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49109. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49110. },
  49111. withAdditionalSpan$2(span, label) {
  49112. var _this = this,
  49113. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49114. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49115. t2.$indexSet(0, span, label);
  49116. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  49117. },
  49118. withLoadedUrls$1(loadedUrls) {
  49119. var _this = this;
  49120. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  49121. },
  49122. $isFormatException: 1,
  49123. $isSassFormatException: 1,
  49124. $isSourceSpanFormatException: 1,
  49125. $isMultiSourceSpanFormatException: 1
  49126. };
  49127. A.SassScriptException.prototype = {
  49128. withSpan$1(span) {
  49129. return new A.SassException(B.Set_empty, this.message, span);
  49130. },
  49131. toString$0(_) {
  49132. return this.message + string$.x0a_BUG_;
  49133. },
  49134. get$message(receiver) {
  49135. return this.message;
  49136. }
  49137. };
  49138. A.MultiSpanSassScriptException.prototype = {
  49139. withSpan$1(span) {
  49140. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  49141. }
  49142. };
  49143. A._writeSourceMap_closure.prototype = {
  49144. call$1(url) {
  49145. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  49146. },
  49147. $signature: 5
  49148. };
  49149. A.ExecutableOptions.prototype = {
  49150. get$interactive() {
  49151. var result, _this = this,
  49152. value = _this.__ExecutableOptions_interactive_FI;
  49153. if (value === $) {
  49154. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  49155. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  49156. _this.__ExecutableOptions_interactive_FI = result;
  49157. value = result;
  49158. }
  49159. return value;
  49160. },
  49161. get$color() {
  49162. var t1 = this._options;
  49163. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  49164. },
  49165. get$pkgImporters() {
  49166. var t2, t3, t4, _null = null,
  49167. t1 = A._setArrayType([], type$.JSArray_Importer);
  49168. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  49169. t2.get$current(t2);
  49170. t3 = new A.NodePackageImporter();
  49171. t4 = self.process;
  49172. if (t4 == null)
  49173. t4 = _null;
  49174. else {
  49175. t4 = J.get$release$x(t4);
  49176. t4 = t4 == null ? _null : J.get$name$x(t4);
  49177. }
  49178. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  49179. A.throwExpression(string$.The_No);
  49180. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49181. t1.push(t3);
  49182. }
  49183. return t1;
  49184. },
  49185. get$emitErrorCss() {
  49186. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  49187. if (t1 == null) {
  49188. this._ensureSources$0();
  49189. t1 = this._sourcesToDestinations;
  49190. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  49191. }
  49192. return t1;
  49193. },
  49194. _ensureSources$0() {
  49195. 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,
  49196. _s18_ = 'Duplicate source "';
  49197. if (_this._sourcesToDestinations != null)
  49198. return;
  49199. t1 = _this._options;
  49200. stdin = A._asBool(t1.$index(0, "stdin"));
  49201. t2 = t1.rest;
  49202. if (t2.get$length(0) === 0 && !stdin)
  49203. A.ExecutableOptions__fail("Compile Sass to CSS.");
  49204. t3 = type$.String;
  49205. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49206. 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();) {
  49207. t7 = t6.__internal$_current;
  49208. if (t7 == null)
  49209. t7 = t4._as(t7);
  49210. t8 = t7.length;
  49211. if (t8 === 0)
  49212. A.ExecutableOptions__fail('Invalid argument "".');
  49213. if (A.stringContainsUnchecked(t7, ":", 0)) {
  49214. if (t8 > 2) {
  49215. t9 = t7.charCodeAt(0);
  49216. if (!(t9 >= 97 && t9 <= 122))
  49217. t9 = t9 >= 65 && t9 <= 90;
  49218. else
  49219. t9 = true;
  49220. t9 = t9 && t7.charCodeAt(1) === 58;
  49221. } else
  49222. t9 = false;
  49223. if (t9) {
  49224. if (2 > t8)
  49225. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  49226. t8 = A.stringContainsUnchecked(t7, ":", 2);
  49227. } else
  49228. t8 = true;
  49229. } else
  49230. t8 = false;
  49231. if (t8)
  49232. colonArgs = true;
  49233. else if (A.dirExists(t7))
  49234. $directories.add$1(0, t7);
  49235. else
  49236. positionalArgs = true;
  49237. }
  49238. if (positionalArgs || t2.get$length(0) === 0) {
  49239. if (colonArgs)
  49240. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  49241. else if (stdin) {
  49242. if (J.get$length$asx(t2._collection$_source) > 1)
  49243. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  49244. else if (A._asBool(t1.$index(0, "update")))
  49245. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  49246. else if (A._asBool(t1.$index(0, "watch")))
  49247. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  49248. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  49249. t2 = type$.dynamic;
  49250. t3 = type$.nullable_String;
  49251. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  49252. } else {
  49253. t3 = t2._collection$_source;
  49254. t4 = J.getInterceptor$asx(t3);
  49255. if (t4.get$length(t3) > 2)
  49256. A.ExecutableOptions__fail("Only two positional args may be passed.");
  49257. else if ($directories._collection$_length !== 0) {
  49258. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  49259. target = t2.get$last(t2);
  49260. 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);
  49261. } else {
  49262. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  49263. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  49264. if (destination == null)
  49265. if (A._asBool(t1.$index(0, "update")))
  49266. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  49267. else if (A._asBool(t1.$index(0, "watch")))
  49268. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  49269. t1 = A.PathMap__create(_null, type$.nullable_String);
  49270. t1.$indexSet(0, source, destination);
  49271. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49272. }
  49273. }
  49274. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49275. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  49276. return;
  49277. }
  49278. if (stdin)
  49279. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  49280. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49281. t1 = A.PathMap__create(_null, t3);
  49282. t6 = type$.PathMap_String;
  49283. t3 = A.PathMap__create(_null, t3);
  49284. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  49285. t5 = t2.__internal$_current;
  49286. if (t5 == null)
  49287. t5 = t4._as(t5);
  49288. if ($directories.contains$1(0, t5)) {
  49289. if (!seen.add$1(0, t5))
  49290. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  49291. t3.$indexSet(0, t5, t5);
  49292. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  49293. continue;
  49294. }
  49295. _0_0 = _this._splitSourceAndDestination$1(t5);
  49296. source = _0_0._0;
  49297. destination = _0_0._1;
  49298. if (!seen.add$1(0, source))
  49299. A.ExecutableOptions__fail(_s18_ + source + '".');
  49300. if (source === "-")
  49301. t1.$indexSet(0, _null, destination);
  49302. else if (A.dirExists(source)) {
  49303. t3.$indexSet(0, source, destination);
  49304. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  49305. } else
  49306. t1.$indexSet(0, source, destination);
  49307. }
  49308. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49309. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49310. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  49311. },
  49312. _splitSourceAndDestination$1(argument) {
  49313. var t1, i, t2, t3, nextColon;
  49314. for (t1 = argument.length, i = 0; i < t1; ++i) {
  49315. t2 = false;
  49316. if (i === 1) {
  49317. t3 = i - 1;
  49318. if (t1 > t3 + 2) {
  49319. t2 = argument.charCodeAt(t3);
  49320. if (!(t2 >= 97 && t2 <= 122))
  49321. t2 = t2 >= 65 && t2 <= 90;
  49322. else
  49323. t2 = true;
  49324. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  49325. }
  49326. }
  49327. if (t2)
  49328. continue;
  49329. if (argument.charCodeAt(i) === 58) {
  49330. t2 = i + 1;
  49331. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  49332. t3 = false;
  49333. if (nextColon === i + 2)
  49334. if (t1 > t2 + 2) {
  49335. t1 = argument.charCodeAt(t2);
  49336. if (!(t1 >= 97 && t1 <= 122))
  49337. t1 = t1 >= 65 && t1 <= 90;
  49338. else
  49339. t1 = true;
  49340. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  49341. } else
  49342. t1 = t3;
  49343. else
  49344. t1 = t3;
  49345. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  49346. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  49347. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  49348. }
  49349. }
  49350. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  49351. },
  49352. _listSourceDirectory$2(source, destination) {
  49353. var t2, t3, t4, t5,
  49354. t1 = type$.String;
  49355. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49356. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  49357. t4 = t2.get$current(t2);
  49358. if (this._isEntrypoint$1(t4))
  49359. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  49360. else
  49361. t5 = false;
  49362. if (t5) {
  49363. t5 = $.$get$context();
  49364. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  49365. }
  49366. }
  49367. return t1;
  49368. },
  49369. _isEntrypoint$1(path) {
  49370. var extension,
  49371. t1 = $.$get$context().style;
  49372. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  49373. return false;
  49374. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  49375. return extension === ".scss" || extension === ".sass" || extension === ".css";
  49376. },
  49377. get$_writeToStdout() {
  49378. var t1, _this = this;
  49379. _this._ensureSources$0();
  49380. t1 = _this._sourcesToDestinations;
  49381. if (t1.get$length(t1) === 1) {
  49382. _this._ensureSources$0();
  49383. t1 = _this._sourcesToDestinations;
  49384. t1 = t1.get$values(t1);
  49385. t1 = t1.get$single(t1) == null;
  49386. } else
  49387. t1 = false;
  49388. return t1;
  49389. },
  49390. get$emitSourceMap() {
  49391. var _this = this,
  49392. _s10_ = "source-map",
  49393. _s15_ = "source-map-urls",
  49394. _s13_ = "embed-sources",
  49395. _s16_ = "embed-source-map",
  49396. t1 = _this._options;
  49397. if (!A._asBool(t1.$index(0, _s10_)))
  49398. if (t1.wasParsed$1(_s15_))
  49399. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  49400. else if (t1.wasParsed$1(_s13_))
  49401. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  49402. else if (t1.wasParsed$1(_s16_))
  49403. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  49404. if (!_this.get$_writeToStdout())
  49405. return A._asBool(t1.$index(0, _s10_));
  49406. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  49407. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  49408. if (A._asBool(t1.$index(0, _s16_)))
  49409. return A._asBool(t1.$index(0, _s10_));
  49410. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  49411. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  49412. else if (t1.wasParsed$1(_s15_))
  49413. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  49414. else if (A._asBool(t1.$index(0, _s13_)))
  49415. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  49416. else
  49417. return false;
  49418. },
  49419. sourceMapUrl$2(_, url, destination) {
  49420. var t1, path, t2, _null = null;
  49421. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  49422. return url;
  49423. t1 = $.$get$context();
  49424. path = t1.style.pathFromUri$1(A._parseUri(url));
  49425. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  49426. destination.toString;
  49427. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  49428. } else
  49429. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49430. return t1.toUri$1(t2);
  49431. },
  49432. get$silenceDeprecations(_) {
  49433. var t2, t3, t4,
  49434. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49435. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  49436. t3 = t2.get$current(t2);
  49437. t4 = A.Deprecation_fromId(t3);
  49438. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  49439. }
  49440. return t1;
  49441. },
  49442. get$fatalDeprecations(_) {
  49443. var t1 = this._fatalDeprecations;
  49444. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  49445. },
  49446. get$futureDeprecations(_) {
  49447. var t2, t3, t4,
  49448. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49449. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  49450. t3 = t2.get$current(t2);
  49451. t4 = A.Deprecation_fromId(t3);
  49452. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  49453. }
  49454. return t1;
  49455. },
  49456. _ifParsed$1($name) {
  49457. var t1 = this._options;
  49458. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  49459. }
  49460. };
  49461. A.ExecutableOptions__parser_closure.prototype = {
  49462. call$0() {
  49463. var t1 = type$.String,
  49464. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  49465. t3 = [],
  49466. 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);
  49467. parser.addOption$2$hide("precision", true);
  49468. parser.addFlag$2$hide("async", true);
  49469. t3.push(A.ExecutableOptions__separator("Input and Output"));
  49470. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  49471. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  49472. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  49473. t2 = type$.JSArray_String;
  49474. 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");
  49475. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  49476. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  49477. 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.");
  49478. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  49479. t3.push(A.ExecutableOptions__separator("Source Maps"));
  49480. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  49481. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  49482. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  49483. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  49484. t3.push(A.ExecutableOptions__separator("Warnings"));
  49485. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  49486. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  49487. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  49488. parser.addMultiOption$2$help("fatal-deprecation", "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.");
  49489. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  49490. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  49491. t3.push(A.ExecutableOptions__separator("Other"));
  49492. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  49493. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  49494. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  49495. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  49496. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  49497. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  49498. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  49499. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  49500. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  49501. return parser;
  49502. },
  49503. $signature: 327
  49504. };
  49505. A.ExecutableOptions_interactive_closure.prototype = {
  49506. call$0() {
  49507. var _0_0,
  49508. t1 = this.$this._options;
  49509. if (!A._asBool(t1.$index(0, "interactive")))
  49510. return false;
  49511. _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());
  49512. if (_0_0 != null)
  49513. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  49514. return true;
  49515. },
  49516. $signature: 22
  49517. };
  49518. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  49519. call$1(destination) {
  49520. return destination != null;
  49521. },
  49522. $signature: 138
  49523. };
  49524. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  49525. call$0() {
  49526. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  49527. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49528. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  49529. id = t1.get$current(t1);
  49530. _0_0 = A.Deprecation_fromId(id);
  49531. if (_0_0 != null) {
  49532. J.add$1$ax(deprecations, _0_0);
  49533. continue;
  49534. }
  49535. try {
  49536. argVersion = A.Version_Version$parse(id);
  49537. sassVersion = A.Version_Version$parse("1.78.0");
  49538. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  49539. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  49540. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  49541. } catch (exception) {
  49542. if (t2._is(A.unwrapException(exception)))
  49543. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  49544. else
  49545. throw exception;
  49546. }
  49547. }
  49548. return deprecations;
  49549. },
  49550. $signature: 328
  49551. };
  49552. A.UsageException.prototype = {$isException: 1,
  49553. get$message(receiver) {
  49554. return this.message;
  49555. }
  49556. };
  49557. A.watch_closure.prototype = {
  49558. call$1(dir) {
  49559. for (; !A.dirExists(dir);)
  49560. dir = $.$get$context().dirname$1(dir);
  49561. return this.dirWatcher.watch$1(0, dir);
  49562. },
  49563. $signature: 330
  49564. };
  49565. A._Watcher.prototype = {
  49566. _delete$1(path) {
  49567. var buffer, t1, exception;
  49568. try {
  49569. A.deleteFile(path);
  49570. buffer = new A.StringBuffer("");
  49571. t1 = this._watch$_options;
  49572. if (t1.get$color())
  49573. buffer._contents += "\x1b[33m";
  49574. buffer._contents += "Deleted " + path + ".";
  49575. if (t1.get$color())
  49576. buffer._contents += "\x1b[0m";
  49577. A.print(buffer);
  49578. } catch (exception) {
  49579. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  49580. throw exception;
  49581. }
  49582. },
  49583. watch$1(_, watcher) {
  49584. return this.watch$body$_Watcher(0, watcher);
  49585. },
  49586. watch$body$_Watcher(_, watcher) {
  49587. var $async$goto = 0,
  49588. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49589. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  49590. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49591. if ($async$errorCode === 1) {
  49592. $async$currentError = $async$result;
  49593. $async$goto = $async$handler;
  49594. }
  49595. while (true)
  49596. switch ($async$goto) {
  49597. case 0:
  49598. // Function start
  49599. t1 = watcher._group.__StreamGroup__controller_A;
  49600. t1 === $ && A.throwUnnamedLateFieldNI();
  49601. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  49602. $async$handler = 3;
  49603. t2 = $async$self._watch$_options._options;
  49604. case 6:
  49605. // for condition
  49606. $async$goto = 8;
  49607. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  49608. case 8:
  49609. // returning from await.
  49610. if (!$async$result) {
  49611. // goto after for
  49612. $async$goto = 7;
  49613. break;
  49614. }
  49615. $event = t1.get$current(0);
  49616. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  49617. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  49618. // goto for condition
  49619. $async$goto = 6;
  49620. break;
  49621. }
  49622. case 9:
  49623. // switch
  49624. switch ($event.type) {
  49625. case B.ChangeType_modify:
  49626. // goto case
  49627. $async$goto = 11;
  49628. break;
  49629. case B.ChangeType_add:
  49630. // goto case
  49631. $async$goto = 12;
  49632. break;
  49633. case B.ChangeType_remove:
  49634. // goto case
  49635. $async$goto = 13;
  49636. break;
  49637. default:
  49638. // goto after switch
  49639. $async$goto = 10;
  49640. break;
  49641. }
  49642. break;
  49643. case 11:
  49644. // case
  49645. $async$goto = 14;
  49646. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  49647. case 14:
  49648. // returning from await.
  49649. success = $async$result;
  49650. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  49651. $async$next = [1];
  49652. // goto finally
  49653. $async$goto = 4;
  49654. break;
  49655. }
  49656. // goto after switch
  49657. $async$goto = 10;
  49658. break;
  49659. case 12:
  49660. // case
  49661. $async$goto = 15;
  49662. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  49663. case 15:
  49664. // returning from await.
  49665. success0 = $async$result;
  49666. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49667. $async$next = [1];
  49668. // goto finally
  49669. $async$goto = 4;
  49670. break;
  49671. }
  49672. // goto after switch
  49673. $async$goto = 10;
  49674. break;
  49675. case 13:
  49676. // case
  49677. $async$goto = 16;
  49678. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  49679. case 16:
  49680. // returning from await.
  49681. success1 = $async$result;
  49682. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49683. $async$next = [1];
  49684. // goto finally
  49685. $async$goto = 4;
  49686. break;
  49687. }
  49688. // goto after switch
  49689. $async$goto = 10;
  49690. break;
  49691. case 10:
  49692. // after switch
  49693. // goto for condition
  49694. $async$goto = 6;
  49695. break;
  49696. case 7:
  49697. // after for
  49698. $async$next.push(5);
  49699. // goto finally
  49700. $async$goto = 4;
  49701. break;
  49702. case 3:
  49703. // uncaught
  49704. $async$next = [2];
  49705. case 4:
  49706. // finally
  49707. $async$handler = 2;
  49708. $async$goto = 17;
  49709. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  49710. case 17:
  49711. // returning from await.
  49712. // goto the next finally handler
  49713. $async$goto = $async$next.pop();
  49714. break;
  49715. case 5:
  49716. // after finally
  49717. case 1:
  49718. // return
  49719. return A._asyncReturn($async$returnValue, $async$completer);
  49720. case 2:
  49721. // rethrow
  49722. return A._asyncRethrow($async$currentError, $async$completer);
  49723. }
  49724. });
  49725. return A._asyncStartSync($async$watch$1, $async$completer);
  49726. },
  49727. _handleModify$1(path) {
  49728. return this._handleModify$body$_Watcher(path);
  49729. },
  49730. _handleModify$body$_Watcher(path) {
  49731. var $async$goto = 0,
  49732. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49733. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t1;
  49734. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49735. if ($async$errorCode === 1)
  49736. return A._asyncRethrow($async$result, $async$completer);
  49737. while (true)
  49738. switch ($async$goto) {
  49739. case 0:
  49740. // Function start
  49741. t1 = A.isNodeJs() ? self.process : null;
  49742. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49743. t1 = A.isNodeJs() ? self.process : null;
  49744. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49745. } else
  49746. t1 = true;
  49747. if (t1) {
  49748. t1 = $.$get$context();
  49749. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49750. t0 = t2;
  49751. t2 = t1;
  49752. t1 = t0;
  49753. } else {
  49754. t1 = $.$get$context();
  49755. t2 = t1.canonicalize$1(0, path);
  49756. t0 = t2;
  49757. t2 = t1;
  49758. t1 = t0;
  49759. }
  49760. url = t2.toUri$1(t1);
  49761. t1 = $async$self._graph;
  49762. _0_0 = t1._nodes.$index(0, url);
  49763. $async$goto = _0_0 != null ? 3 : 5;
  49764. break;
  49765. case 3:
  49766. // then
  49767. t1.reload$1(url);
  49768. $async$goto = 6;
  49769. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([_0_0], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  49770. case 6:
  49771. // returning from await.
  49772. $async$returnValue = $async$result;
  49773. // goto return
  49774. $async$goto = 1;
  49775. break;
  49776. // goto join
  49777. $async$goto = 4;
  49778. break;
  49779. case 5:
  49780. // else
  49781. $async$returnValue = $async$self._handleAdd$1(path);
  49782. // goto return
  49783. $async$goto = 1;
  49784. break;
  49785. case 4:
  49786. // join
  49787. case 1:
  49788. // return
  49789. return A._asyncReturn($async$returnValue, $async$completer);
  49790. }
  49791. });
  49792. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  49793. },
  49794. _handleAdd$1(path) {
  49795. return this._handleAdd$body$_Watcher(path);
  49796. },
  49797. _handleAdd$body$_Watcher(path) {
  49798. var $async$goto = 0,
  49799. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49800. $async$returnValue, $async$self = this, t1, success, t2, t3, t0, destination;
  49801. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49802. if ($async$errorCode === 1)
  49803. return A._asyncRethrow($async$result, $async$completer);
  49804. while (true)
  49805. switch ($async$goto) {
  49806. case 0:
  49807. // Function start
  49808. destination = $async$self._destinationFor$1(path);
  49809. $async$goto = destination != null ? 3 : 5;
  49810. break;
  49811. case 3:
  49812. // then
  49813. t1 = type$.nullable_String;
  49814. $async$goto = 6;
  49815. return A._asyncAwait(A.compileStylesheets($async$self._watch$_options, $async$self._graph, A.LinkedHashMap_LinkedHashMap$_literal([path, destination], t1, t1), true), $async$_handleAdd$1);
  49816. case 6:
  49817. // returning from await.
  49818. success = $async$result;
  49819. // goto join
  49820. $async$goto = 4;
  49821. break;
  49822. case 5:
  49823. // else
  49824. success = true;
  49825. case 4:
  49826. // join
  49827. t1 = $.$get$FilesystemImporter_cwd();
  49828. t2 = A.isNodeJs() ? self.process : null;
  49829. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  49830. t2 = A.isNodeJs() ? self.process : null;
  49831. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  49832. } else
  49833. t2 = true;
  49834. if (t2) {
  49835. t2 = $.$get$context();
  49836. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49837. t0 = t3;
  49838. t3 = t2;
  49839. t2 = t0;
  49840. } else {
  49841. t2 = $.$get$context();
  49842. t3 = t2.canonicalize$1(0, path);
  49843. t0 = t3;
  49844. t3 = t2;
  49845. t2 = t0;
  49846. }
  49847. $async$goto = 7;
  49848. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path))), $async$_handleAdd$1);
  49849. case 7:
  49850. // returning from await.
  49851. $async$returnValue = $async$result && success;
  49852. // goto return
  49853. $async$goto = 1;
  49854. break;
  49855. case 1:
  49856. // return
  49857. return A._asyncReturn($async$returnValue, $async$completer);
  49858. }
  49859. });
  49860. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  49861. },
  49862. _handleRemove$1(path) {
  49863. return this._handleRemove$body$_Watcher(path);
  49864. },
  49865. _handleRemove$body$_Watcher(path) {
  49866. var $async$goto = 0,
  49867. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49868. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t3, node, toRecompile, t1;
  49869. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49870. if ($async$errorCode === 1)
  49871. return A._asyncRethrow($async$result, $async$completer);
  49872. while (true)
  49873. switch ($async$goto) {
  49874. case 0:
  49875. // Function start
  49876. t1 = A.isNodeJs() ? self.process : null;
  49877. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49878. t1 = A.isNodeJs() ? self.process : null;
  49879. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49880. } else
  49881. t1 = true;
  49882. if (t1) {
  49883. t1 = $.$get$context();
  49884. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49885. t0 = t2;
  49886. t2 = t1;
  49887. t1 = t0;
  49888. } else {
  49889. t1 = $.$get$context();
  49890. t2 = t1.canonicalize$1(0, path);
  49891. t0 = t2;
  49892. t2 = t1;
  49893. t1 = t0;
  49894. }
  49895. url = t2.toUri$1(t1);
  49896. t1 = $async$self._graph;
  49897. t2 = t1._nodes;
  49898. if (t2.containsKey$1(url)) {
  49899. _0_0 = $async$self._destinationFor$1(path);
  49900. if (_0_0 != null)
  49901. $async$self._delete$1(_0_0);
  49902. }
  49903. t3 = $.$get$FilesystemImporter_cwd();
  49904. node = t2.remove$1(0, url);
  49905. t2 = node != null;
  49906. if (t2) {
  49907. t1._transitiveModificationTimes.clear$0(0);
  49908. t1.importCache.clearImport$1(url);
  49909. node._stylesheet_graph$_remove$0();
  49910. }
  49911. toRecompile = t1._recanonicalizeImports$2(t3, url);
  49912. if (t2)
  49913. toRecompile.addAll$1(0, node._downstream);
  49914. $async$goto = 3;
  49915. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  49916. case 3:
  49917. // returning from await.
  49918. $async$returnValue = $async$result;
  49919. // goto return
  49920. $async$goto = 1;
  49921. break;
  49922. case 1:
  49923. // return
  49924. return A._asyncReturn($async$returnValue, $async$completer);
  49925. }
  49926. });
  49927. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  49928. },
  49929. _debounceEvents$1(events) {
  49930. var t1 = type$.WatchEvent;
  49931. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  49932. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  49933. },
  49934. _recompileDownstream$1(nodes) {
  49935. return this._recompileDownstream$body$_Watcher(nodes);
  49936. },
  49937. _recompileDownstream$body$_Watcher(nodes) {
  49938. var $async$goto = 0,
  49939. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49940. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, allSucceeded, t6, t7, t8, sourcesToDestinations, success, _i, seen;
  49941. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49942. if ($async$errorCode === 1)
  49943. return A._asyncRethrow($async$result, $async$completer);
  49944. while (true)
  49945. switch ($async$goto) {
  49946. case 0:
  49947. // Function start
  49948. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  49949. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = type$.JSArray_StylesheetNode, t3 = $async$self._watch$_options, t4 = $async$self._graph, t5 = t3._options, allSucceeded = true;
  49950. case 3:
  49951. // for condition
  49952. if (!(t6 = J.getInterceptor$asx(nodes), t6.get$isNotEmpty(nodes))) {
  49953. // goto after for
  49954. $async$goto = 5;
  49955. break;
  49956. }
  49957. t7 = A._setArrayType([], t2);
  49958. for (t6 = t6.get$iterator(nodes); t6.moveNext$0();) {
  49959. t8 = t6.get$current(t6);
  49960. if (seen.add$1(0, t8))
  49961. t7.push(t8);
  49962. }
  49963. sourcesToDestinations = $async$self._sourceEntrypointsToDestinations$1(t7);
  49964. $async$goto = sourcesToDestinations.__js_helper$_length !== 0 ? 6 : 7;
  49965. break;
  49966. case 6:
  49967. // then
  49968. $async$goto = 8;
  49969. return A._asyncAwait(A.compileStylesheets(t3, t4, sourcesToDestinations, true), $async$_recompileDownstream$1);
  49970. case 8:
  49971. // returning from await.
  49972. success = $async$result;
  49973. if (!success && A._asBool(t5.$index(0, "stop-on-error"))) {
  49974. $async$returnValue = false;
  49975. // goto return
  49976. $async$goto = 1;
  49977. break;
  49978. }
  49979. allSucceeded = allSucceeded && success;
  49980. case 7:
  49981. // join
  49982. t6 = A._setArrayType([], t2);
  49983. for (t8 = t7.length, _i = 0; _i < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i)
  49984. B.JSArray_methods.addAll$1(t6, new A.UnmodifiableSetView0(t7[_i]._downstream, t1));
  49985. case 4:
  49986. // for update
  49987. nodes = t6;
  49988. // goto for condition
  49989. $async$goto = 3;
  49990. break;
  49991. case 5:
  49992. // after for
  49993. $async$returnValue = allSucceeded;
  49994. // goto return
  49995. $async$goto = 1;
  49996. break;
  49997. case 1:
  49998. // return
  49999. return A._asyncReturn($async$returnValue, $async$completer);
  50000. }
  50001. });
  50002. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  50003. },
  50004. _sourceEntrypointsToDestinations$1(nodes) {
  50005. var _i, url, source, _0_0,
  50006. t1 = type$.String,
  50007. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  50008. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  50009. url = nodes[_i].canonicalUrl;
  50010. if (url.get$scheme() !== "file")
  50011. continue;
  50012. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  50013. _0_0 = this._destinationFor$1(source);
  50014. if (_0_0 != null)
  50015. entrypoints.$indexSet(0, source, _0_0);
  50016. }
  50017. return entrypoints;
  50018. },
  50019. _destinationFor$1(source) {
  50020. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  50021. t1 = this._watch$_options;
  50022. t1._ensureSources$0();
  50023. t2 = type$.String;
  50024. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  50025. if (_0_0 != null)
  50026. return _0_0;
  50027. t3 = $.$get$context();
  50028. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  50029. return null;
  50030. t1._ensureSources$0();
  50031. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  50032. t1 === $ && A.throwUnnamedLateFieldNI();
  50033. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  50034. t2 = t2.get$iterator(t2);
  50035. for (; t2.moveNext$0();) {
  50036. t1 = t2.get$current(t2);
  50037. sourceDir = t1._0;
  50038. destinationDir = t1._1;
  50039. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  50040. continue;
  50041. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  50042. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  50043. return destination;
  50044. }
  50045. return null;
  50046. }
  50047. };
  50048. A._Watcher__debounceEvents_closure.prototype = {
  50049. call$1(buffer) {
  50050. var t3, t4, t5, oldType, newType, _1_1,
  50051. t1 = type$.ChangeType,
  50052. t2 = A.PathMap__create(null, t1);
  50053. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  50054. t4 = t3.get$current(t3);
  50055. t5 = t4.path;
  50056. oldType = t2.$index(0, t5);
  50057. newType = t4.type;
  50058. $label0$0: {
  50059. if (oldType == null) {
  50060. t4 = newType;
  50061. break $label0$0;
  50062. }
  50063. if (B.ChangeType_remove === newType) {
  50064. t4 = B.ChangeType_remove;
  50065. break $label0$0;
  50066. }
  50067. if (B.ChangeType_add === oldType) {
  50068. t4 = B.ChangeType_add;
  50069. break $label0$0;
  50070. }
  50071. t4 = B.ChangeType_modify;
  50072. break $label0$0;
  50073. }
  50074. t2.$indexSet(0, t5, t4);
  50075. }
  50076. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  50077. 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();) {
  50078. t2 = t1.get$current(t1);
  50079. _1_1 = t2._0;
  50080. _1_1.toString;
  50081. t3.push(new A.WatchEvent(t2._1, _1_1));
  50082. }
  50083. return t3;
  50084. },
  50085. $signature: 332
  50086. };
  50087. A.EmptyExtensionStore.prototype = {
  50088. get$_extensions() {
  50089. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  50090. },
  50091. get$_sourceSpecificity() {
  50092. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  50093. },
  50094. get$isEmpty(_) {
  50095. return true;
  50096. },
  50097. get$simpleSelectors() {
  50098. return B.C_EmptyUnmodifiableSet;
  50099. },
  50100. extensionsWhereTarget$1(callback) {
  50101. return B.List_empty5;
  50102. },
  50103. addExtensions$1(extenders) {
  50104. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  50105. },
  50106. clone$0() {
  50107. return B.Record2_EmptyExtensionStore_Map_empty;
  50108. },
  50109. $isExtensionStore: 1
  50110. };
  50111. A.Extension.prototype = {
  50112. toString$0(_) {
  50113. var t1 = this.extender.toString$0(0),
  50114. t2 = this.target.toString$0(0),
  50115. t3 = this.isOptional ? " !optional" : "";
  50116. return t1 + " {@extend " + t2 + t3 + "}";
  50117. }
  50118. };
  50119. A.Extender.prototype = {
  50120. assertCompatibleMediaContext$1(mediaContext) {
  50121. var expectedMediaContext,
  50122. extension = this._extension;
  50123. if (extension == null)
  50124. return;
  50125. expectedMediaContext = extension.mediaContext;
  50126. if (expectedMediaContext == null)
  50127. return;
  50128. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  50129. return;
  50130. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  50131. },
  50132. toString$0(_) {
  50133. return A.serializeSelector(this.selector, true);
  50134. }
  50135. };
  50136. A.ExtensionStore.prototype = {
  50137. get$isEmpty(_) {
  50138. return this._extensions.__js_helper$_length === 0;
  50139. },
  50140. get$simpleSelectors() {
  50141. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  50142. },
  50143. extensionsWhereTarget$1(callback) {
  50144. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  50145. },
  50146. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  50147. var $async$self = this;
  50148. return function() {
  50149. var callback = $async$callback;
  50150. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  50151. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  50152. if ($async$errorCode === 1) {
  50153. $async$currentError = $async$result;
  50154. $async$goto = $async$handler;
  50155. }
  50156. while (true)
  50157. switch ($async$goto) {
  50158. case 0:
  50159. // Function start
  50160. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  50161. case 2:
  50162. // for condition
  50163. if (!t1.moveNext$0()) {
  50164. // goto after for
  50165. $async$goto = 3;
  50166. break;
  50167. }
  50168. t2 = t1.get$current(t1);
  50169. simple = t2._0;
  50170. sources = t2._1;
  50171. if (!callback.call$1(simple)) {
  50172. // goto for condition
  50173. $async$goto = 2;
  50174. break;
  50175. }
  50176. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  50177. case 4:
  50178. // for condition
  50179. if (!t2.moveNext$0()) {
  50180. // goto after for
  50181. $async$goto = 5;
  50182. break;
  50183. }
  50184. t3 = t2.get$current(t2);
  50185. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  50186. break;
  50187. case 6:
  50188. // then
  50189. t3 = t3.unmerge$0();
  50190. $async$goto = 9;
  50191. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  50192. case 9:
  50193. // after yield
  50194. // goto join
  50195. $async$goto = 7;
  50196. break;
  50197. case 8:
  50198. // else
  50199. $async$goto = !t3.isOptional ? 10 : 11;
  50200. break;
  50201. case 10:
  50202. // then
  50203. $async$goto = 12;
  50204. return $async$iterator._async$_current = t3, 1;
  50205. case 12:
  50206. // after yield
  50207. case 11:
  50208. // join
  50209. case 7:
  50210. // join
  50211. // goto for condition
  50212. $async$goto = 4;
  50213. break;
  50214. case 5:
  50215. // after for
  50216. // goto for condition
  50217. $async$goto = 2;
  50218. break;
  50219. case 3:
  50220. // after for
  50221. // implicit return
  50222. return 0;
  50223. case 1:
  50224. // rethrow
  50225. return $async$iterator._datum = $async$currentError, 3;
  50226. }
  50227. };
  50228. };
  50229. },
  50230. addSelector$2(selector, mediaContext) {
  50231. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  50232. selector = selector;
  50233. originalSelector = selector;
  50234. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  50235. _this._originals.addAll$1(0, originalSelector.components);
  50236. t1 = _this._extensions;
  50237. if (t1.__js_helper$_length !== 0)
  50238. try {
  50239. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  50240. } catch (exception) {
  50241. t1 = A.unwrapException(exception);
  50242. if (t1 instanceof A.SassException) {
  50243. error = t1;
  50244. stackTrace = A.getTraceFromException(exception);
  50245. t1 = error;
  50246. t2 = J.getInterceptor$z(t1);
  50247. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  50248. t2 = error._span_exception$_message;
  50249. t3 = error;
  50250. t4 = J.getInterceptor$z(t3);
  50251. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  50252. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  50253. } else
  50254. throw exception;
  50255. }
  50256. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  50257. if (mediaContext != null)
  50258. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  50259. _this._registerSelector$2(selector, modifiableSelector);
  50260. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  50261. },
  50262. _registerSelector$2(list, selector) {
  50263. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  50264. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  50265. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  50266. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  50267. simple = t7[_i1];
  50268. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  50269. _0_2_isSet = simple instanceof A.PseudoSelector;
  50270. if (_0_2_isSet) {
  50271. _0_2 = simple.selector;
  50272. t9 = _0_2 != null;
  50273. } else {
  50274. _0_2 = null;
  50275. t9 = false;
  50276. }
  50277. if (t9) {
  50278. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  50279. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  50280. }
  50281. }
  50282. },
  50283. addExtension$4(extender, target, extend, mediaContext) {
  50284. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  50285. selectors = _this._selectors.$index(0, target),
  50286. t1 = _this._extensionsByExtender,
  50287. existingExtensions = t1.$index(0, target),
  50288. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  50289. 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) {
  50290. complex = t2[_i];
  50291. if (complex.accept$1(B.C__IsUselessVisitor))
  50292. continue;
  50293. complex.get$specificity();
  50294. t11 = new A.Extender(complex, false);
  50295. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  50296. _0_0 = sources.$index(0, complex);
  50297. if (_0_0 != null) {
  50298. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  50299. continue;
  50300. }
  50301. sources.$indexSet(0, complex, extension);
  50302. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  50303. t12 = t11._async$_current;
  50304. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  50305. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  50306. }
  50307. if (!t4 || t8) {
  50308. if (newExtensions == null)
  50309. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  50310. newExtensions.$indexSet(0, complex, extension);
  50311. }
  50312. }
  50313. if (newExtensions == null)
  50314. return;
  50315. t1 = type$.SimpleSelector;
  50316. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  50317. if (t8) {
  50318. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  50319. if (additionalExtensions != null)
  50320. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  50321. }
  50322. if (!t4)
  50323. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  50324. },
  50325. _simpleSelectors$1(complex) {
  50326. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  50327. },
  50328. _simpleSelectors$body$ExtensionStore($async$complex) {
  50329. var $async$self = this;
  50330. return function() {
  50331. var complex = $async$complex;
  50332. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  50333. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  50334. if ($async$errorCode === 1) {
  50335. $async$currentError = $async$result;
  50336. $async$goto = $async$handler;
  50337. }
  50338. while (true)
  50339. switch ($async$goto) {
  50340. case 0:
  50341. // Function start
  50342. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  50343. case 2:
  50344. // for condition
  50345. if (!(_i < t2)) {
  50346. // goto after for
  50347. $async$goto = 4;
  50348. break;
  50349. }
  50350. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  50351. case 5:
  50352. // for condition
  50353. if (!(_i0 < t5)) {
  50354. // goto after for
  50355. $async$goto = 7;
  50356. break;
  50357. }
  50358. simple = t4[_i0];
  50359. $async$goto = 8;
  50360. return $async$iterator._async$_current = simple, 1;
  50361. case 8:
  50362. // after yield
  50363. _0_2_isSet = simple instanceof A.PseudoSelector;
  50364. if (_0_2_isSet) {
  50365. _0_2 = simple.selector;
  50366. t6 = _0_2 != null;
  50367. } else {
  50368. _0_2 = null;
  50369. t6 = false;
  50370. }
  50371. $async$goto = t6 ? 9 : 10;
  50372. break;
  50373. case 9:
  50374. // then
  50375. selector = _0_2_isSet ? _0_2 : simple.selector;
  50376. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  50377. case 11:
  50378. // for condition
  50379. if (!(_i1 < t7)) {
  50380. // goto after for
  50381. $async$goto = 13;
  50382. break;
  50383. }
  50384. $async$goto = 14;
  50385. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  50386. case 14:
  50387. // after yield
  50388. case 12:
  50389. // for update
  50390. ++_i1;
  50391. // goto for condition
  50392. $async$goto = 11;
  50393. break;
  50394. case 13:
  50395. // after for
  50396. case 10:
  50397. // join
  50398. case 6:
  50399. // for update
  50400. ++_i0;
  50401. // goto for condition
  50402. $async$goto = 5;
  50403. break;
  50404. case 7:
  50405. // after for
  50406. case 3:
  50407. // for update
  50408. ++_i;
  50409. // goto for condition
  50410. $async$goto = 2;
  50411. break;
  50412. case 4:
  50413. // after for
  50414. // implicit return
  50415. return 0;
  50416. case 1:
  50417. // rethrow
  50418. return $async$iterator._datum = $async$currentError, 3;
  50419. }
  50420. };
  50421. };
  50422. },
  50423. _extendExistingExtensions$2(extensions, newExtensions) {
  50424. 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;
  50425. 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) {
  50426. extension = t1[_i];
  50427. t7 = t6.$index(0, extension.target);
  50428. t7.toString;
  50429. selectors = null;
  50430. try {
  50431. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  50432. if (selectors == null)
  50433. continue;
  50434. } catch (exception) {
  50435. t8 = A.unwrapException(exception);
  50436. if (t8 instanceof A.SassException) {
  50437. error = t8;
  50438. stackTrace = A.getTraceFromException(exception);
  50439. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  50440. } else
  50441. throw exception;
  50442. }
  50443. t8 = J.get$first$ax(selectors);
  50444. t9 = extension.extender.selector;
  50445. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  50446. t8 = selectors;
  50447. t9 = A._arrayInstanceType(t8);
  50448. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  50449. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  50450. selectors = selectors0;
  50451. }
  50452. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  50453. t9 = t8.get$current(t8);
  50454. t10 = extension;
  50455. t11 = t10.target;
  50456. t12 = t10.span;
  50457. t13 = t10.mediaContext;
  50458. t10 = t10.isOptional;
  50459. t9.get$specificity();
  50460. t14 = new A.Extender(t9, false);
  50461. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  50462. _0_0 = t7.$index(0, t9);
  50463. if (_0_0 != null)
  50464. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  50465. else {
  50466. t7.$indexSet(0, t9, withExtender);
  50467. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  50468. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  50469. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  50470. if (newExtensions.containsKey$1(extension.target)) {
  50471. if (additionalExtensions == null)
  50472. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  50473. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  50474. }
  50475. }
  50476. }
  50477. }
  50478. return additionalExtensions;
  50479. },
  50480. _extendExistingSelectors$2(selectors, newExtensions) {
  50481. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  50482. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  50483. selector = t1.get$current(t1);
  50484. oldValue = selector.value;
  50485. try {
  50486. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  50487. } catch (exception) {
  50488. t3 = A.unwrapException(exception);
  50489. if (t3 instanceof A.SassException) {
  50490. error = t3;
  50491. stackTrace = A.getTraceFromException(exception);
  50492. t3 = selector.value.span.message$1(0, "");
  50493. t4 = error._span_exception$_message;
  50494. t5 = error;
  50495. t6 = J.getInterceptor$z(t5);
  50496. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  50497. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  50498. } else
  50499. throw exception;
  50500. }
  50501. if (oldValue === selector.value)
  50502. continue;
  50503. this._registerSelector$2(selector.value, selector);
  50504. }
  50505. },
  50506. addExtensions$1(extensionStores) {
  50507. 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;
  50508. 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();) {
  50509. t12 = t1.get$current(t1);
  50510. if (t12.get$isEmpty(t12))
  50511. continue;
  50512. t11.addAll$1(0, t12.get$_sourceSpecificity());
  50513. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  50514. t13 = t12.get$current(t12);
  50515. target = t13._0;
  50516. newSources = t13._1;
  50517. if (target instanceof A.PlaceholderSelector) {
  50518. first = target.name.charCodeAt(0);
  50519. t13 = first === 45 || first === 95;
  50520. } else
  50521. t13 = false;
  50522. if (t13)
  50523. continue;
  50524. extensionsForTarget = t8.$index(0, target);
  50525. t13 = extensionsForTarget == null;
  50526. if (!t13) {
  50527. if (extensionsToExtend == null) {
  50528. extensionsToExtend = A._setArrayType([], t9);
  50529. t14 = extensionsToExtend;
  50530. } else
  50531. t14 = extensionsToExtend;
  50532. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  50533. }
  50534. selectorsForTarget = t7.$index(0, target);
  50535. t14 = selectorsForTarget != null;
  50536. if (t14) {
  50537. if (selectorsToExtend == null) {
  50538. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  50539. t15 = selectorsToExtend;
  50540. } else
  50541. t15 = selectorsToExtend;
  50542. t15.addAll$1(0, selectorsForTarget);
  50543. }
  50544. _2_0 = t4.$index(0, target);
  50545. if (_2_0 != null)
  50546. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  50547. t16 = t15.get$current(t15);
  50548. extender = t16._0;
  50549. extension = t16._1;
  50550. if (_2_0.containsKey$1(extender)) {
  50551. t16 = _2_0.$index(0, extender);
  50552. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  50553. _2_0.$indexSet(0, extender, extension);
  50554. } else
  50555. _2_0.$indexSet(0, extender, extension);
  50556. if (!t13 || t14) {
  50557. if (newExtensions == null) {
  50558. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50559. t16 = newExtensions;
  50560. } else
  50561. t16 = newExtensions;
  50562. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()), extender, extension);
  50563. }
  50564. }
  50565. else {
  50566. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50567. t15.addAll$1(0, newSources);
  50568. t4.$indexSet(0, target, t15);
  50569. if (!t13 || t14) {
  50570. if (newExtensions == null) {
  50571. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50572. t13 = newExtensions;
  50573. } else
  50574. t13 = newExtensions;
  50575. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50576. t14.addAll$1(0, newSources);
  50577. t13.$indexSet(0, target, t14);
  50578. }
  50579. }
  50580. }
  50581. }
  50582. if (newExtensions != null) {
  50583. if (extensionsToExtend != null)
  50584. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  50585. if (selectorsToExtend != null)
  50586. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  50587. }
  50588. },
  50589. _extendList$3(list, extensions, mediaQueryContext) {
  50590. var t1, t2, t3, extended, i, complex, result, t4;
  50591. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  50592. complex = t1[i];
  50593. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  50594. if (result == null) {
  50595. if (extended != null)
  50596. extended.push(complex);
  50597. } else {
  50598. if (extended == null)
  50599. if (i === 0)
  50600. extended = A._setArrayType([], t3);
  50601. else {
  50602. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  50603. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50604. }
  50605. B.JSArray_methods.addAll$1(extended, result);
  50606. }
  50607. }
  50608. if (extended == null)
  50609. return list;
  50610. t1 = this._originals;
  50611. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  50612. },
  50613. _extendList$2(list, extensions) {
  50614. return this._extendList$3(list, extensions, null);
  50615. },
  50616. _extendComplex$3(complex, extensions, mediaQueryContext) {
  50617. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  50618. t1 = complex.leadingCombinators,
  50619. t2 = t1.length;
  50620. if (t2 > 1)
  50621. return null;
  50622. isOriginal = this._originals.contains$1(0, complex);
  50623. 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) {
  50624. component = t3[i];
  50625. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  50626. if (extended == null) {
  50627. if (extendedNotExpanded != null)
  50628. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  50629. } else if (extendedNotExpanded != null)
  50630. extendedNotExpanded.push(extended);
  50631. else if (i !== 0) {
  50632. t11 = A._arrayInstanceType(t3);
  50633. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  50634. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  50635. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  50636. } else if (t2)
  50637. extendedNotExpanded = A._setArrayType([extended], t5);
  50638. else {
  50639. t11 = A._setArrayType([], t9);
  50640. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  50641. t13 = t12.get$current(t12);
  50642. t14 = t13.leadingCombinators;
  50643. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  50644. t14 = t13.components;
  50645. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  50646. }
  50647. }
  50648. extendedNotExpanded = A._setArrayType([t11], t5);
  50649. }
  50650. }
  50651. if (extendedNotExpanded == null)
  50652. return null;
  50653. _box_0.first = true;
  50654. t1 = type$.ComplexSelector;
  50655. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  50656. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  50657. },
  50658. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  50659. 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,
  50660. t1 = _this._mode,
  50661. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  50662. t2 = component.selector,
  50663. simples = t2.components;
  50664. 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) {
  50665. simple = simples[i];
  50666. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  50667. if (extended == null) {
  50668. if (options != null)
  50669. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  50670. } else {
  50671. if (options == null) {
  50672. options = A._setArrayType([], t4);
  50673. if (i !== 0) {
  50674. t12 = new A.SubListIterable(simples, 0, i, t8);
  50675. t12.SubListIterable$3(simples, 0, i, t9);
  50676. result = A.List_List$from(t12, false, t11);
  50677. result.fixed$length = Array;
  50678. result.immutable$list = Array;
  50679. t12 = result;
  50680. compound = new A.CompoundSelector(t12, t10);
  50681. if (t12.length === 0)
  50682. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  50683. result = A.List_List$from(B.List_empty0, false, t6);
  50684. result.fixed$length = Array;
  50685. result.immutable$list = Array;
  50686. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  50687. _this._sourceSpecificityFor$1(compound);
  50688. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  50689. }
  50690. }
  50691. B.JSArray_methods.addAll$1(options, extended);
  50692. }
  50693. }
  50694. if (options == null)
  50695. return _null;
  50696. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  50697. return _null;
  50698. if (options.length === 1) {
  50699. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  50700. t4 = t1.get$current(t1);
  50701. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  50702. complex = t4.selector.withAdditionalCombinators$1(t2);
  50703. if (complex.accept$1(B.C__IsUselessVisitor))
  50704. continue;
  50705. if (result == null)
  50706. result = A._setArrayType([], t3);
  50707. result.push(complex);
  50708. }
  50709. return result;
  50710. }
  50711. extenderPaths = A.paths(options, type$.Extender);
  50712. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  50713. t1 = t1 === B.ExtendMode_replace_replace;
  50714. t4 = !t1;
  50715. if (t4)
  50716. t3.push(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  50717. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  50718. t5 = t2.$ti;
  50719. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  50720. t6 = component.combinators;
  50721. t5 = t5._eval$1("ListIterable.E");
  50722. for (; t2.moveNext$0();) {
  50723. t1 = t2.__internal$_current;
  50724. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  50725. if (extended == null)
  50726. continue;
  50727. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  50728. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  50729. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  50730. t3.push(withCombinators);
  50731. }
  50732. }
  50733. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  50734. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  50735. },
  50736. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  50737. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  50738. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  50739. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  50740. t4 = t2.get$current(t2);
  50741. if (t4.isOriginal) {
  50742. if (originals == null)
  50743. originals = A._setArrayType([], t3);
  50744. t4 = t4.selector;
  50745. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  50746. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  50747. } else {
  50748. t4 = t4.selector;
  50749. if (t4.accept$1(B.C__IsUselessVisitor))
  50750. return _null;
  50751. else
  50752. toUnify._queue_list$_add$1(t4);
  50753. }
  50754. }
  50755. if (originals != null)
  50756. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals, span), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, originalsLineBreak));
  50757. complexes = A.unifyComplex(toUnify, span);
  50758. if (complexes == null)
  50759. return _null;
  50760. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  50761. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  50762. return complexes;
  50763. },
  50764. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  50765. var t2, _1_0,
  50766. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  50767. if (simple instanceof A.PseudoSelector)
  50768. t2 = simple.selector != null;
  50769. else
  50770. t2 = false;
  50771. if (t2) {
  50772. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  50773. if (_1_0 != null)
  50774. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  50775. }
  50776. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  50777. },
  50778. _extenderForSimple$1(simple) {
  50779. var t1 = simple.span;
  50780. t1 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent), t1, false);
  50781. this._sourceSpecificity.$index(0, simple);
  50782. return new A.Extender(t1, true);
  50783. },
  50784. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  50785. var extended, complexes, t1, result,
  50786. selector = pseudo.selector;
  50787. if (selector == null)
  50788. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  50789. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  50790. if (extended === selector)
  50791. return null;
  50792. complexes = extended.components;
  50793. t1 = pseudo.normalizedName === "not";
  50794. 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()))
  50795. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  50796. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  50797. if (t1 && selector.components.length === 1) {
  50798. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  50799. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  50800. return result.length === 0 ? null : result;
  50801. } else
  50802. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  50803. },
  50804. _trim$2(selectors, isOriginal) {
  50805. var i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity,
  50806. result = A.QueueList$(null, type$.ComplexSelector);
  50807. $label0$0:
  50808. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  50809. _box_0 = {};
  50810. complex1 = selectors[i];
  50811. if (isOriginal.call$1(complex1)) {
  50812. for (j = 0; j < numOriginals; ++j)
  50813. if (J.$eq$(result.$index(0, j), complex1)) {
  50814. A.rotateSlice(result, 0, j + 1);
  50815. continue $label0$0;
  50816. }
  50817. ++numOriginals;
  50818. result.addFirst$1(complex1);
  50819. continue $label0$0;
  50820. }
  50821. _box_0.maxSpecificity = 0;
  50822. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  50823. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  50824. _box_0.maxSpecificity = maxSpecificity;
  50825. }
  50826. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  50827. continue $label0$0;
  50828. t3 = new A.SubListIterable(selectors, 0, i, t1);
  50829. t3.SubListIterable$3(selectors, 0, i, t2);
  50830. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  50831. continue $label0$0;
  50832. result.addFirst$1(complex1);
  50833. }
  50834. return result;
  50835. },
  50836. _sourceSpecificityFor$1(compound) {
  50837. var t1, t2, t3, specificity, _i, t4;
  50838. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  50839. t4 = t3.$index(0, t1[_i]);
  50840. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  50841. }
  50842. return specificity;
  50843. },
  50844. clone$0() {
  50845. var t2, t3, t4, _this = this,
  50846. t1 = type$.SimpleSelector,
  50847. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  50848. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  50849. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  50850. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  50851. t2 = type$.Extension;
  50852. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  50853. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  50854. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  50855. t1.addAll$1(0, _this._sourceSpecificity);
  50856. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  50857. t4.addAll$1(0, _this._originals);
  50858. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  50859. },
  50860. get$_extensions() {
  50861. return this._extensions;
  50862. },
  50863. get$_sourceSpecificity() {
  50864. return this._sourceSpecificity;
  50865. }
  50866. };
  50867. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  50868. call$1(extension) {
  50869. return !extension.isOptional;
  50870. },
  50871. $signature: 340
  50872. };
  50873. A.ExtensionStore__registerSelector_closure.prototype = {
  50874. call$0() {
  50875. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  50876. },
  50877. $signature: 341
  50878. };
  50879. A.ExtensionStore_addExtension_closure.prototype = {
  50880. call$0() {
  50881. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50882. },
  50883. $signature: 108
  50884. };
  50885. A.ExtensionStore_addExtension_closure0.prototype = {
  50886. call$0() {
  50887. return A._setArrayType([], type$.JSArray_Extension);
  50888. },
  50889. $signature: 221
  50890. };
  50891. A.ExtensionStore_addExtension_closure1.prototype = {
  50892. call$0() {
  50893. return this.complex.get$specificity();
  50894. },
  50895. $signature: 10
  50896. };
  50897. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  50898. call$0() {
  50899. return A._setArrayType([], type$.JSArray_Extension);
  50900. },
  50901. $signature: 221
  50902. };
  50903. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  50904. call$0() {
  50905. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50906. },
  50907. $signature: 108
  50908. };
  50909. A.ExtensionStore_addExtensions_closure.prototype = {
  50910. call$0() {
  50911. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50912. },
  50913. $signature: 108
  50914. };
  50915. A.ExtensionStore__extendComplex_closure.prototype = {
  50916. call$1(path) {
  50917. var t1 = this.complex;
  50918. 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);
  50919. },
  50920. $signature: 534
  50921. };
  50922. A.ExtensionStore__extendComplex__closure.prototype = {
  50923. call$1(outputComplex) {
  50924. var _this = this,
  50925. t1 = _this._box_0;
  50926. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  50927. _this.$this._originals.add$1(0, outputComplex);
  50928. t1.first = false;
  50929. return outputComplex;
  50930. },
  50931. $signature: 59
  50932. };
  50933. A.ExtensionStore__extendCompound_closure.prototype = {
  50934. call$1(extender) {
  50935. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  50936. },
  50937. $signature: 346
  50938. };
  50939. A.ExtensionStore__extendCompound_closure0.prototype = {
  50940. call$1(_) {
  50941. return false;
  50942. },
  50943. $signature: 17
  50944. };
  50945. A.ExtensionStore__extendCompound_closure1.prototype = {
  50946. call$1(complex) {
  50947. return complex.$eq(0, this.original);
  50948. },
  50949. $signature: 17
  50950. };
  50951. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  50952. call$1(simple) {
  50953. var t1, t2,
  50954. extensionsForSimple = this.extensions.$index(0, simple);
  50955. if (extensionsForSimple == null)
  50956. return null;
  50957. t1 = this.targetsUsed;
  50958. if (t1 != null)
  50959. t1.add$1(0, simple);
  50960. t1 = A._setArrayType([], type$.JSArray_Extender);
  50961. t2 = this.$this;
  50962. if (t2._mode !== B.ExtendMode_replace_replace)
  50963. t1.push(t2._extenderForSimple$1(simple));
  50964. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  50965. t1.push(t2.get$current(t2).extender);
  50966. return t1;
  50967. },
  50968. $signature: 348
  50969. };
  50970. A.ExtensionStore__extendSimple_closure.prototype = {
  50971. call$1(pseudo) {
  50972. var t1 = this.withoutPseudo.call$1(pseudo);
  50973. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  50974. },
  50975. $signature: 349
  50976. };
  50977. A.ExtensionStore__extendSimple_closure0.prototype = {
  50978. call$1(result) {
  50979. return A._setArrayType([result], type$.JSArray_List_Extender);
  50980. },
  50981. $signature: 350
  50982. };
  50983. A.ExtensionStore__extendPseudo_closure.prototype = {
  50984. call$1(complex) {
  50985. return complex.components.length > 1;
  50986. },
  50987. $signature: 17
  50988. };
  50989. A.ExtensionStore__extendPseudo_closure0.prototype = {
  50990. call$1(complex) {
  50991. return complex.components.length === 1;
  50992. },
  50993. $signature: 17
  50994. };
  50995. A.ExtensionStore__extendPseudo_closure1.prototype = {
  50996. call$1(complex) {
  50997. return complex.components.length <= 1;
  50998. },
  50999. $signature: 17
  51000. };
  51001. A.ExtensionStore__extendPseudo_closure2.prototype = {
  51002. call$1(complex) {
  51003. var innerPseudo, innerSelector,
  51004. t1 = complex.get$singleCompound();
  51005. if (t1 == null)
  51006. innerPseudo = null;
  51007. else {
  51008. t1 = t1.components;
  51009. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  51010. }
  51011. if (!(innerPseudo instanceof A.PseudoSelector))
  51012. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  51013. innerSelector = innerPseudo.selector;
  51014. if (innerSelector == null)
  51015. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  51016. t1 = this.pseudo;
  51017. switch (t1.normalizedName) {
  51018. case "not":
  51019. if (!B.Set_mlzm2.contains$1(0, innerPseudo.normalizedName))
  51020. return A._setArrayType([], type$.JSArray_ComplexSelector);
  51021. return innerSelector.components;
  51022. case "is":
  51023. case "matches":
  51024. case "where":
  51025. case "any":
  51026. case "current":
  51027. case "nth-child":
  51028. case "nth-last-child":
  51029. if (innerPseudo.name !== t1.name)
  51030. return A._setArrayType([], type$.JSArray_ComplexSelector);
  51031. if (innerPseudo.argument != t1.argument)
  51032. return A._setArrayType([], type$.JSArray_ComplexSelector);
  51033. return innerSelector.components;
  51034. case "has":
  51035. case "host":
  51036. case "host-context":
  51037. case "slotted":
  51038. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  51039. default:
  51040. return A._setArrayType([], type$.JSArray_ComplexSelector);
  51041. }
  51042. },
  51043. $signature: 361
  51044. };
  51045. A.ExtensionStore__extendPseudo_closure3.prototype = {
  51046. call$1(complex) {
  51047. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  51048. },
  51049. $signature: 362
  51050. };
  51051. A.ExtensionStore__trim_closure.prototype = {
  51052. call$1(complex2) {
  51053. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  51054. },
  51055. $signature: 17
  51056. };
  51057. A.ExtensionStore__trim_closure0.prototype = {
  51058. call$1(complex2) {
  51059. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  51060. },
  51061. $signature: 17
  51062. };
  51063. A.ExtensionStore_clone_closure.prototype = {
  51064. call$2(simple, selectors) {
  51065. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  51066. t1 = type$.ModifiableBox_SelectorList,
  51067. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  51068. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  51069. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  51070. t7 = t2.get$current(t2);
  51071. newSelector = new A.ModifiableBox(t7.value, t1);
  51072. newSelectorSet.add$1(0, newSelector);
  51073. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  51074. _0_0 = t5.$index(0, t7);
  51075. if (_0_0 != null)
  51076. t6.$indexSet(0, newSelector, _0_0);
  51077. }
  51078. },
  51079. $signature: 378
  51080. };
  51081. A.unifyComplex_closure.prototype = {
  51082. call$1(complex) {
  51083. return complex.lineBreak;
  51084. },
  51085. $signature: 17
  51086. };
  51087. A._weaveParents_closure.prototype = {
  51088. call$2(group1, group2) {
  51089. var t1, unified;
  51090. if (B.C_ListEquality.equals$2(0, group1, group2))
  51091. return group1;
  51092. if (A._complexIsParentSuperselector(group1, group2))
  51093. return group2;
  51094. if (A._complexIsParentSuperselector(group2, group1))
  51095. return group1;
  51096. if (!A._mustUnify(group1, group2))
  51097. return null;
  51098. t1 = this.span;
  51099. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty0, group1, t1, false), A.ComplexSelector$(B.List_empty0, group2, t1, false)], type$.JSArray_ComplexSelector), t1);
  51100. if (unified == null)
  51101. t1 = null;
  51102. else {
  51103. t1 = A.IterableExtension_get_singleOrNull(unified);
  51104. t1 = t1 == null ? null : t1.components;
  51105. }
  51106. return t1;
  51107. },
  51108. $signature: 379
  51109. };
  51110. A._weaveParents_closure0.prototype = {
  51111. call$1(sequence) {
  51112. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  51113. },
  51114. $signature: 209
  51115. };
  51116. A._weaveParents_closure1.prototype = {
  51117. call$1(sequence) {
  51118. return sequence.get$length(0) === 0;
  51119. },
  51120. $signature: 209
  51121. };
  51122. A._weaveParents_closure2.prototype = {
  51123. call$1(choice) {
  51124. return J.get$isNotEmpty$asx(choice);
  51125. },
  51126. $signature: 381
  51127. };
  51128. A._mustUnify_closure.prototype = {
  51129. call$1(component) {
  51130. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  51131. },
  51132. $signature: 51
  51133. };
  51134. A._mustUnify__closure.prototype = {
  51135. call$1(simple) {
  51136. var t1;
  51137. if (!(simple instanceof A.IDSelector))
  51138. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  51139. else
  51140. t1 = true;
  51141. return t1 && this.uniqueSelectors.contains$1(0, simple);
  51142. },
  51143. $signature: 13
  51144. };
  51145. A.paths_closure.prototype = {
  51146. call$2(paths, choice) {
  51147. var t1 = this.T;
  51148. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  51149. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  51150. },
  51151. $signature() {
  51152. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  51153. }
  51154. };
  51155. A.paths__closure.prototype = {
  51156. call$1(option) {
  51157. var t1 = this.T;
  51158. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  51159. },
  51160. $signature() {
  51161. return this.T._eval$1("Iterable<List<0>>(0)");
  51162. }
  51163. };
  51164. A.paths___closure.prototype = {
  51165. call$1(path) {
  51166. var t1 = A.List_List$of(path, true, this.T);
  51167. t1.push(this.option);
  51168. return t1;
  51169. },
  51170. $signature() {
  51171. return this.T._eval$1("List<0>(List<0>)");
  51172. }
  51173. };
  51174. A.listIsSuperselector_closure.prototype = {
  51175. call$1(complex1) {
  51176. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  51177. },
  51178. $signature: 17
  51179. };
  51180. A.listIsSuperselector__closure.prototype = {
  51181. call$1(complex2) {
  51182. return complex2.isSuperselector$1(this.complex1);
  51183. },
  51184. $signature: 17
  51185. };
  51186. A.complexIsSuperselector_closure.prototype = {
  51187. call$1($parent) {
  51188. return $parent.combinators.length > 1;
  51189. },
  51190. $signature: 51
  51191. };
  51192. A.complexIsSuperselector_closure0.prototype = {
  51193. call$1(component) {
  51194. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  51195. },
  51196. $signature: 51
  51197. };
  51198. A._compatibleWithPreviousCombinator_closure.prototype = {
  51199. call$1(component) {
  51200. var t1 = component.combinators,
  51201. t2 = A.IterableExtension_get_firstOrNull(t1);
  51202. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_y18)) {
  51203. t1 = A.IterableExtension_get_firstOrNull(t1);
  51204. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_gRV);
  51205. } else
  51206. t1 = true;
  51207. return t1;
  51208. },
  51209. $signature: 51
  51210. };
  51211. A.compoundIsSuperselector_closure.prototype = {
  51212. call$1(simple1) {
  51213. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  51214. },
  51215. $signature: 13
  51216. };
  51217. A._selectorPseudoIsSuperselector_closure.prototype = {
  51218. call$1(selector2) {
  51219. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51220. },
  51221. $signature: 74
  51222. };
  51223. A._selectorPseudoIsSuperselector_closure0.prototype = {
  51224. call$1(complex1) {
  51225. var t1, t2;
  51226. if (complex1.leadingCombinators.length === 0) {
  51227. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  51228. t2 = this.parents;
  51229. if (t2 != null)
  51230. B.JSArray_methods.addAll$1(t1, t2);
  51231. t2 = this.compound2;
  51232. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  51233. t1 = A.complexIsSuperselector(complex1.components, t1);
  51234. } else
  51235. t1 = false;
  51236. return t1;
  51237. },
  51238. $signature: 17
  51239. };
  51240. A._selectorPseudoIsSuperselector_closure1.prototype = {
  51241. call$1(selector2) {
  51242. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51243. },
  51244. $signature: 74
  51245. };
  51246. A._selectorPseudoIsSuperselector_closure2.prototype = {
  51247. call$1(selector2) {
  51248. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51249. },
  51250. $signature: 74
  51251. };
  51252. A._selectorPseudoIsSuperselector_closure3.prototype = {
  51253. call$1(complex) {
  51254. if (complex.accept$1(B._IsBogusVisitor_true))
  51255. return false;
  51256. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  51257. },
  51258. $signature: 17
  51259. };
  51260. A._selectorPseudoIsSuperselector__closure.prototype = {
  51261. call$1(simple2) {
  51262. var t1, selector2, _0_4, _this = this;
  51263. $label0$1: {
  51264. if (simple2 instanceof A.TypeSelector) {
  51265. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  51266. break $label0$1;
  51267. }
  51268. if (simple2 instanceof A.IDSelector) {
  51269. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  51270. break $label0$1;
  51271. }
  51272. selector2 = null;
  51273. t1 = false;
  51274. if (simple2 instanceof A.PseudoSelector) {
  51275. _0_4 = simple2.selector;
  51276. if (_0_4 != null) {
  51277. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  51278. t1 = simple2.name === _this.pseudo1.name;
  51279. }
  51280. }
  51281. if (t1) {
  51282. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  51283. break $label0$1;
  51284. }
  51285. t1 = false;
  51286. break $label0$1;
  51287. }
  51288. return t1;
  51289. },
  51290. $signature: 13
  51291. };
  51292. A._selectorPseudoIsSuperselector___closure.prototype = {
  51293. call$1(simple1) {
  51294. var t1;
  51295. if (simple1 instanceof A.TypeSelector) {
  51296. t1 = this.simple2;
  51297. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  51298. } else
  51299. t1 = false;
  51300. return t1;
  51301. },
  51302. $signature: 13
  51303. };
  51304. A._selectorPseudoIsSuperselector___closure0.prototype = {
  51305. call$1(simple1) {
  51306. var t1;
  51307. if (simple1 instanceof A.IDSelector) {
  51308. t1 = this.simple2;
  51309. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  51310. } else
  51311. t1 = false;
  51312. return t1;
  51313. },
  51314. $signature: 13
  51315. };
  51316. A._selectorPseudoIsSuperselector_closure4.prototype = {
  51317. call$1(selector2) {
  51318. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  51319. return t1;
  51320. },
  51321. $signature: 74
  51322. };
  51323. A._selectorPseudoIsSuperselector_closure5.prototype = {
  51324. call$1(pseudo2) {
  51325. var t1, selector2;
  51326. if (!(pseudo2 instanceof A.PseudoSelector))
  51327. return false;
  51328. t1 = this.pseudo1;
  51329. if (pseudo2.name !== t1.name)
  51330. return false;
  51331. if (pseudo2.argument != t1.argument)
  51332. return false;
  51333. selector2 = pseudo2.selector;
  51334. if (selector2 == null)
  51335. return false;
  51336. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51337. },
  51338. $signature: 13
  51339. };
  51340. A._selectorPseudoArgs_closure.prototype = {
  51341. call$1(pseudo) {
  51342. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  51343. },
  51344. $signature: 382
  51345. };
  51346. A._selectorPseudoArgs_closure0.prototype = {
  51347. call$1(pseudo) {
  51348. return pseudo.selector;
  51349. },
  51350. $signature: 387
  51351. };
  51352. A.MergedExtension.prototype = {
  51353. unmerge$0() {
  51354. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  51355. },
  51356. unmerge$body$MergedExtension() {
  51357. var $async$self = this;
  51358. return function() {
  51359. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  51360. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  51361. if ($async$errorCode === 1) {
  51362. $async$currentError = $async$result;
  51363. $async$goto = $async$handler;
  51364. }
  51365. while (true)
  51366. switch ($async$goto) {
  51367. case 0:
  51368. // Function start
  51369. left = $async$self.left;
  51370. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  51371. break;
  51372. case 2:
  51373. // then
  51374. $async$goto = 5;
  51375. return $async$iterator._yieldStar$1(left.unmerge$0());
  51376. case 5:
  51377. // after yield
  51378. // goto join
  51379. $async$goto = 3;
  51380. break;
  51381. case 4:
  51382. // else
  51383. $async$goto = 6;
  51384. return $async$iterator._async$_current = left, 1;
  51385. case 6:
  51386. // after yield
  51387. case 3:
  51388. // join
  51389. right = $async$self.right;
  51390. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  51391. break;
  51392. case 7:
  51393. // then
  51394. $async$goto = 10;
  51395. return $async$iterator._yieldStar$1(right.unmerge$0());
  51396. case 10:
  51397. // after yield
  51398. // goto join
  51399. $async$goto = 8;
  51400. break;
  51401. case 9:
  51402. // else
  51403. $async$goto = 11;
  51404. return $async$iterator._async$_current = right, 1;
  51405. case 11:
  51406. // after yield
  51407. case 8:
  51408. // join
  51409. // implicit return
  51410. return 0;
  51411. case 1:
  51412. // rethrow
  51413. return $async$iterator._datum = $async$currentError, 3;
  51414. }
  51415. };
  51416. };
  51417. }
  51418. };
  51419. A.ExtendMode.prototype = {
  51420. _enumToString$0() {
  51421. return "ExtendMode." + this._name;
  51422. },
  51423. toString$0(_) {
  51424. return this.name;
  51425. }
  51426. };
  51427. A.globalFunctions_closure.prototype = {
  51428. call$1($arguments) {
  51429. var t1 = J.getInterceptor$asx($arguments);
  51430. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  51431. },
  51432. $signature: 6
  51433. };
  51434. A.global_closure0.prototype = {
  51435. call$1($arguments) {
  51436. return A._rgb("rgb", $arguments);
  51437. },
  51438. $signature: 6
  51439. };
  51440. A.global_closure1.prototype = {
  51441. call$1($arguments) {
  51442. return A._rgb("rgb", $arguments);
  51443. },
  51444. $signature: 6
  51445. };
  51446. A.global_closure2.prototype = {
  51447. call$1($arguments) {
  51448. return A._rgbTwoArg("rgb", $arguments);
  51449. },
  51450. $signature: 6
  51451. };
  51452. A.global_closure3.prototype = {
  51453. call$1($arguments) {
  51454. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51455. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  51456. },
  51457. $signature: 6
  51458. };
  51459. A.global_closure4.prototype = {
  51460. call$1($arguments) {
  51461. return A._rgb("rgba", $arguments);
  51462. },
  51463. $signature: 6
  51464. };
  51465. A.global_closure5.prototype = {
  51466. call$1($arguments) {
  51467. return A._rgb("rgba", $arguments);
  51468. },
  51469. $signature: 6
  51470. };
  51471. A.global_closure6.prototype = {
  51472. call$1($arguments) {
  51473. return A._rgbTwoArg("rgba", $arguments);
  51474. },
  51475. $signature: 6
  51476. };
  51477. A.global_closure7.prototype = {
  51478. call$1($arguments) {
  51479. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51480. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  51481. },
  51482. $signature: 6
  51483. };
  51484. A.global_closure8.prototype = {
  51485. call$1($arguments) {
  51486. var color, t2,
  51487. t1 = J.getInterceptor$asx($arguments),
  51488. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51489. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  51490. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51491. throw A.wrapException(string$.Only_oa);
  51492. return A._functionString("invert", t1.take$1($arguments, 1));
  51493. }
  51494. color = t1.$index($arguments, 0).assertColor$1("color");
  51495. t1 = color.get$red(0);
  51496. t2 = color.get$green(0);
  51497. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51498. },
  51499. $signature: 6
  51500. };
  51501. A.global_closure9.prototype = {
  51502. call$1($arguments) {
  51503. return A._hsl("hsl", $arguments);
  51504. },
  51505. $signature: 6
  51506. };
  51507. A.global_closure10.prototype = {
  51508. call$1($arguments) {
  51509. return A._hsl("hsl", $arguments);
  51510. },
  51511. $signature: 6
  51512. };
  51513. A.global_closure11.prototype = {
  51514. call$1($arguments) {
  51515. var t1 = J.getInterceptor$asx($arguments);
  51516. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51517. return A._functionString("hsl", $arguments);
  51518. else
  51519. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51520. },
  51521. $signature: 18
  51522. };
  51523. A.global_closure12.prototype = {
  51524. call$1($arguments) {
  51525. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51526. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  51527. },
  51528. $signature: 6
  51529. };
  51530. A.global_closure13.prototype = {
  51531. call$1($arguments) {
  51532. return A._hsl("hsla", $arguments);
  51533. },
  51534. $signature: 6
  51535. };
  51536. A.global_closure14.prototype = {
  51537. call$1($arguments) {
  51538. return A._hsl("hsla", $arguments);
  51539. },
  51540. $signature: 6
  51541. };
  51542. A.global_closure15.prototype = {
  51543. call$1($arguments) {
  51544. var t1 = J.getInterceptor$asx($arguments);
  51545. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51546. return A._functionString("hsla", $arguments);
  51547. else
  51548. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51549. },
  51550. $signature: 18
  51551. };
  51552. A.global_closure16.prototype = {
  51553. call$1($arguments) {
  51554. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51555. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  51556. },
  51557. $signature: 6
  51558. };
  51559. A.global_closure17.prototype = {
  51560. call$1($arguments) {
  51561. var t1 = J.getInterceptor$asx($arguments);
  51562. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51563. return A._functionString("grayscale", $arguments);
  51564. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51565. },
  51566. $signature: 6
  51567. };
  51568. A.global_closure18.prototype = {
  51569. call$1($arguments) {
  51570. var t1 = J.getInterceptor$asx($arguments),
  51571. color = t1.$index($arguments, 0).assertColor$1("color"),
  51572. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  51573. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  51574. },
  51575. $signature: 29
  51576. };
  51577. A.global_closure19.prototype = {
  51578. call$1($arguments) {
  51579. var t1 = J.getInterceptor$asx($arguments),
  51580. color = t1.$index($arguments, 0).assertColor$1("color"),
  51581. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51582. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51583. },
  51584. $signature: 29
  51585. };
  51586. A.global_closure20.prototype = {
  51587. call$1($arguments) {
  51588. var t1 = J.getInterceptor$asx($arguments),
  51589. color = t1.$index($arguments, 0).assertColor$1("color"),
  51590. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51591. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51592. },
  51593. $signature: 29
  51594. };
  51595. A.global_closure21.prototype = {
  51596. call$1($arguments) {
  51597. var t1 = J.getInterceptor$asx($arguments);
  51598. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51599. return A._functionString("saturate", $arguments);
  51600. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  51601. },
  51602. $signature: 18
  51603. };
  51604. A.global_closure22.prototype = {
  51605. call$1($arguments) {
  51606. var t1 = J.getInterceptor$asx($arguments),
  51607. color = t1.$index($arguments, 0).assertColor$1("color"),
  51608. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51609. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51610. },
  51611. $signature: 29
  51612. };
  51613. A.global_closure23.prototype = {
  51614. call$1($arguments) {
  51615. var t1 = J.getInterceptor$asx($arguments),
  51616. color = t1.$index($arguments, 0).assertColor$1("color"),
  51617. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51618. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51619. },
  51620. $signature: 29
  51621. };
  51622. A.global_closure24.prototype = {
  51623. call$1($arguments) {
  51624. var argument = J.$index$asx($arguments, 0);
  51625. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  51626. return A._functionString("alpha", $arguments);
  51627. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51628. },
  51629. $signature: 6
  51630. };
  51631. A.global_closure25.prototype = {
  51632. call$1($arguments) {
  51633. var t1,
  51634. argList = J.$index$asx($arguments, 0).get$asList();
  51635. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  51636. return A._functionString("alpha", $arguments);
  51637. t1 = argList.length;
  51638. if (t1 === 0)
  51639. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  51640. else
  51641. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  51642. },
  51643. $signature: 18
  51644. };
  51645. A.global__closure.prototype = {
  51646. call$1(argument) {
  51647. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51648. },
  51649. $signature: 72
  51650. };
  51651. A.global_closure26.prototype = {
  51652. call$1($arguments) {
  51653. var t1 = J.getInterceptor$asx($arguments);
  51654. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51655. return A._functionString("opacity", $arguments);
  51656. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51657. },
  51658. $signature: 6
  51659. };
  51660. A.module_closure1.prototype = {
  51661. call$1($arguments) {
  51662. var result, color, t2,
  51663. t1 = J.getInterceptor$asx($arguments),
  51664. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51665. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51666. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51667. throw A.wrapException(string$.Only_oa);
  51668. result = A._functionString("invert", t1.take$1($arguments, 1));
  51669. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_iDZ);
  51670. return result;
  51671. }
  51672. color = t1.$index($arguments, 0).assertColor$1("color");
  51673. t1 = color.get$red(0);
  51674. t2 = color.get$green(0);
  51675. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51676. },
  51677. $signature: 6
  51678. };
  51679. A.module_closure2.prototype = {
  51680. call$1($arguments) {
  51681. var result,
  51682. t1 = J.getInterceptor$asx($arguments);
  51683. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51684. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  51685. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_iDZ);
  51686. return result;
  51687. }
  51688. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51689. },
  51690. $signature: 6
  51691. };
  51692. A.module_closure3.prototype = {
  51693. call$1($arguments) {
  51694. return A._hwb($arguments);
  51695. },
  51696. $signature: 6
  51697. };
  51698. A.module_closure4.prototype = {
  51699. call$1($arguments) {
  51700. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  51701. if (parsed instanceof A.SassString)
  51702. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  51703. else
  51704. return A._hwb(type$.List_Value._as(parsed));
  51705. },
  51706. $signature: 6
  51707. };
  51708. A.module_closure5.prototype = {
  51709. call$1($arguments) {
  51710. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  51711. },
  51712. $signature: 12
  51713. };
  51714. A.module_closure6.prototype = {
  51715. call$1($arguments) {
  51716. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  51717. },
  51718. $signature: 12
  51719. };
  51720. A.module_closure7.prototype = {
  51721. call$1($arguments) {
  51722. var result,
  51723. argument = J.$index$asx($arguments, 0);
  51724. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  51725. result = A._functionString("alpha", $arguments);
  51726. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_iDZ);
  51727. return result;
  51728. }
  51729. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51730. },
  51731. $signature: 6
  51732. };
  51733. A.module_closure8.prototype = {
  51734. call$1($arguments) {
  51735. var result,
  51736. t1 = J.getInterceptor$asx($arguments);
  51737. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  51738. result = A._functionString("alpha", $arguments);
  51739. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_iDZ);
  51740. return result;
  51741. }
  51742. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  51743. },
  51744. $signature: 18
  51745. };
  51746. A.module__closure1.prototype = {
  51747. call$1(argument) {
  51748. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51749. },
  51750. $signature: 72
  51751. };
  51752. A.module_closure9.prototype = {
  51753. call$1($arguments) {
  51754. var result,
  51755. t1 = J.getInterceptor$asx($arguments);
  51756. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51757. result = A._functionString("opacity", $arguments);
  51758. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0), B.Deprecation_iDZ);
  51759. return result;
  51760. }
  51761. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51762. },
  51763. $signature: 6
  51764. };
  51765. A._red_closure.prototype = {
  51766. call$1($arguments) {
  51767. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  51768. },
  51769. $signature: 12
  51770. };
  51771. A._green_closure.prototype = {
  51772. call$1($arguments) {
  51773. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  51774. },
  51775. $signature: 12
  51776. };
  51777. A._blue_closure.prototype = {
  51778. call$1($arguments) {
  51779. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  51780. },
  51781. $signature: 12
  51782. };
  51783. A._mix_closure.prototype = {
  51784. call$1($arguments) {
  51785. var t1 = J.getInterceptor$asx($arguments);
  51786. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  51787. },
  51788. $signature: 29
  51789. };
  51790. A._hue_closure.prototype = {
  51791. call$1($arguments) {
  51792. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  51793. },
  51794. $signature: 12
  51795. };
  51796. A._saturation_closure.prototype = {
  51797. call$1($arguments) {
  51798. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  51799. },
  51800. $signature: 12
  51801. };
  51802. A._lightness_closure.prototype = {
  51803. call$1($arguments) {
  51804. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  51805. },
  51806. $signature: 12
  51807. };
  51808. A._complement_closure.prototype = {
  51809. call$1($arguments) {
  51810. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  51811. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  51812. },
  51813. $signature: 29
  51814. };
  51815. A._adjust_closure.prototype = {
  51816. call$1($arguments) {
  51817. return A._updateComponents($arguments, true, false, false);
  51818. },
  51819. $signature: 29
  51820. };
  51821. A._scale_closure.prototype = {
  51822. call$1($arguments) {
  51823. return A._updateComponents($arguments, false, false, true);
  51824. },
  51825. $signature: 29
  51826. };
  51827. A._change_closure.prototype = {
  51828. call$1($arguments) {
  51829. return A._updateComponents($arguments, false, true, false);
  51830. },
  51831. $signature: 29
  51832. };
  51833. A._ieHexStr_closure.prototype = {
  51834. call$1($arguments) {
  51835. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  51836. t1 = new A._ieHexStr_closure_hexString();
  51837. 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);
  51838. },
  51839. $signature: 18
  51840. };
  51841. A._ieHexStr_closure_hexString.prototype = {
  51842. call$1(component) {
  51843. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  51844. },
  51845. $signature: 193
  51846. };
  51847. A._updateComponents_getParam.prototype = {
  51848. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  51849. var t2, _this = this,
  51850. t1 = _this.keywords.remove$1(0, $name),
  51851. number = t1 == null ? null : t1.assertNumber$1($name);
  51852. if (number == null)
  51853. return null;
  51854. t1 = _this.scale;
  51855. t2 = !t1;
  51856. if (t2 && checkUnitless)
  51857. if (number.get$hasUnits())
  51858. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + number.get$unitString() + string$.x20is_de + number.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_2jN);
  51859. if (t2 && checkPercent)
  51860. A._checkPercent(number, $name);
  51861. if (!t2 || assertPercent)
  51862. number.assertUnit$2("%", $name);
  51863. if (t1)
  51864. max = 100;
  51865. if (!t2 || assertPercent)
  51866. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  51867. else {
  51868. t1 = _this.change ? 0 : -max;
  51869. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  51870. }
  51871. return t1;
  51872. },
  51873. call$2($name, max) {
  51874. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  51875. },
  51876. call$3$checkUnitless($name, max, checkUnitless) {
  51877. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  51878. },
  51879. call$3$checkPercent($name, max, checkPercent) {
  51880. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  51881. },
  51882. call$3$assertPercent($name, max, assertPercent) {
  51883. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  51884. },
  51885. $signature: 192
  51886. };
  51887. A._updateComponents_closure.prototype = {
  51888. call$1(hue) {
  51889. return A._angleValue(hue, "hue");
  51890. },
  51891. $signature: 96
  51892. };
  51893. A._updateComponents_closure0.prototype = {
  51894. call$1($name) {
  51895. return "$" + $name;
  51896. },
  51897. $signature: 5
  51898. };
  51899. A._updateComponents_updateValue.prototype = {
  51900. call$3(current, param, max) {
  51901. var t1;
  51902. if (param == null)
  51903. return current;
  51904. if (this.change)
  51905. return param;
  51906. if (this.adjust)
  51907. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  51908. t1 = param > 0 ? max - current : current;
  51909. return current + t1 * (param / 100);
  51910. },
  51911. $signature: 189
  51912. };
  51913. A._updateComponents_updateRgb.prototype = {
  51914. call$2(current, param) {
  51915. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  51916. },
  51917. $signature: 262
  51918. };
  51919. A._functionString_closure.prototype = {
  51920. call$1(argument) {
  51921. return A.serializeValue(argument, false, true);
  51922. },
  51923. $signature: 445
  51924. };
  51925. A._removedColorFunction_closure.prototype = {
  51926. call$1($arguments) {
  51927. var t1 = this.name,
  51928. t2 = J.getInterceptor$asx($arguments),
  51929. t3 = A.S(t2.$index($arguments, 0)),
  51930. t4 = this.negative ? "-" : "";
  51931. 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));
  51932. },
  51933. $signature: 457
  51934. };
  51935. A._rgb_closure.prototype = {
  51936. call$1(alpha) {
  51937. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51938. },
  51939. $signature: 96
  51940. };
  51941. A._hsl_closure.prototype = {
  51942. call$1(alpha) {
  51943. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51944. },
  51945. $signature: 96
  51946. };
  51947. A._hwb_closure.prototype = {
  51948. call$1(alpha) {
  51949. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51950. },
  51951. $signature: 96
  51952. };
  51953. A._parseChannels_closure.prototype = {
  51954. call$1(value) {
  51955. return value.get$isVar();
  51956. },
  51957. $signature: 72
  51958. };
  51959. A._length_closure0.prototype = {
  51960. call$1($arguments) {
  51961. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  51962. },
  51963. $signature: 12
  51964. };
  51965. A._nth_closure.prototype = {
  51966. call$1($arguments) {
  51967. var t1 = J.getInterceptor$asx($arguments),
  51968. list = t1.$index($arguments, 0),
  51969. index = t1.$index($arguments, 1);
  51970. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  51971. },
  51972. $signature: 6
  51973. };
  51974. A._setNth_closure.prototype = {
  51975. call$1($arguments) {
  51976. var newList,
  51977. t1 = J.getInterceptor$asx($arguments),
  51978. list = t1.$index($arguments, 0),
  51979. index = t1.$index($arguments, 1),
  51980. value = t1.$index($arguments, 2);
  51981. t1 = list.get$asList();
  51982. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  51983. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  51984. return list.withListContents$1(newList);
  51985. },
  51986. $signature: 24
  51987. };
  51988. A._join_closure.prototype = {
  51989. call$1($arguments) {
  51990. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  51991. t1 = J.getInterceptor$asx($arguments),
  51992. list1 = t1.$index($arguments, 0),
  51993. list2 = t1.$index($arguments, 1),
  51994. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  51995. bracketedParam = t1.$index($arguments, 3),
  51996. _1_0 = separatorParam._string$_text;
  51997. $label1$1: {
  51998. if ("auto" === _1_0) {
  51999. _0_1 = list1.get$separator(list1);
  52000. _0_4 = list2.get$separator(list2);
  52001. $label0$0: {
  52002. t1 = _null;
  52003. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  52004. t2 = _0_3;
  52005. if (t2) {
  52006. t3 = B.ListSeparator_undecided_null_undecided === _0_4;
  52007. _0_40 = _0_4;
  52008. } else {
  52009. _0_40 = _null;
  52010. t3 = false;
  52011. }
  52012. if (t3) {
  52013. t1 = B.ListSeparator_nbm;
  52014. break $label0$0;
  52015. }
  52016. if (_0_3)
  52017. separator = t2 ? _0_40 : _0_4;
  52018. else
  52019. separator = t1;
  52020. if (!_0_3)
  52021. separator = _0_1;
  52022. t1 = separator;
  52023. break $label0$0;
  52024. }
  52025. break $label1$1;
  52026. }
  52027. if ("space" === _1_0) {
  52028. t1 = B.ListSeparator_nbm;
  52029. break $label1$1;
  52030. }
  52031. if ("comma" === _1_0) {
  52032. t1 = B.ListSeparator_ECn;
  52033. break $label1$1;
  52034. }
  52035. if ("slash" === _1_0) {
  52036. t1 = B.ListSeparator_cQA;
  52037. break $label1$1;
  52038. }
  52039. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  52040. }
  52041. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  52042. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  52043. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  52044. return A.SassList$(t2, t1, bracketed);
  52045. },
  52046. $signature: 24
  52047. };
  52048. A._append_closure0.prototype = {
  52049. call$1($arguments) {
  52050. var t2,
  52051. t1 = J.getInterceptor$asx($arguments),
  52052. list = t1.$index($arguments, 0),
  52053. value = t1.$index($arguments, 1),
  52054. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  52055. $label0$0: {
  52056. if ("auto" === _0_0) {
  52057. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_nbm : list.get$separator(list);
  52058. break $label0$0;
  52059. }
  52060. if ("space" === _0_0) {
  52061. t1 = B.ListSeparator_nbm;
  52062. break $label0$0;
  52063. }
  52064. if ("comma" === _0_0) {
  52065. t1 = B.ListSeparator_ECn;
  52066. break $label0$0;
  52067. }
  52068. if ("slash" === _0_0) {
  52069. t1 = B.ListSeparator_cQA;
  52070. break $label0$0;
  52071. }
  52072. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  52073. }
  52074. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  52075. t2.push(value);
  52076. return list.withListContents$2$separator(t2, t1);
  52077. },
  52078. $signature: 24
  52079. };
  52080. A._zip_closure.prototype = {
  52081. call$1($arguments) {
  52082. var results, result, _box_0 = {},
  52083. t1 = J.$index$asx($arguments, 0).get$asList(),
  52084. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  52085. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52086. if (lists.length === 0)
  52087. return B.SassList_bdS;
  52088. _box_0.i = 0;
  52089. results = A._setArrayType([], type$.JSArray_SassList);
  52090. 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));) {
  52091. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  52092. result.fixed$length = Array;
  52093. result.immutable$list = Array;
  52094. results.push(new A.SassList(result, B.ListSeparator_nbm, false));
  52095. ++_box_0.i;
  52096. }
  52097. return A.SassList$(results, B.ListSeparator_ECn, false);
  52098. },
  52099. $signature: 24
  52100. };
  52101. A._zip__closure.prototype = {
  52102. call$1(list) {
  52103. return list.get$asList();
  52104. },
  52105. $signature: 561
  52106. };
  52107. A._zip__closure0.prototype = {
  52108. call$1(list) {
  52109. return this._box_0.i !== J.get$length$asx(list);
  52110. },
  52111. $signature: 599
  52112. };
  52113. A._zip__closure1.prototype = {
  52114. call$1(list) {
  52115. return J.$index$asx(list, this._box_0.i);
  52116. },
  52117. $signature: 6
  52118. };
  52119. A._index_closure0.prototype = {
  52120. call$1($arguments) {
  52121. var t1 = J.getInterceptor$asx($arguments),
  52122. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  52123. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  52124. },
  52125. $signature: 6
  52126. };
  52127. A._separator_closure.prototype = {
  52128. call$1($arguments) {
  52129. var t1,
  52130. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  52131. $label0$0: {
  52132. if (B.ListSeparator_ECn === _0_0) {
  52133. t1 = new A.SassString("comma", false);
  52134. break $label0$0;
  52135. }
  52136. if (B.ListSeparator_cQA === _0_0) {
  52137. t1 = new A.SassString("slash", false);
  52138. break $label0$0;
  52139. }
  52140. t1 = new A.SassString("space", false);
  52141. break $label0$0;
  52142. }
  52143. return t1;
  52144. },
  52145. $signature: 18
  52146. };
  52147. A._isBracketed_closure.prototype = {
  52148. call$1($arguments) {
  52149. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  52150. },
  52151. $signature: 20
  52152. };
  52153. A._slash_closure.prototype = {
  52154. call$1($arguments) {
  52155. var list = J.$index$asx($arguments, 0).get$asList();
  52156. if (list.length < 2)
  52157. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  52158. return A.SassList$(list, B.ListSeparator_cQA, false);
  52159. },
  52160. $signature: 24
  52161. };
  52162. A._get_closure.prototype = {
  52163. call$1($arguments) {
  52164. var value,
  52165. t1 = J.getInterceptor$asx($arguments),
  52166. map = t1.$index($arguments, 0).assertMap$1("map"),
  52167. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52168. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52169. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52170. value = map._map$_contents.$index(0, t1.get$current(t1));
  52171. if (!(value instanceof A.SassMap))
  52172. return B.C__SassNull;
  52173. }
  52174. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  52175. return t1 == null ? B.C__SassNull : t1;
  52176. },
  52177. $signature: 6
  52178. };
  52179. A._set_closure.prototype = {
  52180. call$1($arguments) {
  52181. var t1 = J.getInterceptor$asx($arguments);
  52182. 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);
  52183. },
  52184. $signature: 6
  52185. };
  52186. A._set__closure0.prototype = {
  52187. call$1(_) {
  52188. return J.$index$asx(this.$arguments, 2);
  52189. },
  52190. $signature: 40
  52191. };
  52192. A._set_closure0.prototype = {
  52193. call$1($arguments) {
  52194. var keys, t3, t1 = {},
  52195. t2 = J.getInterceptor$asx($arguments),
  52196. map = t2.$index($arguments, 0).assertMap$1("map"),
  52197. _0_0 = t2.$index($arguments, 1).get$asList(),
  52198. _0_1 = _0_0.length;
  52199. if (_0_1 <= 0)
  52200. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  52201. if (_0_1 === 1)
  52202. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  52203. keys = t1.value = null;
  52204. t2 = _0_1 >= 1;
  52205. if (t2) {
  52206. t3 = _0_1 - 1;
  52207. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  52208. t1.value = _0_0[t3];
  52209. }
  52210. if (t2)
  52211. return A._modify(map, keys, new A._set__closure(t1), true);
  52212. throw A.wrapException("[BUG] Unreachable code");
  52213. },
  52214. $signature: 6
  52215. };
  52216. A._set__closure.prototype = {
  52217. call$1(_) {
  52218. return this._box_0.value;
  52219. },
  52220. $signature: 40
  52221. };
  52222. A._merge_closure.prototype = {
  52223. call$1($arguments) {
  52224. var t2,
  52225. t1 = J.getInterceptor$asx($arguments),
  52226. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52227. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  52228. t1 = type$.Value;
  52229. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  52230. t2.addAll$1(0, map2._map$_contents);
  52231. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52232. },
  52233. $signature: 34
  52234. };
  52235. A._merge_closure0.prototype = {
  52236. call$1($arguments) {
  52237. var last, t2, keys, _null = null,
  52238. t1 = J.getInterceptor$asx($arguments),
  52239. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52240. _0_0 = t1.$index($arguments, 1).get$asList(),
  52241. _0_1 = _0_0.length;
  52242. if (_0_1 <= 0)
  52243. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  52244. if (_0_1 === 1)
  52245. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  52246. t1 = _0_1 >= 1;
  52247. last = _null;
  52248. if (t1) {
  52249. t2 = _0_1 - 1;
  52250. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  52251. last = _0_0[t2];
  52252. } else
  52253. keys = _null;
  52254. if (t1)
  52255. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  52256. throw A.wrapException("[BUG] Unreachable code");
  52257. },
  52258. $signature: 6
  52259. };
  52260. A._merge__closure.prototype = {
  52261. call$1(oldValue) {
  52262. var t1, t2,
  52263. nestedMap = oldValue.tryMap$0();
  52264. if (nestedMap == null)
  52265. return this.map2;
  52266. t1 = type$.Value;
  52267. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52268. t2.addAll$1(0, this.map2._map$_contents);
  52269. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52270. },
  52271. $signature: 638
  52272. };
  52273. A._deepMerge_closure.prototype = {
  52274. call$1($arguments) {
  52275. var t1 = J.getInterceptor$asx($arguments);
  52276. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  52277. },
  52278. $signature: 34
  52279. };
  52280. A._deepRemove_closure.prototype = {
  52281. call$1($arguments) {
  52282. var t1 = J.getInterceptor$asx($arguments),
  52283. map = t1.$index($arguments, 0).assertMap$1("map"),
  52284. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52285. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52286. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  52287. },
  52288. $signature: 6
  52289. };
  52290. A._deepRemove__closure.prototype = {
  52291. call$1(value) {
  52292. var t1, nestedMap, t2,
  52293. _0_0 = value.tryMap$0();
  52294. if (_0_0 != null) {
  52295. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  52296. nestedMap = _0_0;
  52297. } else {
  52298. nestedMap = null;
  52299. t1 = false;
  52300. }
  52301. if (t1) {
  52302. t1 = type$.Value;
  52303. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52304. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  52305. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52306. }
  52307. return value;
  52308. },
  52309. $signature: 40
  52310. };
  52311. A._remove_closure.prototype = {
  52312. call$1($arguments) {
  52313. return J.$index$asx($arguments, 0).assertMap$1("map");
  52314. },
  52315. $signature: 34
  52316. };
  52317. A._remove_closure0.prototype = {
  52318. call$1($arguments) {
  52319. var mutableMap, t3, _i,
  52320. t1 = J.getInterceptor$asx($arguments),
  52321. map = t1.$index($arguments, 0).assertMap$1("map"),
  52322. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52323. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52324. t1 = type$.Value;
  52325. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  52326. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  52327. mutableMap.remove$1(0, t2[_i]);
  52328. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52329. },
  52330. $signature: 34
  52331. };
  52332. A._keys_closure.prototype = {
  52333. call$1($arguments) {
  52334. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52335. return A.SassList$(t1.get$keys(t1), B.ListSeparator_ECn, false);
  52336. },
  52337. $signature: 24
  52338. };
  52339. A._values_closure.prototype = {
  52340. call$1($arguments) {
  52341. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52342. return A.SassList$(t1.get$values(t1), B.ListSeparator_ECn, false);
  52343. },
  52344. $signature: 24
  52345. };
  52346. A._hasKey_closure.prototype = {
  52347. call$1($arguments) {
  52348. var value,
  52349. t1 = J.getInterceptor$asx($arguments),
  52350. map = t1.$index($arguments, 0).assertMap$1("map"),
  52351. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52352. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52353. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52354. value = map._map$_contents.$index(0, t1.get$current(t1));
  52355. if (!(value instanceof A.SassMap))
  52356. return B.SassBoolean_false;
  52357. }
  52358. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  52359. },
  52360. $signature: 20
  52361. };
  52362. A._modify_modifyNestedMap.prototype = {
  52363. call$1(map) {
  52364. var nestedMap, _this = this,
  52365. t1 = type$.Value,
  52366. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  52367. t2 = _this.keyIterator,
  52368. key = t2.get$current(t2);
  52369. if (!t2.moveNext$0()) {
  52370. t2 = mutableMap.$index(0, key);
  52371. if (t2 == null)
  52372. t2 = B.C__SassNull;
  52373. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  52374. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52375. }
  52376. t2 = mutableMap.$index(0, key);
  52377. nestedMap = t2 == null ? null : t2.tryMap$0();
  52378. t2 = nestedMap == null;
  52379. if (t2 && !_this.addNesting)
  52380. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52381. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  52382. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52383. },
  52384. $signature: 305
  52385. };
  52386. A.global_closure.prototype = {
  52387. call$1($arguments) {
  52388. var t1,
  52389. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52390. if (number.hasUnit$1("%"))
  52391. A.warnForDeprecation(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_GFc);
  52392. t1 = number.get$numeratorUnits(number);
  52393. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  52394. },
  52395. $signature: 12
  52396. };
  52397. A.module_closure0.prototype = {
  52398. call$1(value) {
  52399. return Math.abs(value);
  52400. },
  52401. $signature: 37
  52402. };
  52403. A._ceil_closure.prototype = {
  52404. call$1(value) {
  52405. return B.JSNumber_methods.ceil$0(value);
  52406. },
  52407. $signature: 37
  52408. };
  52409. A._clamp_closure.prototype = {
  52410. call$1($arguments) {
  52411. var t1 = J.getInterceptor$asx($arguments),
  52412. min = t1.$index($arguments, 0).assertNumber$1("min"),
  52413. number = t1.$index($arguments, 1).assertNumber$1("number"),
  52414. max = t1.$index($arguments, 2).assertNumber$1("max");
  52415. number.convertValueToMatch$3(min, "number", "min");
  52416. max.convertValueToMatch$3(min, "max", "min");
  52417. if (min.greaterThanOrEquals$1(max).value)
  52418. return min;
  52419. if (min.greaterThanOrEquals$1(number).value)
  52420. return min;
  52421. if (number.greaterThanOrEquals$1(max).value)
  52422. return max;
  52423. return number;
  52424. },
  52425. $signature: 12
  52426. };
  52427. A._floor_closure.prototype = {
  52428. call$1(value) {
  52429. return B.JSNumber_methods.floor$0(value);
  52430. },
  52431. $signature: 37
  52432. };
  52433. A._max_closure.prototype = {
  52434. call$1($arguments) {
  52435. var t1, t2, max, _i, number;
  52436. 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) {
  52437. number = t1[_i].assertNumber$0();
  52438. if (max == null || max.lessThan$1(number).value)
  52439. max = number;
  52440. }
  52441. if (max != null)
  52442. return max;
  52443. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52444. },
  52445. $signature: 12
  52446. };
  52447. A._min_closure.prototype = {
  52448. call$1($arguments) {
  52449. var t1, t2, min, _i, number;
  52450. 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) {
  52451. number = t1[_i].assertNumber$0();
  52452. if (min == null || min.greaterThan$1(number).value)
  52453. min = number;
  52454. }
  52455. if (min != null)
  52456. return min;
  52457. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52458. },
  52459. $signature: 12
  52460. };
  52461. A._round_closure.prototype = {
  52462. call$1(number) {
  52463. return B.JSNumber_methods.round$0(number);
  52464. },
  52465. $signature: 37
  52466. };
  52467. A._hypot_closure.prototype = {
  52468. call$1($arguments) {
  52469. var subtotal, i, i0, t3, t4,
  52470. t1 = J.$index$asx($arguments, 0).get$asList(),
  52471. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  52472. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52473. t1 = numbers.length;
  52474. if (t1 === 0)
  52475. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52476. for (subtotal = 0, i = 0; i < t1; i = i0) {
  52477. i0 = i + 1;
  52478. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  52479. }
  52480. t1 = Math.sqrt(subtotal);
  52481. t2 = numbers[0];
  52482. t3 = J.getInterceptor$x(t2);
  52483. t4 = t3.get$numeratorUnits(t2);
  52484. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  52485. },
  52486. $signature: 12
  52487. };
  52488. A._hypot__closure.prototype = {
  52489. call$1(argument) {
  52490. return argument.assertNumber$0();
  52491. },
  52492. $signature: 617
  52493. };
  52494. A._log_closure.prototype = {
  52495. call$1($arguments) {
  52496. var base,
  52497. _s18_ = " to have no units.",
  52498. _null = null,
  52499. t1 = J.getInterceptor$asx($arguments),
  52500. number = t1.$index($arguments, 0).assertNumber$1("number");
  52501. if (number.get$hasUnits())
  52502. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  52503. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  52504. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  52505. base = t1.$index($arguments, 1).assertNumber$1("base");
  52506. if (base.get$hasUnits())
  52507. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  52508. else
  52509. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  52510. },
  52511. $signature: 12
  52512. };
  52513. A._pow_closure.prototype = {
  52514. call$1($arguments) {
  52515. var t1 = J.getInterceptor$asx($arguments);
  52516. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  52517. },
  52518. $signature: 12
  52519. };
  52520. A._atan2_closure.prototype = {
  52521. call$1($arguments) {
  52522. var t1 = J.getInterceptor$asx($arguments),
  52523. y = t1.$index($arguments, 0).assertNumber$1("y");
  52524. 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));
  52525. },
  52526. $signature: 12
  52527. };
  52528. A._compatible_closure.prototype = {
  52529. call$1($arguments) {
  52530. var t1 = J.getInterceptor$asx($arguments);
  52531. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  52532. },
  52533. $signature: 20
  52534. };
  52535. A._isUnitless_closure.prototype = {
  52536. call$1($arguments) {
  52537. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  52538. },
  52539. $signature: 20
  52540. };
  52541. A._unit_closure.prototype = {
  52542. call$1($arguments) {
  52543. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  52544. },
  52545. $signature: 18
  52546. };
  52547. A._percentage_closure.prototype = {
  52548. call$1($arguments) {
  52549. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52550. number.assertNoUnits$1("number");
  52551. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  52552. },
  52553. $signature: 12
  52554. };
  52555. A._randomFunction_closure.prototype = {
  52556. call$1($arguments) {
  52557. var limit, limitScalar,
  52558. t1 = J.getInterceptor$asx($arguments);
  52559. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  52560. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  52561. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  52562. if (limit.get$hasUnits())
  52563. A.warnForDeprecation(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_2jN);
  52564. limitScalar = limit.assertInt$1("limit");
  52565. if (limitScalar < 1)
  52566. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  52567. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  52568. },
  52569. $signature: 12
  52570. };
  52571. A._div_closure.prototype = {
  52572. call$1($arguments) {
  52573. var t1 = J.getInterceptor$asx($arguments),
  52574. number1 = t1.$index($arguments, 0),
  52575. number2 = t1.$index($arguments, 1);
  52576. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  52577. A.warn(string$.math_d);
  52578. return number1.dividedBy$1(number2);
  52579. },
  52580. $signature: 6
  52581. };
  52582. A._singleArgumentMathFunc_closure.prototype = {
  52583. call$1($arguments) {
  52584. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  52585. },
  52586. $signature: 12
  52587. };
  52588. A._numberFunction_closure.prototype = {
  52589. call$1($arguments) {
  52590. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  52591. t1 = this.transform.call$1(number._number$_value),
  52592. t2 = number.get$numeratorUnits(number);
  52593. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  52594. },
  52595. $signature: 12
  52596. };
  52597. A.global_closure27.prototype = {
  52598. call$1($arguments) {
  52599. A.warnForDeprecation(string$.The_fe, B.Deprecation_E6M);
  52600. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  52601. },
  52602. $signature: 20
  52603. };
  52604. A.global_closure28.prototype = {
  52605. call$1($arguments) {
  52606. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  52607. },
  52608. $signature: 18
  52609. };
  52610. A.global_closure29.prototype = {
  52611. call$1($arguments) {
  52612. var t1 = J.getInterceptor$asx($arguments),
  52613. _0_0 = t1.$index($arguments, 0);
  52614. $label0$0: {
  52615. if (_0_0 instanceof A.SassArgumentList) {
  52616. t1 = "arglist";
  52617. break $label0$0;
  52618. }
  52619. if (_0_0 instanceof A.SassBoolean) {
  52620. t1 = "bool";
  52621. break $label0$0;
  52622. }
  52623. if (_0_0 instanceof A.SassColor) {
  52624. t1 = "color";
  52625. break $label0$0;
  52626. }
  52627. if (_0_0 instanceof A.SassList) {
  52628. t1 = "list";
  52629. break $label0$0;
  52630. }
  52631. if (_0_0 instanceof A.SassMap) {
  52632. t1 = "map";
  52633. break $label0$0;
  52634. }
  52635. if (B.C__SassNull === _0_0) {
  52636. t1 = "null";
  52637. break $label0$0;
  52638. }
  52639. if (_0_0 instanceof A.SassNumber) {
  52640. t1 = "number";
  52641. break $label0$0;
  52642. }
  52643. if (_0_0 instanceof A.SassFunction) {
  52644. t1 = "function";
  52645. break $label0$0;
  52646. }
  52647. if (_0_0 instanceof A.SassMixin) {
  52648. t1 = "mixin";
  52649. break $label0$0;
  52650. }
  52651. if (_0_0 instanceof A.SassCalculation) {
  52652. t1 = "calculation";
  52653. break $label0$0;
  52654. }
  52655. if (_0_0 instanceof A.SassString) {
  52656. t1 = "string";
  52657. break $label0$0;
  52658. }
  52659. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  52660. }
  52661. return new A.SassString(t1, false);
  52662. },
  52663. $signature: 18
  52664. };
  52665. A.global_closure30.prototype = {
  52666. call$1($arguments) {
  52667. var t2, t3, t4,
  52668. t1 = J.getInterceptor$asx($arguments),
  52669. _1_0 = t1.$index($arguments, 0);
  52670. if (_1_0 instanceof A.SassArgumentList) {
  52671. _1_0._wereKeywordsAccessed = true;
  52672. t1 = type$.Value;
  52673. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52674. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  52675. t4 = t3.get$current(t3);
  52676. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  52677. }
  52678. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52679. } else
  52680. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  52681. },
  52682. $signature: 34
  52683. };
  52684. A.local_closure.prototype = {
  52685. call$1($arguments) {
  52686. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  52687. },
  52688. $signature: 18
  52689. };
  52690. A.local_closure0.prototype = {
  52691. call$1($arguments) {
  52692. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  52693. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  52694. },
  52695. $signature: 24
  52696. };
  52697. A.local__closure.prototype = {
  52698. call$1(argument) {
  52699. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  52700. },
  52701. $signature: 616
  52702. };
  52703. A.local_closure1.prototype = {
  52704. call$1($arguments) {
  52705. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  52706. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  52707. _0_0 = mixin.callable;
  52708. $label0$0: {
  52709. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  52710. if (_0_2_isSet) {
  52711. _0_2 = _0_0.get$acceptsContent();
  52712. acceptsContent = _0_2;
  52713. } else
  52714. acceptsContent = null;
  52715. if (!_0_2_isSet) {
  52716. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  52717. if (_0_2_isSet) {
  52718. _0_2 = _0_0.acceptsContent;
  52719. acceptsContent = _0_2;
  52720. }
  52721. t1 = _0_2_isSet;
  52722. } else
  52723. t1 = true;
  52724. if (t1) {
  52725. t1 = acceptsContent;
  52726. break $label0$0;
  52727. }
  52728. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  52729. if (_0_5_isSet) {
  52730. _0_5 = _0_0.declaration;
  52731. t1 = _0_5 instanceof A.MixinRule;
  52732. } else {
  52733. _0_5 = null;
  52734. t1 = false;
  52735. }
  52736. if (t1) {
  52737. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  52738. hasContent = type$.MixinRule._as(t1).get$hasContent();
  52739. t1 = hasContent;
  52740. break $label0$0;
  52741. }
  52742. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  52743. }
  52744. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  52745. },
  52746. $signature: 20
  52747. };
  52748. A._nest_closure.prototype = {
  52749. call$1($arguments) {
  52750. var t1 = {},
  52751. selectors = J.$index$asx($arguments, 0).get$asList();
  52752. if (selectors.length === 0)
  52753. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52754. t1.first = true;
  52755. 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();
  52756. },
  52757. $signature: 24
  52758. };
  52759. A._nest__closure.prototype = {
  52760. call$1(selector) {
  52761. var t1 = this._box_0,
  52762. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  52763. t1.first = false;
  52764. return result;
  52765. },
  52766. $signature: 139
  52767. };
  52768. A._nest__closure0.prototype = {
  52769. call$2($parent, child) {
  52770. return child.nestWithin$1($parent);
  52771. },
  52772. $signature: 140
  52773. };
  52774. A._append_closure.prototype = {
  52775. call$1($arguments) {
  52776. var t1,
  52777. selectors = J.$index$asx($arguments, 0).get$asList();
  52778. if (selectors.length === 0)
  52779. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52780. t1 = A.EvaluationContext_currentOrNull();
  52781. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  52782. },
  52783. $signature: 24
  52784. };
  52785. A._append__closure.prototype = {
  52786. call$1(selector) {
  52787. return A.SassApiValue_assertSelector(selector, false, null);
  52788. },
  52789. $signature: 139
  52790. };
  52791. A._append__closure0.prototype = {
  52792. call$2($parent, child) {
  52793. var t1 = child.components,
  52794. t2 = this.span;
  52795. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), t2).nestWithin$1($parent);
  52796. },
  52797. $signature: 140
  52798. };
  52799. A._append___closure.prototype = {
  52800. call$1(complex) {
  52801. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  52802. if (complex.leadingCombinators.length !== 0)
  52803. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52804. _0_0 = complex.components;
  52805. t1 = _0_0.length >= 1;
  52806. if (t1) {
  52807. component = _0_0[0];
  52808. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  52809. } else {
  52810. rest = _null;
  52811. component = rest;
  52812. }
  52813. if (!t1)
  52814. throw A.wrapException(A.StateError$("Pattern matching error"));
  52815. newCompound = A._prependParent(component.selector);
  52816. if (newCompound == null)
  52817. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52818. t1 = this.span;
  52819. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  52820. B.JSArray_methods.addAll$1(t2, rest);
  52821. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  52822. },
  52823. $signature: 59
  52824. };
  52825. A._extend_closure.prototype = {
  52826. call$1($arguments) {
  52827. var target, source,
  52828. _s8_ = "selector",
  52829. _s8_0 = "extendee",
  52830. _s8_1 = "extender",
  52831. t1 = J.getInterceptor$asx($arguments),
  52832. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52833. selector.assertNotBogus$1$name(_s8_);
  52834. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52835. target.assertNotBogus$1$name(_s8_0);
  52836. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  52837. source.assertNotBogus$1$name(_s8_1);
  52838. t1 = A.EvaluationContext_currentOrNull();
  52839. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  52840. },
  52841. $signature: 24
  52842. };
  52843. A._replace_closure.prototype = {
  52844. call$1($arguments) {
  52845. var target, source,
  52846. _s8_ = "selector",
  52847. _s8_0 = "original",
  52848. _s11_ = "replacement",
  52849. t1 = J.getInterceptor$asx($arguments),
  52850. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52851. selector.assertNotBogus$1$name(_s8_);
  52852. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52853. target.assertNotBogus$1$name(_s8_0);
  52854. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  52855. source.assertNotBogus$1$name(_s11_);
  52856. t1 = A.EvaluationContext_currentOrNull();
  52857. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  52858. },
  52859. $signature: 24
  52860. };
  52861. A._unify_closure.prototype = {
  52862. call$1($arguments) {
  52863. var selector2,
  52864. _s9_ = "selector1",
  52865. _s9_0 = "selector2",
  52866. t1 = J.getInterceptor$asx($arguments),
  52867. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  52868. selector1.assertNotBogus$1$name(_s9_);
  52869. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  52870. selector2.assertNotBogus$1$name(_s9_0);
  52871. t1 = selector1.unify$1(selector2);
  52872. t1 = t1 == null ? null : t1.get$asSassList();
  52873. return t1 == null ? B.C__SassNull : t1;
  52874. },
  52875. $signature: 6
  52876. };
  52877. A._isSuperselector_closure.prototype = {
  52878. call$1($arguments) {
  52879. var selector2,
  52880. t1 = J.getInterceptor$asx($arguments),
  52881. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  52882. selector1.assertNotBogus$1$name("super");
  52883. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  52884. selector2.assertNotBogus$1$name("sub");
  52885. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  52886. },
  52887. $signature: 20
  52888. };
  52889. A._simpleSelectors_closure.prototype = {
  52890. call$1($arguments) {
  52891. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  52892. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  52893. },
  52894. $signature: 24
  52895. };
  52896. A._simpleSelectors__closure.prototype = {
  52897. call$1(simple) {
  52898. return new A.SassString(A.serializeSelector(simple, true), false);
  52899. },
  52900. $signature: 614
  52901. };
  52902. A._parse_closure.prototype = {
  52903. call$1($arguments) {
  52904. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  52905. },
  52906. $signature: 24
  52907. };
  52908. A.module_closure.prototype = {
  52909. call$1($arguments) {
  52910. var limit, t2, chunks, i, lastEnd, match, t3,
  52911. t1 = J.getInterceptor$asx($arguments),
  52912. string = t1.$index($arguments, 0).assertString$1("string"),
  52913. separator = t1.$index($arguments, 1).assertString$1("separator");
  52914. t1 = t1.$index($arguments, 2).get$realNull();
  52915. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  52916. if (limit != null && limit < 1)
  52917. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  52918. t1 = string._string$_text;
  52919. if (t1.length === 0)
  52920. return B.SassList_bdS0;
  52921. else {
  52922. t2 = separator._string$_text;
  52923. if (t2.length === 0)
  52924. 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_ECn, true);
  52925. }
  52926. chunks = A._setArrayType([], type$.JSArray_String);
  52927. 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();) {
  52928. match = t2.__js_helper$_current;
  52929. t3 = match.start;
  52930. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  52931. lastEnd = t3 + match.pattern.length;
  52932. ++i;
  52933. if (i === limit)
  52934. break;
  52935. }
  52936. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  52937. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_ECn, true);
  52938. },
  52939. $signature: 24
  52940. };
  52941. A.module__closure.prototype = {
  52942. call$1(rune) {
  52943. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  52944. },
  52945. $signature: 613
  52946. };
  52947. A.module__closure0.prototype = {
  52948. call$1(chunk) {
  52949. return new A.SassString(chunk, this.string._hasQuotes);
  52950. },
  52951. $signature: 598
  52952. };
  52953. A._unquote_closure.prototype = {
  52954. call$1($arguments) {
  52955. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52956. if (!string._hasQuotes)
  52957. return string;
  52958. return new A.SassString(string._string$_text, false);
  52959. },
  52960. $signature: 18
  52961. };
  52962. A._quote_closure.prototype = {
  52963. call$1($arguments) {
  52964. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52965. if (string._hasQuotes)
  52966. return string;
  52967. return new A.SassString(string._string$_text, true);
  52968. },
  52969. $signature: 18
  52970. };
  52971. A._length_closure.prototype = {
  52972. call$1($arguments) {
  52973. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  52974. },
  52975. $signature: 12
  52976. };
  52977. A._insert_closure.prototype = {
  52978. call$1($arguments) {
  52979. var indexInt, codeUnitIndex, _s5_ = "index",
  52980. t1 = J.getInterceptor$asx($arguments),
  52981. string = t1.$index($arguments, 0).assertString$1("string"),
  52982. insert = t1.$index($arguments, 1).assertString$1("insert"),
  52983. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  52984. index.assertNoUnits$1(_s5_);
  52985. indexInt = index.assertInt$1(_s5_);
  52986. if (indexInt < 0)
  52987. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  52988. t1 = string._string$_text;
  52989. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  52990. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  52991. },
  52992. $signature: 18
  52993. };
  52994. A._index_closure.prototype = {
  52995. call$1($arguments) {
  52996. var t1 = J.getInterceptor$asx($arguments),
  52997. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  52998. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  52999. if (codeUnitIndex === -1)
  53000. return B.C__SassNull;
  53001. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  53002. },
  53003. $signature: 6
  53004. };
  53005. A._slice_closure.prototype = {
  53006. call$1($arguments) {
  53007. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  53008. _s8_ = "start-at",
  53009. t1 = J.getInterceptor$asx($arguments),
  53010. string = t1.$index($arguments, 0).assertString$1("string"),
  53011. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  53012. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  53013. start.assertNoUnits$1(_s8_);
  53014. end.assertNoUnits$1("end-at");
  53015. lengthInCodepoints = string.get$_sassLength();
  53016. endInt = end.assertInt$0();
  53017. if (endInt === 0)
  53018. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  53019. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  53020. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  53021. if (endCodepoint === lengthInCodepoints)
  53022. --endCodepoint;
  53023. if (endCodepoint < startCodepoint)
  53024. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  53025. t1 = string._string$_text;
  53026. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  53027. },
  53028. $signature: 18
  53029. };
  53030. A._toUpperCase_closure.prototype = {
  53031. call$1($arguments) {
  53032. var t1, t2, i, t3, t4,
  53033. string = J.$index$asx($arguments, 0).assertString$1("string");
  53034. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  53035. t4 = t1.charCodeAt(i);
  53036. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  53037. }
  53038. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  53039. },
  53040. $signature: 18
  53041. };
  53042. A._toLowerCase_closure.prototype = {
  53043. call$1($arguments) {
  53044. var t1, t2, i, t3, t4,
  53045. string = J.$index$asx($arguments, 0).assertString$1("string");
  53046. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  53047. t4 = t1.charCodeAt(i);
  53048. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  53049. }
  53050. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  53051. },
  53052. $signature: 18
  53053. };
  53054. A._uniqueId_closure.prototype = {
  53055. call$1($arguments) {
  53056. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  53057. $._previousUniqueId = t1;
  53058. if (t1 > Math.pow(36, 6))
  53059. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  53060. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  53061. },
  53062. $signature: 18
  53063. };
  53064. A.ImportCache.prototype = {
  53065. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  53066. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  53067. if (A.isBrowser())
  53068. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  53069. else
  53070. t1 = false;
  53071. if (t1)
  53072. throw A.wrapException(string$.Custom);
  53073. if (baseImporter != null && url.get$scheme() === "") {
  53074. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  53075. if (resolvedUrl == null)
  53076. resolvedUrl = url;
  53077. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  53078. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  53079. if (relativeResult != null)
  53080. return relativeResult;
  53081. }
  53082. key = new A._Record_2_forImport(url, forImport);
  53083. t1 = _this._canonicalizeCache;
  53084. if (t1.containsKey$1(key))
  53085. return t1.$index(0, key);
  53086. for (t2 = _this._importers, t3 = type$.Record_1_nullable_Object, t4 = _this._perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl, cacheable = true, i = 0; i < t2.length; ++i) {
  53087. importer = t2[i];
  53088. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  53089. if (t4.containsKey$1(perImporterKey)) {
  53090. t7 = t4.$index(0, perImporterKey);
  53091. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  53092. } else
  53093. _1_0 = _null;
  53094. _1_2_isSet = t3._is(_1_0);
  53095. result = _null;
  53096. if (_1_2_isSet) {
  53097. _1_2 = _1_0._0;
  53098. t7 = _1_2 != null;
  53099. if (t7) {
  53100. t6._as(_1_2);
  53101. result = _1_2;
  53102. }
  53103. } else {
  53104. _1_2 = _null;
  53105. t7 = false;
  53106. }
  53107. if (t7)
  53108. return result;
  53109. if (_1_2_isSet)
  53110. t7 = _1_2 == null;
  53111. else
  53112. t7 = false;
  53113. if (t7)
  53114. continue;
  53115. $label0$1: {
  53116. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  53117. _2_1 = _2_0._0;
  53118. _2_5_isSet = _2_1 != null;
  53119. _2_5 = _null;
  53120. _2_3 = _null;
  53121. t7 = false;
  53122. if (_2_5_isSet) {
  53123. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  53124. _2_3 = _2_0._1;
  53125. t7 = _2_3;
  53126. _2_5 = t7;
  53127. t7 = t7 && cacheable;
  53128. } else
  53129. result = _null;
  53130. if (t7) {
  53131. t1.$indexSet(0, key, result);
  53132. return result;
  53133. }
  53134. if (_2_5_isSet) {
  53135. t7 = _2_5;
  53136. _2_3_isSet = _2_5_isSet;
  53137. } else {
  53138. _2_3 = _2_0._1;
  53139. t7 = _2_3;
  53140. _2_3_isSet = true;
  53141. }
  53142. t7 = t7 && !cacheable;
  53143. if (t7) {
  53144. t4.$indexSet(0, perImporterKey, _2_1);
  53145. if (_2_1 != null)
  53146. return _2_1;
  53147. break $label0$1;
  53148. }
  53149. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  53150. if (t7) {
  53151. if (cacheable) {
  53152. for (j = 0; j < i; ++j)
  53153. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  53154. cacheable = false;
  53155. }
  53156. if (_2_1 != null)
  53157. return _2_1;
  53158. }
  53159. }
  53160. }
  53161. if (cacheable)
  53162. t1.$indexSet(0, key, _null);
  53163. return _null;
  53164. },
  53165. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  53166. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  53167. },
  53168. _canonicalize$4(importer, url, baseUrl, forImport) {
  53169. var passContainingUrl, canonicalizeContext, t1, result, cacheable, _null = null;
  53170. if (baseUrl != null)
  53171. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  53172. else
  53173. passContainingUrl = false;
  53174. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : _null);
  53175. t1 = type$.nullable_Object;
  53176. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  53177. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  53178. if (result == null)
  53179. return new A._Record_2(_null, cacheable);
  53180. if (result.get$scheme() === "")
  53181. A.WarnForDeprecation_warnForDeprecation(this._logger, B.Deprecation_IMm, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  53182. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  53183. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  53184. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  53185. },
  53186. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  53187. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  53188. },
  53189. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  53190. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  53191. },
  53192. importCanonical$2(importer, canonicalUrl) {
  53193. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  53194. },
  53195. humanize$1(canonicalUrl) {
  53196. var t1 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  53197. t1 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(this._canonicalizeCache.get$values(0), t1), new A.ImportCache_humanize_closure(canonicalUrl), t1._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure0(), t1._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure1()), new A.ImportCache_humanize_closure2(canonicalUrl));
  53198. return t1 == null ? canonicalUrl : t1;
  53199. },
  53200. sourceMapUrl$1(_, canonicalUrl) {
  53201. var t1 = this._resultsCache.$index(0, canonicalUrl);
  53202. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  53203. return t1 == null ? canonicalUrl : t1;
  53204. },
  53205. clearCanonicalize$1(url) {
  53206. var t1 = this._canonicalizeCache;
  53207. t1.remove$1(0, new A._Record_2_forImport(url, false));
  53208. t1.remove$1(0, new A._Record_2_forImport(url, true));
  53209. this._perImporterCanonicalizeCache.removeWhere$1(0, new A.ImportCache_clearCanonicalize_closure(this, url));
  53210. },
  53211. clearImport$1(canonicalUrl) {
  53212. this._resultsCache.remove$1(0, canonicalUrl);
  53213. this._importCache.remove$1(0, canonicalUrl);
  53214. }
  53215. };
  53216. A.ImportCache_canonicalize_closure.prototype = {
  53217. call$0() {
  53218. var _this = this,
  53219. t1 = _this.$this,
  53220. t2 = _this.baseUrl,
  53221. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  53222. if (t2 != null)
  53223. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  53224. return _0_0._0;
  53225. },
  53226. $signature: 111
  53227. };
  53228. A.ImportCache__canonicalize_closure.prototype = {
  53229. call$0() {
  53230. return this.importer.canonicalize$1(0, this.url);
  53231. },
  53232. $signature: 141
  53233. };
  53234. A.ImportCache_importCanonical_closure.prototype = {
  53235. call$0() {
  53236. var t2, t3, t4, t5, _this = this,
  53237. t1 = _this.canonicalUrl,
  53238. result = _this.importer.load$1(0, t1);
  53239. if (result == null)
  53240. return null;
  53241. t2 = _this.$this;
  53242. t2._resultsCache.$indexSet(0, t1, result);
  53243. t3 = result.contents;
  53244. t4 = result.syntax;
  53245. t5 = _this.originalUrl;
  53246. t1 = t5 == null ? t1 : t5.resolveUri$1(t1);
  53247. return A.Stylesheet_Stylesheet$parse(t3, t4, _this.quiet ? $.$get$Logger_quiet() : t2._logger, t1);
  53248. },
  53249. $signature: 94
  53250. };
  53251. A.ImportCache_humanize_closure.prototype = {
  53252. call$1(result) {
  53253. return result._1.$eq(0, this.canonicalUrl);
  53254. },
  53255. $signature: 549
  53256. };
  53257. A.ImportCache_humanize_closure0.prototype = {
  53258. call$1(result) {
  53259. return result._2;
  53260. },
  53261. $signature: 548
  53262. };
  53263. A.ImportCache_humanize_closure1.prototype = {
  53264. call$1(url) {
  53265. return url.get$path(url).length;
  53266. },
  53267. $signature: 103
  53268. };
  53269. A.ImportCache_humanize_closure2.prototype = {
  53270. call$1(url) {
  53271. var t1 = $.$get$url(),
  53272. t2 = this.canonicalUrl;
  53273. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  53274. },
  53275. $signature: 43
  53276. };
  53277. A.ImportCache_clearCanonicalize_closure.prototype = {
  53278. call$2(key, _) {
  53279. var t1 = this.url;
  53280. return key._1.$eq(0, t1) || J.$eq$(this.$this._nonCanonicalRelativeUrls.$index(0, key), t1);
  53281. },
  53282. $signature: 547
  53283. };
  53284. A.Importer.prototype = {
  53285. modificationTime$1(url) {
  53286. return new A.DateTime(Date.now(), 0, false);
  53287. },
  53288. couldCanonicalize$2(url, canonicalUrl) {
  53289. return true;
  53290. },
  53291. isNonCanonicalScheme$1(scheme) {
  53292. return false;
  53293. }
  53294. };
  53295. A.AsyncImporter.prototype = {};
  53296. A.CanonicalizeContext.prototype = {};
  53297. A.FilesystemImporter.prototype = {
  53298. canonicalize$1(_, url) {
  53299. var resolved, _0_0;
  53300. if (url.get$scheme() === "file")
  53301. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  53302. else if (url.get$scheme() !== "")
  53303. return null;
  53304. else {
  53305. _0_0 = this._loadPath;
  53306. if (_0_0 != null) {
  53307. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  53308. if (resolved != null && this._loadPathDeprecated)
  53309. A.warnForDeprecation(string$.Using_t, B.Deprecation_B4v);
  53310. } else
  53311. return null;
  53312. }
  53313. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  53314. },
  53315. load$1(_, url) {
  53316. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  53317. t1 = A.readFile(path),
  53318. t2 = A.Syntax_forPath(path),
  53319. t3 = url.get$scheme();
  53320. if (t3 === "")
  53321. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  53322. return new A.ImporterResult(t1, url, t2);
  53323. },
  53324. modificationTime$1(url) {
  53325. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  53326. },
  53327. couldCanonicalize$2(url, canonicalUrl) {
  53328. var t1, t2, basename, canonicalBasename;
  53329. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  53330. return false;
  53331. if (canonicalUrl.get$scheme() !== "file")
  53332. return false;
  53333. t1 = $.$get$url();
  53334. t2 = t1.style;
  53335. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  53336. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  53337. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  53338. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  53339. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  53340. },
  53341. toString$0(_) {
  53342. var t1 = this._loadPath;
  53343. return t1 == null ? "<absolute file importer>" : t1;
  53344. }
  53345. };
  53346. A.FilesystemImporter_canonicalize_closure.prototype = {
  53347. call$1(resolved) {
  53348. var t2, t0, _null = null,
  53349. t1 = A.isNodeJs() ? self.process : _null;
  53350. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  53351. t1 = A.isNodeJs() ? self.process : _null;
  53352. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  53353. } else
  53354. t1 = true;
  53355. if (t1) {
  53356. t1 = $.$get$context();
  53357. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  53358. t0 = t2;
  53359. t2 = t1;
  53360. t1 = t0;
  53361. } else {
  53362. t1 = $.$get$context();
  53363. t2 = t1.canonicalize$1(0, resolved);
  53364. t0 = t2;
  53365. t2 = t1;
  53366. t1 = t0;
  53367. }
  53368. return t2.toUri$1(t1);
  53369. },
  53370. $signature: 117
  53371. };
  53372. A.NoOpImporter.prototype = {};
  53373. A.NodePackageImporter.prototype = {
  53374. isNonCanonicalScheme$1(scheme) {
  53375. return scheme === "pkg";
  53376. },
  53377. canonicalize$1(_, url) {
  53378. 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;
  53379. if (url.get$scheme() === "file")
  53380. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  53381. if (url.get$scheme() !== "pkg")
  53382. return _null;
  53383. if (url.get$hasAuthority())
  53384. throw A.wrapException(string$.A_pkg_h);
  53385. else {
  53386. t1 = $.$get$url();
  53387. t2 = t1.style;
  53388. if (t2.rootLength$1(url.get$path(url)) > 0)
  53389. throw A.wrapException("A pkg: URL's path must not begin with /.");
  53390. else if (url.get$path(url).length === 0)
  53391. throw A.wrapException("A pkg: URL must not have an empty path.");
  53392. else if (url.get$hasQuery() || url.get$hasFragment())
  53393. throw A.wrapException(string$.A_pkg_q);
  53394. }
  53395. t3 = A.canonicalizeContext();
  53396. t3._wasContainingUrlAccessed = true;
  53397. t3 = t3._containingUrl;
  53398. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  53399. t3 = A.canonicalizeContext();
  53400. t3._wasContainingUrlAccessed = true;
  53401. t3 = t3._containingUrl;
  53402. t3.toString;
  53403. t4 = $.$get$context();
  53404. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  53405. } else {
  53406. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  53407. t3 === $ && A.throwUnnamedLateFieldNI();
  53408. baseDirectory = t3;
  53409. }
  53410. packageName = null;
  53411. parts = t1.split$1(0, url.get$path(url));
  53412. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  53413. t4 = $.$get$context();
  53414. t3.toString;
  53415. t5 = t4.style;
  53416. $name = t5.pathFromUri$1(A._parseUri(t3));
  53417. if (B.JSString_methods.startsWith$1($name, "@"))
  53418. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  53419. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  53420. packageName = $name;
  53421. t1 = true;
  53422. if (!J.startsWith$1$s(packageName, "."))
  53423. if (!J.contains$1$asx(packageName, "\\"))
  53424. if (!J.contains$1$asx(packageName, "%"))
  53425. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  53426. if (t1)
  53427. return _null;
  53428. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  53429. if (packageRoot == null)
  53430. return _null;
  53431. jsonPath = A.join(packageRoot, "package.json", _null);
  53432. jsonString = A.readFile(jsonPath);
  53433. packageManifest = null;
  53434. try {
  53435. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  53436. } catch (exception) {
  53437. e = A.unwrapException(exception);
  53438. t1 = A.S(jsonPath);
  53439. t2 = A.S(packageName);
  53440. t3 = A.S(e);
  53441. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  53442. }
  53443. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  53444. if (_1_0 != null)
  53445. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  53446. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  53447. else {
  53448. t1 = subpath == null ? "root" : subpath;
  53449. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  53450. }
  53451. if (subpath == null) {
  53452. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  53453. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  53454. }
  53455. subpathInRoot = A.join(packageRoot, subpath, _null);
  53456. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  53457. },
  53458. load$1(_, url) {
  53459. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  53460. },
  53461. _resolvePackageRoot$2(packageName, baseDirectory) {
  53462. var potentialPackage, t1;
  53463. for (; true;) {
  53464. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  53465. if (A.dirExists(potentialPackage))
  53466. return potentialPackage;
  53467. t1 = $.$get$context();
  53468. if (t1.split$1(0, baseDirectory).length === 1)
  53469. return null;
  53470. baseDirectory = t1.dirname$1(baseDirectory);
  53471. }
  53472. },
  53473. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  53474. var t1, sassValue, _1_0, styleValue, _null = null,
  53475. _0_0 = packageManifest.$index(0, "sass");
  53476. if (typeof _0_0 == "string") {
  53477. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53478. sassValue = _0_0;
  53479. } else {
  53480. sassValue = _null;
  53481. t1 = false;
  53482. }
  53483. if (t1)
  53484. return A.join(packageRoot, sassValue, _null);
  53485. else {
  53486. _1_0 = packageManifest.$index(0, "style");
  53487. if (typeof _1_0 == "string") {
  53488. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53489. styleValue = _1_0;
  53490. } else {
  53491. styleValue = _null;
  53492. t1 = false;
  53493. }
  53494. if (t1)
  53495. return A.join(packageRoot, styleValue, _null);
  53496. }
  53497. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  53498. },
  53499. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  53500. var _0_0, _1_0, _this = this,
  53501. exports = packageManifest.$index(0, "exports");
  53502. if (exports == null)
  53503. return null;
  53504. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  53505. if (_0_0 != null)
  53506. return _0_0;
  53507. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  53508. return null;
  53509. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  53510. if (_1_0 != null)
  53511. return _1_0;
  53512. return null;
  53513. },
  53514. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  53515. var t1, matches, _1_1, path;
  53516. 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()))
  53517. 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) + ".");
  53518. t1 = type$.NonNullsIterable_String;
  53519. matches = A.List_List$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure2(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), true, t1._eval$1("Iterable.E"));
  53520. $label0$1: {
  53521. _1_1 = matches.length;
  53522. if (_1_1 === 1) {
  53523. path = matches[0];
  53524. t1 = path;
  53525. break $label0$1;
  53526. }
  53527. if (_1_1 <= 0) {
  53528. t1 = null;
  53529. break $label0$1;
  53530. }
  53531. t1 = subpath == null ? "root" : subpath;
  53532. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  53533. }
  53534. return t1;
  53535. },
  53536. _compareExpansionKeys$2(keyA, keyB) {
  53537. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  53538. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  53539. t2 = B.JSString_methods.contains$1(keyB, "*"),
  53540. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  53541. if (baseLengthA > baseLengthB)
  53542. return -1;
  53543. if (baseLengthB > baseLengthA)
  53544. return 1;
  53545. if (!t1)
  53546. return 1;
  53547. if (!t2)
  53548. return -1;
  53549. t1 = keyA.length;
  53550. t2 = keyB.length;
  53551. if (t1 > t2)
  53552. return -1;
  53553. if (t2 > t1)
  53554. return 1;
  53555. return 0;
  53556. },
  53557. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  53558. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  53559. t1 = typeof exports == "string";
  53560. if (t1) {
  53561. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  53562. string = exports;
  53563. } else {
  53564. string = _null;
  53565. t2 = false;
  53566. }
  53567. if (t2)
  53568. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  53569. if (t1) {
  53570. t2 = patternMatch != null;
  53571. string = exports;
  53572. } else {
  53573. string = _null;
  53574. t2 = false;
  53575. }
  53576. if (t2) {
  53577. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  53578. t2 = $.$get$context();
  53579. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  53580. return A.fileExists(path) ? path : _null;
  53581. }
  53582. string = t1 ? exports : _null;
  53583. if (t1) {
  53584. t1 = $.$get$context();
  53585. string.toString;
  53586. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  53587. }
  53588. t1 = type$.Map_String_dynamic._is(exports);
  53589. map = t1 ? exports : _null;
  53590. if (t1) {
  53591. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  53592. t2 = t1.get$current(t1);
  53593. key = t2._0;
  53594. value = t2._1;
  53595. if (!B.Set_TnQrk.contains$1(0, key))
  53596. continue;
  53597. if (value == null)
  53598. continue;
  53599. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53600. if (_1_0 != null)
  53601. return _1_0;
  53602. }
  53603. return _null;
  53604. }
  53605. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  53606. return _null;
  53607. t1 = type$.List_dynamic._is(exports);
  53608. array = t1 ? exports : _null;
  53609. if (t1) {
  53610. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  53611. value = t1.get$current(t1);
  53612. if (value == null)
  53613. continue;
  53614. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53615. if (_2_0 != null)
  53616. return _2_0;
  53617. }
  53618. return _null;
  53619. }
  53620. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  53621. },
  53622. _packageTargetResolve$3(subpath, exports, packageRoot) {
  53623. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  53624. },
  53625. _getMainExport$1(exports) {
  53626. var t1, t2, t3, map, _0_4, t4, $export;
  53627. $label0$0: {
  53628. t1 = null;
  53629. if (typeof exports == "string") {
  53630. t1 = exports;
  53631. break $label0$0;
  53632. }
  53633. if (type$.List_String._is(exports)) {
  53634. t1 = exports;
  53635. break $label0$0;
  53636. }
  53637. t2 = type$.Map_String_dynamic._is(exports);
  53638. if (t2) {
  53639. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  53640. map = exports;
  53641. } else {
  53642. map = t1;
  53643. t3 = false;
  53644. }
  53645. if (t3) {
  53646. t1 = map;
  53647. break $label0$0;
  53648. }
  53649. t3 = false;
  53650. if (t2) {
  53651. _0_4 = exports.$index(0, ".");
  53652. if (_0_4 == null)
  53653. t4 = exports.containsKey$1(".");
  53654. else
  53655. t4 = true;
  53656. if (t4)
  53657. t3 = _0_4 != null;
  53658. } else
  53659. _0_4 = null;
  53660. if (t3) {
  53661. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  53662. t1 = $export;
  53663. break $label0$0;
  53664. }
  53665. break $label0$0;
  53666. }
  53667. return t1;
  53668. },
  53669. _exportsToCheck$2$addIndex(subpath, addIndex) {
  53670. var basename, dirname, t3, t4, _i, path,
  53671. t1 = type$.JSArray_String,
  53672. paths = A._setArrayType([], t1),
  53673. t2 = subpath == null;
  53674. if (t2 && addIndex)
  53675. subpath = "index";
  53676. else if (!t2 && addIndex)
  53677. subpath = A.join(subpath, "index", null);
  53678. if (subpath == null)
  53679. return A._setArrayType([null], type$.JSArray_nullable_String);
  53680. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  53681. paths.push(subpath);
  53682. else
  53683. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  53684. t1 = $.$get$context();
  53685. t2 = t1.style;
  53686. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  53687. dirname = t1.dirname$1(subpath);
  53688. if (B.JSString_methods.startsWith$1(basename, "_"))
  53689. return paths;
  53690. t1 = A.List_List$of(paths, true, type$.nullable_String);
  53691. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  53692. path = paths[_i];
  53693. if (t4)
  53694. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  53695. else
  53696. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  53697. }
  53698. return t1;
  53699. },
  53700. _exportsToCheck$1(subpath) {
  53701. return this._exportsToCheck$2$addIndex(subpath, false);
  53702. }
  53703. };
  53704. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  53705. call$1(key) {
  53706. return B.JSString_methods.startsWith$1(key, ".");
  53707. },
  53708. $signature: 4
  53709. };
  53710. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  53711. call$1(key) {
  53712. return !B.JSString_methods.startsWith$1(key, ".");
  53713. },
  53714. $signature: 4
  53715. };
  53716. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  53717. call$1(key) {
  53718. return '"' + key + '"';
  53719. },
  53720. $signature: 5
  53721. };
  53722. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  53723. call$1(variant) {
  53724. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  53725. if (variant == null) {
  53726. t1 = _this.$this;
  53727. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  53728. } else {
  53729. t1 = _this.exports;
  53730. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  53731. return _null;
  53732. }
  53733. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  53734. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  53735. t1 = J.$index$asx(t1, matchKey);
  53736. if (t1 == null)
  53737. t1 = type$.Object._as(t1);
  53738. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  53739. }
  53740. t2 = A._setArrayType([], type$.JSArray_String);
  53741. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  53742. t5 = t4.get$current(t4);
  53743. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  53744. t2.push(t5);
  53745. }
  53746. t4 = _this.$this;
  53747. B.JSArray_methods.sort$1(t2, t4.get$_compareExpansionKeys());
  53748. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  53749. expansionKey = t2[_i];
  53750. _0_0 = expansionKey.split("*");
  53751. t7 = _0_0.length === 2;
  53752. if (t7) {
  53753. patternBase = _0_0[0];
  53754. patternTrailer = _0_0[1];
  53755. patternTrailer = patternTrailer;
  53756. } else {
  53757. patternTrailer = _null;
  53758. patternBase = patternTrailer;
  53759. }
  53760. if (!t7)
  53761. throw A.wrapException(A.StateError$("Pattern matching error"));
  53762. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  53763. continue;
  53764. if (matchKey === patternBase)
  53765. continue;
  53766. t7 = patternTrailer.length;
  53767. if (t7 !== 0)
  53768. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  53769. else
  53770. t8 = true;
  53771. if (t8) {
  53772. target = t3.$index(t1, expansionKey);
  53773. if (target == null)
  53774. continue;
  53775. return t4._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  53776. }
  53777. }
  53778. return _null;
  53779. },
  53780. $signature: 143
  53781. };
  53782. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  53783. call$1(mainExport) {
  53784. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  53785. },
  53786. $signature: 144
  53787. };
  53788. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  53789. call$1(key) {
  53790. return !B.JSString_methods.startsWith$1(key, ".");
  53791. },
  53792. $signature: 4
  53793. };
  53794. A.NodePackageImporter__getMainExport_closure.prototype = {
  53795. call$1(key) {
  53796. return B.JSString_methods.startsWith$1(key, ".");
  53797. },
  53798. $signature: 4
  53799. };
  53800. A.ImporterResult.prototype = {
  53801. get$sourceMapUrl(_) {
  53802. return this._sourceMapUrl;
  53803. }
  53804. };
  53805. A.resolveImportPath_closure.prototype = {
  53806. call$0() {
  53807. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  53808. },
  53809. $signature: 44
  53810. };
  53811. A.resolveImportPath_closure0.prototype = {
  53812. call$0() {
  53813. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  53814. },
  53815. $signature: 44
  53816. };
  53817. A._tryPathAsDirectory_closure.prototype = {
  53818. call$0() {
  53819. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  53820. },
  53821. $signature: 44
  53822. };
  53823. A._exactlyOne_closure.prototype = {
  53824. call$1(path) {
  53825. var t1 = $.$get$context();
  53826. return " " + t1.prettyUri$1(t1.toUri$1(path));
  53827. },
  53828. $signature: 5
  53829. };
  53830. A.InterpolationBuffer.prototype = {
  53831. writeCharCode$1(character) {
  53832. var t1 = this._interpolation_buffer$_text,
  53833. t2 = A.Primitives_stringFromCharCode(character);
  53834. t1._contents += t2;
  53835. return null;
  53836. },
  53837. addInterpolation$1(interpolation) {
  53838. var _0_4_isSet, _0_4, _0_40, first, rest, t2, _this = this,
  53839. toAdd = interpolation.contents,
  53840. t1 = toAdd.length;
  53841. if (t1 === 0)
  53842. return;
  53843. _0_4_isSet = t1 >= 1;
  53844. _0_4 = null;
  53845. if (_0_4_isSet) {
  53846. _0_40 = toAdd[0];
  53847. t1 = _0_40;
  53848. _0_4 = t1;
  53849. t1 = typeof t1 == "string";
  53850. } else
  53851. t1 = false;
  53852. if (t1) {
  53853. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  53854. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  53855. t1 = _this._interpolation_buffer$_text;
  53856. t1._contents += first;
  53857. toAdd = rest;
  53858. }
  53859. _this._flushText$0();
  53860. t1 = _this._interpolation_buffer$_contents;
  53861. B.JSArray_methods.addAll$1(t1, toAdd);
  53862. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  53863. t2 = _this._interpolation_buffer$_text;
  53864. t1 = A.S(t1.pop());
  53865. t2._contents += t1;
  53866. }
  53867. },
  53868. _flushText$0() {
  53869. var t1 = this._interpolation_buffer$_text,
  53870. t2 = t1._contents;
  53871. if (t2.length === 0)
  53872. return;
  53873. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53874. t1._contents = "";
  53875. },
  53876. interpolation$1(span) {
  53877. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  53878. t2 = this._interpolation_buffer$_text._contents;
  53879. if (t2.length !== 0)
  53880. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53881. return A.Interpolation$(t1, span);
  53882. },
  53883. toString$0(_) {
  53884. var t1, t2, _i, t3, element;
  53885. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53886. element = t1[_i];
  53887. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  53888. }
  53889. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  53890. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53891. }
  53892. };
  53893. A.InterpolationMap.prototype = {
  53894. mapException$1(error) {
  53895. var t3, t4, _this = this,
  53896. target = error.get$span(error),
  53897. source = _this.mapSpan$1(target),
  53898. startIndex = _this._indexInContents$1(target.get$start(target)),
  53899. endIndex = _this._indexInContents$1(target.get$end(target)),
  53900. t1 = _this._interpolation.contents,
  53901. t2 = error._span_exception$_message;
  53902. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  53903. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  53904. else {
  53905. t1 = type$.SourceSpan;
  53906. t3 = type$.String;
  53907. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  53908. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  53909. }
  53910. },
  53911. mapSpan$1(target) {
  53912. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  53913. _0_1 = _this._mapLocation$1(target.get$start(target)),
  53914. _0_2 = _this._mapLocation$1(target.get$end(target));
  53915. $label0$0: {
  53916. _0_10 = _0_1;
  53917. t1 = type$.FileSpan;
  53918. _0_2_isSet = t1._is(_0_1);
  53919. _0_20 = _null;
  53920. t2 = false;
  53921. if (_0_2_isSet) {
  53922. t1._as(_0_10);
  53923. _0_20 = _0_2;
  53924. t2 = t1._is(_0_2);
  53925. start = _0_10;
  53926. _0_1 = start;
  53927. } else {
  53928. start = _null;
  53929. _0_1 = _0_10;
  53930. }
  53931. if (t2) {
  53932. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  53933. break $label0$0;
  53934. }
  53935. t2 = false;
  53936. if (t1._is(_0_1)) {
  53937. if (_0_2_isSet)
  53938. t2 = _0_20;
  53939. else {
  53940. t2 = _0_2;
  53941. _0_20 = t2;
  53942. _0_2_isSet = true;
  53943. }
  53944. t2 = t2 instanceof A.FileLocation;
  53945. start = _0_1;
  53946. } else
  53947. start = _null;
  53948. if (t2) {
  53949. t1 = _0_2_isSet ? _0_20 : _0_2;
  53950. type$.FileLocation._as(t1);
  53951. t2 = _this._interpolation.span;
  53952. t1 = t2.get$file(t2).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  53953. break $label0$0;
  53954. }
  53955. t2 = false;
  53956. if (_0_1 instanceof A.FileLocation) {
  53957. if (_0_2_isSet)
  53958. t2 = _0_20;
  53959. else {
  53960. t2 = _0_2;
  53961. _0_20 = t2;
  53962. _0_2_isSet = true;
  53963. }
  53964. t2 = t1._is(t2);
  53965. start = _0_1;
  53966. } else
  53967. start = _null;
  53968. if (t2) {
  53969. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  53970. t1 = _this._interpolation.span;
  53971. t1 = t1.get$file(t1).span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  53972. break $label0$0;
  53973. }
  53974. t1 = false;
  53975. if (_0_1 instanceof A.FileLocation) {
  53976. if (_0_2_isSet)
  53977. t1 = _0_20;
  53978. else {
  53979. t1 = _0_2;
  53980. _0_20 = t1;
  53981. _0_2_isSet = true;
  53982. }
  53983. t1 = t1 instanceof A.FileLocation;
  53984. start = _0_1;
  53985. } else
  53986. start = _null;
  53987. if (t1) {
  53988. t1 = _0_2_isSet ? _0_20 : _0_2;
  53989. type$.FileLocation._as(t1);
  53990. t2 = _this._interpolation.span;
  53991. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  53992. break $label0$0;
  53993. }
  53994. t1 = A.throwExpression("[BUG] Unreachable");
  53995. }
  53996. return t1;
  53997. },
  53998. _mapLocation$1(target) {
  53999. var t3, previousLocation, _this = this,
  54000. index = _this._indexInContents$1(target),
  54001. t1 = _this._interpolation,
  54002. t2 = t1.contents,
  54003. _0_0 = t2[index];
  54004. if (_0_0 instanceof A.Expression)
  54005. return _0_0.get$span(_0_0);
  54006. t3 = index === 0;
  54007. t1 = t1.span;
  54008. if (t3)
  54009. previousLocation = t1.get$start(t1);
  54010. else {
  54011. t1 = t1.get$file(t1);
  54012. t2 = type$.Expression._as(t2[index - 1]);
  54013. t2 = t2.get$span(t2);
  54014. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  54015. }
  54016. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  54017. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  54018. },
  54019. _indexInContents$1(target) {
  54020. var t1, t2, t3, i;
  54021. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  54022. if (t3 < t1[i].get$offset())
  54023. return i;
  54024. return this._interpolation.contents.length - 1;
  54025. },
  54026. _expandInterpolationSpanLeft$1(start) {
  54027. var i0, prev, char,
  54028. source = start.file._decodedChars,
  54029. i = start.offset - 1;
  54030. for (; i >= 0;) {
  54031. i0 = i - 1;
  54032. prev = source[i];
  54033. if (prev === 123) {
  54034. if (source[i0] === 35) {
  54035. i = i0;
  54036. break;
  54037. }
  54038. i = i0;
  54039. } else if (prev === 47) {
  54040. i = i0 - 1;
  54041. if (source[i0] === 42)
  54042. for (; true;) {
  54043. i0 = i - 1;
  54044. if (source[i] !== 42) {
  54045. i = i0;
  54046. continue;
  54047. }
  54048. i = i0;
  54049. do {
  54050. i0 = i - 1;
  54051. char = source[i];
  54052. if (char === 42) {
  54053. i = i0;
  54054. continue;
  54055. } else
  54056. break;
  54057. } while (true);
  54058. if (char === 47) {
  54059. i = i0;
  54060. break;
  54061. }
  54062. i = i0;
  54063. }
  54064. } else
  54065. i = i0;
  54066. }
  54067. return i;
  54068. },
  54069. _expandInterpolationSpanRight$1(end) {
  54070. var t1, i0, next, second, t2, char,
  54071. source = end.file._decodedChars,
  54072. i = end.offset;
  54073. for (t1 = source.length; i < t1;) {
  54074. i0 = i + 1;
  54075. next = source[i];
  54076. if (next === 125) {
  54077. i = i0;
  54078. break;
  54079. }
  54080. if (next === 47) {
  54081. i = i0 + 1;
  54082. second = source[i0];
  54083. if (second === 47) {
  54084. while (true) {
  54085. i0 = i + 1;
  54086. t2 = source[i];
  54087. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  54088. break;
  54089. i = i0;
  54090. }
  54091. i = i0;
  54092. } else if (second === 42)
  54093. for (; true;) {
  54094. i0 = i + 1;
  54095. if (source[i] !== 42) {
  54096. i = i0;
  54097. continue;
  54098. }
  54099. i = i0;
  54100. do {
  54101. i0 = i + 1;
  54102. char = source[i];
  54103. if (char === 42) {
  54104. i = i0;
  54105. continue;
  54106. } else
  54107. break;
  54108. } while (true);
  54109. if (char === 47) {
  54110. i = i0;
  54111. break;
  54112. }
  54113. i = i0;
  54114. }
  54115. } else
  54116. i = i0;
  54117. }
  54118. return i;
  54119. }
  54120. };
  54121. A.InterpolationMap_mapException_closure.prototype = {
  54122. call$1($content) {
  54123. return $content instanceof A.Expression;
  54124. },
  54125. $signature: 65
  54126. };
  54127. A._realCasePath_helper.prototype = {
  54128. call$1(path) {
  54129. var dirname = $.$get$context().dirname$1(path);
  54130. if (dirname === path)
  54131. return path;
  54132. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  54133. },
  54134. $signature: 5
  54135. };
  54136. A._realCasePath_helper_closure.prototype = {
  54137. call$0() {
  54138. var matches, t1, _0_0, match, exception,
  54139. realDirname = this.helper.call$1(this.dirname),
  54140. t2 = this.path,
  54141. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  54142. try {
  54143. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  54144. t1 = null;
  54145. _0_0 = matches;
  54146. $label0$0: {
  54147. match = null;
  54148. if (J.get$length$asx(_0_0) === 1) {
  54149. match = J.$index$asx(_0_0, 0);
  54150. t1 = match;
  54151. break $label0$0;
  54152. }
  54153. t1 = A.join(realDirname, basename, null);
  54154. break $label0$0;
  54155. }
  54156. t1 = t1;
  54157. return t1;
  54158. } catch (exception) {
  54159. if (A.unwrapException(exception) instanceof A.FileSystemException)
  54160. return t2;
  54161. else
  54162. throw exception;
  54163. }
  54164. },
  54165. $signature: 26
  54166. };
  54167. A._realCasePath_helper__closure.prototype = {
  54168. call$1(realPath) {
  54169. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  54170. },
  54171. $signature: 4
  54172. };
  54173. A.FileSystemException.prototype = {
  54174. toString$0(_) {
  54175. var t1 = $.$get$context();
  54176. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  54177. },
  54178. get$message(receiver) {
  54179. return this.message;
  54180. }
  54181. };
  54182. A._readFile_closure.prototype = {
  54183. call$0() {
  54184. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  54185. },
  54186. $signature: 61
  54187. };
  54188. A.writeFile_closure.prototype = {
  54189. call$0() {
  54190. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  54191. },
  54192. $signature: 0
  54193. };
  54194. A.deleteFile_closure.prototype = {
  54195. call$0() {
  54196. return J.unlinkSync$1$x(A.fs(), this.path);
  54197. },
  54198. $signature: 0
  54199. };
  54200. A.readStdin_closure.prototype = {
  54201. call$1(result) {
  54202. this._box_0.contents = result;
  54203. this.completer.complete$1(result);
  54204. },
  54205. $signature: 92
  54206. };
  54207. A.readStdin_closure0.prototype = {
  54208. call$1(chunk) {
  54209. this.sink.add$1(0, type$.List_int._as(chunk));
  54210. },
  54211. call$0() {
  54212. return this.call$1(null);
  54213. },
  54214. "call*": "call$1",
  54215. $requiredArgCount: 0,
  54216. $defaultValues() {
  54217. return [null];
  54218. },
  54219. $signature: 88
  54220. };
  54221. A.readStdin_closure1.prototype = {
  54222. call$1(arg) {
  54223. this.sink.close$0(0);
  54224. },
  54225. call$0() {
  54226. return this.call$1(null);
  54227. },
  54228. "call*": "call$1",
  54229. $requiredArgCount: 0,
  54230. $defaultValues() {
  54231. return [null];
  54232. },
  54233. $signature: 88
  54234. };
  54235. A.readStdin_closure2.prototype = {
  54236. call$1(e) {
  54237. A.printError("Failed to read from stdin");
  54238. A.printError(e);
  54239. e.toString;
  54240. this.completer.completeError$1(e);
  54241. },
  54242. call$0() {
  54243. return this.call$1(null);
  54244. },
  54245. "call*": "call$1",
  54246. $requiredArgCount: 0,
  54247. $defaultValues() {
  54248. return [null];
  54249. },
  54250. $signature: 88
  54251. };
  54252. A.fileExists_closure.prototype = {
  54253. call$0() {
  54254. var error, systemError, exception,
  54255. t1 = this.path;
  54256. if (!J.existsSync$1$x(A.fs(), t1))
  54257. return false;
  54258. try {
  54259. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  54260. return t1;
  54261. } catch (exception) {
  54262. error = A.unwrapException(exception);
  54263. systemError = type$.JsSystemError._as(error);
  54264. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54265. return false;
  54266. throw exception;
  54267. }
  54268. },
  54269. $signature: 22
  54270. };
  54271. A.dirExists_closure.prototype = {
  54272. call$0() {
  54273. var error, systemError, exception,
  54274. t1 = this.path;
  54275. if (!J.existsSync$1$x(A.fs(), t1))
  54276. return false;
  54277. try {
  54278. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  54279. return t1;
  54280. } catch (exception) {
  54281. error = A.unwrapException(exception);
  54282. systemError = type$.JsSystemError._as(error);
  54283. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54284. return false;
  54285. throw exception;
  54286. }
  54287. },
  54288. $signature: 22
  54289. };
  54290. A.ensureDir_closure.prototype = {
  54291. call$0() {
  54292. var error, systemError, exception, t1;
  54293. try {
  54294. J.mkdirSync$1$x(A.fs(), this.path);
  54295. } catch (exception) {
  54296. error = A.unwrapException(exception);
  54297. systemError = type$.JsSystemError._as(error);
  54298. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  54299. return;
  54300. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54301. throw exception;
  54302. t1 = this.path;
  54303. A.ensureDir($.$get$context().dirname$1(t1));
  54304. J.mkdirSync$1$x(A.fs(), t1);
  54305. }
  54306. },
  54307. $signature: 0
  54308. };
  54309. A.listDir_closure.prototype = {
  54310. call$0() {
  54311. var t1 = this.path;
  54312. if (!this.recursive)
  54313. 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());
  54314. else
  54315. return new A.listDir_closure_list().call$1(t1);
  54316. },
  54317. $signature: 145
  54318. };
  54319. A.listDir__closure.prototype = {
  54320. call$1(child) {
  54321. return A.join(this.path, A._asString(child), null);
  54322. },
  54323. $signature: 119
  54324. };
  54325. A.listDir__closure0.prototype = {
  54326. call$1(child) {
  54327. return !A.dirExists(child);
  54328. },
  54329. $signature: 4
  54330. };
  54331. A.listDir_closure_list.prototype = {
  54332. call$1($parent) {
  54333. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  54334. },
  54335. $signature: 146
  54336. };
  54337. A.listDir__list_closure.prototype = {
  54338. call$1(child) {
  54339. var path = A.join(this.parent, A._asString(child), null);
  54340. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  54341. },
  54342. $signature: 147
  54343. };
  54344. A.modificationTime_closure.prototype = {
  54345. call$0() {
  54346. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  54347. if (t1 < -864e13 || t1 > 864e13)
  54348. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  54349. A.checkNotNullable(false, "isUtc", type$.bool);
  54350. return new A.DateTime(t1, 0, false);
  54351. },
  54352. $signature: 148
  54353. };
  54354. A.watchDir_closure.prototype = {
  54355. call$2(path, _) {
  54356. var t1 = this._box_0.controller;
  54357. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  54358. },
  54359. call$1(path) {
  54360. return this.call$2(path, null);
  54361. },
  54362. "call*": "call$2",
  54363. $requiredArgCount: 1,
  54364. $defaultValues() {
  54365. return [null];
  54366. },
  54367. $signature: 149
  54368. };
  54369. A.watchDir_closure0.prototype = {
  54370. call$2(path, _) {
  54371. var t1 = this._box_0.controller;
  54372. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  54373. },
  54374. call$1(path) {
  54375. return this.call$2(path, null);
  54376. },
  54377. "call*": "call$2",
  54378. $requiredArgCount: 1,
  54379. $defaultValues() {
  54380. return [null];
  54381. },
  54382. $signature: 149
  54383. };
  54384. A.watchDir_closure1.prototype = {
  54385. call$1(path) {
  54386. var t1 = this._box_0.controller;
  54387. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  54388. },
  54389. $signature: 92
  54390. };
  54391. A.watchDir_closure2.prototype = {
  54392. call$1(error) {
  54393. var t1 = this._box_0.controller;
  54394. return t1 == null ? null : t1.addError$1(error);
  54395. },
  54396. $signature: 87
  54397. };
  54398. A.watchDir_closure3.prototype = {
  54399. call$0() {
  54400. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  54401. this._box_0.controller = controller;
  54402. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  54403. },
  54404. $signature: 1
  54405. };
  54406. A.watchDir__closure.prototype = {
  54407. call$0() {
  54408. J.close$0$x(this.watcher);
  54409. },
  54410. $signature: 1
  54411. };
  54412. A.JSArray0.prototype = {};
  54413. A.Chokidar.prototype = {};
  54414. A.ChokidarOptions.prototype = {};
  54415. A.ChokidarWatcher.prototype = {};
  54416. A.JSFunction.prototype = {};
  54417. A.ImmutableList.prototype = {};
  54418. A.ImmutableMap.prototype = {};
  54419. A.NodeImporterResult.prototype = {};
  54420. A.RenderContext.prototype = {};
  54421. A.RenderContextOptions.prototype = {};
  54422. A.RenderContextResult.prototype = {};
  54423. A.RenderContextResultStats.prototype = {};
  54424. A.JSModule.prototype = {};
  54425. A.JSModuleRequire.prototype = {};
  54426. A.JSClass.prototype = {};
  54427. A.JSUrl.prototype = {};
  54428. A._PropertyDescriptor.prototype = {};
  54429. A._RequireMain.prototype = {};
  54430. A.LoggerWithDeprecationType0.prototype = {
  54431. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54432. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_JeE : null, span, trace);
  54433. },
  54434. warn$3$span$trace(_, message, span, trace) {
  54435. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54436. },
  54437. warn$2$span(_, message, span) {
  54438. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54439. },
  54440. warn$2$trace(_, message, trace) {
  54441. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54442. }
  54443. };
  54444. A._QuietLogger.prototype = {
  54445. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54446. },
  54447. warn$1(_, message) {
  54448. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54449. },
  54450. warn$3$span$trace(_, message, span, trace) {
  54451. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54452. },
  54453. warn$2$span(_, message, span) {
  54454. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54455. },
  54456. debug$2(_, message, span) {
  54457. }
  54458. };
  54459. A.DeprecationProcessingLogger.prototype = {
  54460. validate$0() {
  54461. var t1, t2, t3, t4, t5, t6, _1_7, _this = this, _null = null;
  54462. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations, t3 = _this.futureDeprecations, t4 = _this._inner; t1.moveNext$0();) {
  54463. t5 = t1.get$current(t1);
  54464. if (t5.isFuture && !t3.contains$1(0, t5)) {
  54465. t5 = t5.toString$0(0);
  54466. t4.warn$3$span$trace(0, "Future " + t5 + string$.x20deprex20m, _null, _null);
  54467. continue;
  54468. }
  54469. t6 = t2.contains$1(0, t5);
  54470. if (t6) {
  54471. t5 = t5.toString$0(0);
  54472. t4.warn$3$span$trace(0, "Ignoring setting to silence " + t5 + string$.x20deprex2c, _null, _null);
  54473. continue;
  54474. }
  54475. }
  54476. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  54477. t5 = t1._collection$_current;
  54478. if (t5 == null)
  54479. t5 = t2._as(t5);
  54480. if (B.Deprecation_JeE === t5) {
  54481. t4.warn$3$span$trace(0, string$.User_a, _null, _null);
  54482. continue;
  54483. }
  54484. _1_7 = t5.isFuture;
  54485. if (_1_7 && t3.contains$1(0, t5)) {
  54486. t5 = t5.toString$0(0);
  54487. t4.warn$3$span$trace(0, "Conflicting options for future " + t5 + " deprecation cancel each other out.", _null, _null);
  54488. continue;
  54489. }
  54490. if (_1_7) {
  54491. t5 = t5.toString$0(0);
  54492. t4.warn$3$span$trace(0, "Future " + t5 + string$.x20deprex20i, _null, _null);
  54493. continue;
  54494. }
  54495. }
  54496. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  54497. t3 = t1._collection$_current;
  54498. if (t3 == null)
  54499. t3 = t2._as(t3);
  54500. if (!t3.isFuture) {
  54501. t3 = t3.toString$0(0);
  54502. t4.warn$3$span$trace(0, t3 + string$.x20is_noaf, _null, _null);
  54503. }
  54504. }
  54505. },
  54506. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  54507. if (deprecation != null)
  54508. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  54509. else
  54510. this._inner.warn$3$span$trace(0, message, span, trace);
  54511. },
  54512. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  54513. var _0_3_isSet, _0_3, t1, span0, t2, count, _this = this, _null = null;
  54514. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  54515. return;
  54516. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  54517. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  54518. $label0$0: {
  54519. _0_3_isSet = span != null;
  54520. _0_3 = _null;
  54521. t1 = false;
  54522. if (_0_3_isSet) {
  54523. span0 = span == null ? type$.FileSpan._as(span) : span;
  54524. t1 = trace != null;
  54525. _0_3 = trace;
  54526. } else
  54527. span0 = _null;
  54528. if (t1) {
  54529. if (_0_3_isSet)
  54530. trace = _0_3;
  54531. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  54532. break $label0$0;
  54533. }
  54534. t1 = false;
  54535. if (span != null)
  54536. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  54537. else
  54538. span = _null;
  54539. if (t1) {
  54540. t1 = A.SassException$(message, span, _null);
  54541. break $label0$0;
  54542. }
  54543. t1 = A.SassScriptException$(message, _null);
  54544. break $label0$0;
  54545. }
  54546. throw A.wrapException(t1);
  54547. }
  54548. if (_this.silenceDeprecations.contains$1(0, deprecation))
  54549. return;
  54550. if (_this.limitRepetition) {
  54551. t1 = _this._warningCounts;
  54552. t2 = t1.$index(0, deprecation);
  54553. count = (t2 == null ? 0 : t2) + 1;
  54554. t1.$indexSet(0, deprecation, count);
  54555. if (count > 5)
  54556. return;
  54557. }
  54558. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  54559. },
  54560. debug$2(_, message, span) {
  54561. return this._inner.debug$2(0, message, span);
  54562. },
  54563. summarize$1$js(js) {
  54564. var t1 = this._warningCounts.get$values(0),
  54565. t2 = A._instanceType(t1),
  54566. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationProcessingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  54567. if (total > 0) {
  54568. t1 = js ? "" : string$.x0aRun_i;
  54569. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  54570. }
  54571. }
  54572. };
  54573. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  54574. call$1(count) {
  54575. return count > 5;
  54576. },
  54577. $signature: 46
  54578. };
  54579. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  54580. call$1(count) {
  54581. return count - 5;
  54582. },
  54583. $signature: 150
  54584. };
  54585. A.StderrLogger.prototype = {
  54586. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54587. var t2,
  54588. result = new A.StringBuffer(""),
  54589. t1 = this.color;
  54590. if (t1) {
  54591. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  54592. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  54593. } else
  54594. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  54595. if (span == null)
  54596. t1 = result._contents = t2 + (": " + message + "\n");
  54597. else if (trace != null) {
  54598. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  54599. result._contents = t1;
  54600. } else {
  54601. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  54602. result._contents = t1;
  54603. }
  54604. if (trace != null)
  54605. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  54606. A.printError(result);
  54607. },
  54608. warn$1(_, message) {
  54609. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54610. },
  54611. warn$3$span$trace(_, message, span, trace) {
  54612. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54613. },
  54614. warn$2$span(_, message, span) {
  54615. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54616. },
  54617. warn$2$trace(_, message, trace) {
  54618. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54619. },
  54620. debug$2(_, message, span) {
  54621. var url, t3, t4,
  54622. t1 = span.file,
  54623. t2 = span._file$_start;
  54624. if (A.FileLocation$_(t1, t2).file.url == null)
  54625. url = "-";
  54626. else {
  54627. t3 = A.FileLocation$_(t1, t2).file.url;
  54628. t4 = $.$get$context();
  54629. t3.toString;
  54630. url = t4.prettyUri$1(t3);
  54631. }
  54632. t1 = A.FileLocation$_(t1, t2);
  54633. t1 = t1.file.getLine$1(t1.offset);
  54634. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  54635. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  54636. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  54637. }
  54638. };
  54639. A.TrackingLogger.prototype = {
  54640. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54641. this._emittedWarning = true;
  54642. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  54643. },
  54644. warn$1(_, message) {
  54645. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54646. },
  54647. warn$3$span$trace(_, message, span, trace) {
  54648. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54649. },
  54650. debug$2(_, message, span) {
  54651. this._emittedDebug = true;
  54652. this._tracking$_logger.debug$2(0, message, span);
  54653. }
  54654. };
  54655. A.BuiltInModule.prototype = {
  54656. get$upstream() {
  54657. return B.List_empty7;
  54658. },
  54659. get$variableNodes() {
  54660. return B.Map_empty4;
  54661. },
  54662. get$extensionStore() {
  54663. return B.C_EmptyExtensionStore;
  54664. },
  54665. get$css(_) {
  54666. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  54667. },
  54668. get$preModuleComments() {
  54669. return B.Map_empty2;
  54670. },
  54671. get$transitivelyContainsCss() {
  54672. return false;
  54673. },
  54674. get$transitivelyContainsExtensions() {
  54675. return false;
  54676. },
  54677. setVariable$3($name, value, nodeWithSpan) {
  54678. if (!this.variables.containsKey$1($name))
  54679. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54680. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  54681. },
  54682. variableIdentity$1($name) {
  54683. return this;
  54684. },
  54685. cloneCss$0() {
  54686. return this;
  54687. },
  54688. $isModule0: 1,
  54689. get$url(receiver) {
  54690. return this.url;
  54691. },
  54692. get$functions(receiver) {
  54693. return this.functions;
  54694. },
  54695. get$mixins() {
  54696. return this.mixins;
  54697. },
  54698. get$variables() {
  54699. return this.variables;
  54700. }
  54701. };
  54702. A.ForwardedModuleView.prototype = {
  54703. get$url(_) {
  54704. var t1 = this._forwarded_view$_inner;
  54705. return t1.get$url(t1);
  54706. },
  54707. get$upstream() {
  54708. return this._forwarded_view$_inner.get$upstream();
  54709. },
  54710. get$extensionStore() {
  54711. return this._forwarded_view$_inner.get$extensionStore();
  54712. },
  54713. get$css(_) {
  54714. var t1 = this._forwarded_view$_inner;
  54715. return t1.get$css(t1);
  54716. },
  54717. get$preModuleComments() {
  54718. return this._forwarded_view$_inner.get$preModuleComments();
  54719. },
  54720. get$transitivelyContainsCss() {
  54721. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  54722. },
  54723. get$transitivelyContainsExtensions() {
  54724. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  54725. },
  54726. setVariable$3($name, value, nodeWithSpan) {
  54727. var t2, _1_0, _2_0,
  54728. _s19_ = "Undefined variable.",
  54729. t1 = this._rule,
  54730. _0_0 = t1.shownVariables;
  54731. if (_0_0 != null)
  54732. t2 = !_0_0._base.contains$1(0, $name);
  54733. else
  54734. t2 = false;
  54735. if (t2)
  54736. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54737. else {
  54738. _1_0 = t1.hiddenVariables;
  54739. if (_1_0 != null)
  54740. t2 = _1_0._base.contains$1(0, $name);
  54741. else
  54742. t2 = false;
  54743. if (t2)
  54744. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54745. }
  54746. _2_0 = t1.prefix;
  54747. if (_2_0 != null) {
  54748. if (!B.JSString_methods.startsWith$1($name, _2_0))
  54749. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54750. $name = B.JSString_methods.substring$1($name, _2_0.length);
  54751. }
  54752. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54753. },
  54754. variableIdentity$1($name) {
  54755. var _0_0 = this._rule.prefix;
  54756. if (_0_0 != null)
  54757. $name = B.JSString_methods.substring$1($name, _0_0.length);
  54758. return this._forwarded_view$_inner.variableIdentity$1($name);
  54759. },
  54760. $eq(_, other) {
  54761. if (other == null)
  54762. return false;
  54763. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  54764. },
  54765. get$hashCode(_) {
  54766. var t1 = this._forwarded_view$_inner;
  54767. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  54768. },
  54769. cloneCss$0() {
  54770. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  54771. },
  54772. toString$0(_) {
  54773. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  54774. },
  54775. $isModule0: 1,
  54776. get$variables() {
  54777. return this.variables;
  54778. },
  54779. get$variableNodes() {
  54780. return this.variableNodes;
  54781. },
  54782. get$functions(receiver) {
  54783. return this.functions;
  54784. },
  54785. get$mixins() {
  54786. return this.mixins;
  54787. }
  54788. };
  54789. A.ShadowedModuleView.prototype = {
  54790. get$url(_) {
  54791. var t1 = this._shadowed_view$_inner;
  54792. return t1.get$url(t1);
  54793. },
  54794. get$upstream() {
  54795. return this._shadowed_view$_inner.get$upstream();
  54796. },
  54797. get$extensionStore() {
  54798. return this._shadowed_view$_inner.get$extensionStore();
  54799. },
  54800. get$css(_) {
  54801. var t1 = this._shadowed_view$_inner;
  54802. return t1.get$css(t1);
  54803. },
  54804. get$preModuleComments() {
  54805. return this._shadowed_view$_inner.get$preModuleComments();
  54806. },
  54807. get$transitivelyContainsCss() {
  54808. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  54809. },
  54810. get$transitivelyContainsExtensions() {
  54811. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  54812. },
  54813. setVariable$3($name, value, nodeWithSpan) {
  54814. if (!this.variables.containsKey$1($name))
  54815. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54816. else
  54817. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54818. },
  54819. variableIdentity$1($name) {
  54820. return this._shadowed_view$_inner.variableIdentity$1($name);
  54821. },
  54822. $eq(_, other) {
  54823. var t1, t2, t3, _this = this;
  54824. if (other == null)
  54825. return false;
  54826. t1 = false;
  54827. if (other instanceof A.ShadowedModuleView)
  54828. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  54829. t2 = _this.variables;
  54830. t2 = t2.get$keys(t2);
  54831. t3 = other.variables;
  54832. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  54833. t2 = _this.functions;
  54834. t2 = t2.get$keys(t2);
  54835. t3 = other.functions;
  54836. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  54837. t1 = _this.mixins;
  54838. t1 = t1.get$keys(t1);
  54839. t2 = other.mixins;
  54840. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  54841. t1 = t2;
  54842. }
  54843. }
  54844. }
  54845. return t1;
  54846. },
  54847. get$hashCode(_) {
  54848. var t1 = this._shadowed_view$_inner;
  54849. return t1.get$hashCode(t1);
  54850. },
  54851. cloneCss$0() {
  54852. var _this = this;
  54853. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  54854. },
  54855. toString$0(_) {
  54856. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  54857. },
  54858. $isModule0: 1,
  54859. get$variables() {
  54860. return this.variables;
  54861. },
  54862. get$variableNodes() {
  54863. return this.variableNodes;
  54864. },
  54865. get$functions(receiver) {
  54866. return this.functions;
  54867. },
  54868. get$mixins() {
  54869. return this.mixins;
  54870. }
  54871. };
  54872. A.AtRootQueryParser.prototype = {
  54873. parse$0(_) {
  54874. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  54875. }
  54876. };
  54877. A.AtRootQueryParser_parse_closure.prototype = {
  54878. call$0() {
  54879. var include, atRules,
  54880. t1 = this.$this,
  54881. t2 = t1.scanner;
  54882. t2.expectChar$1(40);
  54883. t1.whitespace$0();
  54884. include = t1.scanIdentifier$1("with");
  54885. if (!include)
  54886. t1.expectIdentifier$2$name("without", '"with" or "without"');
  54887. t1.whitespace$0();
  54888. t2.expectChar$1(58);
  54889. t1.whitespace$0();
  54890. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  54891. do {
  54892. atRules.add$1(0, t1.identifier$0().toLowerCase());
  54893. t1.whitespace$0();
  54894. } while (t1.lookingAtIdentifier$0());
  54895. t2.expectChar$1(41);
  54896. t2.expectDone$0();
  54897. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  54898. },
  54899. $signature: 515
  54900. };
  54901. A._disallowedFunctionNames_closure.prototype = {
  54902. call$1($function) {
  54903. return $function.name;
  54904. },
  54905. $signature: 514
  54906. };
  54907. A.CssParser.prototype = {
  54908. get$plainCss() {
  54909. return true;
  54910. },
  54911. silentComment$0() {
  54912. var t1, t2, _this = this;
  54913. if (_this._inExpression)
  54914. return false;
  54915. t1 = _this.scanner;
  54916. t2 = t1._string_scanner$_position;
  54917. _this.super$Parser$silentComment();
  54918. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54919. },
  54920. atRule$2$root(child, root) {
  54921. var $name, _0_0, _this = this,
  54922. t1 = _this.scanner,
  54923. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54924. t1.expectChar$1(64);
  54925. $name = _this.interpolatedIdentifier$0();
  54926. _this.whitespace$0();
  54927. _0_0 = $name.get$asPlain();
  54928. $label0$0: {
  54929. 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)
  54930. _this._forbiddenAtRule$1(start);
  54931. if ("import" === _0_0) {
  54932. t1 = _this._cssImportRule$1(start);
  54933. break $label0$0;
  54934. }
  54935. if ("media" === _0_0) {
  54936. t1 = _this.mediaRule$1(start);
  54937. break $label0$0;
  54938. }
  54939. if ("-moz-document" === _0_0) {
  54940. t1 = _this.mozDocumentRule$2(start, $name);
  54941. break $label0$0;
  54942. }
  54943. if ("supports" === _0_0) {
  54944. t1 = _this.supportsRule$1(start);
  54945. break $label0$0;
  54946. }
  54947. t1 = _this.unknownAtRule$2(start, $name);
  54948. break $label0$0;
  54949. }
  54950. return t1;
  54951. },
  54952. _forbiddenAtRule$1(start) {
  54953. this.almostAnyValue$0();
  54954. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  54955. },
  54956. _cssImportRule$1(start) {
  54957. var t2, urlSpan, modifiers, _this = this,
  54958. t1 = _this.scanner,
  54959. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54960. _0_0 = t1.peekChar$0();
  54961. $label0$0: {
  54962. if (117 === _0_0 || 85 === _0_0) {
  54963. t2 = _this.dynamicUrl$0();
  54964. break $label0$0;
  54965. }
  54966. t2 = new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  54967. break $label0$0;
  54968. }
  54969. urlSpan = t1.spanFrom$1(urlStart);
  54970. _this.whitespace$0();
  54971. modifiers = _this.tryImportModifiers$0();
  54972. _this.expectStatementSeparator$1("@import rule");
  54973. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  54974. t1 = t1.spanFrom$1(start);
  54975. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  54976. },
  54977. parentheses$0() {
  54978. var expression,
  54979. t1 = this.scanner,
  54980. t2 = t1._string_scanner$_position;
  54981. t1.expectChar$1(40);
  54982. this.whitespace$0();
  54983. expression = this.expressionUntilComma$0();
  54984. t1.expectChar$1(41);
  54985. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54986. },
  54987. identifierLike$0() {
  54988. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  54989. t1 = _this.scanner,
  54990. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54991. identifier = _this.interpolatedIdentifier$0(),
  54992. plain = identifier.get$asPlain(),
  54993. lower = plain.toLowerCase(),
  54994. _0_0 = _this.trySpecialFunction$2(lower, start);
  54995. if (_0_0 != null)
  54996. return _0_0;
  54997. t2 = t1._string_scanner$_position;
  54998. if (t1.scanChar$1(46))
  54999. return _this.namespacedExpression$2(plain, start);
  55000. if (!t1.scanChar$1(40))
  55001. return new A.StringExpression(identifier, false);
  55002. allowEmptySecondArg = lower === "var";
  55003. $arguments = A._setArrayType([], type$.JSArray_Expression);
  55004. if (!t1.scanChar$1(41)) {
  55005. do {
  55006. _this.whitespace$0();
  55007. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  55008. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  55009. t4 = t3.offset;
  55010. t4 = A._FileSpan$(t3.file, t4, t4);
  55011. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  55012. break;
  55013. }
  55014. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  55015. _this.whitespace$0();
  55016. } while (t1.scanChar$1(44));
  55017. t1.expectChar$1(41);
  55018. }
  55019. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  55020. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  55021. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  55022. t3 = type$.Expression;
  55023. t4 = A.List_List$unmodifiable($arguments, t3);
  55024. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  55025. t1 = t1.spanFrom$1(start);
  55026. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentInvocation(t4, t3, null, null, t2), t1);
  55027. },
  55028. namespacedExpression$2(namespace, start) {
  55029. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  55030. this.error$2(0, string$.Modulen, expression.get$span(expression));
  55031. }
  55032. };
  55033. A.KeyframeSelectorParser.prototype = {
  55034. parse$0(_) {
  55035. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  55036. },
  55037. _percentage$0() {
  55038. var $self, _0_0,
  55039. t1 = this.scanner,
  55040. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  55041. second = t1.peekChar$0();
  55042. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  55043. t1.error$1(0, "Expected number.");
  55044. while (true) {
  55045. $self = t1.peekChar$0();
  55046. if (!($self != null && $self >= 48 && $self <= 57))
  55047. break;
  55048. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55049. }
  55050. if (t1.peekChar$0() === 46) {
  55051. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55052. while (true) {
  55053. $self = t1.peekChar$0();
  55054. if (!($self != null && $self >= 48 && $self <= 57))
  55055. break;
  55056. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55057. }
  55058. }
  55059. if (this.scanIdentChar$1(101)) {
  55060. t2 += A.Primitives_stringFromCharCode(101);
  55061. _0_0 = t1.peekChar$0();
  55062. if (43 === _0_0 || 45 === _0_0)
  55063. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55064. $self = t1.peekChar$0();
  55065. if (!($self != null && $self >= 48 && $self <= 57))
  55066. t1.error$1(0, "Expected digit.");
  55067. do {
  55068. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55069. $self = t1.peekChar$0();
  55070. } while ($self != null && $self >= 48 && $self <= 57);
  55071. }
  55072. t1.expectChar$1(37);
  55073. t2 += A.Primitives_stringFromCharCode(37);
  55074. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55075. }
  55076. };
  55077. A.KeyframeSelectorParser_parse_closure.prototype = {
  55078. call$0() {
  55079. var selectors = A._setArrayType([], type$.JSArray_String),
  55080. t1 = this.$this,
  55081. t2 = t1.scanner;
  55082. do {
  55083. t1.whitespace$0();
  55084. if (t1.lookingAtIdentifier$0())
  55085. if (t1.scanIdentifier$1("from"))
  55086. selectors.push("from");
  55087. else {
  55088. t1.expectIdentifier$2$name("to", '"to" or "from"');
  55089. selectors.push("to");
  55090. }
  55091. else
  55092. selectors.push(t1._percentage$0());
  55093. t1.whitespace$0();
  55094. } while (t2.scanChar$1(44));
  55095. t2.expectDone$0();
  55096. return selectors;
  55097. },
  55098. $signature: 128
  55099. };
  55100. A.MediaQueryParser.prototype = {
  55101. parse$0(_) {
  55102. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  55103. },
  55104. _mediaQuery$0() {
  55105. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  55106. if (_this.scanner.peekChar$0() === 40) {
  55107. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  55108. _this.whitespace$0();
  55109. if (_this.scanIdentifier$1(_s3_)) {
  55110. _this.expectWhitespace$0();
  55111. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  55112. conjunction = true;
  55113. } else {
  55114. t1 = _this.scanIdentifier$1("or");
  55115. if (t1) {
  55116. _this.expectWhitespace$0();
  55117. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  55118. }
  55119. conjunction = !t1;
  55120. }
  55121. return A.CssMediaQuery$condition(conditions, conjunction);
  55122. }
  55123. identifier1 = _this.identifier$0();
  55124. if (A.equalsIgnoreCase(identifier1, "not")) {
  55125. _this.expectWhitespace$0();
  55126. if (!_this.lookingAtIdentifier$0())
  55127. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  55128. }
  55129. _this.whitespace$0();
  55130. if (!_this.lookingAtIdentifier$0())
  55131. return A.CssMediaQuery$type(identifier1, _null, _null);
  55132. identifier2 = _this.identifier$0();
  55133. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  55134. _this.expectWhitespace$0();
  55135. type = identifier1;
  55136. modifier = _null;
  55137. } else {
  55138. _this.whitespace$0();
  55139. if (_this.scanIdentifier$1(_s3_))
  55140. _this.expectWhitespace$0();
  55141. else
  55142. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  55143. type = identifier2;
  55144. modifier = identifier1;
  55145. }
  55146. if (_this.scanIdentifier$1("not")) {
  55147. _this.expectWhitespace$0();
  55148. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  55149. }
  55150. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  55151. },
  55152. _mediaLogicSequence$1(operator) {
  55153. var t1, t2, _this = this,
  55154. result = A._setArrayType([], type$.JSArray_String);
  55155. for (t1 = _this.scanner; true;) {
  55156. t1.expectChar$2$name(40, "media condition in parentheses");
  55157. t2 = _this.declarationValue$0();
  55158. t1.expectChar$1(41);
  55159. result.push("(" + t2 + ")");
  55160. _this.whitespace$0();
  55161. if (!_this.scanIdentifier$1(operator))
  55162. return result;
  55163. _this.expectWhitespace$0();
  55164. }
  55165. },
  55166. _mediaInParens$0() {
  55167. var t2,
  55168. t1 = this.scanner;
  55169. t1.expectChar$2$name(40, "media condition in parentheses");
  55170. t2 = this.declarationValue$0();
  55171. t1.expectChar$1(41);
  55172. return "(" + t2 + ")";
  55173. }
  55174. };
  55175. A.MediaQueryParser_parse_closure.prototype = {
  55176. call$0() {
  55177. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  55178. t1 = this.$this,
  55179. t2 = t1.scanner;
  55180. do {
  55181. t1.whitespace$0();
  55182. queries.push(t1._mediaQuery$0());
  55183. t1.whitespace$0();
  55184. } while (t2.scanChar$1(44));
  55185. t2.expectDone$0();
  55186. return queries;
  55187. },
  55188. $signature: 509
  55189. };
  55190. A.Parser.prototype = {
  55191. _parseIdentifier$0() {
  55192. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  55193. },
  55194. _isVariableDeclarationLike$0() {
  55195. var _this = this,
  55196. t1 = _this.scanner;
  55197. if (!t1.scanChar$1(36))
  55198. return false;
  55199. if (!_this.lookingAtIdentifier$0())
  55200. return false;
  55201. _this.identifier$0();
  55202. _this.whitespace$0();
  55203. return t1.scanChar$1(58);
  55204. },
  55205. whitespace$0() {
  55206. do
  55207. this.whitespaceWithoutComments$0();
  55208. while (this.scanComment$0());
  55209. },
  55210. whitespaceWithoutComments$0() {
  55211. var t3,
  55212. t1 = this.scanner,
  55213. t2 = t1.string.length;
  55214. while (true) {
  55215. if (t1._string_scanner$_position !== t2) {
  55216. t3 = t1.peekChar$0();
  55217. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  55218. } else
  55219. t3 = false;
  55220. if (!t3)
  55221. break;
  55222. t1.readChar$0();
  55223. }
  55224. },
  55225. spaces$0() {
  55226. var t3,
  55227. t1 = this.scanner,
  55228. t2 = t1.string.length;
  55229. while (true) {
  55230. if (t1._string_scanner$_position !== t2) {
  55231. t3 = t1.peekChar$0();
  55232. t3 = t3 === 32 || t3 === 9;
  55233. } else
  55234. t3 = false;
  55235. if (!t3)
  55236. break;
  55237. t1.readChar$0();
  55238. }
  55239. },
  55240. scanComment$0() {
  55241. var _0_0,
  55242. t1 = this.scanner;
  55243. if (t1.peekChar$0() !== 47)
  55244. return false;
  55245. _0_0 = t1.peekChar$1(1);
  55246. if (47 === _0_0)
  55247. return this.silentComment$0();
  55248. if (42 === _0_0) {
  55249. this.loudComment$0();
  55250. return true;
  55251. }
  55252. return false;
  55253. },
  55254. expectWhitespace$0() {
  55255. var t2, t3,
  55256. t1 = this.scanner;
  55257. if (t1._string_scanner$_position !== t1.string.length) {
  55258. t2 = t1.peekChar$0();
  55259. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  55260. t2 = t3;
  55261. } else
  55262. t2 = true;
  55263. if (t2)
  55264. t1.error$1(0, "Expected whitespace.");
  55265. this.whitespace$0();
  55266. },
  55267. silentComment$0() {
  55268. var t2, t3,
  55269. t1 = this.scanner;
  55270. t1.expect$1("//");
  55271. t2 = t1.string.length;
  55272. while (true) {
  55273. if (t1._string_scanner$_position !== t2) {
  55274. t3 = t1.peekChar$0();
  55275. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  55276. } else
  55277. t3 = false;
  55278. if (!t3)
  55279. break;
  55280. t1.readChar$0();
  55281. }
  55282. return true;
  55283. },
  55284. loudComment$0() {
  55285. var next,
  55286. t1 = this.scanner;
  55287. t1.expect$1("/*");
  55288. for (; true;) {
  55289. if (t1.readChar$0() !== 42)
  55290. continue;
  55291. do
  55292. next = t1.readChar$0();
  55293. while (next === 42);
  55294. if (next === 47)
  55295. break;
  55296. }
  55297. },
  55298. identifier$2$normalize$unit(normalize, unit) {
  55299. var t2, _0_0, _this = this,
  55300. _s20_ = "Expected identifier.",
  55301. text = new A.StringBuffer(""),
  55302. t1 = _this.scanner;
  55303. if (t1.scanChar$1(45)) {
  55304. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  55305. if (t1.scanChar$1(45)) {
  55306. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55307. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55308. t1 = text._contents;
  55309. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55310. }
  55311. } else
  55312. t2 = "";
  55313. $label0$0: {
  55314. _0_0 = t1.peekChar$0();
  55315. if (_0_0 == null)
  55316. t1.error$1(0, _s20_);
  55317. if (95 === _0_0 && normalize) {
  55318. t1.readChar$0();
  55319. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55320. break $label0$0;
  55321. }
  55322. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  55323. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  55324. break $label0$0;
  55325. }
  55326. if (92 === _0_0) {
  55327. text._contents = t2 + _this.escape$1$identifierStart(true);
  55328. break $label0$0;
  55329. }
  55330. t1.error$1(0, _s20_);
  55331. }
  55332. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55333. t1 = text._contents;
  55334. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55335. },
  55336. identifier$0() {
  55337. return this.identifier$2$normalize$unit(false, false);
  55338. },
  55339. identifier$1$normalize(normalize) {
  55340. return this.identifier$2$normalize$unit(normalize, false);
  55341. },
  55342. identifier$1$unit(unit) {
  55343. return this.identifier$2$normalize$unit(false, unit);
  55344. },
  55345. _identifierBody$3$normalize$unit(text, normalize, unit) {
  55346. var t1, _1_0, _0_0, t2;
  55347. for (t1 = this.scanner; true;) {
  55348. _1_0 = t1.peekChar$0();
  55349. if (_1_0 == null)
  55350. break;
  55351. if (45 === _1_0 && unit) {
  55352. _0_0 = t1.peekChar$1(1);
  55353. if (46 !== _0_0)
  55354. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  55355. else
  55356. t2 = true;
  55357. if (t2)
  55358. break;
  55359. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55360. text._contents += t2;
  55361. continue;
  55362. }
  55363. if (95 === _1_0 && normalize) {
  55364. t1.readChar$0();
  55365. t2 = A.Primitives_stringFromCharCode(45);
  55366. text._contents += t2;
  55367. continue;
  55368. }
  55369. if (_1_0 !== 95) {
  55370. if (!(_1_0 >= 97 && _1_0 <= 122))
  55371. t2 = _1_0 >= 65 && _1_0 <= 90;
  55372. else
  55373. t2 = true;
  55374. t2 = t2 || _1_0 >= 128;
  55375. } else
  55376. t2 = true;
  55377. if (!t2)
  55378. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  55379. else
  55380. t2 = true;
  55381. if (t2) {
  55382. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55383. text._contents += t2;
  55384. continue;
  55385. }
  55386. if (92 === _1_0) {
  55387. t2 = this.escape$0();
  55388. text._contents += t2;
  55389. continue;
  55390. }
  55391. break;
  55392. }
  55393. },
  55394. _identifierBody$1(text) {
  55395. return this._identifierBody$3$normalize$unit(text, false, false);
  55396. },
  55397. string$0() {
  55398. var buffer, _0_0, t2,
  55399. t1 = this.scanner,
  55400. quote = t1.readChar$0();
  55401. if (quote !== 39 && quote !== 34)
  55402. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  55403. buffer = new A.StringBuffer("");
  55404. for (; true;) {
  55405. _0_0 = t1.peekChar$0();
  55406. if (_0_0 === quote) {
  55407. t1.readChar$0();
  55408. break;
  55409. }
  55410. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55411. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  55412. if (92 === _0_0) {
  55413. t2 = t1.peekChar$1(1);
  55414. if (t2 === 10 || t2 === 13 || t2 === 12) {
  55415. t1.readChar$0();
  55416. t1.readChar$0();
  55417. } else {
  55418. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  55419. buffer._contents += t2;
  55420. }
  55421. continue;
  55422. }
  55423. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55424. buffer._contents += t2;
  55425. }
  55426. t1 = buffer._contents;
  55427. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55428. },
  55429. declarationValue$1$allowEmpty(allowEmpty) {
  55430. var t1, t2, wroteNewline, next, wroteNewline0, t3, start, end, _0_0, _this = this,
  55431. buffer = new A.StringBuffer(""),
  55432. brackets = A._setArrayType([], type$.JSArray_int);
  55433. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  55434. next = t1.peekChar$0();
  55435. if (next == null)
  55436. break;
  55437. wroteNewline0 = false;
  55438. if (92 === next) {
  55439. t3 = _this.escape$1$identifierStart(true);
  55440. buffer._contents += t3;
  55441. wroteNewline = wroteNewline0;
  55442. continue;
  55443. }
  55444. if (34 === next || 39 === next) {
  55445. start = t1._string_scanner$_position;
  55446. t2.call$0();
  55447. end = t1._string_scanner$_position;
  55448. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55449. wroteNewline = wroteNewline0;
  55450. continue;
  55451. }
  55452. if (47 === next) {
  55453. if (t1.peekChar$1(1) === 42) {
  55454. t3 = _this.get$loudComment();
  55455. start = t1._string_scanner$_position;
  55456. t3.call$0();
  55457. end = t1._string_scanner$_position;
  55458. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55459. } else {
  55460. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55461. buffer._contents += t3;
  55462. }
  55463. wroteNewline = wroteNewline0;
  55464. continue;
  55465. }
  55466. if (32 === next || 9 === next) {
  55467. if (!wroteNewline) {
  55468. t3 = t1.peekChar$1(1);
  55469. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  55470. } else
  55471. t3 = true;
  55472. if (t3) {
  55473. t3 = A.Primitives_stringFromCharCode(32);
  55474. buffer._contents += t3;
  55475. }
  55476. t1.readChar$0();
  55477. continue;
  55478. }
  55479. if (10 === next || 13 === next || 12 === next) {
  55480. t3 = t1.peekChar$1(-1);
  55481. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  55482. buffer._contents += "\n";
  55483. t1.readChar$0();
  55484. wroteNewline = true;
  55485. continue;
  55486. }
  55487. if (40 === next || 123 === next || 91 === next) {
  55488. t3 = A.Primitives_stringFromCharCode(next);
  55489. buffer._contents += t3;
  55490. brackets.push(A.opposite(t1.readChar$0()));
  55491. wroteNewline = wroteNewline0;
  55492. continue;
  55493. }
  55494. if (41 === next || 125 === next || 93 === next) {
  55495. if (brackets.length === 0)
  55496. break;
  55497. t3 = A.Primitives_stringFromCharCode(next);
  55498. buffer._contents += t3;
  55499. t1.expectChar$1(brackets.pop());
  55500. wroteNewline = wroteNewline0;
  55501. continue;
  55502. }
  55503. if (59 === next) {
  55504. if (brackets.length === 0)
  55505. break;
  55506. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55507. buffer._contents += t3;
  55508. continue;
  55509. }
  55510. if (117 === next || 85 === next) {
  55511. _0_0 = _this.tryUrl$0();
  55512. if (_0_0 != null)
  55513. buffer._contents += _0_0;
  55514. else {
  55515. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55516. buffer._contents += t3;
  55517. }
  55518. wroteNewline = wroteNewline0;
  55519. continue;
  55520. }
  55521. if (_this.lookingAtIdentifier$0()) {
  55522. t3 = _this.identifier$0();
  55523. buffer._contents += t3;
  55524. } else {
  55525. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55526. buffer._contents += t3;
  55527. }
  55528. wroteNewline = wroteNewline0;
  55529. }
  55530. if (brackets.length !== 0)
  55531. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  55532. if (!allowEmpty && buffer._contents.length === 0)
  55533. t1.error$1(0, "Expected token.");
  55534. t1 = buffer._contents;
  55535. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55536. },
  55537. declarationValue$0() {
  55538. return this.declarationValue$1$allowEmpty(false);
  55539. },
  55540. tryUrl$0() {
  55541. var buffer, _0_0, t2, _this = this,
  55542. t1 = _this.scanner,
  55543. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55544. if (!_this.scanIdentifier$1("url"))
  55545. return null;
  55546. if (!t1.scanChar$1(40)) {
  55547. t1.set$state(start);
  55548. return null;
  55549. }
  55550. _this.whitespace$0();
  55551. buffer = new A.StringBuffer("");
  55552. buffer._contents = "" + "url(";
  55553. for (; true;) {
  55554. _0_0 = t1.peekChar$0();
  55555. if (_0_0 == null)
  55556. break;
  55557. if (92 === _0_0) {
  55558. t2 = _this.escape$0();
  55559. buffer._contents += t2;
  55560. continue;
  55561. }
  55562. t2 = true;
  55563. if (37 !== _0_0)
  55564. if (38 !== _0_0)
  55565. if (35 !== _0_0)
  55566. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  55567. if (t2) {
  55568. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55569. buffer._contents += t2;
  55570. continue;
  55571. }
  55572. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  55573. _this.whitespace$0();
  55574. if (t1.peekChar$0() !== 41)
  55575. break;
  55576. continue;
  55577. }
  55578. if (41 === _0_0) {
  55579. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55580. t2 = buffer._contents += t2;
  55581. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55582. }
  55583. break;
  55584. }
  55585. t1.set$state(start);
  55586. return null;
  55587. },
  55588. variableName$0() {
  55589. this.scanner.expectChar$1(36);
  55590. return this.identifier$1$normalize(true);
  55591. },
  55592. escape$1$identifierStart(identifierStart) {
  55593. var value, _0_0, i, next, t2, exception,
  55594. _s25_ = "Expected escape sequence.",
  55595. t1 = this.scanner,
  55596. start = t1._string_scanner$_position;
  55597. t1.expectChar$1(92);
  55598. value = 0;
  55599. $label0$1: {
  55600. _0_0 = t1.peekChar$0();
  55601. if (_0_0 == null)
  55602. t1.error$1(0, _s25_);
  55603. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55604. t1.error$1(0, _s25_);
  55605. if (A.CharacterExtension_get_isHex(_0_0)) {
  55606. for (i = 0; i < 6; ++i) {
  55607. next = t1.peekChar$0();
  55608. if (next != null) {
  55609. t2 = true;
  55610. if (!(next >= 48 && next <= 57))
  55611. if (!(next >= 97 && next <= 102))
  55612. t2 = next >= 65 && next <= 70;
  55613. t2 = !t2;
  55614. } else
  55615. t2 = true;
  55616. if (t2)
  55617. break;
  55618. value *= 16;
  55619. value += A.asHex(t1.readChar$0());
  55620. }
  55621. this.scanCharIf$1(new A.Parser_escape_closure());
  55622. break $label0$1;
  55623. }
  55624. value = t1.readChar$0();
  55625. }
  55626. if (identifierStart) {
  55627. t2 = value;
  55628. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  55629. } else {
  55630. t2 = value;
  55631. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  55632. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  55633. else
  55634. t2 = true;
  55635. }
  55636. if (t2)
  55637. try {
  55638. t2 = A.Primitives_stringFromCharCode(value);
  55639. return t2;
  55640. } catch (exception) {
  55641. if (type$.RangeError._is(A.unwrapException(exception)))
  55642. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  55643. else
  55644. throw exception;
  55645. }
  55646. else {
  55647. t1 = true;
  55648. if (!(value <= 31))
  55649. if (!J.$eq$(value, 127))
  55650. if (identifierStart) {
  55651. t1 = value;
  55652. t1 = t1 >= 48 && t1 <= 57;
  55653. } else
  55654. t1 = false;
  55655. if (t1) {
  55656. t1 = "" + A.Primitives_stringFromCharCode(92);
  55657. if (value > 15)
  55658. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  55659. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  55660. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55661. } else
  55662. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  55663. }
  55664. },
  55665. escape$0() {
  55666. return this.escape$1$identifierStart(false);
  55667. },
  55668. scanCharIf$1(condition) {
  55669. var t1 = this.scanner;
  55670. if (!condition.call$1(t1.peekChar$0()))
  55671. return false;
  55672. t1.readChar$0();
  55673. return true;
  55674. },
  55675. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  55676. var t3,
  55677. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  55678. t2 = this.scanner,
  55679. _0_0 = t2.peekChar$0();
  55680. if (_0_0 != null) {
  55681. t3 = t1.call$1(_0_0);
  55682. t3 = t3;
  55683. } else
  55684. t3 = false;
  55685. if (t3) {
  55686. t2.readChar$0();
  55687. return true;
  55688. }
  55689. if (92 === _0_0) {
  55690. t3 = t2._string_scanner$_position;
  55691. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  55692. return true;
  55693. t2.set$state(new A._SpanScannerState(t2, t3));
  55694. }
  55695. return false;
  55696. },
  55697. scanIdentChar$1(char) {
  55698. return this.scanIdentChar$2$caseSensitive(char, false);
  55699. },
  55700. expectIdentChar$1(letter) {
  55701. var t1;
  55702. if (this.scanIdentChar$2$caseSensitive(letter, false))
  55703. return;
  55704. t1 = this.scanner;
  55705. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  55706. },
  55707. lookingAtIdentifier$1($forward) {
  55708. var t1, _1_0, t2, _0_0;
  55709. if ($forward == null)
  55710. $forward = 0;
  55711. t1 = this.scanner;
  55712. _1_0 = t1.peekChar$1($forward);
  55713. $label0$0: {
  55714. if (A._isInt(_1_0))
  55715. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  55716. else
  55717. t2 = false;
  55718. if (t2 || 92 === _1_0) {
  55719. t1 = true;
  55720. break $label0$0;
  55721. }
  55722. if (45 === _1_0) {
  55723. _0_0 = t1.peekChar$1($forward + 1);
  55724. $label1$1: {
  55725. if (A._isInt(_0_0))
  55726. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  55727. else
  55728. t1 = false;
  55729. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  55730. if (t1)
  55731. break $label1$1;
  55732. break $label1$1;
  55733. }
  55734. break $label0$0;
  55735. }
  55736. t1 = false;
  55737. break $label0$0;
  55738. }
  55739. return t1;
  55740. },
  55741. lookingAtIdentifier$0() {
  55742. return this.lookingAtIdentifier$1(null);
  55743. },
  55744. lookingAtIdentifierBody$0() {
  55745. var t1,
  55746. next = this.scanner.peekChar$0();
  55747. if (next != null) {
  55748. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  55749. t1 = next >= 48 && next <= 57 || next === 45;
  55750. else
  55751. t1 = true;
  55752. t1 = t1 || next === 92;
  55753. } else
  55754. t1 = false;
  55755. return t1;
  55756. },
  55757. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  55758. var t1, t2, _this = this;
  55759. if (!_this.lookingAtIdentifier$0())
  55760. return false;
  55761. t1 = _this.scanner;
  55762. t2 = t1._string_scanner$_position;
  55763. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  55764. return true;
  55765. else {
  55766. t1.set$state(new A._SpanScannerState(t1, t2));
  55767. return false;
  55768. }
  55769. },
  55770. scanIdentifier$1(text) {
  55771. return this.scanIdentifier$2$caseSensitive(text, false);
  55772. },
  55773. _consumeIdentifier$2(text, caseSensitive) {
  55774. var t1, t2, t3;
  55775. 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();) {
  55776. t3 = t1.__internal$_current;
  55777. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  55778. return false;
  55779. }
  55780. return true;
  55781. },
  55782. expectIdentifier$2$name(text, $name) {
  55783. var t1, start, t2, t3, t4, t5, t6;
  55784. if ($name == null)
  55785. $name = '"' + text + '"';
  55786. t1 = this.scanner;
  55787. start = t1._string_scanner$_position;
  55788. 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();) {
  55789. t6 = t2.__internal$_current;
  55790. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  55791. continue;
  55792. t1.error$2$position(0, t5, start);
  55793. }
  55794. if (!this.lookingAtIdentifierBody$0())
  55795. return;
  55796. t1.error$2$position(0, t4, start);
  55797. },
  55798. expectIdentifier$1(text) {
  55799. return this.expectIdentifier$2$name(text, null);
  55800. },
  55801. rawText$1(consumer) {
  55802. var t1 = this.scanner,
  55803. start = t1._string_scanner$_position;
  55804. consumer.call$0();
  55805. return t1.substring$1(0, start);
  55806. },
  55807. spanFrom$1(state) {
  55808. var span = this.scanner.spanFrom$1(state);
  55809. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  55810. },
  55811. error$3(_, message, span, trace) {
  55812. var exception = new A.StringScannerException(this.scanner.string, message, span);
  55813. if (trace == null)
  55814. throw A.wrapException(exception);
  55815. else
  55816. A.throwWithTrace(exception, this.get$error(this), trace);
  55817. },
  55818. error$2(_, message, span) {
  55819. return this.error$3(0, message, span, null);
  55820. },
  55821. withErrorMessage$1$2(message, callback) {
  55822. var error, stackTrace, t1, exception;
  55823. try {
  55824. t1 = callback.call$0();
  55825. return t1;
  55826. } catch (exception) {
  55827. t1 = A.unwrapException(exception);
  55828. if (type$.SourceSpanFormatException._is(t1)) {
  55829. error = t1;
  55830. stackTrace = A.getTraceFromException(exception);
  55831. t1 = J.get$span$z(error);
  55832. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  55833. } else
  55834. throw exception;
  55835. }
  55836. },
  55837. withErrorMessage$2(message, callback) {
  55838. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  55839. },
  55840. wrapSpanFormatException$1$1(callback) {
  55841. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  55842. _s8_ = "expected";
  55843. try {
  55844. try {
  55845. t3 = callback.call$0();
  55846. return t3;
  55847. } catch (exception) {
  55848. t3 = A.unwrapException(exception);
  55849. if (type$.SourceSpanFormatException._is(t3)) {
  55850. error = t3;
  55851. stackTrace = A.getTraceFromException(exception);
  55852. map = _this._interpolationMap;
  55853. if (map == null)
  55854. throw exception;
  55855. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  55856. } else
  55857. throw exception;
  55858. }
  55859. } catch (exception) {
  55860. t3 = A.unwrapException(exception);
  55861. if (type$.SourceSpanFormatException._is(t3)) {
  55862. error0 = t3;
  55863. stackTrace0 = A.getTraceFromException(exception);
  55864. span = J.get$span$z(error0);
  55865. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  55866. span = _this._adjustExceptionSpan$1(span);
  55867. t1 = error0._span_exception$_message;
  55868. t2 = span;
  55869. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error0, stackTrace0);
  55870. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  55871. error1 = t3;
  55872. stackTrace1 = A.getTraceFromException(exception);
  55873. span0 = J.get$span$z(error1);
  55874. t3 = type$.FileSpan;
  55875. t4 = type$.String;
  55876. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  55877. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  55878. span0 = _this._adjustExceptionSpan$1(span0);
  55879. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  55880. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55881. t2 = t3.get$current(t3);
  55882. span1 = null;
  55883. description = null;
  55884. _0_0 = t2;
  55885. span1 = _0_0._0;
  55886. description = _0_0._1;
  55887. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span1), description);
  55888. }
  55889. secondarySpans = t1;
  55890. }
  55891. A.throwWithTrace(A.MultiSpanSassFormatException$(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  55892. } else
  55893. throw exception;
  55894. }
  55895. },
  55896. wrapSpanFormatException$1(callback) {
  55897. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  55898. },
  55899. _adjustExceptionSpan$1(span) {
  55900. var start, t1;
  55901. if (span.get$length(span) > 0)
  55902. return span;
  55903. start = this._firstNewlineBefore$1(span.get$start(span));
  55904. if (start.$eq(0, span.get$start(span)))
  55905. t1 = span;
  55906. else {
  55907. t1 = start.offset;
  55908. t1 = A._FileSpan$(start.file, t1, t1);
  55909. }
  55910. return t1;
  55911. },
  55912. _firstNewlineBefore$1($location) {
  55913. var lastNewline, codeUnit,
  55914. t1 = $location.file,
  55915. t2 = $location.offset,
  55916. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  55917. index = t2 - 1;
  55918. for (lastNewline = null; index >= 0;) {
  55919. codeUnit = text.charCodeAt(index);
  55920. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  55921. if (lastNewline == null)
  55922. t1 = $location;
  55923. else {
  55924. t2 = new A.FileLocation(t1, lastNewline);
  55925. t2.FileLocation$_$2(t1, lastNewline);
  55926. t1 = t2;
  55927. }
  55928. return t1;
  55929. }
  55930. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  55931. lastNewline = index;
  55932. --index;
  55933. }
  55934. return $location;
  55935. }
  55936. };
  55937. A.Parser__parseIdentifier_closure.prototype = {
  55938. call$0() {
  55939. var t1 = this.$this,
  55940. result = t1.identifier$0();
  55941. t1.scanner.expectDone$0();
  55942. return result;
  55943. },
  55944. $signature: 26
  55945. };
  55946. A.Parser_escape_closure.prototype = {
  55947. call$1(char) {
  55948. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  55949. },
  55950. $signature: 30
  55951. };
  55952. A.Parser_scanIdentChar_matches.prototype = {
  55953. call$1(actual) {
  55954. var t1 = this.char;
  55955. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  55956. },
  55957. $signature: 46
  55958. };
  55959. A.Parser_spanFrom_closure.prototype = {
  55960. call$0() {
  55961. return this.$this._interpolationMap.mapSpan$1(this.span);
  55962. },
  55963. $signature: 27
  55964. };
  55965. A.SassParser.prototype = {
  55966. get$currentIndentation() {
  55967. return this._currentIndentation;
  55968. },
  55969. get$indented() {
  55970. return true;
  55971. },
  55972. styleRuleSelector$0() {
  55973. var t4,
  55974. t1 = this.scanner,
  55975. t2 = t1._string_scanner$_position,
  55976. t3 = new A.StringBuffer(""),
  55977. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  55978. do {
  55979. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  55980. t4 = A.Primitives_stringFromCharCode(10);
  55981. t4 = t3._contents += t4;
  55982. } 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()));
  55983. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55984. },
  55985. expectStatementSeparator$1($name) {
  55986. var t1, _this = this;
  55987. if (!_this.atEndOfStatement$0())
  55988. _this._expectNewline$0();
  55989. if (_this._peekIndentation$0() <= _this._currentIndentation)
  55990. return;
  55991. t1 = $name == null ? "here" : "beneath a " + $name;
  55992. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  55993. },
  55994. expectStatementSeparator$0() {
  55995. return this.expectStatementSeparator$1(null);
  55996. },
  55997. atEndOfStatement$0() {
  55998. var t1 = this.scanner.peekChar$0();
  55999. if (t1 == null)
  56000. t1 = null;
  56001. else
  56002. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56003. return t1 !== false;
  56004. },
  56005. lookingAtChildren$0() {
  56006. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  56007. },
  56008. importArgument$0() {
  56009. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  56010. $label0$0: {
  56011. t1 = _this.scanner;
  56012. _0_0 = t1.peekChar$0();
  56013. if (117 === _0_0 || 85 === _0_0) {
  56014. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56015. if (_this.scanIdentifier$1("url"))
  56016. if (t1.scanChar$1(40)) {
  56017. t1.set$state(start);
  56018. return _this.super$StylesheetParser$importArgument();
  56019. } else
  56020. t1.set$state(start);
  56021. break $label0$0;
  56022. }
  56023. if (39 === _0_0 || 34 === _0_0)
  56024. return _this.super$StylesheetParser$importArgument();
  56025. }
  56026. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56027. next = t1.peekChar$0();
  56028. while (true) {
  56029. t2 = false;
  56030. if (next != null)
  56031. if (next !== 44)
  56032. if (next !== 59)
  56033. t2 = !(next === 10 || next === 13 || next === 12);
  56034. if (!t2)
  56035. break;
  56036. t1.readChar$0();
  56037. next = t1.peekChar$0();
  56038. }
  56039. url = t1.substring$1(0, start.position);
  56040. span = t1.spanFrom$1(start);
  56041. if (_this.isPlainImportUrl$1(url))
  56042. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  56043. else
  56044. try {
  56045. t1 = _this.parseImportUrl$1(url);
  56046. return new A.DynamicImport(t1, span);
  56047. } catch (exception) {
  56048. t1 = A.unwrapException(exception);
  56049. if (type$.FormatException._is(t1)) {
  56050. innerError = t1;
  56051. stackTrace = A.getTraceFromException(exception);
  56052. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  56053. } else
  56054. throw exception;
  56055. }
  56056. },
  56057. scanElse$1(ifIndentation) {
  56058. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  56059. if (_this._peekIndentation$0() !== ifIndentation)
  56060. return false;
  56061. t1 = _this.scanner;
  56062. t2 = t1._string_scanner$_position;
  56063. startIndentation = _this._currentIndentation;
  56064. startNextIndentation = _this._nextIndentation;
  56065. startNextIndentationEnd = _this._nextIndentationEnd;
  56066. _this._readIndentation$0();
  56067. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  56068. return true;
  56069. t1.set$state(new A._SpanScannerState(t1, t2));
  56070. _this._currentIndentation = startIndentation;
  56071. _this._nextIndentation = startNextIndentation;
  56072. _this._nextIndentationEnd = startNextIndentationEnd;
  56073. return false;
  56074. },
  56075. children$1(_, child) {
  56076. var children = A._setArrayType([], type$.JSArray_Statement);
  56077. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  56078. return children;
  56079. },
  56080. statements$1(statement) {
  56081. var statements, t2, _1_0,
  56082. t1 = this.scanner,
  56083. _0_0 = t1.peekChar$0();
  56084. if (9 === _0_0 || 32 === _0_0)
  56085. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  56086. statements = A._setArrayType([], type$.JSArray_Statement);
  56087. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  56088. _1_0 = this._child$1(statement);
  56089. if (_1_0 != null)
  56090. statements.push(_1_0);
  56091. this._readIndentation$0();
  56092. }
  56093. return statements;
  56094. },
  56095. _child$1(child) {
  56096. var _0_0, _this = this,
  56097. t1 = _this.scanner,
  56098. _1_0 = t1.peekChar$0();
  56099. $label0$0: {
  56100. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  56101. t1 = null;
  56102. break $label0$0;
  56103. }
  56104. if (36 === _1_0) {
  56105. t1 = _this.variableDeclarationWithoutNamespace$0();
  56106. break $label0$0;
  56107. }
  56108. if (47 === _1_0) {
  56109. _0_0 = t1.peekChar$1(1);
  56110. $label1$1: {
  56111. if (47 === _0_0) {
  56112. t1 = _this._silentComment$0();
  56113. break $label1$1;
  56114. }
  56115. if (42 === _0_0) {
  56116. t1 = _this._loudComment$0();
  56117. break $label1$1;
  56118. }
  56119. t1 = child.call$0();
  56120. break $label1$1;
  56121. }
  56122. break $label0$0;
  56123. }
  56124. t1 = child.call$0();
  56125. break $label0$0;
  56126. }
  56127. return t1;
  56128. },
  56129. _silentComment$0() {
  56130. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  56131. t1 = _this.scanner,
  56132. t2 = t1._string_scanner$_position;
  56133. t1.expect$1("//");
  56134. buffer = new A.StringBuffer("");
  56135. parentIndentation = _this._currentIndentation;
  56136. t3 = t1.string.length;
  56137. t4 = 1 + parentIndentation;
  56138. t5 = 2 + parentIndentation;
  56139. $label0$0:
  56140. do {
  56141. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  56142. for (i = commentPrefix.length; true;) {
  56143. t6 = buffer._contents += commentPrefix;
  56144. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  56145. t6 += A.Primitives_stringFromCharCode(32);
  56146. buffer._contents = t6;
  56147. }
  56148. while (true) {
  56149. if (t1._string_scanner$_position !== t3) {
  56150. t7 = t1.peekChar$0();
  56151. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  56152. } else
  56153. t7 = false;
  56154. if (!t7)
  56155. break;
  56156. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56157. buffer._contents = t6;
  56158. }
  56159. buffer._contents = t6 + "\n";
  56160. if (_this._peekIndentation$0() < parentIndentation)
  56161. break $label0$0;
  56162. if (_this._peekIndentation$0() === parentIndentation) {
  56163. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  56164. _this._readIndentation$0();
  56165. break;
  56166. }
  56167. _this._readIndentation$0();
  56168. }
  56169. } while (t1.scan$1("//"));
  56170. t3 = buffer._contents;
  56171. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56172. },
  56173. _loudComment$0() {
  56174. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  56175. t1 = _this.scanner,
  56176. t2 = t1._string_scanner$_position;
  56177. t1.expect$1("/*");
  56178. t3 = new A.StringBuffer("");
  56179. t4 = A._setArrayType([], type$.JSArray_Object);
  56180. buffer = new A.InterpolationBuffer(t3, t4);
  56181. t3._contents = "" + "/*";
  56182. parentIndentation = _this._currentIndentation;
  56183. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  56184. if (first) {
  56185. beginningOfComment = t1._string_scanner$_position;
  56186. _this.spaces$0();
  56187. t7 = t1.peekChar$0();
  56188. if (t7 === 10 || t7 === 13 || t7 === 12) {
  56189. _this._readIndentation$0();
  56190. t7 = A.Primitives_stringFromCharCode(32);
  56191. t3._contents += t7;
  56192. } else {
  56193. end = t1._string_scanner$_position;
  56194. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  56195. }
  56196. } else {
  56197. t7 = t3._contents += "\n";
  56198. t3._contents = t7 + " * ";
  56199. }
  56200. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  56201. t7 = A.Primitives_stringFromCharCode(32);
  56202. t3._contents += t7;
  56203. }
  56204. for (; t1._string_scanner$_position !== t6;) {
  56205. _0_0 = t1.peekChar$0();
  56206. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  56207. break;
  56208. if (35 === _0_0) {
  56209. if (t1.peekChar$1(1) === 123) {
  56210. t7 = _this.singleInterpolation$0();
  56211. buffer._flushText$0();
  56212. t4.push(t7);
  56213. } else {
  56214. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56215. t3._contents += t7;
  56216. }
  56217. continue;
  56218. }
  56219. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56220. t3._contents += t7;
  56221. }
  56222. if (_this._peekIndentation$0() <= parentIndentation)
  56223. break;
  56224. for (; _this._lookingAtDoubleNewline$0();) {
  56225. _this._expectNewline$0();
  56226. t7 = t3._contents += "\n";
  56227. t3._contents = t7 + " *";
  56228. }
  56229. _this._readIndentation$0();
  56230. }
  56231. t4 = t3._contents;
  56232. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  56233. t3._contents += " */";
  56234. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  56235. },
  56236. whitespaceWithoutComments$0() {
  56237. var t1, t2, next;
  56238. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  56239. next = t1.peekChar$0();
  56240. if (next !== 9 && next !== 32)
  56241. break;
  56242. t1.readChar$0();
  56243. }
  56244. },
  56245. loudComment$0() {
  56246. var next,
  56247. t1 = this.scanner;
  56248. t1.expect$1("/*");
  56249. for (; true;) {
  56250. next = t1.readChar$0();
  56251. if (next === 10 || next === 13 || next === 12)
  56252. t1.error$1(0, "expected */.");
  56253. if (next !== 42)
  56254. continue;
  56255. do
  56256. next = t1.readChar$0();
  56257. while (next === 42);
  56258. if (next === 47)
  56259. break;
  56260. }
  56261. },
  56262. _expectNewline$0() {
  56263. var t1 = this.scanner,
  56264. _0_0 = t1.peekChar$0();
  56265. if (59 === _0_0)
  56266. t1.error$1(0, string$.semico);
  56267. if (13 === _0_0) {
  56268. t1.readChar$0();
  56269. if (t1.peekChar$0() === 10)
  56270. t1.readChar$0();
  56271. return;
  56272. }
  56273. if (10 === _0_0 || 12 === _0_0) {
  56274. t1.readChar$0();
  56275. return;
  56276. }
  56277. t1.error$1(0, "expected newline.");
  56278. },
  56279. _lookingAtDoubleNewline$0() {
  56280. var t2, _0_0,
  56281. t1 = this.scanner,
  56282. _1_0 = t1.peekChar$0();
  56283. $label1$1: {
  56284. t2 = false;
  56285. if (13 === _1_0) {
  56286. _0_0 = t1.peekChar$1(1);
  56287. $label0$0: {
  56288. if (10 === _0_0) {
  56289. t1 = t1.peekChar$1(2);
  56290. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56291. break $label0$0;
  56292. }
  56293. if (13 === _0_0 || 12 === _0_0) {
  56294. t1 = true;
  56295. break $label0$0;
  56296. }
  56297. t1 = t2;
  56298. break $label0$0;
  56299. }
  56300. break $label1$1;
  56301. }
  56302. if (10 === _1_0 || 12 === _1_0) {
  56303. t1 = t1.peekChar$1(1);
  56304. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56305. break $label1$1;
  56306. }
  56307. t1 = t2;
  56308. break $label1$1;
  56309. }
  56310. return t1;
  56311. },
  56312. _whileIndentedLower$1(body) {
  56313. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  56314. parentIndentation = _this._currentIndentation;
  56315. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  56316. indentation = _this._readIndentation$0();
  56317. if (childIndentation == null)
  56318. childIndentation = indentation;
  56319. if (childIndentation !== indentation) {
  56320. t3 = t1._string_scanner$_position;
  56321. t4 = t2.getColumn$1(t3);
  56322. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  56323. }
  56324. body.call$0();
  56325. }
  56326. },
  56327. _readIndentation$0() {
  56328. var t1, _this = this,
  56329. currentIndentation = _this._nextIndentation;
  56330. if (currentIndentation == null)
  56331. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  56332. _this._currentIndentation = currentIndentation;
  56333. t1 = _this._nextIndentationEnd;
  56334. t1.toString;
  56335. _this.scanner.set$state(t1);
  56336. _this._nextIndentationEnd = _this._nextIndentation = null;
  56337. return currentIndentation;
  56338. },
  56339. _peekIndentation$0() {
  56340. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  56341. _0_0 = _this._nextIndentation;
  56342. if (_0_0 != null)
  56343. return _0_0;
  56344. t1 = _this.scanner;
  56345. t2 = t1._string_scanner$_position;
  56346. t3 = t1.string.length;
  56347. if (t2 === t3) {
  56348. _this._nextIndentation = 0;
  56349. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  56350. return 0;
  56351. }
  56352. start = new A._SpanScannerState(t1, t2);
  56353. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  56354. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  56355. containsTab = A._Cell$();
  56356. containsSpace = A._Cell$();
  56357. nextIndentation = A._Cell$();
  56358. do {
  56359. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  56360. nextIndentation.__late_helper$_value = 0;
  56361. for (; true;) {
  56362. $label0$0: {
  56363. _1_0 = t1.peekChar$0();
  56364. if (32 === _1_0) {
  56365. containsSpace.__late_helper$_value = true;
  56366. break $label0$0;
  56367. }
  56368. if (9 === _1_0) {
  56369. containsTab.__late_helper$_value = true;
  56370. break $label0$0;
  56371. }
  56372. break;
  56373. }
  56374. t2 = nextIndentation.__late_helper$_value;
  56375. if (t2 === nextIndentation)
  56376. A.throwExpression(A.LateError$localNI(""));
  56377. nextIndentation.__late_helper$_value = t2 + 1;
  56378. t1.readChar$0();
  56379. }
  56380. t2 = t1._string_scanner$_position;
  56381. if (t2 === t3) {
  56382. _this._nextIndentation = 0;
  56383. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  56384. t1.set$state(start);
  56385. return 0;
  56386. }
  56387. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  56388. t2 = containsTab._readLocal$0();
  56389. t3 = containsSpace._readLocal$0();
  56390. if (t2) {
  56391. if (t3) {
  56392. t2 = t1._string_scanner$_position;
  56393. t3 = t1._sourceFile;
  56394. t4 = t3.getColumn$1(t2);
  56395. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56396. } else if (_this._spaces === true) {
  56397. t2 = t1._string_scanner$_position;
  56398. t3 = t1._sourceFile;
  56399. t4 = t3.getColumn$1(t2);
  56400. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56401. }
  56402. } else if (t3 && _this._spaces === false) {
  56403. t2 = t1._string_scanner$_position;
  56404. t3 = t1._sourceFile;
  56405. t4 = t3.getColumn$1(t2);
  56406. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56407. }
  56408. _this._nextIndentation = nextIndentation._readLocal$0();
  56409. if (nextIndentation._readLocal$0() > 0)
  56410. if (_this._spaces == null)
  56411. _this._spaces = containsSpace._readLocal$0();
  56412. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56413. t1.set$state(start);
  56414. return nextIndentation._readLocal$0();
  56415. }
  56416. };
  56417. A.SassParser_styleRuleSelector_closure.prototype = {
  56418. call$1(char) {
  56419. return char === 10 || char === 13 || char === 12;
  56420. },
  56421. $signature: 30
  56422. };
  56423. A.SassParser_children_closure.prototype = {
  56424. call$0() {
  56425. var _0_0 = this.$this._child$1(this.child);
  56426. if (_0_0 != null)
  56427. this.children.push(_0_0);
  56428. },
  56429. $signature: 0
  56430. };
  56431. A.SassParser__peekIndentation_closure.prototype = {
  56432. call$1(char) {
  56433. return char === 10 || char === 13 || char === 12;
  56434. },
  56435. $signature: 30
  56436. };
  56437. A.SassParser__peekIndentation_closure0.prototype = {
  56438. call$1(char) {
  56439. return char === 10 || char === 13 || char === 12;
  56440. },
  56441. $signature: 30
  56442. };
  56443. A.ScssParser.prototype = {
  56444. get$indented() {
  56445. return false;
  56446. },
  56447. get$currentIndentation() {
  56448. return 0;
  56449. },
  56450. styleRuleSelector$0() {
  56451. return this.almostAnyValue$0();
  56452. },
  56453. expectStatementSeparator$1($name) {
  56454. var t1, _0_0;
  56455. this.whitespaceWithoutComments$0();
  56456. t1 = this.scanner;
  56457. if (t1._string_scanner$_position === t1.string.length)
  56458. return;
  56459. _0_0 = t1.peekChar$0();
  56460. if (59 === _0_0 || 125 === _0_0)
  56461. return;
  56462. t1.expectChar$1(59);
  56463. },
  56464. expectStatementSeparator$0() {
  56465. return this.expectStatementSeparator$1(null);
  56466. },
  56467. atEndOfStatement$0() {
  56468. var next = this.scanner.peekChar$0();
  56469. return next == null || next === 59 || next === 125 || next === 123;
  56470. },
  56471. lookingAtChildren$0() {
  56472. return this.scanner.peekChar$0() === 123;
  56473. },
  56474. scanElse$1(ifIndentation) {
  56475. var t3, _this = this,
  56476. t1 = _this.scanner,
  56477. t2 = t1._string_scanner$_position;
  56478. _this.whitespace$0();
  56479. t3 = t1._string_scanner$_position;
  56480. if (t1.scanChar$1(64)) {
  56481. if (_this.scanIdentifier$2$caseSensitive("else", true))
  56482. return true;
  56483. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  56484. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_EJz, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  56485. t1.set$position(t1._string_scanner$_position - 2);
  56486. return true;
  56487. }
  56488. }
  56489. t1.set$state(new A._SpanScannerState(t1, t2));
  56490. return false;
  56491. },
  56492. children$1(_, child) {
  56493. var children, _this = this,
  56494. t1 = _this.scanner;
  56495. t1.expectChar$1(123);
  56496. _this.whitespaceWithoutComments$0();
  56497. children = A._setArrayType([], type$.JSArray_Statement);
  56498. for (; true;)
  56499. switch (t1.peekChar$0()) {
  56500. case 36:
  56501. children.push(_this.variableDeclarationWithoutNamespace$0());
  56502. break;
  56503. case 47:
  56504. switch (t1.peekChar$1(1)) {
  56505. case 47:
  56506. children.push(_this._scss$_silentComment$0());
  56507. _this.whitespaceWithoutComments$0();
  56508. break;
  56509. case 42:
  56510. children.push(_this._scss$_loudComment$0());
  56511. _this.whitespaceWithoutComments$0();
  56512. break;
  56513. default:
  56514. children.push(child.call$0());
  56515. }
  56516. break;
  56517. case 59:
  56518. t1.readChar$0();
  56519. _this.whitespaceWithoutComments$0();
  56520. break;
  56521. case 125:
  56522. t1.expectChar$1(125);
  56523. return children;
  56524. default:
  56525. children.push(child.call$0());
  56526. }
  56527. },
  56528. statements$1(statement) {
  56529. var t1, t2, _0_0, _1_0, _this = this,
  56530. statements = A._setArrayType([], type$.JSArray_Statement);
  56531. _this.whitespaceWithoutComments$0();
  56532. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  56533. switch (t1.peekChar$0()) {
  56534. case 36:
  56535. statements.push(_this.variableDeclarationWithoutNamespace$0());
  56536. break;
  56537. case 47:
  56538. switch (t1.peekChar$1(1)) {
  56539. case 47:
  56540. statements.push(_this._scss$_silentComment$0());
  56541. _this.whitespaceWithoutComments$0();
  56542. break;
  56543. case 42:
  56544. statements.push(_this._scss$_loudComment$0());
  56545. _this.whitespaceWithoutComments$0();
  56546. break;
  56547. default:
  56548. _0_0 = statement.call$0();
  56549. if (_0_0 != null)
  56550. statements.push(_0_0);
  56551. }
  56552. break;
  56553. case 59:
  56554. t1.readChar$0();
  56555. _this.whitespaceWithoutComments$0();
  56556. break;
  56557. default:
  56558. _1_0 = statement.call$0();
  56559. if (_1_0 != null)
  56560. statements.push(_1_0);
  56561. }
  56562. return statements;
  56563. },
  56564. _scss$_silentComment$0() {
  56565. var t2, t3, _this = this,
  56566. t1 = _this.scanner,
  56567. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56568. t1.expect$1("//");
  56569. t2 = t1.string.length;
  56570. do {
  56571. while (true) {
  56572. if (t1._string_scanner$_position !== t2) {
  56573. t3 = t1.readChar$0();
  56574. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  56575. } else
  56576. t3 = false;
  56577. if (!t3)
  56578. break;
  56579. }
  56580. if (t1._string_scanner$_position === t2)
  56581. break;
  56582. _this.spaces$0();
  56583. } while (t1.scan$1("//"));
  56584. if (_this.get$plainCss())
  56585. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  56586. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  56587. },
  56588. _scss$_loudComment$0() {
  56589. var t3, t4, buffer, t5, endPosition, t6, result,
  56590. t1 = this.scanner,
  56591. t2 = t1._string_scanner$_position;
  56592. t1.expect$1("/*");
  56593. t3 = new A.StringBuffer("");
  56594. t4 = A._setArrayType([], type$.JSArray_Object);
  56595. buffer = new A.InterpolationBuffer(t3, t4);
  56596. t3._contents = "" + "/*";
  56597. $label0$1:
  56598. for (; true;)
  56599. switch (t1.peekChar$0()) {
  56600. case 35:
  56601. if (t1.peekChar$1(1) === 123) {
  56602. t5 = this.singleInterpolation$0();
  56603. buffer._flushText$0();
  56604. t4.push(t5);
  56605. } else {
  56606. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56607. t3._contents += t5;
  56608. }
  56609. break;
  56610. case 42:
  56611. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56612. t3._contents += t5;
  56613. if (t1.peekChar$0() !== 47)
  56614. continue $label0$1;
  56615. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56616. t3._contents += t5;
  56617. endPosition = t1._string_scanner$_position;
  56618. t5 = t1._sourceFile;
  56619. t6 = new A._SpanScannerState(t1, t2).position;
  56620. t1 = new A._FileSpan(t5, t6, endPosition);
  56621. t1._FileSpan$3(t5, t6, endPosition);
  56622. t6 = type$.Object;
  56623. t5 = A.List_List$of(t4, true, t6);
  56624. t2 = t3._contents;
  56625. if (t2.length !== 0)
  56626. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56627. result = A.List_List$from(t5, false, t6);
  56628. result.fixed$length = Array;
  56629. result.immutable$list = Array;
  56630. t2 = new A.Interpolation(result, t1);
  56631. t2.Interpolation$2(t5, t1);
  56632. return new A.LoudComment(t2);
  56633. case 13:
  56634. t1.readChar$0();
  56635. if (t1.peekChar$0() !== 10) {
  56636. t5 = A.Primitives_stringFromCharCode(10);
  56637. t3._contents += t5;
  56638. }
  56639. break;
  56640. case 12:
  56641. t1.readChar$0();
  56642. t5 = A.Primitives_stringFromCharCode(10);
  56643. t3._contents += t5;
  56644. break;
  56645. default:
  56646. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56647. t3._contents += t5;
  56648. }
  56649. }
  56650. };
  56651. A.SelectorParser.prototype = {
  56652. parse$0(_) {
  56653. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  56654. },
  56655. parseCompoundSelector$0() {
  56656. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  56657. },
  56658. _selectorList$0() {
  56659. var t4, t5, lineBreak, _this = this,
  56660. t1 = _this.scanner,
  56661. t2 = t1._string_scanner$_position,
  56662. t3 = t1._sourceFile,
  56663. previousLine = t3.getLine$1(t2),
  56664. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  56665. _this.whitespace$0();
  56666. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  56667. _this.whitespace$0();
  56668. if (t1.peekChar$0() === 44)
  56669. continue;
  56670. t5 = t1._string_scanner$_position;
  56671. if (t5 === t4)
  56672. break;
  56673. lineBreak = t3.getLine$1(t5) !== previousLine;
  56674. if (lineBreak)
  56675. previousLine = t3.getLine$1(t1._string_scanner$_position);
  56676. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  56677. }
  56678. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56679. },
  56680. _complexSelector$1$lineBreak(lineBreak) {
  56681. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  56682. _s18_ = "expected selector.",
  56683. t1 = _this.scanner,
  56684. t2 = t1._string_scanner$_position,
  56685. componentStart = new A._SpanScannerState(t1, t2),
  56686. t3 = type$.JSArray_CssValue_Combinator,
  56687. combinators = A._setArrayType([], t3),
  56688. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  56689. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  56690. _this.whitespace$0();
  56691. _0_0 = t1.peekChar$0();
  56692. if (43 === _0_0) {
  56693. t5 = t1._string_scanner$_position;
  56694. t1.readChar$0();
  56695. combinators.push(new A.CssValue(B.Combinator_gRV, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56696. continue;
  56697. }
  56698. if (62 === _0_0) {
  56699. t5 = t1._string_scanner$_position;
  56700. t1.readChar$0();
  56701. combinators.push(new A.CssValue(B.Combinator_8I8, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56702. continue;
  56703. }
  56704. if (126 === _0_0) {
  56705. t5 = t1._string_scanner$_position;
  56706. t1.readChar$0();
  56707. combinators.push(new A.CssValue(B.Combinator_y18, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56708. continue;
  56709. }
  56710. if (_0_0 == null)
  56711. break;
  56712. t5 = true;
  56713. if (91 !== _0_0)
  56714. if (46 !== _0_0)
  56715. if (35 !== _0_0)
  56716. if (37 !== _0_0)
  56717. if (58 !== _0_0)
  56718. if (38 !== _0_0)
  56719. if (42 !== _0_0)
  56720. if (124 !== _0_0)
  56721. t5 = _this.lookingAtIdentifier$0();
  56722. if (t5) {
  56723. if (lastCompound != null) {
  56724. t5 = _this.spanFrom$1(componentStart);
  56725. result = A.List_List$from(combinators, false, t4);
  56726. result.fixed$length = Array;
  56727. result.immutable$list = Array;
  56728. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  56729. } else if (combinators.length !== 0) {
  56730. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56731. initialCombinators = combinators;
  56732. }
  56733. lastCompound = _this._compoundSelector$0();
  56734. combinators = A._setArrayType([], t3);
  56735. if (t1.peekChar$0() === 38)
  56736. t1.error$1(0, string$.x22x26__ma);
  56737. continue;
  56738. }
  56739. break;
  56740. }
  56741. t3 = combinators.length !== 0;
  56742. if (t3 && _this._plainCss)
  56743. t1.error$1(0, _s18_);
  56744. else if (lastCompound != null) {
  56745. t3 = _this.spanFrom$1(componentStart);
  56746. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  56747. } else if (t3)
  56748. initialCombinators = combinators;
  56749. else
  56750. t1.error$1(0, _s18_);
  56751. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  56752. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  56753. },
  56754. _complexSelector$0() {
  56755. return this._complexSelector$1$lineBreak(false);
  56756. },
  56757. _compoundSelector$0() {
  56758. var t3, _this = this,
  56759. t1 = _this.scanner,
  56760. t2 = t1._string_scanner$_position,
  56761. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  56762. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  56763. components.push(_this._simpleSelector$1$allowParent(t3));
  56764. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56765. },
  56766. _simpleSelector$1$allowParent(allowParent) {
  56767. var t2, $name, text, t3, suffix, _this = this,
  56768. t1 = _this.scanner,
  56769. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56770. if (allowParent == null)
  56771. allowParent = _this._allowParent;
  56772. switch (t1.peekChar$0()) {
  56773. case 91:
  56774. return _this._attributeSelector$0();
  56775. case 46:
  56776. t2 = t1._string_scanner$_position;
  56777. t1.expectChar$1(46);
  56778. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56779. case 35:
  56780. t2 = t1._string_scanner$_position;
  56781. t1.expectChar$1(35);
  56782. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56783. case 37:
  56784. t2 = t1._string_scanner$_position;
  56785. t1.expectChar$1(37);
  56786. $name = _this.identifier$0();
  56787. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56788. if (_this._plainCss)
  56789. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  56790. return new A.PlaceholderSelector($name, t2);
  56791. case 58:
  56792. return _this._pseudoSelector$0();
  56793. case 38:
  56794. t2 = t1._string_scanner$_position;
  56795. t1.expectChar$1(38);
  56796. if (_this.lookingAtIdentifierBody$0()) {
  56797. text = new A.StringBuffer("");
  56798. _this._identifierBody$1(text);
  56799. if (text._contents.length === 0)
  56800. t1.error$1(0, "Expected identifier body.");
  56801. t3 = text._contents;
  56802. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  56803. } else
  56804. suffix = null;
  56805. if (_this._plainCss && suffix != null)
  56806. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  56807. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56808. if (!allowParent)
  56809. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  56810. return new A.ParentSelector(suffix, t2);
  56811. default:
  56812. return _this._typeOrUniversalSelector$0();
  56813. }
  56814. },
  56815. _simpleSelector$0() {
  56816. return this._simpleSelector$1$allowParent(null);
  56817. },
  56818. _attributeSelector$0() {
  56819. var $name, operator, next, value, modifier, _this = this, _null = null,
  56820. t1 = _this.scanner,
  56821. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56822. t1.expectChar$1(91);
  56823. _this.whitespace$0();
  56824. $name = _this._attributeName$0();
  56825. _this.whitespace$0();
  56826. if (t1.scanChar$1(93))
  56827. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  56828. operator = _this._attributeOperator$0();
  56829. _this.whitespace$0();
  56830. next = t1.peekChar$0();
  56831. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  56832. _this.whitespace$0();
  56833. next = t1.peekChar$0();
  56834. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  56835. t1.expectChar$1(93);
  56836. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  56837. },
  56838. _attributeName$0() {
  56839. var nameOrNamespace, _this = this,
  56840. t1 = _this.scanner;
  56841. if (t1.scanChar$1(42)) {
  56842. t1.expectChar$1(124);
  56843. return new A.QualifiedName(_this.identifier$0(), "*");
  56844. }
  56845. if (t1.scanChar$1(124))
  56846. return new A.QualifiedName(_this.identifier$0(), "");
  56847. nameOrNamespace = _this.identifier$0();
  56848. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  56849. return new A.QualifiedName(nameOrNamespace, null);
  56850. t1.readChar$0();
  56851. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  56852. },
  56853. _attributeOperator$0() {
  56854. var t1 = this.scanner,
  56855. t2 = t1._string_scanner$_position;
  56856. switch (t1.readChar$0()) {
  56857. case 61:
  56858. return B.AttributeOperator_4QF;
  56859. case 126:
  56860. t1.expectChar$1(61);
  56861. return B.AttributeOperator_yT8;
  56862. case 124:
  56863. t1.expectChar$1(61);
  56864. return B.AttributeOperator_jqB;
  56865. case 94:
  56866. t1.expectChar$1(61);
  56867. return B.AttributeOperator_cMb;
  56868. case 36:
  56869. t1.expectChar$1(61);
  56870. return B.AttributeOperator_qhE;
  56871. case 42:
  56872. t1.expectChar$1(61);
  56873. return B.AttributeOperator_61T;
  56874. default:
  56875. t1.error$2$position(0, 'Expected "]".', t2);
  56876. }
  56877. },
  56878. _pseudoSelector$0() {
  56879. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  56880. t1 = _this.scanner,
  56881. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56882. t1.expectChar$1(58);
  56883. element = t1.scanChar$1(58);
  56884. $name = _this.identifier$0();
  56885. if (!t1.scanChar$1(40))
  56886. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  56887. _this.whitespace$0();
  56888. unvendored = A.unvendor($name);
  56889. argument = _null;
  56890. selector = _null;
  56891. if (element)
  56892. if ($._selectorPseudoElements.contains$1(0, unvendored))
  56893. selector = _this._selectorList$0();
  56894. else
  56895. argument = _this.declarationValue$1$allowEmpty(true);
  56896. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  56897. selector = _this._selectorList$0();
  56898. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  56899. argument = _this._aNPlusB$0();
  56900. _this.whitespace$0();
  56901. t2 = t1.peekChar$1(-1);
  56902. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  56903. _this.expectIdentifier$1("of");
  56904. argument += " of";
  56905. _this.whitespace$0();
  56906. selector = _this._selectorList$0();
  56907. }
  56908. } else
  56909. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  56910. t1.expectChar$1(41);
  56911. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  56912. },
  56913. _aNPlusB$0() {
  56914. var t1, _0_0, t2, $self, next, _this = this;
  56915. $label0$0: {
  56916. t1 = _this.scanner;
  56917. _0_0 = t1.peekChar$0();
  56918. if (101 === _0_0 || 69 === _0_0) {
  56919. _this.expectIdentifier$1("even");
  56920. return "even";
  56921. }
  56922. if (111 === _0_0 || 79 === _0_0) {
  56923. _this.expectIdentifier$1("odd");
  56924. return "odd";
  56925. }
  56926. if (43 === _0_0 || 45 === _0_0) {
  56927. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  56928. break $label0$0;
  56929. }
  56930. t2 = "";
  56931. }
  56932. $self = t1.peekChar$0();
  56933. if ($self != null && $self >= 48 && $self <= 57) {
  56934. do {
  56935. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56936. $self = t1.peekChar$0();
  56937. } while ($self != null && $self >= 48 && $self <= 57);
  56938. _this.whitespace$0();
  56939. if (!_this.scanIdentChar$1(110))
  56940. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56941. } else
  56942. _this.expectIdentChar$1(110);
  56943. t2 += A.Primitives_stringFromCharCode(110);
  56944. _this.whitespace$0();
  56945. next = t1.peekChar$0();
  56946. if (next !== 43 && next !== 45)
  56947. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56948. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56949. _this.whitespace$0();
  56950. $self = t1.peekChar$0();
  56951. if (!($self != null && $self >= 48 && $self <= 57))
  56952. t1.error$1(0, "Expected a number.");
  56953. do {
  56954. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56955. $self = t1.peekChar$0();
  56956. } while ($self != null && $self >= 48 && $self <= 57);
  56957. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56958. },
  56959. _typeOrUniversalSelector$0() {
  56960. var nameOrNamespace, _this = this,
  56961. t1 = _this.scanner,
  56962. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56963. if (t1.scanChar$1(42)) {
  56964. if (!t1.scanChar$1(124))
  56965. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  56966. 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));
  56967. } else if (t1.scanChar$1(124))
  56968. 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));
  56969. nameOrNamespace = _this.identifier$0();
  56970. if (!t1.scanChar$1(124))
  56971. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  56972. else if (t1.scanChar$1(42))
  56973. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  56974. else
  56975. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  56976. },
  56977. _isSimpleSelectorStart$1(character) {
  56978. var t1;
  56979. $label0$0: {
  56980. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  56981. t1 = true;
  56982. break $label0$0;
  56983. }
  56984. if (38 === character) {
  56985. t1 = this._plainCss;
  56986. break $label0$0;
  56987. }
  56988. t1 = false;
  56989. break $label0$0;
  56990. }
  56991. return t1;
  56992. }
  56993. };
  56994. A.SelectorParser_parse_closure.prototype = {
  56995. call$0() {
  56996. var t1 = this.$this,
  56997. selector = t1._selectorList$0();
  56998. t1 = t1.scanner;
  56999. if (t1._string_scanner$_position !== t1.string.length)
  57000. t1.error$1(0, "expected selector.");
  57001. return selector;
  57002. },
  57003. $signature: 507
  57004. };
  57005. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  57006. call$0() {
  57007. var t1 = this.$this,
  57008. compound = t1._compoundSelector$0();
  57009. t1 = t1.scanner;
  57010. if (t1._string_scanner$_position !== t1.string.length)
  57011. t1.error$1(0, "expected selector.");
  57012. return compound;
  57013. },
  57014. $signature: 499
  57015. };
  57016. A.StylesheetParser.prototype = {
  57017. parse$0(_) {
  57018. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  57019. },
  57020. parseArgumentDeclaration$0() {
  57021. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  57022. },
  57023. parseVariableDeclaration$0() {
  57024. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  57025. },
  57026. parseUseRule$0() {
  57027. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  57028. },
  57029. _parseSingleProduction$1$1(production, $T) {
  57030. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  57031. },
  57032. _statement$1$root(root) {
  57033. var t2, _this = this,
  57034. t1 = _this.scanner,
  57035. _0_0 = t1.peekChar$0();
  57036. if (64 === _0_0)
  57037. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  57038. if (43 === _0_0) {
  57039. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  57040. return _this._styleRule$0();
  57041. _this._isUseAllowed = false;
  57042. t2 = t1._string_scanner$_position;
  57043. t1.readChar$0();
  57044. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  57045. }
  57046. if (61 === _0_0) {
  57047. if (!_this.get$indented())
  57048. return _this._styleRule$0();
  57049. _this._isUseAllowed = false;
  57050. t2 = t1._string_scanner$_position;
  57051. t1.readChar$0();
  57052. _this.whitespace$0();
  57053. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  57054. }
  57055. if (125 === _0_0)
  57056. t1.error$2$length(0, 'unmatched "}".', 1);
  57057. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  57058. },
  57059. _statement$0() {
  57060. return this._statement$1$root(false);
  57061. },
  57062. _variableDeclarationWithNamespace$0() {
  57063. var t1 = this.scanner,
  57064. t2 = t1._string_scanner$_position,
  57065. namespace = this.identifier$0();
  57066. t1.expectChar$1(46);
  57067. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  57068. },
  57069. variableDeclarationWithoutNamespace$2(namespace, start_) {
  57070. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  57071. precedingComment = _this.lastSilentComment;
  57072. _this.lastSilentComment = null;
  57073. if (start_ == null) {
  57074. t1 = _this.scanner;
  57075. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57076. } else
  57077. start = start_;
  57078. $name = _this.variableName$0();
  57079. t1 = namespace != null;
  57080. if (t1)
  57081. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  57082. if (_this.get$plainCss())
  57083. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  57084. _this.whitespace$0();
  57085. t2 = _this.scanner;
  57086. t2.expectChar$1(58);
  57087. _this.whitespace$0();
  57088. value = _this._expression$0();
  57089. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57090. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  57091. $label0$0: {
  57092. _0_0 = _this.identifier$0();
  57093. if ("default" === _0_0) {
  57094. if (guarded) {
  57095. endPosition = t2._string_scanner$_position;
  57096. t4 = t2._sourceFile;
  57097. t5 = flagStart.position;
  57098. t6 = new A._FileSpan(t4, t5, endPosition);
  57099. t6._FileSpan$3(t4, t5, endPosition);
  57100. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_zrt, string$.x21defau, t6, null);
  57101. }
  57102. guarded = true;
  57103. break $label0$0;
  57104. }
  57105. if ("global" === _0_0) {
  57106. if (t1) {
  57107. endPosition = t2._string_scanner$_position;
  57108. t4 = t2._sourceFile;
  57109. t5 = flagStart.position;
  57110. t6 = new A._FileSpan(t4, t5, endPosition);
  57111. t6._FileSpan$3(t4, t5, endPosition);
  57112. _this.error$2(0, string$.x21globai, t6);
  57113. } else if (global) {
  57114. endPosition = t2._string_scanner$_position;
  57115. t4 = t2._sourceFile;
  57116. t5 = flagStart.position;
  57117. t6 = new A._FileSpan(t4, t5, endPosition);
  57118. t6._FileSpan$3(t4, t5, endPosition);
  57119. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_zrt, string$.x21globas, t6, null);
  57120. }
  57121. global = true;
  57122. break $label0$0;
  57123. }
  57124. endPosition = t2._string_scanner$_position;
  57125. t4 = t2._sourceFile;
  57126. t5 = flagStart.position;
  57127. t6 = new A._FileSpan(t4, t5, endPosition);
  57128. t6._FileSpan$3(t4, t5, endPosition);
  57129. _this.error$2(0, "Invalid flag name.", t6);
  57130. }
  57131. _this.whitespace$0();
  57132. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57133. }
  57134. _this.expectStatementSeparator$1("variable declaration");
  57135. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  57136. if (global)
  57137. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  57138. return declaration;
  57139. },
  57140. variableDeclarationWithoutNamespace$0() {
  57141. return this.variableDeclarationWithoutNamespace$2(null, null);
  57142. },
  57143. _variableDeclarationOrStyleRule$0() {
  57144. var t1, t2, variableOrInterpolation, t3, _this = this;
  57145. if (_this.get$plainCss())
  57146. return _this._styleRule$0();
  57147. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57148. return _this._styleRule$0();
  57149. if (!_this.lookingAtIdentifier$0())
  57150. return _this._styleRule$0();
  57151. t1 = _this.scanner;
  57152. t2 = t1._string_scanner$_position;
  57153. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57154. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57155. t1 = variableOrInterpolation;
  57156. else {
  57157. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  57158. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57159. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  57160. t1 = t2;
  57161. }
  57162. return t1;
  57163. },
  57164. _declarationOrStyleRule$0() {
  57165. var t1, t2, declarationOrBuffer, _this = this;
  57166. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57167. return _this._styleRule$0();
  57168. t1 = _this.scanner;
  57169. t2 = t1._string_scanner$_position;
  57170. declarationOrBuffer = _this._declarationOrBuffer$0();
  57171. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  57172. },
  57173. _declarationOrBuffer$0() {
  57174. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, t5, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  57175. t1 = _this.scanner,
  57176. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57177. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  57178. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  57179. if (startsWithPunctuation) {
  57180. t2 = t1.readChar$0();
  57181. t3 = nameBuffer._interpolation_buffer$_text;
  57182. t2 = A.Primitives_stringFromCharCode(t2);
  57183. t3._contents += t2;
  57184. t2 = _this.rawText$1(_this.get$whitespace());
  57185. t3 = nameBuffer._interpolation_buffer$_text;
  57186. t3._contents += t2;
  57187. }
  57188. if (!_this._lookingAtInterpolatedIdentifier$0())
  57189. return nameBuffer;
  57190. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  57191. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57192. return variableOrInterpolation;
  57193. else
  57194. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57195. _this._isUseAllowed = false;
  57196. if (t1.matches$1("/*")) {
  57197. t2 = _this.rawText$1(_this.get$loudComment());
  57198. t3 = nameBuffer._interpolation_buffer$_text;
  57199. t3._contents += t2;
  57200. }
  57201. midBuffer = new A.StringBuffer("");
  57202. t2 = midBuffer;
  57203. t3 = _this.get$whitespace();
  57204. t4 = _this.rawText$1(t3);
  57205. t2._contents += t4;
  57206. t4 = t1._string_scanner$_position;
  57207. if (!t1.scanChar$1(58)) {
  57208. if (midBuffer._contents.length !== 0) {
  57209. t1 = nameBuffer._interpolation_buffer$_text;
  57210. t2 = A.Primitives_stringFromCharCode(32);
  57211. t1._contents += t2;
  57212. }
  57213. return nameBuffer;
  57214. }
  57215. t2 = midBuffer;
  57216. t5 = A.Primitives_stringFromCharCode(58);
  57217. t2._contents += t5;
  57218. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t4)));
  57219. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  57220. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  57221. _this.expectStatementSeparator$1("custom property");
  57222. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  57223. }
  57224. if (t1.scanChar$1(58)) {
  57225. t1 = nameBuffer;
  57226. t2 = t1._interpolation_buffer$_text;
  57227. t3 = A.S(midBuffer);
  57228. t2._contents += t3;
  57229. t3 = A.Primitives_stringFromCharCode(58);
  57230. t2._contents += t3;
  57231. return t1;
  57232. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  57233. t1 = nameBuffer;
  57234. t2 = t1._interpolation_buffer$_text;
  57235. t3 = A.S(midBuffer);
  57236. t2._contents += t3;
  57237. return t1;
  57238. }
  57239. postColonWhitespace = _this.rawText$1(t3);
  57240. _0_0 = _this._tryDeclarationChildren$2($name, start);
  57241. if (_0_0 != null)
  57242. return _0_0;
  57243. midBuffer._contents += postColonWhitespace;
  57244. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  57245. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57246. value = null;
  57247. try {
  57248. value = _this._expression$0();
  57249. if (_this.lookingAtChildren$0()) {
  57250. if (couldBeSelector)
  57251. _this.expectStatementSeparator$0();
  57252. } else if (!_this.atEndOfStatement$0())
  57253. _this.expectStatementSeparator$0();
  57254. } catch (exception) {
  57255. if (type$.FormatException._is(A.unwrapException(exception))) {
  57256. if (!couldBeSelector)
  57257. throw exception;
  57258. t1.set$state(beforeDeclaration);
  57259. additional = _this.almostAnyValue$0();
  57260. if (!_this.get$indented() && t1.peekChar$0() === 59)
  57261. throw exception;
  57262. t1 = nameBuffer._interpolation_buffer$_text;
  57263. t2 = A.S(midBuffer);
  57264. t1._contents += t2;
  57265. nameBuffer.addInterpolation$1(additional);
  57266. return nameBuffer;
  57267. } else
  57268. throw exception;
  57269. }
  57270. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  57271. if (_1_0 != null)
  57272. return _1_0;
  57273. else {
  57274. _this.expectStatementSeparator$0();
  57275. return A.Declaration$($name, value, t1.spanFrom$1(start));
  57276. }
  57277. },
  57278. _variableDeclarationOrInterpolation$0() {
  57279. var t1, start, identifier, t2, buffer, _this = this;
  57280. if (!_this.lookingAtIdentifier$0())
  57281. return _this.interpolatedIdentifier$0();
  57282. t1 = _this.scanner;
  57283. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57284. identifier = _this.identifier$0();
  57285. if (t1.matches$1(".$")) {
  57286. t1.readChar$0();
  57287. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  57288. } else {
  57289. t2 = new A.StringBuffer("");
  57290. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57291. t2._contents = "" + identifier;
  57292. if (_this._lookingAtInterpolatedIdentifierBody$0())
  57293. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57294. return buffer.interpolation$1(t1.spanFrom$1(start));
  57295. }
  57296. },
  57297. _styleRule$2(buffer, start_) {
  57298. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  57299. _this._isUseAllowed = false;
  57300. if (start_ == null) {
  57301. t2 = _this.scanner;
  57302. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57303. } else
  57304. start = start_;
  57305. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  57306. if (buffer != null) {
  57307. buffer.addInterpolation$1(interpolation);
  57308. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  57309. } else
  57310. t2 = interpolation;
  57311. if (t2.contents.length === 0)
  57312. _this.scanner.error$1(0, 'expected "}".');
  57313. wasInStyleRule = _this._inStyleRule;
  57314. _this._inStyleRule = true;
  57315. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  57316. },
  57317. _styleRule$0() {
  57318. return this._styleRule$2(null, null);
  57319. },
  57320. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  57321. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  57322. t1 = _this.scanner,
  57323. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57324. if (_this._lookingAtPotentialPropertyHack$0()) {
  57325. t2 = new A.StringBuffer("");
  57326. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57327. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  57328. t2._contents += t3;
  57329. t3 = _this.rawText$1(_this.get$whitespace());
  57330. t2._contents += t3;
  57331. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57332. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  57333. } else if (!_this.get$plainCss()) {
  57334. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57335. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57336. return variableOrInterpolation;
  57337. else
  57338. type$.Interpolation._as(variableOrInterpolation);
  57339. $name = variableOrInterpolation;
  57340. } else
  57341. $name = _this.interpolatedIdentifier$0();
  57342. _this.whitespace$0();
  57343. t1.expectChar$1(58);
  57344. _this.whitespace$0();
  57345. _0_0 = _this._tryDeclarationChildren$2($name, start);
  57346. if (_0_0 != null)
  57347. return _0_0;
  57348. value = _this._expression$0();
  57349. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  57350. if (_1_0 != null)
  57351. return _1_0;
  57352. else {
  57353. _this.expectStatementSeparator$0();
  57354. return A.Declaration$($name, value, t1.spanFrom$1(start));
  57355. }
  57356. },
  57357. _tryDeclarationChildren$3$value($name, start, value) {
  57358. var _this = this;
  57359. if (!_this.lookingAtChildren$0())
  57360. return null;
  57361. if (_this.get$plainCss())
  57362. _this.scanner.error$1(0, string$.Nested);
  57363. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  57364. },
  57365. _tryDeclarationChildren$2($name, start) {
  57366. return this._tryDeclarationChildren$3$value($name, start, null);
  57367. },
  57368. _declarationChild$0() {
  57369. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  57370. },
  57371. atRule$2$root(child, root) {
  57372. var $name, wasUseAllowed, value, optional, _this = this,
  57373. t1 = _this.scanner,
  57374. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57375. t1.expectChar$2$name(64, "@-rule");
  57376. $name = _this.interpolatedIdentifier$0();
  57377. _this.whitespace$0();
  57378. wasUseAllowed = _this._isUseAllowed;
  57379. _this._isUseAllowed = false;
  57380. switch ($name.get$asPlain()) {
  57381. case "at-root":
  57382. return _this._atRootRule$1(start);
  57383. case "content":
  57384. return _this._contentRule$1(start);
  57385. case "debug":
  57386. return _this._debugRule$1(start);
  57387. case "each":
  57388. return _this._eachRule$2(start, child);
  57389. case "else":
  57390. return _this._disallowedAtRule$1(start);
  57391. case "error":
  57392. return _this._errorRule$1(start);
  57393. case "extend":
  57394. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  57395. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  57396. value = _this.almostAnyValue$0();
  57397. optional = t1.scanChar$1(33);
  57398. if (optional) {
  57399. _this.expectIdentifier$1("optional");
  57400. _this.whitespace$0();
  57401. }
  57402. _this.expectStatementSeparator$1("@extend rule");
  57403. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  57404. case "for":
  57405. return _this._forRule$2(start, child);
  57406. case "forward":
  57407. _this._isUseAllowed = wasUseAllowed;
  57408. if (!root)
  57409. _this._disallowedAtRule$1(start);
  57410. return _this._forwardRule$1(start);
  57411. case "function":
  57412. return _this._functionRule$1(start);
  57413. case "if":
  57414. return _this._ifRule$2(start, child);
  57415. case "import":
  57416. return _this._importRule$1(start);
  57417. case "include":
  57418. return _this._includeRule$1(start);
  57419. case "media":
  57420. return _this.mediaRule$1(start);
  57421. case "mixin":
  57422. return _this._mixinRule$1(start);
  57423. case "-moz-document":
  57424. return _this.mozDocumentRule$2(start, $name);
  57425. case "return":
  57426. return _this._disallowedAtRule$1(start);
  57427. case "supports":
  57428. return _this.supportsRule$1(start);
  57429. case "use":
  57430. _this._isUseAllowed = wasUseAllowed;
  57431. if (!root)
  57432. _this._disallowedAtRule$1(start);
  57433. return _this._useRule$1(start);
  57434. case "warn":
  57435. return _this._warnRule$1(start);
  57436. case "while":
  57437. return _this._whileRule$2(start, child);
  57438. default:
  57439. return _this.unknownAtRule$2(start, $name);
  57440. }
  57441. },
  57442. _declarationAtRule$0() {
  57443. var _this = this,
  57444. t1 = _this.scanner,
  57445. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57446. _0_0 = _this._plainAtRuleName$0();
  57447. $label0$0: {
  57448. if ("content" === _0_0) {
  57449. t1 = _this._contentRule$1(start);
  57450. break $label0$0;
  57451. }
  57452. if ("debug" === _0_0) {
  57453. t1 = _this._debugRule$1(start);
  57454. break $label0$0;
  57455. }
  57456. if ("each" === _0_0) {
  57457. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  57458. break $label0$0;
  57459. }
  57460. if ("else" === _0_0)
  57461. _this._disallowedAtRule$1(start);
  57462. if ("error" === _0_0) {
  57463. t1 = _this._errorRule$1(start);
  57464. break $label0$0;
  57465. }
  57466. if ("for" === _0_0) {
  57467. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  57468. break $label0$0;
  57469. }
  57470. if ("if" === _0_0) {
  57471. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  57472. break $label0$0;
  57473. }
  57474. if ("include" === _0_0) {
  57475. t1 = _this._includeRule$1(start);
  57476. break $label0$0;
  57477. }
  57478. if ("warn" === _0_0) {
  57479. t1 = _this._warnRule$1(start);
  57480. break $label0$0;
  57481. }
  57482. if ("while" === _0_0) {
  57483. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  57484. break $label0$0;
  57485. }
  57486. t1 = _this._disallowedAtRule$1(start);
  57487. }
  57488. return t1;
  57489. },
  57490. _functionChild$0() {
  57491. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  57492. t1 = _this.scanner;
  57493. if (t1.peekChar$0() !== 64) {
  57494. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57495. try {
  57496. t2 = _this._variableDeclarationWithNamespace$0();
  57497. return t2;
  57498. } catch (exception) {
  57499. t2 = A.unwrapException(exception);
  57500. t3 = type$.SourceSpanFormatException;
  57501. if (t3._is(t2)) {
  57502. variableDeclarationError = t2;
  57503. stackTrace = A.getTraceFromException(exception);
  57504. t1.set$state(state);
  57505. statement = null;
  57506. try {
  57507. statement = _this._declarationOrStyleRule$0();
  57508. } catch (exception) {
  57509. if (t3._is(A.unwrapException(exception)))
  57510. throw A.wrapException(variableDeclarationError);
  57511. else
  57512. throw exception;
  57513. }
  57514. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  57515. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  57516. } else
  57517. throw exception;
  57518. }
  57519. }
  57520. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57521. _0_0 = _this._plainAtRuleName$0();
  57522. $label0$0: {
  57523. if ("debug" === _0_0) {
  57524. t1 = _this._debugRule$1(start);
  57525. break $label0$0;
  57526. }
  57527. if ("each" === _0_0) {
  57528. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  57529. break $label0$0;
  57530. }
  57531. if ("else" === _0_0)
  57532. _this._disallowedAtRule$1(start);
  57533. if ("error" === _0_0) {
  57534. t1 = _this._errorRule$1(start);
  57535. break $label0$0;
  57536. }
  57537. if ("for" === _0_0) {
  57538. t1 = _this._forRule$2(start, _this.get$_functionChild());
  57539. break $label0$0;
  57540. }
  57541. if ("if" === _0_0) {
  57542. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  57543. break $label0$0;
  57544. }
  57545. if ("return" === _0_0) {
  57546. value = _this._expression$0();
  57547. _this.expectStatementSeparator$1("@return rule");
  57548. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  57549. break $label0$0;
  57550. }
  57551. if ("warn" === _0_0) {
  57552. t1 = _this._warnRule$1(start);
  57553. break $label0$0;
  57554. }
  57555. if ("while" === _0_0) {
  57556. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  57557. break $label0$0;
  57558. }
  57559. t1 = _this._disallowedAtRule$1(start);
  57560. }
  57561. return t1;
  57562. },
  57563. _plainAtRuleName$0() {
  57564. this.scanner.expectChar$2$name(64, "@-rule");
  57565. var $name = this.identifier$0();
  57566. this.whitespace$0();
  57567. return $name;
  57568. },
  57569. _atRootRule$1(start) {
  57570. var t2, t3, t4, buffer, t5, query, _this = this,
  57571. t1 = _this.scanner;
  57572. if (t1.peekChar$0() === 40) {
  57573. t2 = t1._string_scanner$_position;
  57574. t3 = new A.StringBuffer("");
  57575. t4 = A._setArrayType([], type$.JSArray_Object);
  57576. buffer = new A.InterpolationBuffer(t3, t4);
  57577. t1.expectChar$1(40);
  57578. t5 = A.Primitives_stringFromCharCode(40);
  57579. t3._contents += t5;
  57580. _this.whitespace$0();
  57581. t5 = _this._expression$0();
  57582. buffer._flushText$0();
  57583. t4.push(t5);
  57584. if (t1.scanChar$1(58)) {
  57585. _this.whitespace$0();
  57586. t5 = A.Primitives_stringFromCharCode(58);
  57587. t3._contents += t5;
  57588. t5 = A.Primitives_stringFromCharCode(32);
  57589. t3._contents += t5;
  57590. t5 = _this._expression$0();
  57591. buffer._flushText$0();
  57592. t4.push(t5);
  57593. }
  57594. t1.expectChar$1(41);
  57595. _this.whitespace$0();
  57596. t4 = A.Primitives_stringFromCharCode(41);
  57597. t3._contents += t4;
  57598. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57599. _this.whitespace$0();
  57600. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  57601. } else {
  57602. if (!_this.lookingAtChildren$0())
  57603. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  57604. else
  57605. t2 = true;
  57606. if (t2)
  57607. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  57608. else
  57609. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  57610. }
  57611. },
  57612. _contentRule$1(start) {
  57613. var t1, beforeWhitespace, $arguments, t2, _this = this;
  57614. if (!_this._stylesheet$_inMixin)
  57615. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  57616. t1 = _this.scanner;
  57617. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57618. _this.whitespace$0();
  57619. if (t1.peekChar$0() === 40) {
  57620. $arguments = _this._argumentInvocation$1$mixin(true);
  57621. _this.whitespace$0();
  57622. } else {
  57623. t2 = beforeWhitespace.offset;
  57624. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  57625. }
  57626. _this.expectStatementSeparator$1("@content rule");
  57627. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  57628. },
  57629. _debugRule$1(start) {
  57630. var value = this._expression$0();
  57631. this.expectStatementSeparator$1("@debug rule");
  57632. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  57633. },
  57634. _eachRule$2(start, child) {
  57635. var variables, t1, _this = this,
  57636. wasInControlDirective = _this._inControlDirective;
  57637. _this._inControlDirective = true;
  57638. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  57639. _this.whitespace$0();
  57640. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  57641. _this.whitespace$0();
  57642. t1.expectChar$1(36);
  57643. variables.push(_this.identifier$1$normalize(true));
  57644. _this.whitespace$0();
  57645. }
  57646. _this.expectIdentifier$1("in");
  57647. _this.whitespace$0();
  57648. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  57649. },
  57650. _errorRule$1(start) {
  57651. var value = this._expression$0();
  57652. this.expectStatementSeparator$1("@error rule");
  57653. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  57654. },
  57655. _functionRule$1(start) {
  57656. var t1, t2, $name, $arguments, _0_0, _this = this,
  57657. precedingComment = _this.lastSilentComment;
  57658. _this.lastSilentComment = null;
  57659. t1 = _this.scanner;
  57660. t2 = t1._string_scanner$_position;
  57661. $name = _this.identifier$0();
  57662. if (B.JSString_methods.startsWith$1($name, "--"))
  57663. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_HJ0, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  57664. _this.whitespace$0();
  57665. $arguments = _this._argumentDeclaration$0();
  57666. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  57667. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  57668. else if (_this._inControlDirective)
  57669. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  57670. _0_0 = A.unvendor($name);
  57671. 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)
  57672. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  57673. _this.whitespace$0();
  57674. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  57675. },
  57676. _forRule$2(start, child) {
  57677. var variable, from, _this = this, t1 = {},
  57678. wasInControlDirective = _this._inControlDirective;
  57679. _this._inControlDirective = true;
  57680. variable = _this.variableName$0();
  57681. _this.whitespace$0();
  57682. _this.expectIdentifier$1("from");
  57683. _this.whitespace$0();
  57684. t1.exclusive = null;
  57685. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  57686. if (t1.exclusive == null)
  57687. _this.scanner.error$1(0, 'Expected "to" or "through".');
  57688. _this.whitespace$0();
  57689. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  57690. },
  57691. _forwardRule$1(start) {
  57692. var prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  57693. url = _this._urlString$0();
  57694. _this.whitespace$0();
  57695. if (_this.scanIdentifier$1("as")) {
  57696. _this.whitespace$0();
  57697. prefix = _this.identifier$1$normalize(true);
  57698. _this.scanner.expectChar$1(42);
  57699. _this.whitespace$0();
  57700. } else
  57701. prefix = _null;
  57702. hiddenMixinsAndFunctions = _null;
  57703. hiddenVariables = _null;
  57704. if (_this.scanIdentifier$1("show")) {
  57705. _0_0 = _this._memberList$0();
  57706. shownMixinsAndFunctions = _0_0._0;
  57707. shownVariables = _0_0._1;
  57708. } else {
  57709. if (_this.scanIdentifier$1("hide")) {
  57710. _1_0 = _this._memberList$0();
  57711. hiddenMixinsAndFunctions = _1_0._0;
  57712. hiddenVariables = _1_0._1;
  57713. }
  57714. shownVariables = _null;
  57715. shownMixinsAndFunctions = shownVariables;
  57716. }
  57717. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  57718. _this.whitespace$0();
  57719. _this.expectStatementSeparator$1("@forward rule");
  57720. span = _this.scanner.spanFrom$1(start);
  57721. if (!_this._isUseAllowed)
  57722. _this.error$2(0, string$.x40forwa, span);
  57723. if (shownMixinsAndFunctions != null) {
  57724. shownVariables.toString;
  57725. t1 = type$.String;
  57726. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  57727. t3 = type$.UnmodifiableSetView_String;
  57728. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  57729. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57730. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  57731. } else if (hiddenMixinsAndFunctions != null) {
  57732. hiddenVariables.toString;
  57733. t1 = type$.String;
  57734. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  57735. t3 = type$.UnmodifiableSetView_String;
  57736. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  57737. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57738. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  57739. } else
  57740. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  57741. },
  57742. _memberList$0() {
  57743. var _this = this,
  57744. t1 = type$.String,
  57745. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  57746. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  57747. t1 = _this.scanner;
  57748. do {
  57749. _this.whitespace$0();
  57750. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  57751. _this.whitespace$0();
  57752. } while (t1.scanChar$1(44));
  57753. return new A._Record_2(identifiers, variables);
  57754. },
  57755. _ifRule$2(start, child) {
  57756. var condition, children, clauses, lastClause, span, _this = this,
  57757. ifIndentation = _this.get$currentIndentation(),
  57758. wasInControlDirective = _this._inControlDirective;
  57759. _this._inControlDirective = true;
  57760. condition = _this._expression$0();
  57761. children = _this.children$1(0, child);
  57762. _this.whitespaceWithoutComments$0();
  57763. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  57764. while (true) {
  57765. if (!_this.scanElse$1(ifIndentation)) {
  57766. lastClause = null;
  57767. break;
  57768. }
  57769. _this.whitespace$0();
  57770. if (_this.scanIdentifier$1("if")) {
  57771. _this.whitespace$0();
  57772. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  57773. } else {
  57774. lastClause = A.ElseClause$(_this.children$1(0, child));
  57775. break;
  57776. }
  57777. }
  57778. _this._inControlDirective = wasInControlDirective;
  57779. span = _this.scanner.spanFrom$1(start);
  57780. _this.whitespaceWithoutComments$0();
  57781. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  57782. },
  57783. _importRule$1(start) {
  57784. var argument, t3, _this = this,
  57785. imports = A._setArrayType([], type$.JSArray_Import),
  57786. t1 = _this.scanner,
  57787. t2 = _this.logger;
  57788. do {
  57789. _this.whitespace$0();
  57790. argument = _this.importArgument$0();
  57791. t3 = argument instanceof A.DynamicImport;
  57792. if (t3)
  57793. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_import_null_true_import, string$.Sassx20_i, argument.span, null);
  57794. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  57795. _this._disallowedAtRule$1(start);
  57796. imports.push(argument);
  57797. _this.whitespace$0();
  57798. } while (t1.scanChar$1(44));
  57799. _this.expectStatementSeparator$1("@import rule");
  57800. t1 = t1.spanFrom$1(start);
  57801. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  57802. },
  57803. importArgument$0() {
  57804. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  57805. t1 = _this.scanner,
  57806. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57807. _0_0 = t1.peekChar$0();
  57808. if (117 === _0_0 || 85 === _0_0) {
  57809. url = _this.dynamicUrl$0();
  57810. _this.whitespace$0();
  57811. modifiers = _this.tryImportModifiers$0();
  57812. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  57813. }
  57814. url = _this.string$0();
  57815. urlSpan = t1.spanFrom$1(start);
  57816. _this.whitespace$0();
  57817. modifiers = _this.tryImportModifiers$0();
  57818. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  57819. t2 = urlSpan;
  57820. 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));
  57821. } else
  57822. try {
  57823. t1 = _this.parseImportUrl$1(url);
  57824. return new A.DynamicImport(t1, urlSpan);
  57825. } catch (exception) {
  57826. t1 = A.unwrapException(exception);
  57827. if (type$.FormatException._is(t1)) {
  57828. innerError = t1;
  57829. stackTrace = A.getTraceFromException(exception);
  57830. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  57831. } else
  57832. throw exception;
  57833. }
  57834. },
  57835. parseImportUrl$1(url) {
  57836. var t1 = $.$get$windows();
  57837. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  57838. return t1.toUri$1(url).toString$0(0);
  57839. A.Uri_parse(url);
  57840. return url;
  57841. },
  57842. isPlainImportUrl$1(url) {
  57843. var _0_0, t1;
  57844. if (url.length < 5)
  57845. return false;
  57846. if (B.JSString_methods.endsWith$1(url, ".css"))
  57847. return true;
  57848. _0_0 = url.charCodeAt(0);
  57849. $label0$0: {
  57850. if (47 === _0_0) {
  57851. t1 = url.charCodeAt(1) === 47;
  57852. break $label0$0;
  57853. }
  57854. if (104 === _0_0) {
  57855. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  57856. break $label0$0;
  57857. }
  57858. t1 = false;
  57859. break $label0$0;
  57860. }
  57861. return t1;
  57862. },
  57863. tryImportModifiers$0() {
  57864. var t1, start, t2, t3, buffer, t4, identifier, $name, query, t5, endPosition, result, _this = this;
  57865. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  57866. return null;
  57867. t1 = _this.scanner;
  57868. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57869. t2 = new A.StringBuffer("");
  57870. t3 = A._setArrayType([], type$.JSArray_Object);
  57871. buffer = new A.InterpolationBuffer(t2, t3);
  57872. for (; true;)
  57873. if (_this._lookingAtInterpolatedIdentifier$0()) {
  57874. if (!(t3.length === 0 && t2._contents.length === 0)) {
  57875. t4 = A.Primitives_stringFromCharCode(32);
  57876. t2._contents += t4;
  57877. }
  57878. identifier = _this.interpolatedIdentifier$0();
  57879. buffer.addInterpolation$1(identifier);
  57880. t4 = identifier.get$asPlain();
  57881. $name = t4 == null ? null : t4.toLowerCase();
  57882. if ($name !== "and" && t1.scanChar$1(40)) {
  57883. if ($name === "supports") {
  57884. query = _this._importSupportsQuery$0();
  57885. t4 = !(query instanceof A.SupportsDeclaration);
  57886. if (t4) {
  57887. t5 = A.Primitives_stringFromCharCode(40);
  57888. t2._contents += t5;
  57889. }
  57890. buffer._flushText$0();
  57891. t3.push(new A.SupportsExpression(query));
  57892. if (t4) {
  57893. t4 = A.Primitives_stringFromCharCode(41);
  57894. t2._contents += t4;
  57895. }
  57896. } else {
  57897. t4 = A.Primitives_stringFromCharCode(40);
  57898. t2._contents += t4;
  57899. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  57900. t4 = A.Primitives_stringFromCharCode(41);
  57901. t2._contents += t4;
  57902. }
  57903. t1.expectChar$1(41);
  57904. _this.whitespace$0();
  57905. } else {
  57906. _this.whitespace$0();
  57907. if (t1.scanChar$1(44)) {
  57908. t2._contents += ", ";
  57909. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57910. endPosition = t1._string_scanner$_position;
  57911. t4 = t1._sourceFile;
  57912. t5 = start.position;
  57913. t1 = new A._FileSpan(t4, t5, endPosition);
  57914. t1._FileSpan$3(t4, t5, endPosition);
  57915. t5 = type$.Object;
  57916. t4 = A.List_List$of(t3, true, t5);
  57917. t3 = t2._contents;
  57918. if (t3.length !== 0)
  57919. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  57920. result = A.List_List$from(t4, false, t5);
  57921. result.fixed$length = Array;
  57922. result.immutable$list = Array;
  57923. t2 = new A.Interpolation(result, t1);
  57924. t2.Interpolation$2(t4, t1);
  57925. return t2;
  57926. }
  57927. }
  57928. } else if (t1.peekChar$0() === 40) {
  57929. if (!(t3.length === 0 && t2._contents.length === 0)) {
  57930. t4 = A.Primitives_stringFromCharCode(32);
  57931. t2._contents += t4;
  57932. }
  57933. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57934. endPosition = t1._string_scanner$_position;
  57935. t1 = t1._sourceFile;
  57936. t4 = start.position;
  57937. t5 = new A._FileSpan(t1, t4, endPosition);
  57938. t5._FileSpan$3(t1, t4, endPosition);
  57939. t4 = type$.Object;
  57940. t3 = A.List_List$of(t3, true, t4);
  57941. t1 = t2._contents;
  57942. if (t1.length !== 0)
  57943. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57944. result = A.List_List$from(t3, false, t4);
  57945. result.fixed$length = Array;
  57946. result.immutable$list = Array;
  57947. t1 = new A.Interpolation(result, t5);
  57948. t1.Interpolation$2(t3, t5);
  57949. return t1;
  57950. } else {
  57951. endPosition = t1._string_scanner$_position;
  57952. t1 = t1._sourceFile;
  57953. t4 = start.position;
  57954. t5 = new A._FileSpan(t1, t4, endPosition);
  57955. t5._FileSpan$3(t1, t4, endPosition);
  57956. t4 = type$.Object;
  57957. t3 = A.List_List$of(t3, true, t4);
  57958. t1 = t2._contents;
  57959. if (t1.length !== 0)
  57960. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57961. result = A.List_List$from(t3, false, t4);
  57962. result.fixed$length = Array;
  57963. result.immutable$list = Array;
  57964. t1 = new A.Interpolation(result, t5);
  57965. t1.Interpolation$2(t3, t5);
  57966. return t1;
  57967. }
  57968. },
  57969. _importSupportsQuery$0() {
  57970. var t1, t2, _0_0, $name, _this = this;
  57971. if (_this.scanIdentifier$1("not")) {
  57972. _this.whitespace$0();
  57973. t1 = _this.scanner;
  57974. t2 = t1._string_scanner$_position;
  57975. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57976. } else {
  57977. t1 = _this.scanner;
  57978. if (t1.peekChar$0() === 40)
  57979. return _this._supportsCondition$0();
  57980. else {
  57981. _0_0 = _this._tryImportSupportsFunction$0();
  57982. if (_0_0 != null)
  57983. return _0_0;
  57984. t2 = t1._string_scanner$_position;
  57985. $name = _this._expression$0();
  57986. t1.expectChar$1(58);
  57987. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  57988. }
  57989. }
  57990. },
  57991. _tryImportSupportsFunction$0() {
  57992. var t1, start, $name, value, _this = this;
  57993. if (!_this._lookingAtInterpolatedIdentifier$0())
  57994. return null;
  57995. t1 = _this.scanner;
  57996. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57997. $name = _this.interpolatedIdentifier$0();
  57998. if (!t1.scanChar$1(40)) {
  57999. t1.set$state(start);
  58000. return null;
  58001. }
  58002. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  58003. t1.expectChar$1(41);
  58004. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  58005. },
  58006. _includeRule$1(start) {
  58007. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, span, _this = this, _null = null,
  58008. $name = _this.identifier$0(),
  58009. t1 = _this.scanner;
  58010. if (t1.scanChar$1(46)) {
  58011. name0 = _this._publicIdentifier$0();
  58012. namespace = $name;
  58013. $name = name0;
  58014. } else
  58015. namespace = _null;
  58016. _this.whitespace$0();
  58017. if (t1.peekChar$0() === 40)
  58018. $arguments = _this._argumentInvocation$1$mixin(true);
  58019. else {
  58020. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58021. t3 = t2.offset;
  58022. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  58023. }
  58024. _this.whitespace$0();
  58025. if (_this.scanIdentifier$1("using")) {
  58026. _this.whitespace$0();
  58027. contentArguments = _this._argumentDeclaration$0();
  58028. _this.whitespace$0();
  58029. } else
  58030. contentArguments = _null;
  58031. t2 = contentArguments == null;
  58032. if (!t2 || _this.lookingAtChildren$0()) {
  58033. if (t2) {
  58034. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58035. t3 = t2.offset;
  58036. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  58037. } else
  58038. contentArguments_ = contentArguments;
  58039. wasInContentBlock = _this._inContentBlock;
  58040. _this._inContentBlock = true;
  58041. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  58042. _this._inContentBlock = wasInContentBlock;
  58043. } else {
  58044. _this.expectStatementSeparator$0();
  58045. $content = _null;
  58046. }
  58047. t1 = t1.spanFrom$2(start, start);
  58048. t2 = $content == null ? $arguments : $content;
  58049. span = t1.expand$1(0, t2.get$span(t2));
  58050. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  58051. },
  58052. mediaRule$1(start) {
  58053. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  58054. },
  58055. _mixinRule$1(start) {
  58056. var t1, t2, $name, $arguments, t3, _this = this,
  58057. precedingComment = _this.lastSilentComment;
  58058. _this.lastSilentComment = null;
  58059. t1 = _this.scanner;
  58060. t2 = t1._string_scanner$_position;
  58061. $name = _this.identifier$0();
  58062. if (B.JSString_methods.startsWith$1($name, "--"))
  58063. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_HJ0, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  58064. _this.whitespace$0();
  58065. if (t1.peekChar$0() === 40)
  58066. $arguments = _this._argumentDeclaration$0();
  58067. else {
  58068. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58069. t3 = t2.offset;
  58070. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  58071. }
  58072. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  58073. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  58074. else if (_this._inControlDirective)
  58075. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  58076. _this.whitespace$0();
  58077. _this._stylesheet$_inMixin = true;
  58078. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  58079. },
  58080. mozDocumentRule$2(start, $name) {
  58081. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  58082. t1 = _this.scanner,
  58083. t2 = t1._string_scanner$_position,
  58084. t3 = new A.StringBuffer(""),
  58085. t4 = A._setArrayType([], type$.JSArray_Object),
  58086. buffer = new A.InterpolationBuffer(t3, t4);
  58087. _box_0.needsDeprecationWarning = false;
  58088. for (t5 = _this.get$whitespace(); true;) {
  58089. if (t1.peekChar$0() === 35) {
  58090. t6 = _this.singleInterpolation$0();
  58091. buffer._flushText$0();
  58092. t4.push(t6);
  58093. _box_0.needsDeprecationWarning = true;
  58094. } else {
  58095. t6 = t1._string_scanner$_position;
  58096. identifier = _this.identifier$0();
  58097. $label0$0: {
  58098. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  58099. _0_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  58100. if (_0_0 != null)
  58101. buffer.addInterpolation$1(_0_0);
  58102. else {
  58103. t1.expectChar$1(40);
  58104. _this.whitespace$0();
  58105. argument = _this.interpolatedString$0();
  58106. t1.expectChar$1(41);
  58107. t3._contents += identifier;
  58108. t6 = A.Primitives_stringFromCharCode(40);
  58109. t3._contents += t6;
  58110. buffer.addInterpolation$1(argument.asInterpolation$0());
  58111. t6 = A.Primitives_stringFromCharCode(41);
  58112. t3._contents += t6;
  58113. }
  58114. t6 = t3._contents;
  58115. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  58116. 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("")'))
  58117. _box_0.needsDeprecationWarning = true;
  58118. break $label0$0;
  58119. }
  58120. if ("regexp" === identifier) {
  58121. t3._contents += "regexp(";
  58122. t1.expectChar$1(40);
  58123. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  58124. t1.expectChar$1(41);
  58125. t6 = A.Primitives_stringFromCharCode(41);
  58126. t3._contents += t6;
  58127. _box_0.needsDeprecationWarning = true;
  58128. break $label0$0;
  58129. }
  58130. endPosition = t1._string_scanner$_position;
  58131. t7 = t1._sourceFile;
  58132. t8 = new A._FileSpan(t7, t6, endPosition);
  58133. t8._FileSpan$3(t7, t6, endPosition);
  58134. _this.error$2(0, "Invalid function name.", t8);
  58135. }
  58136. }
  58137. _this.whitespace$0();
  58138. if (!t1.scanChar$1(44))
  58139. break;
  58140. t6 = A.Primitives_stringFromCharCode(44);
  58141. t3._contents += t6;
  58142. start0 = t1._string_scanner$_position;
  58143. t5.call$0();
  58144. end = t1._string_scanner$_position;
  58145. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  58146. }
  58147. 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)))));
  58148. },
  58149. supportsRule$1(start) {
  58150. var _this = this,
  58151. condition = _this._supportsCondition$0();
  58152. _this.whitespace$0();
  58153. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  58154. },
  58155. _useRule$1(start) {
  58156. var namespace, configuration, span, t1, _this = this,
  58157. url = _this._urlString$0();
  58158. _this.whitespace$0();
  58159. namespace = _this._useNamespace$2(url, start);
  58160. _this.whitespace$0();
  58161. configuration = _this._stylesheet$_configuration$0();
  58162. _this.whitespace$0();
  58163. span = _this.scanner.spanFrom$1(start);
  58164. if (!_this._isUseAllowed)
  58165. _this.error$2(0, string$.x40use_r, span);
  58166. _this.expectStatementSeparator$1("@use rule");
  58167. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  58168. t1.UseRule$4$configuration(url, namespace, span, configuration);
  58169. return t1;
  58170. },
  58171. _useNamespace$2(url, start) {
  58172. var namespace, basename, dot, t1, exception, _this = this;
  58173. if (_this.scanIdentifier$1("as")) {
  58174. _this.whitespace$0();
  58175. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  58176. }
  58177. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  58178. dot = B.JSString_methods.indexOf$1(basename, ".");
  58179. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  58180. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  58181. try {
  58182. t1 = A.SpanScanner$(namespace, null);
  58183. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  58184. return t1;
  58185. } catch (exception) {
  58186. if (type$.SassFormatException._is(A.unwrapException(exception)))
  58187. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  58188. else
  58189. throw exception;
  58190. }
  58191. },
  58192. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  58193. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  58194. if (!_this.scanIdentifier$1("with"))
  58195. return null;
  58196. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58197. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  58198. _this.whitespace$0();
  58199. t1 = _this.scanner;
  58200. t1.expectChar$1(40);
  58201. for (; true;) {
  58202. _this.whitespace$0();
  58203. t2 = t1._string_scanner$_position;
  58204. t1.expectChar$1(36);
  58205. $name = _this.identifier$1$normalize(true);
  58206. _this.whitespace$0();
  58207. t1.expectChar$1(58);
  58208. _this.whitespace$0();
  58209. expression = _this.expressionUntilComma$0();
  58210. t3 = t1._string_scanner$_position;
  58211. if (allowGuarded && t1.scanChar$1(33)) {
  58212. guarded = _this.identifier$0() === "default";
  58213. if (guarded)
  58214. _this.whitespace$0();
  58215. else {
  58216. endPosition = t1._string_scanner$_position;
  58217. t4 = t1._sourceFile;
  58218. t5 = new A._FileSpan(t4, t3, endPosition);
  58219. t5._FileSpan$3(t4, t3, endPosition);
  58220. _this.error$2(0, "Invalid flag name.", t5);
  58221. }
  58222. } else
  58223. guarded = false;
  58224. endPosition = t1._string_scanner$_position;
  58225. t3 = t1._sourceFile;
  58226. span = new A._FileSpan(t3, t2, endPosition);
  58227. span._FileSpan$3(t3, t2, endPosition);
  58228. if (variableNames.contains$1(0, $name))
  58229. _this.error$2(0, string$.The_sa, span);
  58230. variableNames.add$1(0, $name);
  58231. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  58232. if (!t1.scanChar$1(44))
  58233. break;
  58234. _this.whitespace$0();
  58235. if (!_this._lookingAtExpression$0())
  58236. break;
  58237. }
  58238. t1.expectChar$1(41);
  58239. return configuration;
  58240. },
  58241. _stylesheet$_configuration$0() {
  58242. return this._stylesheet$_configuration$1$allowGuarded(false);
  58243. },
  58244. _warnRule$1(start) {
  58245. var value = this._expression$0();
  58246. this.expectStatementSeparator$1("@warn rule");
  58247. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  58248. },
  58249. _whileRule$2(start, child) {
  58250. var _this = this,
  58251. wasInControlDirective = _this._inControlDirective;
  58252. _this._inControlDirective = true;
  58253. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  58254. },
  58255. unknownAtRule$2(start, $name) {
  58256. var t2, t3, rule, _this = this, t1 = {},
  58257. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  58258. _this._stylesheet$_inUnknownAtRule = true;
  58259. t1.value = null;
  58260. t2 = _this.scanner;
  58261. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  58262. if (_this.lookingAtChildren$0())
  58263. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  58264. else {
  58265. _this.expectStatementSeparator$0();
  58266. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  58267. }
  58268. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  58269. return rule;
  58270. },
  58271. _disallowedAtRule$1(start) {
  58272. this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  58273. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  58274. },
  58275. _argumentDeclaration$0() {
  58276. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  58277. t1 = _this.scanner,
  58278. t2 = t1._string_scanner$_position;
  58279. t1.expectChar$1(40);
  58280. _this.whitespace$0();
  58281. $arguments = A._setArrayType([], type$.JSArray_Argument);
  58282. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58283. for (; restArgument = null, t1.peekChar$0() === 36;) {
  58284. t3 = t1._string_scanner$_position;
  58285. t1.expectChar$1(36);
  58286. $name = _this.identifier$1$normalize(true);
  58287. _this.whitespace$0();
  58288. if (t1.scanChar$1(58)) {
  58289. _this.whitespace$0();
  58290. defaultValue = _this.expressionUntilComma$0();
  58291. } else {
  58292. if (t1.scanChar$1(46)) {
  58293. t1.expectChar$1(46);
  58294. t1.expectChar$1(46);
  58295. _this.whitespace$0();
  58296. restArgument = $name;
  58297. break;
  58298. }
  58299. defaultValue = null;
  58300. }
  58301. endPosition = t1._string_scanner$_position;
  58302. t4 = t1._sourceFile;
  58303. t5 = new A._FileSpan(t4, t3, endPosition);
  58304. t5._FileSpan$3(t4, t3, endPosition);
  58305. $arguments.push(new A.Argument($name, defaultValue, t5));
  58306. if (!named.add$1(0, $name))
  58307. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  58308. if (!t1.scanChar$1(44))
  58309. break;
  58310. _this.whitespace$0();
  58311. }
  58312. t1.expectChar$1(41);
  58313. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58314. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  58315. },
  58316. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  58317. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  58318. t1 = _this.scanner,
  58319. t2 = t1._string_scanner$_position;
  58320. t1.expectChar$1(40);
  58321. _this.whitespace$0();
  58322. positional = A._setArrayType([], type$.JSArray_Expression);
  58323. t3 = type$.String;
  58324. t4 = type$.Expression;
  58325. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58326. for (t5 = !mixin, rest = null; keywordRest = null, _this._lookingAtExpression$0();) {
  58327. expression = _this.expressionUntilComma$1$singleEquals(t5);
  58328. _this.whitespace$0();
  58329. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  58330. _this.whitespace$0();
  58331. t6 = expression.name;
  58332. if (named.containsKey$1(t6))
  58333. _this.error$2(0, "Duplicate argument.", expression.span);
  58334. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  58335. } else if (t1.scanChar$1(46)) {
  58336. t1.expectChar$1(46);
  58337. t1.expectChar$1(46);
  58338. if (rest != null) {
  58339. _this.whitespace$0();
  58340. keywordRest = expression;
  58341. break;
  58342. }
  58343. rest = expression;
  58344. } else if (named.__js_helper$_length !== 0)
  58345. _this.error$2(0, string$.Positi, expression.get$span(expression));
  58346. else
  58347. positional.push(expression);
  58348. _this.whitespace$0();
  58349. if (!t1.scanChar$1(44))
  58350. break;
  58351. _this.whitespace$0();
  58352. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  58353. t5 = t1._sourceFile;
  58354. t6 = t1._string_scanner$_position;
  58355. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  58356. t7 = new A._FileSpan(t5, t6, t6);
  58357. t7._FileSpan$3(t5, t6, t6);
  58358. t6 = A._setArrayType([""], type$.JSArray_Object);
  58359. result = A.List_List$from(t6, false, type$.Object);
  58360. result.fixed$length = Array;
  58361. result.immutable$list = Array;
  58362. t5 = new A.Interpolation(result, t7);
  58363. t5.Interpolation$2(t6, t7);
  58364. positional.push(new A.StringExpression(t5, false));
  58365. break;
  58366. }
  58367. }
  58368. t1.expectChar$1(41);
  58369. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58370. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  58371. },
  58372. _argumentInvocation$0() {
  58373. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  58374. },
  58375. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  58376. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  58377. },
  58378. _argumentInvocation$1$mixin(mixin) {
  58379. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  58380. },
  58381. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  58382. var t2, beforeBracket, start, wasInExpression, 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,
  58383. _s20_ = "Expected expression.",
  58384. _box_0 = {},
  58385. t1 = until != null;
  58386. if (t1 && until.call$0())
  58387. _this.scanner.error$1(0, _s20_);
  58388. if (bracketList) {
  58389. t2 = _this.scanner;
  58390. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58391. t2.expectChar$1(91);
  58392. _this.whitespace$0();
  58393. if (t2.scanChar$1(93)) {
  58394. t1 = A._setArrayType([], type$.JSArray_Expression);
  58395. t2 = t2.spanFrom$1(beforeBracket);
  58396. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58397. }
  58398. } else
  58399. beforeBracket = null;
  58400. t2 = _this.scanner;
  58401. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58402. wasInExpression = _this._inExpression;
  58403. wasInParentheses = _this._inParentheses;
  58404. _this._inExpression = true;
  58405. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  58406. _box_0.allowSlash = true;
  58407. _box_0.singleExpression_ = _this._singleExpression$0();
  58408. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  58409. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  58410. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  58411. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  58412. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  58413. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  58414. for (t3 = type$.JSArray_Expression; true;) {
  58415. _this.whitespace$0();
  58416. if (t1 && until.call$0())
  58417. break;
  58418. _3_0 = t2.peekChar$0();
  58419. if (_3_0 == null)
  58420. break;
  58421. if (40 === _3_0) {
  58422. addSingleExpression.call$1(_this.parentheses$0());
  58423. continue;
  58424. }
  58425. if (91 === _3_0) {
  58426. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  58427. continue;
  58428. }
  58429. if (36 === _3_0) {
  58430. addSingleExpression.call$1(_this._variable$0());
  58431. continue;
  58432. }
  58433. if (38 === _3_0) {
  58434. addSingleExpression.call$1(_this._selector$0());
  58435. continue;
  58436. }
  58437. if (39 === _3_0 || 34 === _3_0) {
  58438. addSingleExpression.call$1(_this.interpolatedString$0());
  58439. continue;
  58440. }
  58441. if (35 === _3_0) {
  58442. addSingleExpression.call$1(_this._hashExpression$0());
  58443. continue;
  58444. }
  58445. if (61 === _3_0) {
  58446. t2.readChar$0();
  58447. if (singleEquals && t2.peekChar$0() !== 61)
  58448. addOperator.call$1(B.BinaryOperator_wdM);
  58449. else {
  58450. t2.expectChar$1(61);
  58451. addOperator.call$1(B.BinaryOperator_g8k);
  58452. }
  58453. continue;
  58454. }
  58455. if (33 === _3_0) {
  58456. $label0$1: {
  58457. _1_0 = t2.peekChar$1(1);
  58458. if (61 === _1_0) {
  58459. t2.readChar$0();
  58460. t2.readChar$0();
  58461. addOperator.call$1(B.BinaryOperator_icU);
  58462. break $label0$1;
  58463. }
  58464. t4 = true;
  58465. if (_1_0 != null)
  58466. if (105 !== _1_0)
  58467. if (73 !== _1_0)
  58468. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  58469. if (t4) {
  58470. addSingleExpression.call$1(_this._importantExpression$0());
  58471. break $label0$1;
  58472. }
  58473. break;
  58474. }
  58475. continue;
  58476. }
  58477. if (60 === _3_0) {
  58478. t2.readChar$0();
  58479. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_SPQ : B.BinaryOperator_miq);
  58480. continue;
  58481. }
  58482. if (62 === _3_0) {
  58483. t2.readChar$0();
  58484. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oEm : B.BinaryOperator_bEa);
  58485. continue;
  58486. }
  58487. if (42 === _3_0) {
  58488. t2.readChar$0();
  58489. addOperator.call$1(B.BinaryOperator_2No);
  58490. continue;
  58491. }
  58492. _3_28 = 43 === _3_0;
  58493. if (_3_28 && _box_0.singleExpression_ == null) {
  58494. addSingleExpression.call$1(_this._unaryOperation$0());
  58495. continue;
  58496. }
  58497. if (_3_28) {
  58498. t2.readChar$0();
  58499. addOperator.call$1(B.BinaryOperator_u15);
  58500. continue;
  58501. }
  58502. if (45 === _3_0) {
  58503. _2_0 = t2.peekChar$1(1);
  58504. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  58505. if (_box_0.singleExpression_ != null) {
  58506. t4 = t2.peekChar$1(-1);
  58507. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  58508. } else
  58509. t4 = true;
  58510. else
  58511. t4 = false;
  58512. if (t4)
  58513. addSingleExpression.call$1(_this._number$0());
  58514. else if (_this._lookingAtInterpolatedIdentifier$0())
  58515. addSingleExpression.call$1(_this.identifierLike$0());
  58516. else if (_box_0.singleExpression_ == null)
  58517. addSingleExpression.call$1(_this._unaryOperation$0());
  58518. else {
  58519. t2.readChar$0();
  58520. addOperator.call$1(B.BinaryOperator_SjO);
  58521. }
  58522. continue;
  58523. }
  58524. _3_32 = 47 === _3_0;
  58525. if (_3_32 && _box_0.singleExpression_ == null) {
  58526. addSingleExpression.call$1(_this._unaryOperation$0());
  58527. continue;
  58528. }
  58529. if (_3_32) {
  58530. t2.readChar$0();
  58531. addOperator.call$1(B.BinaryOperator_U77);
  58532. continue;
  58533. }
  58534. if (37 === _3_0) {
  58535. t2.readChar$0();
  58536. addOperator.call$1(B.BinaryOperator_KNx);
  58537. continue;
  58538. }
  58539. if (_3_0 >= 48 && _3_0 <= 57) {
  58540. addSingleExpression.call$1(_this._number$0());
  58541. continue;
  58542. }
  58543. _3_40 = 46 === _3_0;
  58544. if (_3_40 && t2.peekChar$1(1) === 46)
  58545. break;
  58546. if (_3_40) {
  58547. addSingleExpression.call$1(_this._number$0());
  58548. continue;
  58549. }
  58550. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  58551. addOperator.call$1(B.BinaryOperator_eDt);
  58552. continue;
  58553. }
  58554. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  58555. addOperator.call$1(B.BinaryOperator_qNM);
  58556. continue;
  58557. }
  58558. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  58559. addSingleExpression.call$1(_this._unicodeRange$0());
  58560. continue;
  58561. }
  58562. if (!(_3_0 >= 97 && _3_0 <= 122))
  58563. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  58564. else
  58565. t4 = true;
  58566. if (t4) {
  58567. addSingleExpression.call$1(_this.identifierLike$0());
  58568. continue;
  58569. }
  58570. if (44 === _3_0) {
  58571. if (_this._inParentheses) {
  58572. _this._inParentheses = false;
  58573. if (_box_0.allowSlash) {
  58574. resetState.call$0();
  58575. continue;
  58576. }
  58577. }
  58578. commaExpressions = _box_0.commaExpressions_;
  58579. if (commaExpressions == null)
  58580. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  58581. if (_box_0.singleExpression_ == null)
  58582. t2.error$1(0, _s20_);
  58583. resolveSpaceExpressions.call$0();
  58584. t4 = _box_0.singleExpression_;
  58585. t4.toString;
  58586. commaExpressions.push(t4);
  58587. t2.readChar$0();
  58588. _box_0.allowSlash = true;
  58589. _box_0.singleExpression_ = null;
  58590. continue;
  58591. }
  58592. break;
  58593. }
  58594. if (bracketList)
  58595. t2.expectChar$1(93);
  58596. commaExpressions = _box_0.commaExpressions_;
  58597. spaceExpressions = _box_0.spaceExpressions_;
  58598. if (commaExpressions != null) {
  58599. resolveSpaceExpressions.call$0();
  58600. _this._inParentheses = wasInParentheses;
  58601. singleExpression = _box_0.singleExpression_;
  58602. if (singleExpression != null)
  58603. commaExpressions.push(singleExpression);
  58604. _this._inExpression = wasInExpression;
  58605. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  58606. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_ECn, bracketList, t1);
  58607. } else if (bracketList && spaceExpressions != null) {
  58608. resolveOperations.call$0();
  58609. _this._inExpression = wasInExpression;
  58610. t1 = _box_0.singleExpression_;
  58611. t1.toString;
  58612. spaceExpressions.push(t1);
  58613. beforeBracket.toString;
  58614. t2 = t2.spanFrom$1(beforeBracket);
  58615. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_nbm, true, t2);
  58616. } else {
  58617. resolveSpaceExpressions.call$0();
  58618. if (bracketList) {
  58619. t1 = _box_0.singleExpression_;
  58620. t1.toString;
  58621. t3 = A._setArrayType([t1], t3);
  58622. beforeBracket.toString;
  58623. t2 = t2.spanFrom$1(beforeBracket);
  58624. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58625. }
  58626. _this._inExpression = wasInExpression;
  58627. t1 = _box_0.singleExpression_;
  58628. t1.toString;
  58629. return t1;
  58630. }
  58631. },
  58632. _expression$0() {
  58633. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  58634. },
  58635. _expression$2$singleEquals$until(singleEquals, until) {
  58636. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  58637. },
  58638. _expression$1$bracketList(bracketList) {
  58639. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  58640. },
  58641. _expression$1$until(until) {
  58642. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  58643. },
  58644. expressionUntilComma$1$singleEquals(singleEquals) {
  58645. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  58646. },
  58647. expressionUntilComma$0() {
  58648. return this.expressionUntilComma$1$singleEquals(false);
  58649. },
  58650. _isSlashOperand$1(expression) {
  58651. var t1 = true;
  58652. if (!(expression instanceof A.NumberExpression))
  58653. if (!(expression instanceof A.FunctionExpression))
  58654. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  58655. return t1;
  58656. },
  58657. _singleExpression$0() {
  58658. var next, t2, _this = this,
  58659. _s20_ = "Expected expression.",
  58660. t1 = _this.scanner,
  58661. _0_0 = t1.peekChar$0();
  58662. $label0$0: {
  58663. if (_0_0 == null)
  58664. t1.error$1(0, _s20_);
  58665. if (40 === _0_0) {
  58666. t1 = _this.parentheses$0();
  58667. break $label0$0;
  58668. }
  58669. if (47 === _0_0) {
  58670. t1 = _this._unaryOperation$0();
  58671. break $label0$0;
  58672. }
  58673. if (46 === _0_0) {
  58674. t1 = _this._number$0();
  58675. break $label0$0;
  58676. }
  58677. if (91 === _0_0) {
  58678. t1 = _this._expression$1$bracketList(true);
  58679. break $label0$0;
  58680. }
  58681. if (36 === _0_0) {
  58682. t1 = _this._variable$0();
  58683. break $label0$0;
  58684. }
  58685. if (38 === _0_0) {
  58686. t1 = _this._selector$0();
  58687. break $label0$0;
  58688. }
  58689. if (39 === _0_0 || 34 === _0_0) {
  58690. t1 = _this.interpolatedString$0();
  58691. break $label0$0;
  58692. }
  58693. if (35 === _0_0) {
  58694. t1 = _this._hashExpression$0();
  58695. break $label0$0;
  58696. }
  58697. if (43 === _0_0) {
  58698. next = t1.peekChar$1(1);
  58699. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  58700. break $label0$0;
  58701. }
  58702. if (45 === _0_0) {
  58703. t1 = _this._minusExpression$0();
  58704. break $label0$0;
  58705. }
  58706. if (33 === _0_0) {
  58707. t1 = _this._importantExpression$0();
  58708. break $label0$0;
  58709. }
  58710. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  58711. t1 = _this._unicodeRange$0();
  58712. break $label0$0;
  58713. }
  58714. if (_0_0 >= 48 && _0_0 <= 57) {
  58715. t1 = _this._number$0();
  58716. break $label0$0;
  58717. }
  58718. if (!(_0_0 >= 97 && _0_0 <= 122))
  58719. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  58720. else
  58721. t2 = true;
  58722. if (t2) {
  58723. t1 = _this.identifierLike$0();
  58724. break $label0$0;
  58725. }
  58726. t1 = t1.error$1(0, _s20_);
  58727. }
  58728. return t1;
  58729. },
  58730. parentheses$0() {
  58731. var start, first, expressions, t1, t2, _this = this,
  58732. wasInParentheses = _this._inParentheses;
  58733. _this._inParentheses = true;
  58734. try {
  58735. t1 = _this.scanner;
  58736. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58737. t1.expectChar$1(40);
  58738. _this.whitespace$0();
  58739. if (!_this._lookingAtExpression$0()) {
  58740. t1.expectChar$1(41);
  58741. t2 = A._setArrayType([], type$.JSArray_Expression);
  58742. t1 = t1.spanFrom$1(start);
  58743. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  58744. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  58745. }
  58746. first = _this.expressionUntilComma$0();
  58747. if (t1.scanChar$1(58)) {
  58748. _this.whitespace$0();
  58749. t1 = _this._stylesheet$_map$2(first, start);
  58750. return t1;
  58751. }
  58752. if (!t1.scanChar$1(44)) {
  58753. t1.expectChar$1(41);
  58754. t1 = t1.spanFrom$1(start);
  58755. return new A.ParenthesizedExpression(first, t1);
  58756. }
  58757. _this.whitespace$0();
  58758. expressions = A._setArrayType([first], type$.JSArray_Expression);
  58759. for (; true;) {
  58760. if (!_this._lookingAtExpression$0())
  58761. break;
  58762. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  58763. if (!t1.scanChar$1(44))
  58764. break;
  58765. _this.whitespace$0();
  58766. }
  58767. t1.expectChar$1(41);
  58768. t1 = t1.spanFrom$1(start);
  58769. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  58770. return new A.ListExpression(t2, B.ListSeparator_ECn, false, t1);
  58771. } finally {
  58772. _this._inParentheses = wasInParentheses;
  58773. }
  58774. },
  58775. _stylesheet$_map$2(first, start) {
  58776. var t1, key, _this = this,
  58777. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  58778. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  58779. _this.whitespace$0();
  58780. if (!_this._lookingAtExpression$0())
  58781. break;
  58782. key = _this.expressionUntilComma$0();
  58783. t1.expectChar$1(58);
  58784. _this.whitespace$0();
  58785. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  58786. }
  58787. t1.expectChar$1(41);
  58788. t1 = t1.spanFrom$1(start);
  58789. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  58790. },
  58791. _hashExpression$0() {
  58792. var start, t2, identifier, buffer, t3, _this = this,
  58793. t1 = _this.scanner;
  58794. if (t1.peekChar$1(1) === 123)
  58795. return _this.identifierLike$0();
  58796. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58797. t1.expectChar$1(35);
  58798. t2 = t1.peekChar$0();
  58799. if (t2 == null)
  58800. t2 = null;
  58801. else
  58802. t2 = t2 >= 48 && t2 <= 57;
  58803. if (t2 === true)
  58804. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58805. t2 = t1._string_scanner$_position;
  58806. identifier = _this.interpolatedIdentifier$0();
  58807. if (_this._isHexColor$1(identifier)) {
  58808. t1.set$state(new A._SpanScannerState(t1, t2));
  58809. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58810. }
  58811. t2 = new A.StringBuffer("");
  58812. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  58813. t3 = A.Primitives_stringFromCharCode(35);
  58814. t2._contents += t3;
  58815. buffer.addInterpolation$1(identifier);
  58816. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  58817. },
  58818. _hexColorContents$1(start) {
  58819. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  58820. digit1 = _this._hexDigit$0(),
  58821. digit2 = _this._hexDigit$0(),
  58822. digit3 = _this._hexDigit$0(),
  58823. t1 = _this.scanner,
  58824. $self = t1.peekChar$0();
  58825. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  58826. red = (digit1 << 4 >>> 0) + digit1;
  58827. green = (digit2 << 4 >>> 0) + digit2;
  58828. blue = (digit3 << 4 >>> 0) + digit3;
  58829. alpha = null;
  58830. } else {
  58831. digit4 = _this._hexDigit$0();
  58832. $self = t1.peekChar$0();
  58833. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  58834. t3 = digit1 << 4 >>> 0;
  58835. t4 = digit3 << 4 >>> 0;
  58836. if (!t2) {
  58837. red = t3 + digit1;
  58838. green = (digit2 << 4 >>> 0) + digit2;
  58839. blue = t4 + digit3;
  58840. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  58841. } else {
  58842. red = t3 + digit2;
  58843. green = t4 + digit4;
  58844. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  58845. $self = t1.peekChar$0();
  58846. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  58847. }
  58848. }
  58849. t2 = alpha == null;
  58850. t3 = t2 ? 1 : alpha;
  58851. return A.SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  58852. },
  58853. _isHexColor$1(interpolation) {
  58854. var _0_2, t1,
  58855. plain = interpolation.get$asPlain();
  58856. if (typeof plain == "string") {
  58857. _0_2 = plain.length;
  58858. t1 = true;
  58859. if (3 !== _0_2)
  58860. if (4 !== _0_2)
  58861. if (6 !== _0_2)
  58862. t1 = 8 === _0_2;
  58863. } else
  58864. t1 = false;
  58865. if (t1) {
  58866. t1 = new A.CodeUnits(plain);
  58867. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  58868. } else
  58869. return false;
  58870. },
  58871. _hexDigit$0() {
  58872. var t1 = this.scanner,
  58873. t2 = t1.peekChar$0();
  58874. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  58875. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  58876. },
  58877. _minusExpression$0() {
  58878. var _this = this,
  58879. _0_0 = _this.scanner.peekChar$1(1);
  58880. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  58881. return _this._number$0();
  58882. if (_this._lookingAtInterpolatedIdentifier$0())
  58883. return _this.identifierLike$0();
  58884. return _this._unaryOperation$0();
  58885. },
  58886. _importantExpression$0() {
  58887. var t1 = this.scanner,
  58888. t2 = t1._string_scanner$_position;
  58889. t1.readChar$0();
  58890. this.whitespace$0();
  58891. this.expectIdentifier$1("important");
  58892. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58893. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  58894. },
  58895. _unaryOperation$0() {
  58896. var _this = this,
  58897. t1 = _this.scanner,
  58898. t2 = t1._string_scanner$_position,
  58899. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  58900. if (operator == null)
  58901. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  58902. else if (_this.get$plainCss() && operator !== B.UnaryOperator_SJr)
  58903. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  58904. _this.whitespace$0();
  58905. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58906. },
  58907. _unaryOperatorFor$1(character) {
  58908. var t1;
  58909. $label0$0: {
  58910. if (43 === character) {
  58911. t1 = B.UnaryOperator_cLp;
  58912. break $label0$0;
  58913. }
  58914. if (45 === character) {
  58915. t1 = B.UnaryOperator_AiQ;
  58916. break $label0$0;
  58917. }
  58918. if (47 === character) {
  58919. t1 = B.UnaryOperator_SJr;
  58920. break $label0$0;
  58921. }
  58922. t1 = null;
  58923. break $label0$0;
  58924. }
  58925. return t1;
  58926. },
  58927. _number$0() {
  58928. var number, unit, _this = this,
  58929. t1 = _this.scanner,
  58930. t2 = t1._string_scanner$_position,
  58931. first = t1.peekChar$0(),
  58932. t3 = first !== 43;
  58933. if (!t3 || first === 45)
  58934. t1.readChar$0();
  58935. if (t1.peekChar$0() !== 46)
  58936. _this._consumeNaturalNumber$0();
  58937. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  58938. _this._tryExponent$0();
  58939. number = A.double_parse(t1.substring$1(0, t2));
  58940. if (t1.scanChar$1(37))
  58941. unit = "%";
  58942. else {
  58943. if (_this.lookingAtIdentifier$0())
  58944. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  58945. else
  58946. t3 = false;
  58947. unit = t3 ? _this.identifier$1$unit(true) : null;
  58948. }
  58949. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58950. },
  58951. _consumeNaturalNumber$0() {
  58952. var $self,
  58953. t1 = this.scanner,
  58954. t2 = t1.readChar$0();
  58955. if (!(t2 >= 48 && t2 <= 57))
  58956. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  58957. while (true) {
  58958. $self = t1.peekChar$0();
  58959. if (!($self != null && $self >= 48 && $self <= 57))
  58960. break;
  58961. t1.readChar$0();
  58962. }
  58963. },
  58964. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  58965. var $self,
  58966. t1 = this.scanner;
  58967. if (t1.peekChar$0() !== 46)
  58968. return;
  58969. $self = t1.peekChar$1(1);
  58970. if (!($self != null && $self >= 48 && $self <= 57)) {
  58971. if (allowTrailingDot)
  58972. return;
  58973. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  58974. }
  58975. t1.readChar$0();
  58976. while (true) {
  58977. $self = t1.peekChar$0();
  58978. if (!($self != null && $self >= 48 && $self <= 57))
  58979. break;
  58980. t1.readChar$0();
  58981. }
  58982. },
  58983. _tryExponent$0() {
  58984. var next, $self,
  58985. t1 = this.scanner,
  58986. first = t1.peekChar$0();
  58987. if (first !== 101 && first !== 69)
  58988. return;
  58989. next = t1.peekChar$1(1);
  58990. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  58991. return;
  58992. t1.readChar$0();
  58993. if (43 === next || 45 === next)
  58994. t1.readChar$0();
  58995. $self = t1.peekChar$0();
  58996. if (!($self != null && $self >= 48 && $self <= 57))
  58997. t1.error$1(0, "Expected digit.");
  58998. while (true) {
  58999. $self = t1.peekChar$0();
  59000. if (!($self != null && $self >= 48 && $self <= 57))
  59001. break;
  59002. t1.readChar$0();
  59003. }
  59004. },
  59005. _unicodeRange$0() {
  59006. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  59007. _s26_ = "Expected at most 6 digits.",
  59008. t1 = _this.scanner,
  59009. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59010. _this.expectIdentChar$1(117);
  59011. t1.expectChar$1(43);
  59012. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  59013. ++firstRangeLength;
  59014. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  59015. ++firstRangeLength;
  59016. if (firstRangeLength === 0)
  59017. t1.error$1(0, 'Expected hex digit or "?".');
  59018. else if (firstRangeLength > 6)
  59019. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  59020. else if (hasQuestionMark) {
  59021. t2 = t1.substring$1(0, start.position);
  59022. t1 = t1.spanFrom$1(start);
  59023. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  59024. }
  59025. if (t1.scanChar$1(45)) {
  59026. t2 = t1._string_scanner$_position;
  59027. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  59028. ++secondRangeLength;
  59029. if (secondRangeLength === 0)
  59030. t1.error$1(0, "Expected hex digit.");
  59031. else if (secondRangeLength > 6)
  59032. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59033. }
  59034. if (_this._lookingAtInterpolatedIdentifierBody$0())
  59035. t1.error$1(0, "Expected end of identifier.");
  59036. t2 = t1.substring$1(0, start.position);
  59037. t1 = t1.spanFrom$1(start);
  59038. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  59039. },
  59040. _variable$0() {
  59041. var _this = this,
  59042. t1 = _this.scanner,
  59043. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59044. $name = _this.variableName$0();
  59045. if (_this.get$plainCss())
  59046. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  59047. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  59048. },
  59049. _selector$0() {
  59050. var t1, start, _this = this;
  59051. if (_this.get$plainCss())
  59052. _this.scanner.error$2$length(0, string$.The_pa, 1);
  59053. t1 = _this.scanner;
  59054. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59055. t1.expectChar$1(38);
  59056. if (t1.scanChar$1(38)) {
  59057. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  59058. t1.set$position(t1._string_scanner$_position - 1);
  59059. }
  59060. return new A.SelectorExpression(t1.spanFrom$1(start));
  59061. },
  59062. interpolatedString$0() {
  59063. var t3, t4, buffer, _0_0, second, t5,
  59064. t1 = this.scanner,
  59065. t2 = t1._string_scanner$_position,
  59066. quote = t1.readChar$0();
  59067. if (quote !== 39 && quote !== 34)
  59068. t1.error$2$position(0, "Expected string.", t2);
  59069. t3 = new A.StringBuffer("");
  59070. t4 = A._setArrayType([], type$.JSArray_Object);
  59071. buffer = new A.InterpolationBuffer(t3, t4);
  59072. for (; true;) {
  59073. _0_0 = t1.peekChar$0();
  59074. if (_0_0 === quote) {
  59075. t1.readChar$0();
  59076. break;
  59077. }
  59078. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  59079. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  59080. if (92 === _0_0) {
  59081. second = t1.peekChar$1(1);
  59082. if (second === 10 || second === 13 || second === 12) {
  59083. t1.readChar$0();
  59084. t1.readChar$0();
  59085. if (second === 13)
  59086. t1.scanChar$1(10);
  59087. } else {
  59088. t5 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  59089. t3._contents += t5;
  59090. }
  59091. continue;
  59092. }
  59093. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  59094. t5 = this.singleInterpolation$0();
  59095. buffer._flushText$0();
  59096. t4.push(t5);
  59097. continue;
  59098. }
  59099. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59100. t3._contents += t5;
  59101. }
  59102. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  59103. },
  59104. identifierLike$0() {
  59105. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  59106. t1 = _this.scanner,
  59107. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59108. identifier = _this.interpolatedIdentifier$0(),
  59109. plain = identifier.get$asPlain(),
  59110. lower = A._Cell$(),
  59111. t2 = plain != null;
  59112. if (t2) {
  59113. if (plain === "if" && t1.peekChar$0() === 40) {
  59114. invocation = _this._argumentInvocation$0();
  59115. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  59116. } else if (plain === "not") {
  59117. _this.whitespace$0();
  59118. expression = _this._singleExpression$0();
  59119. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  59120. }
  59121. lower.__late_helper$_value = plain.toLowerCase();
  59122. if (t1.peekChar$0() !== 40) {
  59123. switch (plain) {
  59124. case "false":
  59125. return new A.BooleanExpression(false, identifier.span);
  59126. case "null":
  59127. return new A.NullExpression(identifier.span);
  59128. case "true":
  59129. return new A.BooleanExpression(true, identifier.span);
  59130. }
  59131. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  59132. if (_0_0 != null) {
  59133. t1 = identifier.span;
  59134. 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);
  59135. }
  59136. }
  59137. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  59138. if (_1_0 != null)
  59139. return _1_0;
  59140. }
  59141. _2_0 = t1.peekChar$0();
  59142. _2_2 = 46 === _2_0;
  59143. if (_2_2 && t1.peekChar$1(1) === 46)
  59144. return new A.StringExpression(identifier, false);
  59145. if (_2_2) {
  59146. t1.readChar$0();
  59147. if (t2)
  59148. return _this.namespacedExpression$2(plain, start);
  59149. _this.error$2(0, string$.Interpn, identifier.span);
  59150. }
  59151. _2_4 = 40 === _2_0;
  59152. if (_2_4 && t2) {
  59153. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  59154. t1 = t1.spanFrom$1(start);
  59155. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  59156. }
  59157. if (_2_4)
  59158. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59159. return new A.StringExpression(identifier, false);
  59160. },
  59161. namespacedExpression$2(namespace, start) {
  59162. var $name, t2, t3, _this = this,
  59163. t1 = _this.scanner;
  59164. if (t1.peekChar$0() === 36) {
  59165. $name = _this.variableName$0();
  59166. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  59167. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  59168. }
  59169. t2 = _this._publicIdentifier$0();
  59170. t3 = _this._argumentInvocation$0();
  59171. t1 = t1.spanFrom$1(start);
  59172. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  59173. },
  59174. trySpecialFunction$2($name, start) {
  59175. var t1, buffer, t2, next, t3, _this = this,
  59176. normalized = A.unvendor($name);
  59177. $label0$0: {
  59178. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  59179. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  59180. else
  59181. t1 = true;
  59182. if (t1) {
  59183. t1 = new A.StringBuffer("");
  59184. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59185. t1._contents = "" + $name;
  59186. t2 = A.Primitives_stringFromCharCode(40);
  59187. t1._contents += t2;
  59188. break $label0$0;
  59189. }
  59190. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  59191. t1 = new A.StringBuffer("");
  59192. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59193. t1._contents = "" + $name;
  59194. t2 = A.Primitives_stringFromCharCode(58);
  59195. t1._contents += t2;
  59196. t2 = _this.scanner;
  59197. next = t2.peekChar$0();
  59198. while (true) {
  59199. if (next != null) {
  59200. if (!(next >= 97 && next <= 122))
  59201. t3 = next >= 65 && next <= 90;
  59202. else
  59203. t3 = true;
  59204. t3 = t3 || next === 46;
  59205. } else
  59206. t3 = false;
  59207. if (!t3)
  59208. break;
  59209. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  59210. t1._contents += t3;
  59211. next = t2.peekChar$0();
  59212. }
  59213. t2.expectChar$1(40);
  59214. t2 = A.Primitives_stringFromCharCode(40);
  59215. t1._contents += t2;
  59216. break $label0$0;
  59217. }
  59218. if ("url" === normalized)
  59219. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  59220. return null;
  59221. }
  59222. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  59223. t1 = _this.scanner;
  59224. t1.expectChar$1(41);
  59225. t2 = buffer._interpolation_buffer$_text;
  59226. t3 = A.Primitives_stringFromCharCode(41);
  59227. t2._contents += t3;
  59228. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  59229. },
  59230. _tryUrlContents$2$name(start, $name) {
  59231. var t3, t4, buffer, t5, _0_0, _0_6, endPosition, result, _this = this,
  59232. t1 = _this.scanner,
  59233. t2 = t1._string_scanner$_position;
  59234. if (!t1.scanChar$1(40))
  59235. return null;
  59236. _this.whitespaceWithoutComments$0();
  59237. t3 = new A.StringBuffer("");
  59238. t4 = A._setArrayType([], type$.JSArray_Object);
  59239. buffer = new A.InterpolationBuffer(t3, t4);
  59240. t3._contents = "" + ($name == null ? "url" : $name);
  59241. t5 = A.Primitives_stringFromCharCode(40);
  59242. t3._contents += t5;
  59243. for (; true;) {
  59244. _0_0 = t1.peekChar$0();
  59245. if (_0_0 == null)
  59246. break;
  59247. if (92 === _0_0) {
  59248. t5 = _this.escape$0();
  59249. t3._contents += t5;
  59250. continue;
  59251. }
  59252. _0_6 = 35 === _0_0;
  59253. if (_0_6 && t1.peekChar$1(1) === 123) {
  59254. t5 = _this.singleInterpolation$0();
  59255. buffer._flushText$0();
  59256. t4.push(t5);
  59257. continue;
  59258. }
  59259. t5 = true;
  59260. if (33 !== _0_0)
  59261. if (37 !== _0_0)
  59262. if (38 !== _0_0)
  59263. if (!_0_6)
  59264. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  59265. if (t5) {
  59266. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59267. t3._contents += t5;
  59268. continue;
  59269. }
  59270. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  59271. _this.whitespaceWithoutComments$0();
  59272. if (t1.peekChar$0() !== 41)
  59273. break;
  59274. continue;
  59275. }
  59276. if (41 === _0_0) {
  59277. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59278. t3._contents += t2;
  59279. endPosition = t1._string_scanner$_position;
  59280. t2 = t1._sourceFile;
  59281. t5 = start.position;
  59282. t1 = new A._FileSpan(t2, t5, endPosition);
  59283. t1._FileSpan$3(t2, t5, endPosition);
  59284. t5 = type$.Object;
  59285. t2 = A.List_List$of(t4, true, t5);
  59286. t4 = t3._contents;
  59287. if (t4.length !== 0)
  59288. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  59289. result = A.List_List$from(t2, false, t5);
  59290. result.fixed$length = Array;
  59291. result.immutable$list = Array;
  59292. t3 = new A.Interpolation(result, t1);
  59293. t3.Interpolation$2(t2, t1);
  59294. return t3;
  59295. }
  59296. break;
  59297. }
  59298. t1.set$state(new A._SpanScannerState(t1, t2));
  59299. return null;
  59300. },
  59301. _tryUrlContents$1(start) {
  59302. return this._tryUrlContents$2$name(start, null);
  59303. },
  59304. dynamicUrl$0() {
  59305. var _0_0, _this = this,
  59306. t1 = _this.scanner,
  59307. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59308. _this.expectIdentifier$1("url");
  59309. _0_0 = _this._tryUrlContents$1(start);
  59310. if (_0_0 != null)
  59311. return new A.StringExpression(_0_0, false);
  59312. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59313. },
  59314. almostAnyValue$1$omitComments(omitComments) {
  59315. var t4, t5, t6, _2_0, t7, _0_0, _0_2, start, end, _0_4, identifier, _1_0, _this = this,
  59316. t1 = _this.scanner,
  59317. t2 = t1._string_scanner$_position,
  59318. t3 = new A.StringBuffer(""),
  59319. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59320. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  59321. $label0$0: {
  59322. _2_0 = t1.peekChar$0();
  59323. if (92 === _2_0) {
  59324. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59325. t3._contents += t7;
  59326. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59327. t3._contents += t7;
  59328. break $label0$0;
  59329. }
  59330. if (34 === _2_0 || 39 === _2_0) {
  59331. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59332. break $label0$0;
  59333. }
  59334. if (47 === _2_0) {
  59335. $label1$1: {
  59336. _0_0 = t1.peekChar$1(1);
  59337. _0_2 = 42 === _0_0;
  59338. if (_0_2 && t6) {
  59339. t7 = _this.get$loudComment();
  59340. start = t1._string_scanner$_position;
  59341. t7.call$0();
  59342. end = t1._string_scanner$_position;
  59343. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  59344. break $label1$1;
  59345. }
  59346. if (_0_2) {
  59347. _this.loudComment$0();
  59348. break $label1$1;
  59349. }
  59350. _0_4 = 47 === _0_0;
  59351. if (_0_4 && t6) {
  59352. t7 = _this.get$silentComment();
  59353. start = t1._string_scanner$_position;
  59354. t7.call$0();
  59355. end = t1._string_scanner$_position;
  59356. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  59357. break $label1$1;
  59358. }
  59359. if (_0_4) {
  59360. _this.silentComment$0();
  59361. break $label1$1;
  59362. }
  59363. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59364. t3._contents += t7;
  59365. }
  59366. break $label0$0;
  59367. }
  59368. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  59369. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59370. break $label0$0;
  59371. }
  59372. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  59373. if (_this.get$indented())
  59374. break;
  59375. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59376. t3._contents += t7;
  59377. break $label0$0;
  59378. }
  59379. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  59380. break;
  59381. if (117 === _2_0 || 85 === _2_0) {
  59382. t7 = t1._string_scanner$_position;
  59383. identifier = _this.identifier$0();
  59384. if (identifier !== "url" && identifier !== "url-prefix") {
  59385. t3._contents += identifier;
  59386. continue;
  59387. }
  59388. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  59389. if (_1_0 != null)
  59390. buffer.addInterpolation$1(_1_0);
  59391. else {
  59392. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  59393. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  59394. t1._string_scanner$_position = t7;
  59395. t1._lastMatch = null;
  59396. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59397. t3._contents += t7;
  59398. }
  59399. break $label0$0;
  59400. }
  59401. if (_2_0 == null)
  59402. break;
  59403. t7 = _this.lookingAtIdentifier$0();
  59404. if (t7) {
  59405. t7 = _this.identifier$0();
  59406. t3._contents += t7;
  59407. break $label0$0;
  59408. }
  59409. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59410. t3._contents += t7;
  59411. }
  59412. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59413. },
  59414. almostAnyValue$0() {
  59415. return this.almostAnyValue$1$omitComments(false);
  59416. },
  59417. _interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, silentComments) {
  59418. var t4, t5, t6, t7, t8, wroteNewline, _2_0, wroteNewline0, t9, _0_0, start, end, _2_14_isSet, _2_14, t10, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  59419. t1 = _this.scanner,
  59420. t2 = t1._string_scanner$_position,
  59421. t3 = new A.StringBuffer(""),
  59422. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  59423. brackets = A._setArrayType([], type$.JSArray_int);
  59424. for (t4 = !allowOpenBrace, t5 = t1.string, t6 = t5.length, t7 = !allowColon, t8 = !allowSemicolon, wroteNewline = false; true;)
  59425. $label0$0: {
  59426. _2_0 = t1.peekChar$0();
  59427. wroteNewline0 = false;
  59428. if (92 === _2_0) {
  59429. t9 = _this.escape$1$identifierStart(true);
  59430. t3._contents += t9;
  59431. wroteNewline = wroteNewline0;
  59432. break $label0$0;
  59433. }
  59434. if (34 === _2_0 || 39 === _2_0) {
  59435. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59436. wroteNewline = wroteNewline0;
  59437. break $label0$0;
  59438. }
  59439. if (47 === _2_0) {
  59440. $label1$1: {
  59441. _0_0 = t1.peekChar$1(1);
  59442. if (42 === _0_0) {
  59443. t9 = _this.get$loudComment();
  59444. start = t1._string_scanner$_position;
  59445. t9.call$0();
  59446. end = t1._string_scanner$_position;
  59447. t3._contents += B.JSString_methods.substring$2(t5, start, end);
  59448. break $label1$1;
  59449. }
  59450. if (47 === _0_0 && silentComments) {
  59451. _this.silentComment$0();
  59452. break $label1$1;
  59453. }
  59454. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59455. t3._contents += t9;
  59456. }
  59457. wroteNewline = wroteNewline0;
  59458. break $label0$0;
  59459. }
  59460. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  59461. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59462. wroteNewline = wroteNewline0;
  59463. break $label0$0;
  59464. }
  59465. _2_14_isSet = 32 !== _2_0;
  59466. if (_2_14_isSet) {
  59467. _2_14 = 9 === _2_0;
  59468. t9 = _2_14;
  59469. } else {
  59470. _2_14 = _null;
  59471. t9 = true;
  59472. }
  59473. t10 = false;
  59474. if (t9)
  59475. if (!wroteNewline) {
  59476. t9 = t1.peekChar$1(1);
  59477. t9 = t9 === 32 || t9 === 9 || t9 === 10 || t9 === 13 || t9 === 12;
  59478. } else
  59479. t9 = t10;
  59480. else
  59481. t9 = t10;
  59482. if (t9) {
  59483. t1.readChar$0();
  59484. break $label0$0;
  59485. }
  59486. if (_2_14_isSet)
  59487. t9 = _2_14;
  59488. else
  59489. t9 = true;
  59490. if (t9) {
  59491. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59492. t3._contents += t9;
  59493. break $label0$0;
  59494. }
  59495. _2_18_isSet = 10 !== _2_0;
  59496. _2_20 = _null;
  59497. t9 = true;
  59498. if (_2_18_isSet) {
  59499. _2_18 = 13 === _2_0;
  59500. _2_20_isSet = !_2_18;
  59501. if (_2_20_isSet) {
  59502. _2_20 = 12 === _2_0;
  59503. t9 = _2_20;
  59504. }
  59505. } else {
  59506. _2_18 = _null;
  59507. _2_20_isSet = false;
  59508. }
  59509. if (t9 && _this.get$indented())
  59510. break;
  59511. t9 = true;
  59512. if (_2_18_isSet)
  59513. if (!_2_18)
  59514. t9 = _2_20_isSet ? _2_20 : 12 === _2_0;
  59515. if (t9) {
  59516. t9 = t1.peekChar$1(-1);
  59517. if (!(t9 === 10 || t9 === 13 || t9 === 12))
  59518. t3._contents += "\n";
  59519. t1.readChar$0();
  59520. wroteNewline = true;
  59521. break $label0$0;
  59522. }
  59523. _2_22 = 123 === _2_0;
  59524. if (_2_22 && t4)
  59525. break;
  59526. if (40 !== _2_0)
  59527. t9 = _2_22 || 91 === _2_0;
  59528. else
  59529. t9 = true;
  59530. if (t9) {
  59531. bracket = t1.readChar$0();
  59532. t9 = A.Primitives_stringFromCharCode(bracket);
  59533. t3._contents += t9;
  59534. brackets.push(A.opposite(bracket));
  59535. wroteNewline = wroteNewline0;
  59536. break $label0$0;
  59537. }
  59538. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  59539. if (brackets.length === 0)
  59540. break;
  59541. bracket = brackets.pop();
  59542. t1.expectChar$1(bracket);
  59543. t9 = A.Primitives_stringFromCharCode(bracket);
  59544. t3._contents += t9;
  59545. wroteNewline = wroteNewline0;
  59546. break $label0$0;
  59547. }
  59548. if (59 === _2_0) {
  59549. if (t8 && brackets.length === 0)
  59550. break;
  59551. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59552. t3._contents += t9;
  59553. wroteNewline = wroteNewline0;
  59554. break $label0$0;
  59555. }
  59556. if (58 === _2_0) {
  59557. if (t7 && brackets.length === 0)
  59558. break;
  59559. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59560. t3._contents += t9;
  59561. wroteNewline = wroteNewline0;
  59562. break $label0$0;
  59563. }
  59564. if (117 === _2_0 || 85 === _2_0) {
  59565. t9 = t1._string_scanner$_position;
  59566. identifier = _this.identifier$0();
  59567. if (identifier !== "url" && identifier !== "url-prefix") {
  59568. t3._contents += identifier;
  59569. wroteNewline = wroteNewline0;
  59570. continue;
  59571. }
  59572. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t9), identifier);
  59573. if (_1_0 != null)
  59574. buffer.addInterpolation$1(_1_0);
  59575. else {
  59576. if ((t9 === 0 ? 1 / t9 < 0 : t9 < 0) || t9 > t6)
  59577. A.throwExpression(A.ArgumentError$("Invalid position " + t9, _null));
  59578. t1._string_scanner$_position = t9;
  59579. t1._lastMatch = null;
  59580. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59581. t3._contents += t9;
  59582. }
  59583. wroteNewline = wroteNewline0;
  59584. break $label0$0;
  59585. }
  59586. if (_2_0 == null)
  59587. break;
  59588. t9 = _this.lookingAtIdentifier$0();
  59589. if (t9) {
  59590. t9 = _this.identifier$0();
  59591. t3._contents += t9;
  59592. wroteNewline = wroteNewline0;
  59593. break $label0$0;
  59594. }
  59595. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59596. t3._contents += t9;
  59597. wroteNewline = wroteNewline0;
  59598. }
  59599. if (brackets.length !== 0)
  59600. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  59601. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  59602. t1.error$1(0, "Expected token.");
  59603. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59604. },
  59605. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  59606. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, true, false, true);
  59607. },
  59608. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  59609. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, allowOpenBrace, false, true);
  59610. },
  59611. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  59612. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, true, allowSemicolon, true);
  59613. },
  59614. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  59615. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(allowColon, allowEmpty, true, allowSemicolon, true);
  59616. },
  59617. _interpolatedDeclarationValue$0() {
  59618. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, true, false, true);
  59619. },
  59620. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  59621. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, allowOpenBrace, false, true);
  59622. },
  59623. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  59624. return this._interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, true, false, silentComments);
  59625. },
  59626. interpolatedIdentifier$0() {
  59627. var t4, _0_0, _this = this,
  59628. _s20_ = "Expected identifier.",
  59629. t1 = _this.scanner,
  59630. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59631. t2 = new A.StringBuffer(""),
  59632. t3 = A._setArrayType([], type$.JSArray_Object),
  59633. buffer = new A.InterpolationBuffer(t2, t3);
  59634. if (t1.scanChar$1(45)) {
  59635. t4 = A.Primitives_stringFromCharCode(45);
  59636. t2._contents += t4;
  59637. if (t1.scanChar$1(45)) {
  59638. t3 = A.Primitives_stringFromCharCode(45);
  59639. t2._contents += t3;
  59640. _this._interpolatedIdentifierBody$1(buffer);
  59641. return buffer.interpolation$1(t1.spanFrom$1(start));
  59642. }
  59643. }
  59644. $label0$0: {
  59645. _0_0 = t1.peekChar$0();
  59646. if (_0_0 == null)
  59647. t1.error$1(0, _s20_);
  59648. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  59649. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59650. t2._contents += t3;
  59651. break $label0$0;
  59652. }
  59653. if (92 === _0_0) {
  59654. t3 = _this.escape$1$identifierStart(true);
  59655. t2._contents += t3;
  59656. break $label0$0;
  59657. }
  59658. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  59659. t2 = _this.singleInterpolation$0();
  59660. buffer._flushText$0();
  59661. t3.push(t2);
  59662. break $label0$0;
  59663. }
  59664. t1.error$1(0, _s20_);
  59665. }
  59666. _this._interpolatedIdentifierBody$1(buffer);
  59667. return buffer.interpolation$1(t1.spanFrom$1(start));
  59668. },
  59669. _interpolatedIdentifierBody$1(buffer) {
  59670. var t1, t2, t3, _0_0, t4;
  59671. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  59672. _0_0 = t2.peekChar$0();
  59673. if (_0_0 == null)
  59674. break;
  59675. t4 = true;
  59676. if (95 !== _0_0)
  59677. if (45 !== _0_0) {
  59678. if (!(_0_0 >= 97 && _0_0 <= 122))
  59679. t4 = _0_0 >= 65 && _0_0 <= 90;
  59680. else
  59681. t4 = true;
  59682. if (!t4)
  59683. t4 = _0_0 >= 48 && _0_0 <= 57;
  59684. else
  59685. t4 = true;
  59686. t4 = t4 || _0_0 >= 128;
  59687. }
  59688. if (t4) {
  59689. t4 = A.Primitives_stringFromCharCode(t2.readChar$0());
  59690. t3._contents += t4;
  59691. continue;
  59692. }
  59693. if (92 === _0_0) {
  59694. t4 = this.escape$0();
  59695. t3._contents += t4;
  59696. continue;
  59697. }
  59698. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  59699. t4 = this.singleInterpolation$0();
  59700. buffer._flushText$0();
  59701. t1.push(t4);
  59702. continue;
  59703. }
  59704. break;
  59705. }
  59706. },
  59707. singleInterpolation$0() {
  59708. var contents, _this = this,
  59709. t1 = _this.scanner,
  59710. t2 = t1._string_scanner$_position;
  59711. t1.expect$1("#{");
  59712. _this.whitespace$0();
  59713. contents = _this._expression$0();
  59714. t1.expectChar$1(125);
  59715. if (_this.get$plainCss())
  59716. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59717. return contents;
  59718. },
  59719. _mediaQueryList$0() {
  59720. var t4, _this = this,
  59721. t1 = _this.scanner,
  59722. t2 = t1._string_scanner$_position,
  59723. t3 = new A.StringBuffer(""),
  59724. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59725. for (; true;) {
  59726. _this.whitespace$0();
  59727. _this._stylesheet$_mediaQuery$1(buffer);
  59728. _this.whitespace$0();
  59729. if (!t1.scanChar$1(44))
  59730. break;
  59731. t4 = A.Primitives_stringFromCharCode(44);
  59732. t3._contents += t4;
  59733. t4 = A.Primitives_stringFromCharCode(32);
  59734. t3._contents += t4;
  59735. }
  59736. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59737. },
  59738. _stylesheet$_mediaQuery$1(buffer) {
  59739. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  59740. if (_this.scanner.peekChar$0() === 40) {
  59741. _this._stylesheet$_mediaInParens$1(buffer);
  59742. _this.whitespace$0();
  59743. if (_this.scanIdentifier$1(_s3_)) {
  59744. buffer._interpolation_buffer$_text._contents += " and ";
  59745. _this.expectWhitespace$0();
  59746. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59747. } else if (_this.scanIdentifier$1("or")) {
  59748. buffer._interpolation_buffer$_text._contents += " or ";
  59749. _this.expectWhitespace$0();
  59750. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59751. }
  59752. return;
  59753. }
  59754. identifier1 = _this.interpolatedIdentifier$0();
  59755. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  59756. _this.expectWhitespace$0();
  59757. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  59758. buffer._interpolation_buffer$_text._contents += "not ";
  59759. _this._mediaOrInterp$1(buffer);
  59760. return;
  59761. }
  59762. }
  59763. _this.whitespace$0();
  59764. buffer.addInterpolation$1(identifier1);
  59765. if (!_this._lookingAtInterpolatedIdentifier$0())
  59766. return;
  59767. t1 = buffer._interpolation_buffer$_text;
  59768. t2 = A.Primitives_stringFromCharCode(32);
  59769. t1._contents += t2;
  59770. identifier2 = _this.interpolatedIdentifier$0();
  59771. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  59772. _this.expectWhitespace$0();
  59773. t1._contents += " and ";
  59774. } else {
  59775. _this.whitespace$0();
  59776. buffer.addInterpolation$1(identifier2);
  59777. if (_this.scanIdentifier$1(_s3_)) {
  59778. _this.expectWhitespace$0();
  59779. t1._contents += " and ";
  59780. } else
  59781. return;
  59782. }
  59783. if (_this.scanIdentifier$1("not")) {
  59784. _this.expectWhitespace$0();
  59785. t1._contents += "not ";
  59786. _this._mediaOrInterp$1(buffer);
  59787. return;
  59788. }
  59789. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59790. return;
  59791. },
  59792. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  59793. var t1, t2, _this = this;
  59794. for (t1 = buffer._interpolation_buffer$_text; true;) {
  59795. _this._mediaOrInterp$1(buffer);
  59796. _this.whitespace$0();
  59797. if (!_this.scanIdentifier$1(operator))
  59798. return;
  59799. _this.expectWhitespace$0();
  59800. t2 = A.Primitives_stringFromCharCode(32);
  59801. t2 = t1._contents += t2;
  59802. t1._contents = t2 + operator;
  59803. t2 = A.Primitives_stringFromCharCode(32);
  59804. t1._contents += t2;
  59805. }
  59806. },
  59807. _mediaOrInterp$1(buffer) {
  59808. var interpolation;
  59809. if (this.scanner.peekChar$0() === 35) {
  59810. interpolation = this.singleInterpolation$0();
  59811. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  59812. } else
  59813. this._stylesheet$_mediaInParens$1(buffer);
  59814. },
  59815. _stylesheet$_mediaInParens$1(buffer) {
  59816. var t2, t3, t4, next, t5, _this = this,
  59817. t1 = _this.scanner;
  59818. t1.expectChar$2$name(40, "media condition in parentheses");
  59819. t2 = buffer._interpolation_buffer$_text;
  59820. t3 = A.Primitives_stringFromCharCode(40);
  59821. t2._contents += t3;
  59822. _this.whitespace$0();
  59823. if (t1.peekChar$0() === 40) {
  59824. _this._stylesheet$_mediaInParens$1(buffer);
  59825. _this.whitespace$0();
  59826. if (_this.scanIdentifier$1("and")) {
  59827. t2._contents += " and ";
  59828. _this.expectWhitespace$0();
  59829. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  59830. } else if (_this.scanIdentifier$1("or")) {
  59831. t2._contents += " or ";
  59832. _this.expectWhitespace$0();
  59833. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59834. }
  59835. } else if (_this.scanIdentifier$1("not")) {
  59836. t2._contents += "not ";
  59837. _this.expectWhitespace$0();
  59838. _this._mediaOrInterp$1(buffer);
  59839. } else {
  59840. t3 = _this._expressionUntilComparison$0();
  59841. buffer._flushText$0();
  59842. t4 = buffer._interpolation_buffer$_contents;
  59843. t4.push(t3);
  59844. if (t1.scanChar$1(58)) {
  59845. _this.whitespace$0();
  59846. t3 = A.Primitives_stringFromCharCode(58);
  59847. t2._contents += t3;
  59848. t3 = A.Primitives_stringFromCharCode(32);
  59849. t2._contents += t3;
  59850. t3 = _this._expression$0();
  59851. buffer._flushText$0();
  59852. t4.push(t3);
  59853. } else {
  59854. next = t1.peekChar$0();
  59855. t3 = 60 !== next;
  59856. if (!t3 || 62 === next || 61 === next) {
  59857. t5 = A.Primitives_stringFromCharCode(32);
  59858. t2._contents += t5;
  59859. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59860. t2._contents += t5;
  59861. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  59862. t5 = A.Primitives_stringFromCharCode(61);
  59863. t2._contents += t5;
  59864. }
  59865. t5 = A.Primitives_stringFromCharCode(32);
  59866. t2._contents += t5;
  59867. _this.whitespace$0();
  59868. t5 = _this._expressionUntilComparison$0();
  59869. buffer._flushText$0();
  59870. t4.push(t5);
  59871. if (!t3 || 62 === next) {
  59872. next.toString;
  59873. t3 = t1.scanChar$1(next);
  59874. } else
  59875. t3 = false;
  59876. if (t3) {
  59877. t3 = A.Primitives_stringFromCharCode(32);
  59878. t2._contents += t3;
  59879. t3 = A.Primitives_stringFromCharCode(next);
  59880. t2._contents += t3;
  59881. if (t1.scanChar$1(61)) {
  59882. t3 = A.Primitives_stringFromCharCode(61);
  59883. t2._contents += t3;
  59884. }
  59885. t3 = A.Primitives_stringFromCharCode(32);
  59886. t2._contents += t3;
  59887. _this.whitespace$0();
  59888. t3 = _this._expressionUntilComparison$0();
  59889. buffer._flushText$0();
  59890. t4.push(t3);
  59891. }
  59892. }
  59893. }
  59894. }
  59895. t1.expectChar$1(41);
  59896. _this.whitespace$0();
  59897. t1 = A.Primitives_stringFromCharCode(41);
  59898. t2._contents += t1;
  59899. },
  59900. _expressionUntilComparison$0() {
  59901. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  59902. },
  59903. _supportsCondition$0() {
  59904. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  59905. t1 = _this.scanner,
  59906. t2 = t1._string_scanner$_position;
  59907. if (_this.scanIdentifier$1("not")) {
  59908. _this.whitespace$0();
  59909. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59910. }
  59911. condition = _this._supportsConditionInParens$0();
  59912. _this.whitespace$0();
  59913. for (operator = null; _this.lookingAtIdentifier$0();) {
  59914. if (operator != null)
  59915. _this.expectIdentifier$1(operator);
  59916. else if (_this.scanIdentifier$1("or"))
  59917. operator = "or";
  59918. else {
  59919. _this.expectIdentifier$1("and");
  59920. operator = "and";
  59921. }
  59922. _this.whitespace$0();
  59923. right = _this._supportsConditionInParens$0();
  59924. endPosition = t1._string_scanner$_position;
  59925. t3 = t1._sourceFile;
  59926. t4 = new A._FileSpan(t3, t2, endPosition);
  59927. t4._FileSpan$3(t3, t2, endPosition);
  59928. condition = new A.SupportsOperation(condition, right, operator, t4);
  59929. lowerOperator = operator.toLowerCase();
  59930. if (lowerOperator !== "and" && lowerOperator !== "or")
  59931. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  59932. _this.whitespace$0();
  59933. }
  59934. return condition;
  59935. },
  59936. _supportsConditionInParens$0() {
  59937. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, declaration, _this = this,
  59938. t1 = _this.scanner,
  59939. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59940. if (_this._lookingAtInterpolatedIdentifier$0()) {
  59941. identifier0 = _this.interpolatedIdentifier$0();
  59942. t2 = identifier0.get$asPlain();
  59943. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  59944. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  59945. if (t1.scanChar$1(40)) {
  59946. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  59947. t1.expectChar$1(41);
  59948. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  59949. } else {
  59950. _0_0 = identifier0.contents;
  59951. _0_4_isSet = _0_0.length === 1;
  59952. _0_4 = null;
  59953. if (_0_4_isSet) {
  59954. _0_40 = _0_0[0];
  59955. t2 = _0_40;
  59956. _0_4 = t2;
  59957. t2 = t2 instanceof A.Expression;
  59958. } else
  59959. t2 = false;
  59960. if (t2) {
  59961. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  59962. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  59963. } else
  59964. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  59965. }
  59966. }
  59967. t1.expectChar$1(40);
  59968. _this.whitespace$0();
  59969. if (_this.scanIdentifier$1("not")) {
  59970. _this.whitespace$0();
  59971. condition = _this._supportsConditionInParens$0();
  59972. t1.expectChar$1(41);
  59973. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  59974. } else if (t1.peekChar$0() === 40) {
  59975. condition = _this._supportsCondition$0();
  59976. t1.expectChar$1(41);
  59977. return condition;
  59978. }
  59979. $name = null;
  59980. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59981. wasInParentheses = _this._inParentheses;
  59982. try {
  59983. $name = _this._expression$0();
  59984. t1.expectChar$1(58);
  59985. } catch (exception) {
  59986. if (type$.FormatException._is(A.unwrapException(exception))) {
  59987. t1.set$state(nameStart);
  59988. _this._inParentheses = wasInParentheses;
  59989. identifier = _this.interpolatedIdentifier$0();
  59990. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  59991. operation = null;
  59992. if (_1_0 != null) {
  59993. operation = _1_0;
  59994. t1.expectChar$1(41);
  59995. return operation;
  59996. }
  59997. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  59998. t2.addInterpolation$1(identifier);
  59999. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  60000. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  60001. if (t1.peekChar$0() === 58)
  60002. throw exception;
  60003. t1.expectChar$1(41);
  60004. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  60005. } else
  60006. throw exception;
  60007. }
  60008. declaration = _this._supportsDeclarationValue$2($name, start);
  60009. t1.expectChar$1(41);
  60010. return declaration;
  60011. },
  60012. _supportsDeclarationValue$2($name, start) {
  60013. var value, _this = this,
  60014. t1 = false;
  60015. if ($name instanceof A.StringExpression)
  60016. if (!$name.hasQuotes)
  60017. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  60018. if (t1)
  60019. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  60020. else {
  60021. _this.whitespace$0();
  60022. value = _this._expression$0();
  60023. }
  60024. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  60025. },
  60026. _trySupportsOperation$2(interpolation, start) {
  60027. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  60028. t1 = interpolation.contents;
  60029. if (t1.length !== 1)
  60030. return _null;
  60031. expression = B.JSArray_methods.get$first(t1);
  60032. if (!(expression instanceof A.Expression))
  60033. return _null;
  60034. t1 = _this.scanner;
  60035. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60036. _this.whitespace$0();
  60037. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  60038. if (operator != null)
  60039. _this.expectIdentifier$1(operator);
  60040. else if (_this.scanIdentifier$1("and"))
  60041. operator = "and";
  60042. else {
  60043. if (!_this.scanIdentifier$1("or")) {
  60044. if (beforeWhitespace._scanner !== t1)
  60045. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  60046. t2 = beforeWhitespace.position;
  60047. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  60048. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  60049. t1._string_scanner$_position = t2;
  60050. return t1._lastMatch = null;
  60051. }
  60052. operator = "or";
  60053. }
  60054. _this.whitespace$0();
  60055. right = _this._supportsConditionInParens$0();
  60056. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  60057. endPosition = t1._string_scanner$_position;
  60058. t5 = t1._sourceFile;
  60059. t6 = new A._FileSpan(t5, t2, endPosition);
  60060. t6._FileSpan$3(t5, t2, endPosition);
  60061. operation = new A.SupportsOperation(t4, right, operator, t6);
  60062. lowerOperator = operator.toLowerCase();
  60063. if (lowerOperator !== "and" && lowerOperator !== "or")
  60064. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  60065. _this.whitespace$0();
  60066. }
  60067. return operation;
  60068. },
  60069. _lookingAtInterpolatedIdentifier$0() {
  60070. var t2, _0_0,
  60071. t1 = this.scanner,
  60072. _1_0 = t1.peekChar$0();
  60073. $label0$0: {
  60074. t2 = false;
  60075. if (_1_0 == null) {
  60076. t1 = t2;
  60077. break $label0$0;
  60078. }
  60079. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  60080. t1 = true;
  60081. break $label0$0;
  60082. }
  60083. if (35 === _1_0) {
  60084. t1 = t1.peekChar$1(1) === 123;
  60085. break $label0$0;
  60086. }
  60087. if (45 === _1_0) {
  60088. _0_0 = t1.peekChar$1(1);
  60089. $label1$1: {
  60090. if (_0_0 == null) {
  60091. t1 = t2;
  60092. break $label1$1;
  60093. }
  60094. if (35 === _0_0) {
  60095. t1 = t1.peekChar$1(2) === 123;
  60096. break $label1$1;
  60097. }
  60098. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  60099. t1 = true;
  60100. break $label1$1;
  60101. }
  60102. t1 = t2;
  60103. break $label1$1;
  60104. }
  60105. break $label0$0;
  60106. }
  60107. t1 = t2;
  60108. break $label0$0;
  60109. }
  60110. return t1;
  60111. },
  60112. _lookingAtPotentialPropertyHack$0() {
  60113. var t1 = this.scanner,
  60114. _0_0 = t1.peekChar$0();
  60115. $label0$0: {
  60116. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  60117. t1 = true;
  60118. break $label0$0;
  60119. }
  60120. if (35 === _0_0) {
  60121. t1 = t1.peekChar$1(1) !== 123;
  60122. break $label0$0;
  60123. }
  60124. t1 = false;
  60125. break $label0$0;
  60126. }
  60127. return t1;
  60128. },
  60129. _lookingAtInterpolatedIdentifierBody$0() {
  60130. var t2, t3,
  60131. t1 = this.scanner,
  60132. _0_0 = t1.peekChar$0();
  60133. $label0$0: {
  60134. t2 = false;
  60135. if (_0_0 == null) {
  60136. t1 = t2;
  60137. break $label0$0;
  60138. }
  60139. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  60140. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  60141. else
  60142. t3 = true;
  60143. if (t3 || 92 === _0_0) {
  60144. t1 = true;
  60145. break $label0$0;
  60146. }
  60147. if (35 === _0_0) {
  60148. t1 = t1.peekChar$1(1) === 123;
  60149. break $label0$0;
  60150. }
  60151. t1 = t2;
  60152. break $label0$0;
  60153. }
  60154. return t1;
  60155. },
  60156. _lookingAtExpression$0() {
  60157. var t2, _0_0,
  60158. t1 = this.scanner,
  60159. _1_0 = t1.peekChar$0();
  60160. $label0$0: {
  60161. t2 = true;
  60162. if (_1_0 == null) {
  60163. t1 = false;
  60164. break $label0$0;
  60165. }
  60166. if (46 === _1_0) {
  60167. t1 = t1.peekChar$1(1) !== 46;
  60168. break $label0$0;
  60169. }
  60170. if (33 === _1_0) {
  60171. _0_0 = t1.peekChar$1(1);
  60172. $label1$1: {
  60173. if (_0_0 != null)
  60174. if (105 !== _0_0)
  60175. if (73 !== _0_0)
  60176. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  60177. else
  60178. t1 = t2;
  60179. else
  60180. t1 = t2;
  60181. else
  60182. t1 = t2;
  60183. if (t1)
  60184. break $label1$1;
  60185. break $label1$1;
  60186. }
  60187. break $label0$0;
  60188. }
  60189. t1 = true;
  60190. if (40 !== _1_0)
  60191. if (47 !== _1_0)
  60192. if (91 !== _1_0)
  60193. if (39 !== _1_0)
  60194. if (34 !== _1_0)
  60195. if (35 !== _1_0)
  60196. if (43 !== _1_0)
  60197. if (45 !== _1_0)
  60198. if (92 !== _1_0)
  60199. if (36 !== _1_0)
  60200. if (38 !== _1_0)
  60201. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  60202. t1 = _1_0 >= 48 && _1_0 <= 57;
  60203. if (t1) {
  60204. t1 = t2;
  60205. break $label0$0;
  60206. }
  60207. t1 = false;
  60208. break $label0$0;
  60209. }
  60210. return t1;
  60211. },
  60212. _withChildren$1$3(child, start, create) {
  60213. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  60214. this.whitespaceWithoutComments$0();
  60215. return result;
  60216. },
  60217. _withChildren$3(child, start, create) {
  60218. return this._withChildren$1$3(child, start, create, type$.dynamic);
  60219. },
  60220. _urlString$0() {
  60221. var innerError, stackTrace, t2, exception,
  60222. t1 = this.scanner,
  60223. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60224. url = this.string$0();
  60225. try {
  60226. t2 = A.Uri_parse(url);
  60227. return t2;
  60228. } catch (exception) {
  60229. t2 = A.unwrapException(exception);
  60230. if (type$.FormatException._is(t2)) {
  60231. innerError = t2;
  60232. stackTrace = A.getTraceFromException(exception);
  60233. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  60234. } else
  60235. throw exception;
  60236. }
  60237. },
  60238. _publicIdentifier$0() {
  60239. var _this = this,
  60240. t1 = _this.scanner,
  60241. t2 = t1._string_scanner$_position,
  60242. result = _this.identifier$0();
  60243. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  60244. return result;
  60245. },
  60246. _assertPublic$2(identifier, span) {
  60247. var first = identifier.charCodeAt(0);
  60248. if (!(first === 45 || first === 95))
  60249. return;
  60250. this.error$2(0, string$.Privat, span.call$0());
  60251. },
  60252. get$plainCss() {
  60253. return false;
  60254. }
  60255. };
  60256. A.StylesheetParser_parse_closure.prototype = {
  60257. call$0() {
  60258. var statements, t4,
  60259. t1 = this.$this,
  60260. t2 = t1.scanner,
  60261. t3 = t2._string_scanner$_position;
  60262. t2.scanChar$1(65279);
  60263. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  60264. t2.expectDone$0();
  60265. t4 = t1._globalVariables.get$values(0);
  60266. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  60267. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  60268. },
  60269. $signature: 462
  60270. };
  60271. A.StylesheetParser_parse__closure.prototype = {
  60272. call$0() {
  60273. var t1 = this.$this;
  60274. if (t1.scanner.scan$1("@charset")) {
  60275. t1.whitespace$0();
  60276. t1.string$0();
  60277. return null;
  60278. }
  60279. return t1._statement$1$root(true);
  60280. },
  60281. $signature: 461
  60282. };
  60283. A.StylesheetParser_parse__closure0.prototype = {
  60284. call$1(declaration) {
  60285. var t1 = declaration.expression;
  60286. return A.VariableDeclaration$(declaration.name, new A.NullExpression(t1.get$span(t1)), declaration.span, null, false, true, null);
  60287. },
  60288. $signature: 455
  60289. };
  60290. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  60291. call$0() {
  60292. var $arguments,
  60293. t1 = this.$this,
  60294. t2 = t1.scanner;
  60295. t2.expectChar$2$name(64, "@-rule");
  60296. t1.identifier$0();
  60297. t1.whitespace$0();
  60298. t1.identifier$0();
  60299. $arguments = t1._argumentDeclaration$0();
  60300. t1.whitespace$0();
  60301. t2.expectChar$1(123);
  60302. return $arguments;
  60303. },
  60304. $signature: 443
  60305. };
  60306. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  60307. call$0() {
  60308. var t1 = this.$this;
  60309. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  60310. },
  60311. $signature: 154
  60312. };
  60313. A.StylesheetParser_parseUseRule_closure.prototype = {
  60314. call$0() {
  60315. var t1 = this.$this,
  60316. t2 = t1.scanner,
  60317. t3 = t2._string_scanner$_position;
  60318. t2.expectChar$2$name(64, "@-rule");
  60319. t1.expectIdentifier$1("use");
  60320. t1.whitespace$0();
  60321. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  60322. },
  60323. $signature: 442
  60324. };
  60325. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  60326. call$0() {
  60327. var result = this.production.call$0();
  60328. this.$this.scanner.expectDone$0();
  60329. return result;
  60330. },
  60331. $signature() {
  60332. return this.T._eval$1("0()");
  60333. }
  60334. };
  60335. A.StylesheetParser__statement_closure.prototype = {
  60336. call$0() {
  60337. return this.$this._statement$0();
  60338. },
  60339. $signature: 124
  60340. };
  60341. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  60342. call$0() {
  60343. return this.$this.scanner.spanFrom$1(this.start);
  60344. },
  60345. $signature: 27
  60346. };
  60347. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  60348. call$0() {
  60349. return this.declaration;
  60350. },
  60351. $signature: 154
  60352. };
  60353. A.StylesheetParser__styleRule_closure.prototype = {
  60354. call$2(children, span) {
  60355. var _this = this,
  60356. t1 = _this.$this;
  60357. if (t1.get$indented() && children.length === 0)
  60358. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  60359. t1._inStyleRule = _this.wasInStyleRule;
  60360. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  60361. },
  60362. $signature: 438
  60363. };
  60364. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  60365. call$2(children, span) {
  60366. return A.Declaration$nested(this.name, children, span, this.value);
  60367. },
  60368. $signature: 434
  60369. };
  60370. A.StylesheetParser__atRootRule_closure.prototype = {
  60371. call$2(children, span) {
  60372. return A.AtRootRule$(children, span, this.query);
  60373. },
  60374. $signature: 155
  60375. };
  60376. A.StylesheetParser__atRootRule_closure0.prototype = {
  60377. call$2(children, span) {
  60378. return A.AtRootRule$(children, span, null);
  60379. },
  60380. $signature: 155
  60381. };
  60382. A.StylesheetParser__eachRule_closure.prototype = {
  60383. call$2(children, span) {
  60384. var _this = this;
  60385. _this.$this._inControlDirective = _this.wasInControlDirective;
  60386. return A.EachRule$(_this.variables, _this.list, children, span);
  60387. },
  60388. $signature: 432
  60389. };
  60390. A.StylesheetParser__functionRule_closure.prototype = {
  60391. call$2(children, span) {
  60392. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  60393. },
  60394. $signature: 431
  60395. };
  60396. A.StylesheetParser__forRule_closure.prototype = {
  60397. call$0() {
  60398. var t1 = this.$this;
  60399. if (!t1.lookingAtIdentifier$0())
  60400. return false;
  60401. if (t1.scanIdentifier$1("to"))
  60402. return this._box_0.exclusive = true;
  60403. else if (t1.scanIdentifier$1("through")) {
  60404. this._box_0.exclusive = false;
  60405. return true;
  60406. } else
  60407. return false;
  60408. },
  60409. $signature: 22
  60410. };
  60411. A.StylesheetParser__forRule_closure0.prototype = {
  60412. call$2(children, span) {
  60413. var t1, _this = this;
  60414. _this.$this._inControlDirective = _this.wasInControlDirective;
  60415. t1 = _this._box_0.exclusive;
  60416. t1.toString;
  60417. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  60418. },
  60419. $signature: 427
  60420. };
  60421. A.StylesheetParser__memberList_closure.prototype = {
  60422. call$0() {
  60423. var t1 = this.$this;
  60424. if (t1.scanner.peekChar$0() === 36)
  60425. this.variables.add$1(0, t1.variableName$0());
  60426. else
  60427. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  60428. },
  60429. $signature: 1
  60430. };
  60431. A.StylesheetParser__includeRule_closure.prototype = {
  60432. call$2(children, span) {
  60433. return A.ContentBlock$(this.contentArguments_, children, span);
  60434. },
  60435. $signature: 425
  60436. };
  60437. A.StylesheetParser_mediaRule_closure.prototype = {
  60438. call$2(children, span) {
  60439. return A.MediaRule$(this.query, children, span);
  60440. },
  60441. $signature: 423
  60442. };
  60443. A.StylesheetParser__mixinRule_closure.prototype = {
  60444. call$2(children, span) {
  60445. var _this = this;
  60446. _this.$this._stylesheet$_inMixin = false;
  60447. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  60448. },
  60449. $signature: 422
  60450. };
  60451. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  60452. call$2(children, span) {
  60453. var _this = this;
  60454. if (_this._box_0.needsDeprecationWarning)
  60455. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_uNF, string$.x40_moz_, span, null);
  60456. return A.AtRule$(_this.name, span, children, _this.value);
  60457. },
  60458. $signature: 156
  60459. };
  60460. A.StylesheetParser_supportsRule_closure.prototype = {
  60461. call$2(children, span) {
  60462. return A.SupportsRule$(this.condition, children, span);
  60463. },
  60464. $signature: 419
  60465. };
  60466. A.StylesheetParser__whileRule_closure.prototype = {
  60467. call$2(children, span) {
  60468. this.$this._inControlDirective = this.wasInControlDirective;
  60469. return A.WhileRule$(this.condition, children, span);
  60470. },
  60471. $signature: 418
  60472. };
  60473. A.StylesheetParser_unknownAtRule_closure.prototype = {
  60474. call$2(children, span) {
  60475. return A.AtRule$(this.name, span, children, this._box_0.value);
  60476. },
  60477. $signature: 156
  60478. };
  60479. A.StylesheetParser__expression_resetState.prototype = {
  60480. call$0() {
  60481. var t2,
  60482. t1 = this._box_0;
  60483. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  60484. t2 = this.$this;
  60485. t2.scanner.set$state(this.start);
  60486. t1.allowSlash = true;
  60487. t1.singleExpression_ = t2._singleExpression$0();
  60488. },
  60489. $signature: 0
  60490. };
  60491. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  60492. call$0() {
  60493. var t2, t3, t4, t5, t6, t7, _this = this,
  60494. t1 = _this._box_0,
  60495. operator = t1.operators_.pop(),
  60496. left = t1.operands_.pop(),
  60497. right = t1.singleExpression_;
  60498. if (right == null) {
  60499. t2 = _this.$this.scanner;
  60500. t3 = operator.operator.length;
  60501. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  60502. }
  60503. if (t1.allowSlash) {
  60504. t2 = _this.$this;
  60505. t2 = !t2._inParentheses && operator === B.BinaryOperator_U77 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  60506. } else
  60507. t2 = false;
  60508. if (t2)
  60509. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_U77, left, right, true);
  60510. else {
  60511. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  60512. t2 = t1.allowSlash = false;
  60513. if (B.BinaryOperator_u15 === operator || B.BinaryOperator_SjO === operator) {
  60514. t3 = _this.$this;
  60515. t4 = t3.scanner.string;
  60516. t5 = right.get$span(right);
  60517. t5 = t5.get$start(t5);
  60518. t6 = right.get$span(right);
  60519. t7 = operator.operator;
  60520. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  60521. t2 = left.get$span(left);
  60522. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  60523. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  60524. }
  60525. if (t2) {
  60526. t2 = left.toString$0(0);
  60527. t4 = right.toString$0(0);
  60528. t5 = left.toString$0(0);
  60529. t6 = right.toString$0(0);
  60530. t1 = t1.singleExpression_;
  60531. A.WarnForDeprecation_warnForDeprecation(t3.logger, B.Deprecation_2Vk, "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);
  60532. }
  60533. }
  60534. }
  60535. },
  60536. $signature: 0
  60537. };
  60538. A.StylesheetParser__expression_resolveOperations.prototype = {
  60539. call$0() {
  60540. var t1,
  60541. operators = this._box_0.operators_;
  60542. if (operators == null)
  60543. return;
  60544. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  60545. t1.call$0();
  60546. },
  60547. $signature: 0
  60548. };
  60549. A.StylesheetParser__expression_addSingleExpression.prototype = {
  60550. call$1(expression) {
  60551. var t2, spaceExpressions, _this = this,
  60552. t1 = _this._box_0;
  60553. if (t1.singleExpression_ != null) {
  60554. t2 = _this.$this;
  60555. if (t2._inParentheses) {
  60556. t2._inParentheses = false;
  60557. if (t1.allowSlash) {
  60558. _this.resetState.call$0();
  60559. return;
  60560. }
  60561. }
  60562. spaceExpressions = t1.spaceExpressions_;
  60563. if (spaceExpressions == null)
  60564. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  60565. _this.resolveOperations.call$0();
  60566. t2 = t1.singleExpression_;
  60567. t2.toString;
  60568. spaceExpressions.push(t2);
  60569. t1.allowSlash = true;
  60570. }
  60571. t1.singleExpression_ = expression;
  60572. },
  60573. $signature: 415
  60574. };
  60575. A.StylesheetParser__expression_addOperator.prototype = {
  60576. call$1(operator) {
  60577. var t2, t3, operators, operands, t4, singleExpression,
  60578. t1 = this.$this;
  60579. if (t1.get$plainCss() && operator !== B.BinaryOperator_wdM && operator !== B.BinaryOperator_u15 && operator !== B.BinaryOperator_SjO && operator !== B.BinaryOperator_2No && operator !== B.BinaryOperator_U77) {
  60580. t2 = t1.scanner;
  60581. t3 = operator.operator.length;
  60582. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  60583. }
  60584. t2 = this._box_0;
  60585. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_U77;
  60586. operators = t2.operators_;
  60587. if (operators == null)
  60588. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  60589. operands = t2.operands_;
  60590. if (operands == null)
  60591. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  60592. t3 = this.resolveOneOperation;
  60593. t4 = operator.precedence;
  60594. while (true) {
  60595. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  60596. break;
  60597. t3.call$0();
  60598. }
  60599. operators.push(operator);
  60600. singleExpression = t2.singleExpression_;
  60601. if (singleExpression == null) {
  60602. t3 = t1.scanner;
  60603. t4 = operator.operator.length;
  60604. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  60605. }
  60606. operands.push(singleExpression);
  60607. t1.whitespace$0();
  60608. t2.singleExpression_ = t1._singleExpression$0();
  60609. },
  60610. $signature: 414
  60611. };
  60612. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  60613. call$0() {
  60614. var t1, spaceExpressions, singleExpression, t2;
  60615. this.resolveOperations.call$0();
  60616. t1 = this._box_0;
  60617. spaceExpressions = t1.spaceExpressions_;
  60618. if (spaceExpressions == null)
  60619. return;
  60620. singleExpression = t1.singleExpression_;
  60621. if (singleExpression == null)
  60622. this.$this.scanner.error$1(0, "Expected expression.");
  60623. spaceExpressions.push(singleExpression);
  60624. t2 = B.JSArray_methods.get$first(spaceExpressions);
  60625. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  60626. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_nbm, false, t2);
  60627. t1.spaceExpressions_ = null;
  60628. },
  60629. $signature: 0
  60630. };
  60631. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  60632. call$0() {
  60633. return this.$this.scanner.peekChar$0() === 44;
  60634. },
  60635. $signature: 22
  60636. };
  60637. A.StylesheetParser__isHexColor_closure.prototype = {
  60638. call$1(char) {
  60639. return A.CharacterExtension_get_isHex(char);
  60640. },
  60641. $signature: 46
  60642. };
  60643. A.StylesheetParser__unicodeRange_closure.prototype = {
  60644. call$1(char) {
  60645. return char != null && A.CharacterExtension_get_isHex(char);
  60646. },
  60647. $signature: 30
  60648. };
  60649. A.StylesheetParser__unicodeRange_closure0.prototype = {
  60650. call$1(char) {
  60651. return char != null && A.CharacterExtension_get_isHex(char);
  60652. },
  60653. $signature: 30
  60654. };
  60655. A.StylesheetParser_namespacedExpression_closure.prototype = {
  60656. call$0() {
  60657. return this.$this.scanner.spanFrom$1(this.start);
  60658. },
  60659. $signature: 27
  60660. };
  60661. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  60662. call$1(contents) {
  60663. return new A.StringExpression(contents, false);
  60664. },
  60665. $signature: 399
  60666. };
  60667. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  60668. call$0() {
  60669. var t1 = this.$this.scanner,
  60670. _0_0 = t1.peekChar$0();
  60671. $label0$0: {
  60672. if (61 === _0_0) {
  60673. t1 = t1.peekChar$1(1) !== 61;
  60674. break $label0$0;
  60675. }
  60676. if (60 === _0_0 || 62 === _0_0) {
  60677. t1 = true;
  60678. break $label0$0;
  60679. }
  60680. t1 = false;
  60681. break $label0$0;
  60682. }
  60683. return t1;
  60684. },
  60685. $signature: 22
  60686. };
  60687. A.StylesheetParser__publicIdentifier_closure.prototype = {
  60688. call$0() {
  60689. return this.$this.scanner.spanFrom$1(this.start);
  60690. },
  60691. $signature: 27
  60692. };
  60693. A.StylesheetGraph.prototype = {
  60694. modifiedSince$3(url, since, baseImporter) {
  60695. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  60696. if (node == null)
  60697. return true;
  60698. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  60699. },
  60700. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  60701. var importer, canonicalUrl, _this = this,
  60702. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  60703. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  60704. importer = result._0;
  60705. canonicalUrl = result._1;
  60706. _this.addCanonical$3(importer, canonicalUrl, result._2);
  60707. return _this._nodes.$index(0, canonicalUrl);
  60708. } else
  60709. return null;
  60710. },
  60711. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  60712. var stylesheet, _this = this,
  60713. t1 = _this._nodes;
  60714. if (t1.$index(0, canonicalUrl) != null)
  60715. return B.Set_empty3;
  60716. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  60717. if (stylesheet == null)
  60718. return B.Set_empty3;
  60719. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  60720. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  60721. },
  60722. addCanonical$3(importer, canonicalUrl, originalUrl) {
  60723. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  60724. },
  60725. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  60726. var t6, t7, t8, t9, t10,
  60727. t1 = type$.Uri,
  60728. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  60729. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60730. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60731. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60732. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60733. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  60734. t6 = type$.UnmodifiableSetView_Uri;
  60735. t2 = new A.UnmodifiableSetView0(t2, t6);
  60736. t3 = new A.UnmodifiableSetView0(t3, t6);
  60737. t4 = new A.UnmodifiableSetView0(t4, t6);
  60738. t7 = type$.nullable_StylesheetNode;
  60739. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60740. 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();) {
  60741. t10 = t9.get$current(t9);
  60742. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  60743. }
  60744. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60745. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  60746. t3 = t2.get$current(0);
  60747. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  60748. }
  60749. return new A._Record_2_imports_modules(t1, t8);
  60750. },
  60751. reload$1(canonicalUrl) {
  60752. var stylesheet, upstream, _this = this,
  60753. node = _this._nodes.$index(0, canonicalUrl);
  60754. if (node == null)
  60755. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  60756. _this._transitiveModificationTimes.clear$0(0);
  60757. _this.importCache.clearImport$1(canonicalUrl);
  60758. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  60759. if (stylesheet == null)
  60760. return false;
  60761. node._stylesheet = stylesheet;
  60762. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  60763. node._replaceUpstream$2(upstream._1, upstream._0);
  60764. return true;
  60765. },
  60766. _recanonicalizeImports$2(importer, canonicalUrl) {
  60767. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  60768. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  60769. 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();) {
  60770. t5 = t1.get$current(0);
  60771. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  60772. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  60773. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  60774. changed.add$1(0, t5);
  60775. 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));
  60776. }
  60777. }
  60778. if (changed._collection$_length !== 0)
  60779. _this._transitiveModificationTimes.clear$0(0);
  60780. return changed;
  60781. },
  60782. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  60783. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  60784. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  60785. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  60786. t1 = type$.Uri;
  60787. t2 = type$.nullable_StylesheetNode;
  60788. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  60789. 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();) {
  60790. t6 = t1.get$current(t1);
  60791. url = null;
  60792. url = t6._0;
  60793. upstream = t6._1;
  60794. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  60795. continue;
  60796. t3.clearCanonicalize$1(url);
  60797. result = null;
  60798. try {
  60799. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  60800. } catch (exception) {
  60801. }
  60802. t6 = result;
  60803. newCanonicalUrl = t6 == null ? null : t6._1;
  60804. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  60805. continue;
  60806. t6 = url;
  60807. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  60808. }
  60809. return newMap;
  60810. },
  60811. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  60812. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  60813. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  60814. if (result == null)
  60815. return null;
  60816. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  60817. t1.importer = result._0;
  60818. canonicalUrl = t1.canonicalUrl = result._1;
  60819. t1.originalUrl = result._2;
  60820. t2 = _this._nodes;
  60821. _1_0 = t2.$index(0, canonicalUrl);
  60822. if (_1_0 != null)
  60823. return _1_0;
  60824. if (active.contains$1(0, canonicalUrl))
  60825. return null;
  60826. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  60827. if (stylesheet == null)
  60828. return null;
  60829. active.add$1(0, t1.canonicalUrl);
  60830. t3 = t1.importer;
  60831. t4 = t1.canonicalUrl;
  60832. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  60833. active.remove$1(0, t1.canonicalUrl);
  60834. t2.$indexSet(0, t1.canonicalUrl, node);
  60835. return node;
  60836. },
  60837. _nodeFor$4(url, baseImporter, baseUrl, active) {
  60838. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  60839. },
  60840. _ignoreErrors$1$1(callback) {
  60841. var t1, exception;
  60842. try {
  60843. t1 = callback.call$0();
  60844. return t1;
  60845. } catch (exception) {
  60846. return null;
  60847. }
  60848. },
  60849. _ignoreErrors$1(callback) {
  60850. return this._ignoreErrors$1$1(callback, type$.dynamic);
  60851. }
  60852. };
  60853. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  60854. call$1(node) {
  60855. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  60856. },
  60857. $signature: 394
  60858. };
  60859. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  60860. call$0() {
  60861. var t2, t3, upstreamTime, t4,
  60862. t1 = this.node,
  60863. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  60864. 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();) {
  60865. t3 = t1._currentIterator;
  60866. t3 = t3.get$current(t3);
  60867. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  60868. t3 = upstreamTime._value;
  60869. t4 = latest._value;
  60870. if (t3 <= t4)
  60871. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  60872. else
  60873. t3 = true;
  60874. if (t3)
  60875. latest = upstreamTime;
  60876. }
  60877. return latest;
  60878. },
  60879. $signature: 148
  60880. };
  60881. A.StylesheetGraph__add_closure.prototype = {
  60882. call$0() {
  60883. var _this = this;
  60884. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  60885. },
  60886. $signature: 111
  60887. };
  60888. A.StylesheetGraph_addCanonical_closure.prototype = {
  60889. call$0() {
  60890. var _this = this;
  60891. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  60892. },
  60893. $signature: 94
  60894. };
  60895. A.StylesheetGraph_reload_closure.prototype = {
  60896. call$0() {
  60897. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  60898. },
  60899. $signature: 94
  60900. };
  60901. A.StylesheetGraph__nodeFor_closure.prototype = {
  60902. call$0() {
  60903. var _this = this;
  60904. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  60905. },
  60906. $signature: 111
  60907. };
  60908. A.StylesheetGraph__nodeFor_closure0.prototype = {
  60909. call$0() {
  60910. var t1 = this._box_0;
  60911. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  60912. },
  60913. $signature: 94
  60914. };
  60915. A.StylesheetNode.prototype = {
  60916. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  60917. var t1, t2;
  60918. 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();) {
  60919. t2 = t1._currentIterator;
  60920. t2 = t2.get$current(t2);
  60921. if (t2 != null)
  60922. t2._downstream.add$1(0, this);
  60923. }
  60924. },
  60925. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  60926. var t3, oldUpstream, newUpstreamSet, _this = this,
  60927. t1 = type$.nullable_StylesheetNode,
  60928. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  60929. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  60930. t3 = type$.StylesheetNode;
  60931. oldUpstream = A.SetExtension_removeNull(t2, t3);
  60932. t1 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(0), t1);
  60933. t1.addAll$1(0, newUpstreamImports.get$values(0));
  60934. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  60935. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60936. t1.get$current(t1)._downstream.remove$1(0, _this);
  60937. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60938. t1.get$current(t1)._downstream.add$1(0, _this);
  60939. _this._upstream = newUpstream;
  60940. _this._upstreamImports = newUpstreamImports;
  60941. },
  60942. _stylesheet_graph$_remove$0() {
  60943. var t1, t2, t3, t4, _i, url, _this = this;
  60944. 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._modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  60945. t3 = t1._collection$_current;
  60946. if (t3 == null)
  60947. t3 = t2._as(t3);
  60948. if (t3 == null)
  60949. continue;
  60950. t3._downstream.remove$1(0, _this);
  60951. }
  60952. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  60953. t2 = t1.get$current(0);
  60954. 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) {
  60955. url = t4[_i];
  60956. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  60957. t2._upstream.$indexSet(0, url, null);
  60958. break;
  60959. }
  60960. }
  60961. 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) {
  60962. url = t4[_i];
  60963. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  60964. t2._upstreamImports.$indexSet(0, url, null);
  60965. break;
  60966. }
  60967. }
  60968. }
  60969. },
  60970. toString$0(_) {
  60971. var t1 = this._stylesheet.span;
  60972. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  60973. return t1 == null ? "<unknown>" : t1;
  60974. }
  60975. };
  60976. A.Syntax.prototype = {
  60977. _enumToString$0() {
  60978. return "Syntax." + this._name;
  60979. },
  60980. toString$0(_) {
  60981. return this._syntax$_name;
  60982. }
  60983. };
  60984. A.Box.prototype = {
  60985. $eq(_, other) {
  60986. if (other == null)
  60987. return false;
  60988. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  60989. },
  60990. get$hashCode(_) {
  60991. return A.Primitives_objectHashCode(this._box$_inner);
  60992. }
  60993. };
  60994. A.ModifiableBox.prototype = {};
  60995. A.LazyFileSpan.prototype = {
  60996. get$span(_) {
  60997. var t1 = this._lazy_file_span$_span;
  60998. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  60999. },
  61000. compareTo$1(_, other) {
  61001. return this.get$span(0).compareTo$1(0, other);
  61002. },
  61003. get$context(_) {
  61004. var t1 = this.get$span(0);
  61005. return t1.get$context(t1);
  61006. },
  61007. get$end(_) {
  61008. var t1 = this.get$span(0);
  61009. return t1.get$end(t1);
  61010. },
  61011. expand$1(_, other) {
  61012. return this.get$span(0).expand$1(0, other);
  61013. },
  61014. get$file(_) {
  61015. var t1 = this.get$span(0);
  61016. return t1.get$file(t1);
  61017. },
  61018. highlight$1$color(color) {
  61019. return this.get$span(0).highlight$1$color(color);
  61020. },
  61021. get$length(_) {
  61022. var t1 = this.get$span(0);
  61023. return t1.get$length(t1);
  61024. },
  61025. message$2$color(_, message, color) {
  61026. return this.get$span(0).message$2$color(0, message, color);
  61027. },
  61028. message$1(_, message) {
  61029. return this.message$2$color(0, message, null);
  61030. },
  61031. get$sourceUrl(_) {
  61032. var t1 = this.get$span(0);
  61033. return t1.get$sourceUrl(t1);
  61034. },
  61035. get$start(_) {
  61036. var t1 = this.get$span(0);
  61037. return t1.get$start(t1);
  61038. },
  61039. get$text() {
  61040. return this.get$span(0).get$text();
  61041. },
  61042. $isComparable: 1,
  61043. $isFileSpan: 1,
  61044. $isSourceSpan: 1,
  61045. $isSourceSpanWithContext: 1
  61046. };
  61047. A.LimitedMapView.prototype = {
  61048. get$keys(_) {
  61049. return this._limited_map_view$_keys;
  61050. },
  61051. get$length(_) {
  61052. return this._limited_map_view$_keys._collection$_length;
  61053. },
  61054. get$isEmpty(_) {
  61055. return this._limited_map_view$_keys._collection$_length === 0;
  61056. },
  61057. get$isNotEmpty(_) {
  61058. return this._limited_map_view$_keys._collection$_length !== 0;
  61059. },
  61060. $index(_, key) {
  61061. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  61062. },
  61063. containsKey$1(key) {
  61064. return this._limited_map_view$_keys.contains$1(0, key);
  61065. },
  61066. remove$1(_, key) {
  61067. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  61068. }
  61069. };
  61070. A.MapExtensions_get_pairs_closure.prototype = {
  61071. call$1(e) {
  61072. return new A._Record_2(e.key, e.value);
  61073. },
  61074. $signature() {
  61075. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  61076. }
  61077. };
  61078. A.MergedMapView.prototype = {
  61079. get$keys(_) {
  61080. var t1 = this._mapsByKey;
  61081. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  61082. },
  61083. get$length(_) {
  61084. return this._mapsByKey.__js_helper$_length;
  61085. },
  61086. get$isEmpty(_) {
  61087. return this._mapsByKey.__js_helper$_length === 0;
  61088. },
  61089. get$isNotEmpty(_) {
  61090. return this._mapsByKey.__js_helper$_length !== 0;
  61091. },
  61092. MergedMapView$1(maps, $K, $V) {
  61093. var t1, t2, t3, _i, map, t4, t5, t6;
  61094. 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) {
  61095. map = maps[_i];
  61096. if (t3._is(map))
  61097. for (t4 = map._mapsByKey.get$values(0), t5 = A._instanceType(t4), 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();) {
  61098. t6 = t4.__internal$_current;
  61099. if (t6 == null)
  61100. t6 = t5._as(t6);
  61101. A.setAll(t2, t6.get$keys(t6), t6);
  61102. }
  61103. else
  61104. A.setAll(t2, map.get$keys(map), map);
  61105. }
  61106. },
  61107. $index(_, key) {
  61108. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  61109. return t1 == null ? null : t1.$index(0, key);
  61110. },
  61111. $indexSet(_, key, value) {
  61112. var _0_0 = this._mapsByKey.$index(0, key);
  61113. if (_0_0 != null)
  61114. _0_0.$indexSet(0, key, value);
  61115. else
  61116. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  61117. },
  61118. remove$1(_, key) {
  61119. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  61120. },
  61121. containsKey$1(key) {
  61122. return this._mapsByKey.containsKey$1(key);
  61123. }
  61124. };
  61125. A.MultiDirWatcher.prototype = {
  61126. watch$1(_, directory) {
  61127. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, existingWatcher, future, completer;
  61128. 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) {
  61129. t5 = t2[_i];
  61130. _0_1 = t5._0;
  61131. _0_1.toString;
  61132. existingWatcher = t5._1;
  61133. if (!isParentOfExistingDir) {
  61134. t5 = $.$get$context();
  61135. t5 = t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  61136. } else
  61137. t5 = false;
  61138. if (t5) {
  61139. t1 = new A._Future($.Zone__current, type$._Future_void);
  61140. t1._asyncComplete$1(null);
  61141. return t1;
  61142. }
  61143. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  61144. t1.remove$1(0, _0_1);
  61145. t4.remove$1(0, existingWatcher);
  61146. isParentOfExistingDir = true;
  61147. }
  61148. }
  61149. future = A.watchDir(directory, this._poll);
  61150. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  61151. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  61152. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  61153. t1.$indexSet(0, directory, t2);
  61154. t4.add$1(0, t2);
  61155. return future;
  61156. }
  61157. };
  61158. A.MultiSpan.prototype = {
  61159. get$start(_) {
  61160. var t1 = this._multi_span$_primary;
  61161. return t1.get$start(t1);
  61162. },
  61163. get$end(_) {
  61164. var t1 = this._multi_span$_primary;
  61165. return t1.get$end(t1);
  61166. },
  61167. get$text() {
  61168. return this._multi_span$_primary.get$text();
  61169. },
  61170. get$context(_) {
  61171. var t1 = this._multi_span$_primary;
  61172. return t1.get$context(t1);
  61173. },
  61174. get$file(_) {
  61175. var t1 = this._multi_span$_primary;
  61176. return t1.get$file(t1);
  61177. },
  61178. get$length(_) {
  61179. var t1 = this._multi_span$_primary;
  61180. return t1.get$length(t1);
  61181. },
  61182. get$sourceUrl(_) {
  61183. var t1 = this._multi_span$_primary;
  61184. return t1.get$sourceUrl(t1);
  61185. },
  61186. compareTo$1(_, other) {
  61187. return this._multi_span$_primary.compareTo$1(0, other);
  61188. },
  61189. toString$0(_) {
  61190. return this._multi_span$_primary.toString$0(0);
  61191. },
  61192. expand$1(_, other) {
  61193. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  61194. },
  61195. highlight$1$color(color) {
  61196. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  61197. },
  61198. message$2$color(_, message, color) {
  61199. var t1 = J.$eq$(color, true) || typeof color == "string",
  61200. t2 = typeof color == "string" ? color : null;
  61201. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  61202. },
  61203. message$1(_, message) {
  61204. return this.message$2$color(0, message, null);
  61205. },
  61206. $isComparable: 1,
  61207. $isFileSpan: 1,
  61208. $isSourceSpan: 1,
  61209. $isSourceSpanWithContext: 1
  61210. };
  61211. A.NoSourceMapBuffer.prototype = {
  61212. get$length(_) {
  61213. return this._no_source_map_buffer$_buffer._contents.length;
  61214. },
  61215. forSpan$1$2(span, callback) {
  61216. return callback.call$0();
  61217. },
  61218. forSpan$2(span, callback) {
  61219. return this.forSpan$1$2(span, callback, type$.dynamic);
  61220. },
  61221. write$1(_, object) {
  61222. var t1 = this._no_source_map_buffer$_buffer,
  61223. t2 = A.S(object);
  61224. t1._contents += t2;
  61225. return null;
  61226. },
  61227. writeCharCode$1(charCode) {
  61228. var t1 = this._no_source_map_buffer$_buffer,
  61229. t2 = A.Primitives_stringFromCharCode(charCode);
  61230. t1._contents += t2;
  61231. return null;
  61232. },
  61233. toString$0(_) {
  61234. var t1 = this._no_source_map_buffer$_buffer._contents;
  61235. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61236. },
  61237. buildSourceMap$1$prefix(prefix) {
  61238. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  61239. }
  61240. };
  61241. A.PrefixedMapView.prototype = {
  61242. get$keys(_) {
  61243. return new A._PrefixedKeys(this);
  61244. },
  61245. get$length(_) {
  61246. var t1 = this._prefixed_map_view$_map;
  61247. return t1.get$length(t1);
  61248. },
  61249. get$isEmpty(_) {
  61250. var t1 = this._prefixed_map_view$_map;
  61251. return t1.get$isEmpty(t1);
  61252. },
  61253. get$isNotEmpty(_) {
  61254. var t1 = this._prefixed_map_view$_map;
  61255. return t1.get$isNotEmpty(t1);
  61256. },
  61257. $index(_, key) {
  61258. 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;
  61259. },
  61260. containsKey$1(key) {
  61261. 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));
  61262. }
  61263. };
  61264. A._PrefixedKeys.prototype = {
  61265. get$length(_) {
  61266. var t1 = this._view._prefixed_map_view$_map;
  61267. return t1.get$length(t1);
  61268. },
  61269. get$iterator(_) {
  61270. var t1 = this._view._prefixed_map_view$_map;
  61271. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  61272. return t1.get$iterator(t1);
  61273. },
  61274. contains$1(_, key) {
  61275. return this._view.containsKey$1(key);
  61276. }
  61277. };
  61278. A._PrefixedKeys_iterator_closure.prototype = {
  61279. call$1(key) {
  61280. return this.$this._view._prefix + key;
  61281. },
  61282. $signature: 5
  61283. };
  61284. A.PublicMemberMapView.prototype = {
  61285. get$keys(_) {
  61286. var t1 = this._public_member_map_view$_inner;
  61287. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  61288. },
  61289. containsKey$1(key) {
  61290. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  61291. },
  61292. $index(_, key) {
  61293. if (typeof key == "string" && A.isPublic(key))
  61294. return this._public_member_map_view$_inner.$index(0, key);
  61295. return null;
  61296. }
  61297. };
  61298. A.SourceMapBuffer.prototype = {
  61299. get$_targetLocation() {
  61300. var t1 = this._source_map_buffer$_buffer._contents,
  61301. t2 = this._line;
  61302. return A.SourceLocation$(t1.length, this._column, t2, null);
  61303. },
  61304. get$length(_) {
  61305. return this._source_map_buffer$_buffer._contents.length;
  61306. },
  61307. forSpan$1$2(span, callback) {
  61308. var t1, _this = this,
  61309. wasInSpan = _this._inSpan;
  61310. _this._inSpan = true;
  61311. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  61312. try {
  61313. t1 = callback.call$0();
  61314. return t1;
  61315. } finally {
  61316. _this._inSpan = wasInSpan;
  61317. }
  61318. },
  61319. forSpan$2(span, callback) {
  61320. return this.forSpan$1$2(span, callback, type$.dynamic);
  61321. },
  61322. _addEntry$2(source, target) {
  61323. var entry, t2,
  61324. t1 = this._entries;
  61325. if (t1.length !== 0) {
  61326. entry = B.JSArray_methods.get$last(t1);
  61327. t2 = entry.source;
  61328. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  61329. return;
  61330. if (entry.target.offset === target.offset)
  61331. return;
  61332. }
  61333. t1.push(new A.Entry(source, target, null));
  61334. },
  61335. write$1(_, object) {
  61336. var t1, i,
  61337. string = J.toString$0$(object);
  61338. this._source_map_buffer$_buffer._contents += string;
  61339. for (t1 = string.length, i = 0; i < t1; ++i)
  61340. if (string.charCodeAt(i) === 10)
  61341. this._source_map_buffer$_writeLine$0();
  61342. else
  61343. ++this._column;
  61344. },
  61345. writeCharCode$1(charCode) {
  61346. var t1 = this._source_map_buffer$_buffer,
  61347. t2 = A.Primitives_stringFromCharCode(charCode);
  61348. t1._contents += t2;
  61349. if (charCode === 10)
  61350. this._source_map_buffer$_writeLine$0();
  61351. else
  61352. ++this._column;
  61353. },
  61354. _source_map_buffer$_writeLine$0() {
  61355. var _this = this,
  61356. t1 = _this._entries;
  61357. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  61358. t1.pop();
  61359. ++_this._line;
  61360. _this._column = 0;
  61361. if (_this._inSpan)
  61362. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  61363. },
  61364. toString$0(_) {
  61365. var t1 = this._source_map_buffer$_buffer._contents;
  61366. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61367. },
  61368. buildSourceMap$1$prefix(prefix) {
  61369. var i, t2, prefixColumn, _box_0 = {},
  61370. t1 = prefix.length;
  61371. if (t1 === 0)
  61372. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  61373. _box_0.prefixColumn = _box_0.prefixLines = 0;
  61374. for (i = 0, t2 = 0; i < t1; ++i)
  61375. if (prefix.charCodeAt(i) === 10) {
  61376. ++_box_0.prefixLines;
  61377. _box_0.prefixColumn = 0;
  61378. t2 = 0;
  61379. } else {
  61380. prefixColumn = t2 + 1;
  61381. _box_0.prefixColumn = prefixColumn;
  61382. t2 = prefixColumn;
  61383. }
  61384. t2 = this._entries;
  61385. 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>")));
  61386. }
  61387. };
  61388. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  61389. call$1(entry) {
  61390. var t1 = entry.target,
  61391. t2 = t1.line,
  61392. t3 = this._box_0,
  61393. t4 = t3.prefixLines;
  61394. t3 = t2 === 0 ? t3.prefixColumn : 0;
  61395. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  61396. },
  61397. $signature: 159
  61398. };
  61399. A.UnprefixedMapView.prototype = {
  61400. get$keys(_) {
  61401. return new A._UnprefixedKeys(this);
  61402. },
  61403. $index(_, key) {
  61404. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  61405. },
  61406. containsKey$1(key) {
  61407. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  61408. },
  61409. remove$1(_, key) {
  61410. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  61411. }
  61412. };
  61413. A._UnprefixedKeys.prototype = {
  61414. get$iterator(_) {
  61415. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  61416. 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);
  61417. return t1.get$iterator(t1);
  61418. },
  61419. contains$1(_, key) {
  61420. return this._unprefixed_map_view$_view.containsKey$1(key);
  61421. }
  61422. };
  61423. A._UnprefixedKeys_iterator_closure.prototype = {
  61424. call$1(key) {
  61425. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  61426. },
  61427. $signature: 4
  61428. };
  61429. A._UnprefixedKeys_iterator_closure0.prototype = {
  61430. call$1(key) {
  61431. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  61432. },
  61433. $signature: 5
  61434. };
  61435. A.indent_closure.prototype = {
  61436. call$1(line) {
  61437. return B.JSString_methods.$mul(" ", this.indentation) + line;
  61438. },
  61439. $signature: 5
  61440. };
  61441. A.flattenVertically_closure.prototype = {
  61442. call$1(inner) {
  61443. return A.QueueList_QueueList$from(inner, this.T);
  61444. },
  61445. $signature() {
  61446. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  61447. }
  61448. };
  61449. A.flattenVertically_closure0.prototype = {
  61450. call$1(queue) {
  61451. this.result.push(queue.removeFirst$0());
  61452. return queue.get$length(0) === 0;
  61453. },
  61454. $signature() {
  61455. return this.T._eval$1("bool(QueueList<0>)");
  61456. }
  61457. };
  61458. A.longestCommonSubsequence_backtrack.prototype = {
  61459. call$2(i, j) {
  61460. var selection, t1, _this = this;
  61461. if (i === -1 || j === -1)
  61462. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  61463. selection = _this.selections[i][j];
  61464. if (selection != null) {
  61465. t1 = _this.call$2(i - 1, j - 1);
  61466. J.add$1$ax(t1, selection);
  61467. return t1;
  61468. }
  61469. t1 = _this.lengths;
  61470. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  61471. },
  61472. $signature() {
  61473. return this.T._eval$1("List<0>(int,int)");
  61474. }
  61475. };
  61476. A.mapAddAll2_closure.prototype = {
  61477. call$2(key, inner) {
  61478. var t1 = this.destination,
  61479. _0_0 = t1.$index(0, key);
  61480. if (_0_0 != null)
  61481. _0_0.addAll$1(0, inner);
  61482. else
  61483. t1.$indexSet(0, key, inner);
  61484. },
  61485. $signature() {
  61486. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  61487. }
  61488. };
  61489. A.Value.prototype = {
  61490. get$isTruthy() {
  61491. return true;
  61492. },
  61493. get$separator(_) {
  61494. return B.ListSeparator_undecided_null_undecided;
  61495. },
  61496. get$hasBrackets() {
  61497. return false;
  61498. },
  61499. get$asList() {
  61500. return A._setArrayType([this], type$.JSArray_Value);
  61501. },
  61502. get$lengthAsList() {
  61503. return 1;
  61504. },
  61505. get$isBlank() {
  61506. return false;
  61507. },
  61508. get$isSpecialNumber() {
  61509. return false;
  61510. },
  61511. get$isVar() {
  61512. return false;
  61513. },
  61514. get$realNull() {
  61515. return this;
  61516. },
  61517. sassIndexToListIndex$2(sassIndex, $name) {
  61518. var t1, index,
  61519. indexValue = sassIndex.assertNumber$1($name);
  61520. if (indexValue.get$hasUnits()) {
  61521. t1 = indexValue.get$unitString();
  61522. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_2jN);
  61523. }
  61524. index = indexValue.assertInt$1($name);
  61525. if (index === 0)
  61526. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  61527. if (Math.abs(index) > this.get$lengthAsList())
  61528. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  61529. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  61530. },
  61531. assertCalculation$1($name) {
  61532. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  61533. },
  61534. assertColor$1($name) {
  61535. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  61536. },
  61537. assertFunction$1($name) {
  61538. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  61539. },
  61540. assertMixin$1($name) {
  61541. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  61542. },
  61543. assertMap$1($name) {
  61544. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  61545. },
  61546. tryMap$0() {
  61547. return null;
  61548. },
  61549. assertNumber$1($name) {
  61550. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  61551. },
  61552. assertNumber$0() {
  61553. return this.assertNumber$1(null);
  61554. },
  61555. assertString$1($name) {
  61556. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  61557. },
  61558. _selectorString$1($name) {
  61559. var _0_0 = this._selectorStringOrNull$0();
  61560. if (_0_0 != null)
  61561. return _0_0;
  61562. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  61563. },
  61564. _selectorStringOrNull$0() {
  61565. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  61566. if (_this instanceof A.SassString)
  61567. return _this._string$_text;
  61568. if (!(_this instanceof A.SassList))
  61569. return _null;
  61570. t1 = _this._list$_contents;
  61571. t2 = t1.length;
  61572. if (t2 === 0)
  61573. return _null;
  61574. result = A._setArrayType([], type$.JSArray_String);
  61575. $label0$1: {
  61576. _1_0 = _this._separator;
  61577. if (B.ListSeparator_ECn === _1_0) {
  61578. for (_i = 0; _i < t2; ++_i) {
  61579. complex = t1[_i];
  61580. if (complex instanceof A.SassString) {
  61581. result.push(complex._string$_text);
  61582. continue;
  61583. }
  61584. if (complex instanceof A.SassList && B.ListSeparator_nbm === complex._separator) {
  61585. string = complex._selectorStringOrNull$0();
  61586. if (string == null)
  61587. return _null;
  61588. result.push(string);
  61589. continue;
  61590. }
  61591. return _null;
  61592. }
  61593. break $label0$1;
  61594. }
  61595. if (B.ListSeparator_cQA === _1_0)
  61596. return _null;
  61597. for (_i = 0; _i < t2; ++_i) {
  61598. compound = t1[_i];
  61599. if (!(compound instanceof A.SassString))
  61600. return _null;
  61601. result.push(compound._string$_text);
  61602. }
  61603. break $label0$1;
  61604. }
  61605. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_ECn ? ", " : " ");
  61606. },
  61607. withListContents$2$separator(contents, separator) {
  61608. var t1 = separator == null ? this.get$separator(this) : separator,
  61609. t2 = this.get$hasBrackets();
  61610. return A.SassList$(contents, t1, t2);
  61611. },
  61612. withListContents$1(contents) {
  61613. return this.withListContents$2$separator(contents, null);
  61614. },
  61615. greaterThan$1(other) {
  61616. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  61617. },
  61618. greaterThanOrEquals$1(other) {
  61619. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  61620. },
  61621. lessThan$1(other) {
  61622. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  61623. },
  61624. lessThanOrEquals$1(other) {
  61625. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  61626. },
  61627. times$1(other) {
  61628. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  61629. },
  61630. modulo$1(other) {
  61631. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  61632. },
  61633. plus$1(other) {
  61634. var t1;
  61635. $label0$0: {
  61636. if (other instanceof A.SassString) {
  61637. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  61638. break $label0$0;
  61639. }
  61640. if (other instanceof A.SassCalculation)
  61641. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61642. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  61643. break $label0$0;
  61644. }
  61645. return t1;
  61646. },
  61647. minus$1(other) {
  61648. 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);
  61649. },
  61650. dividedBy$1(other) {
  61651. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  61652. },
  61653. unaryPlus$0() {
  61654. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  61655. },
  61656. unaryMinus$0() {
  61657. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  61658. },
  61659. unaryNot$0() {
  61660. return B.SassBoolean_false;
  61661. },
  61662. withoutSlash$0() {
  61663. return this;
  61664. },
  61665. toString$0(_) {
  61666. return A.serializeValue(this, true, true);
  61667. }
  61668. };
  61669. A.SassArgumentList.prototype = {};
  61670. A.SassBoolean.prototype = {
  61671. get$isTruthy() {
  61672. return this.value;
  61673. },
  61674. accept$1$1(visitor) {
  61675. return visitor._serialize$_buffer.write$1(0, String(this.value));
  61676. },
  61677. accept$1(visitor) {
  61678. return this.accept$1$1(visitor, type$.dynamic);
  61679. },
  61680. unaryNot$0() {
  61681. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  61682. }
  61683. };
  61684. A.SassCalculation.prototype = {
  61685. get$isSpecialNumber() {
  61686. return true;
  61687. },
  61688. accept$1$1(visitor) {
  61689. return visitor.visitCalculation$1(this);
  61690. },
  61691. accept$1(visitor) {
  61692. return this.accept$1$1(visitor, type$.dynamic);
  61693. },
  61694. assertCalculation$1($name) {
  61695. return this;
  61696. },
  61697. plus$1(other) {
  61698. if (other instanceof A.SassString)
  61699. return this.super$Value$plus(other);
  61700. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61701. },
  61702. minus$1(other) {
  61703. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61704. },
  61705. unaryPlus$0() {
  61706. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  61707. },
  61708. unaryMinus$0() {
  61709. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  61710. },
  61711. $eq(_, other) {
  61712. if (other == null)
  61713. return false;
  61714. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  61715. },
  61716. get$hashCode(_) {
  61717. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  61718. }
  61719. };
  61720. A.SassCalculation__verifyLength_closure.prototype = {
  61721. call$1(arg) {
  61722. return arg instanceof A.SassString;
  61723. },
  61724. $signature: 65
  61725. };
  61726. A.CalculationOperation.prototype = {
  61727. $eq(_, other) {
  61728. if (other == null)
  61729. return false;
  61730. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  61731. },
  61732. get$hashCode(_) {
  61733. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  61734. },
  61735. toString$0(_) {
  61736. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  61737. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  61738. }
  61739. };
  61740. A.CalculationOperator.prototype = {
  61741. _enumToString$0() {
  61742. return "CalculationOperator." + this._name;
  61743. },
  61744. toString$0(_) {
  61745. return this.name;
  61746. }
  61747. };
  61748. A.SassColor.prototype = {
  61749. get$red(_) {
  61750. var t1;
  61751. if (this._red == null)
  61752. this._hslToRgb$0();
  61753. t1 = this._red;
  61754. t1.toString;
  61755. return t1;
  61756. },
  61757. get$green(_) {
  61758. var t1;
  61759. if (this._green == null)
  61760. this._hslToRgb$0();
  61761. t1 = this._green;
  61762. t1.toString;
  61763. return t1;
  61764. },
  61765. get$blue(_) {
  61766. var t1;
  61767. if (this._blue == null)
  61768. this._hslToRgb$0();
  61769. t1 = this._blue;
  61770. t1.toString;
  61771. return t1;
  61772. },
  61773. get$hue(_) {
  61774. var t1;
  61775. if (this._hue == null)
  61776. this._rgbToHsl$0();
  61777. t1 = this._hue;
  61778. t1.toString;
  61779. return t1;
  61780. },
  61781. get$saturation(_) {
  61782. var t1;
  61783. if (this._saturation == null)
  61784. this._rgbToHsl$0();
  61785. t1 = this._saturation;
  61786. t1.toString;
  61787. return t1;
  61788. },
  61789. get$lightness(_) {
  61790. var t1;
  61791. if (this._lightness == null)
  61792. this._rgbToHsl$0();
  61793. t1 = this._lightness;
  61794. t1.toString;
  61795. return t1;
  61796. },
  61797. get$whiteness(_) {
  61798. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61799. },
  61800. get$blackness(_) {
  61801. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61802. },
  61803. accept$1$1(visitor) {
  61804. return visitor.visitColor$1(this);
  61805. },
  61806. accept$1(visitor) {
  61807. return this.accept$1$1(visitor, type$.dynamic);
  61808. },
  61809. assertColor$1($name) {
  61810. return this;
  61811. },
  61812. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  61813. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  61814. },
  61815. changeRgb$3$blue$green$red(blue, green, red) {
  61816. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  61817. },
  61818. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  61819. var _this = this, _null = null,
  61820. t1 = hue == null ? _this.get$hue(0) : hue,
  61821. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  61822. t3 = lightness == null ? _this.get$lightness(0) : lightness,
  61823. t4 = A.SassColor__handleNullAlpha(alpha == null ? _this._alpha : alpha);
  61824. 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);
  61825. },
  61826. changeHsl$1$saturation(saturation) {
  61827. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  61828. },
  61829. changeHsl$1$lightness(lightness) {
  61830. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  61831. },
  61832. changeHsl$1$hue(hue) {
  61833. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  61834. },
  61835. changeAlpha$1(alpha) {
  61836. var _this = this;
  61837. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  61838. },
  61839. plus$1(other) {
  61840. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61841. return this.super$Value$plus(other);
  61842. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61843. },
  61844. minus$1(other) {
  61845. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61846. return this.super$Value$minus(other);
  61847. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61848. },
  61849. dividedBy$1(other) {
  61850. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61851. return this.super$Value$dividedBy(other);
  61852. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  61853. },
  61854. $eq(_, other) {
  61855. var _this = this;
  61856. if (other == null)
  61857. return false;
  61858. 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;
  61859. },
  61860. get$hashCode(_) {
  61861. var _this = this;
  61862. 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);
  61863. },
  61864. _rgbToHsl$0() {
  61865. var t2, lightness, _this = this,
  61866. scaledRed = _this.get$red(0) / 255,
  61867. scaledGreen = _this.get$green(0) / 255,
  61868. scaledBlue = _this.get$blue(0) / 255,
  61869. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  61870. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  61871. delta = max - min,
  61872. t1 = max === min;
  61873. if (t1)
  61874. _this._hue = 0;
  61875. else if (max === scaledRed)
  61876. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  61877. else if (max === scaledGreen)
  61878. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  61879. else if (max === scaledBlue)
  61880. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  61881. t2 = max + min;
  61882. lightness = 50 * t2;
  61883. _this._lightness = lightness;
  61884. if (t1)
  61885. _this._saturation = 0;
  61886. else {
  61887. t1 = 100 * delta;
  61888. if (lightness < 50)
  61889. _this._saturation = t1 / t2;
  61890. else
  61891. _this._saturation = t1 / (2 - max - min);
  61892. }
  61893. },
  61894. _hslToRgb$0() {
  61895. var _this = this,
  61896. scaledHue = _this.get$hue(0) / 360,
  61897. scaledSaturation = _this.get$saturation(0) / 100,
  61898. scaledLightness = _this.get$lightness(0) / 100,
  61899. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  61900. m1 = scaledLightness * 2 - m2;
  61901. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  61902. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  61903. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  61904. }
  61905. };
  61906. A.SassColor_SassColor$hwb_toRgb.prototype = {
  61907. call$1(hue) {
  61908. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  61909. },
  61910. $signature: 160
  61911. };
  61912. A._ColorFormatEnum.prototype = {
  61913. toString$0(_) {
  61914. return this._color$_name;
  61915. }
  61916. };
  61917. A.SpanColorFormat.prototype = {};
  61918. A.SassFunction.prototype = {
  61919. accept$1$1(visitor) {
  61920. var t1, t2;
  61921. if (!visitor._inspect)
  61922. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  61923. t1 = visitor._serialize$_buffer;
  61924. t1.write$1(0, "get-function(");
  61925. t2 = this.callable;
  61926. visitor._visitQuotedString$1(t2.get$name(t2));
  61927. t1.writeCharCode$1(41);
  61928. return null;
  61929. },
  61930. accept$1(visitor) {
  61931. return this.accept$1$1(visitor, type$.dynamic);
  61932. },
  61933. assertFunction$1($name) {
  61934. return this;
  61935. },
  61936. $eq(_, other) {
  61937. if (other == null)
  61938. return false;
  61939. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  61940. },
  61941. get$hashCode(_) {
  61942. var t1 = this.callable;
  61943. return t1.get$hashCode(t1);
  61944. }
  61945. };
  61946. A.SassList.prototype = {
  61947. get$separator(_) {
  61948. return this._separator;
  61949. },
  61950. get$hasBrackets() {
  61951. return this._hasBrackets;
  61952. },
  61953. get$isBlank() {
  61954. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  61955. },
  61956. get$asList() {
  61957. return this._list$_contents;
  61958. },
  61959. get$lengthAsList() {
  61960. return this._list$_contents.length;
  61961. },
  61962. SassList$3$brackets(contents, _separator, brackets) {
  61963. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  61964. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  61965. },
  61966. accept$1$1(visitor) {
  61967. return visitor.visitList$1(this);
  61968. },
  61969. accept$1(visitor) {
  61970. return this.accept$1$1(visitor, type$.dynamic);
  61971. },
  61972. assertMap$1($name) {
  61973. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  61974. },
  61975. tryMap$0() {
  61976. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  61977. },
  61978. $eq(_, other) {
  61979. var t1, _this = this;
  61980. if (other == null)
  61981. return false;
  61982. 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)))
  61983. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  61984. else
  61985. t1 = true;
  61986. return t1;
  61987. },
  61988. get$hashCode(_) {
  61989. return B.C_ListEquality0.hash$1(this._list$_contents);
  61990. }
  61991. };
  61992. A.SassList_isBlank_closure.prototype = {
  61993. call$1(element) {
  61994. return element.get$isBlank();
  61995. },
  61996. $signature: 72
  61997. };
  61998. A.ListSeparator.prototype = {
  61999. _enumToString$0() {
  62000. return "ListSeparator." + this._name;
  62001. },
  62002. toString$0(_) {
  62003. return this._list$_name;
  62004. }
  62005. };
  62006. A.SassMap.prototype = {
  62007. get$separator(_) {
  62008. var t1 = this._map$_contents;
  62009. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_ECn;
  62010. },
  62011. get$asList() {
  62012. var t3, t4, t5, result,
  62013. t1 = type$.JSArray_Value,
  62014. t2 = A._setArrayType([], t1);
  62015. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  62016. t5 = t4.get$current(t4);
  62017. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  62018. result.fixed$length = Array;
  62019. result.immutable$list = Array;
  62020. t2.push(new A.SassList(result, B.ListSeparator_nbm, false));
  62021. }
  62022. return t2;
  62023. },
  62024. get$lengthAsList() {
  62025. var t1 = this._map$_contents;
  62026. return t1.get$length(t1);
  62027. },
  62028. accept$1$1(visitor) {
  62029. return visitor.visitMap$1(this);
  62030. },
  62031. accept$1(visitor) {
  62032. return this.accept$1$1(visitor, type$.dynamic);
  62033. },
  62034. assertMap$1($name) {
  62035. return this;
  62036. },
  62037. tryMap$0() {
  62038. return this;
  62039. },
  62040. $eq(_, other) {
  62041. var t1;
  62042. if (other == null)
  62043. return false;
  62044. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  62045. t1 = this._map$_contents;
  62046. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  62047. } else
  62048. t1 = true;
  62049. return t1;
  62050. },
  62051. get$hashCode(_) {
  62052. var t1 = this._map$_contents;
  62053. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  62054. }
  62055. };
  62056. A.SassMixin.prototype = {
  62057. accept$1$1(visitor) {
  62058. var t1, t2;
  62059. if (!visitor._inspect)
  62060. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  62061. t1 = visitor._serialize$_buffer;
  62062. t1.write$1(0, "get-mixin(");
  62063. t2 = this.callable;
  62064. visitor._visitQuotedString$1(t2.get$name(t2));
  62065. t1.writeCharCode$1(41);
  62066. return null;
  62067. },
  62068. accept$1(visitor) {
  62069. return this.accept$1$1(visitor, type$.dynamic);
  62070. },
  62071. assertMixin$1($name) {
  62072. return this;
  62073. },
  62074. $eq(_, other) {
  62075. if (other == null)
  62076. return false;
  62077. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  62078. },
  62079. get$hashCode(_) {
  62080. var t1 = this.callable;
  62081. return t1.get$hashCode(t1);
  62082. }
  62083. };
  62084. A._SassNull.prototype = {
  62085. get$isTruthy() {
  62086. return false;
  62087. },
  62088. get$isBlank() {
  62089. return true;
  62090. },
  62091. get$realNull() {
  62092. return null;
  62093. },
  62094. accept$1$1(visitor) {
  62095. if (visitor._inspect)
  62096. visitor._serialize$_buffer.write$1(0, "null");
  62097. return null;
  62098. },
  62099. accept$1(visitor) {
  62100. return this.accept$1$1(visitor, type$.dynamic);
  62101. },
  62102. unaryNot$0() {
  62103. return B.SassBoolean_true;
  62104. }
  62105. };
  62106. A.SassNumber.prototype = {
  62107. get$unitString() {
  62108. var _this = this;
  62109. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  62110. },
  62111. accept$1$1(visitor) {
  62112. return visitor.visitNumber$1(this);
  62113. },
  62114. accept$1(visitor) {
  62115. return this.accept$1$1(visitor, type$.dynamic);
  62116. },
  62117. withoutSlash$0() {
  62118. var _this = this;
  62119. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  62120. },
  62121. assertNumber$1($name) {
  62122. return this;
  62123. },
  62124. assertNumber$0() {
  62125. return this.assertNumber$1(null);
  62126. },
  62127. assertInt$1($name) {
  62128. var _0_0 = A.fuzzyAsInt(this._number$_value);
  62129. if (_0_0 != null)
  62130. return _0_0;
  62131. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  62132. },
  62133. assertInt$0() {
  62134. return this.assertInt$1(null);
  62135. },
  62136. valueInRange$3(min, max, $name) {
  62137. var _this = this,
  62138. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  62139. if (_0_0 != null)
  62140. return _0_0;
  62141. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  62142. },
  62143. valueInRangeWithUnit$4(min, max, $name, unit) {
  62144. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  62145. if (_0_0 != null)
  62146. return _0_0;
  62147. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  62148. },
  62149. hasCompatibleUnits$1(other) {
  62150. var _this = this;
  62151. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  62152. return false;
  62153. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  62154. return false;
  62155. return _this.isComparableTo$1(other);
  62156. },
  62157. assertUnit$2(unit, $name) {
  62158. if (this.hasUnit$1(unit))
  62159. return;
  62160. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  62161. },
  62162. assertNoUnits$1($name) {
  62163. if (!this.get$hasUnits())
  62164. return;
  62165. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  62166. },
  62167. assertNoUnits$0() {
  62168. return this.assertNoUnits$1(null);
  62169. },
  62170. convertValueToMatch$3(other, $name, otherName) {
  62171. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  62172. },
  62173. convertValueToMatch$1(other) {
  62174. return this.convertValueToMatch$3(other, null, null);
  62175. },
  62176. coerce$3(newNumerators, newDenominators, $name) {
  62177. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  62178. },
  62179. coerce$2(newNumerators, newDenominators) {
  62180. return this.coerce$3(newNumerators, newDenominators, null);
  62181. },
  62182. coerceValue$3(newNumerators, newDenominators, $name) {
  62183. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  62184. },
  62185. coerceValueToUnit$2(unit, $name) {
  62186. var t1 = type$.JSArray_String;
  62187. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  62188. },
  62189. coerceValueToUnit$1(unit) {
  62190. return this.coerceValueToUnit$2(unit, null);
  62191. },
  62192. coerceToMatch$3(other, $name, otherName) {
  62193. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  62194. t2 = other.get$numeratorUnits(other);
  62195. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  62196. },
  62197. coerceValueToMatch$3(other, $name, otherName) {
  62198. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  62199. },
  62200. coerceValueToMatch$1(other) {
  62201. return this.coerceValueToMatch$3(other, null, null);
  62202. },
  62203. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  62204. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  62205. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  62206. return _this._number$_value;
  62207. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  62208. if (coerceUnitless)
  62209. t1 = !_this.get$hasUnits() || !otherHasUnits;
  62210. else
  62211. t1 = false;
  62212. if (t1)
  62213. return _this._number$_value;
  62214. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  62215. _box_0.value = _this._number$_value;
  62216. t1 = _this.get$numeratorUnits(_this);
  62217. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62218. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  62219. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  62220. t1 = _this.get$denominatorUnits(_this);
  62221. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62222. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  62223. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  62224. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  62225. throw A.wrapException(compatibilityException.call$0());
  62226. return _box_0.value;
  62227. },
  62228. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  62229. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  62230. },
  62231. isComparableTo$1(other) {
  62232. var exception;
  62233. if (!this.get$hasUnits() || !other.get$hasUnits())
  62234. return true;
  62235. try {
  62236. this.greaterThan$1(other);
  62237. return true;
  62238. } catch (exception) {
  62239. if (A.unwrapException(exception) instanceof A.SassScriptException)
  62240. return false;
  62241. else
  62242. throw exception;
  62243. }
  62244. },
  62245. greaterThan$1(other) {
  62246. if (other instanceof A.SassNumber)
  62247. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62248. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  62249. },
  62250. greaterThanOrEquals$1(other) {
  62251. if (other instanceof A.SassNumber)
  62252. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62253. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  62254. },
  62255. lessThan$1(other) {
  62256. if (other instanceof A.SassNumber)
  62257. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62258. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  62259. },
  62260. lessThanOrEquals$1(other) {
  62261. if (other instanceof A.SassNumber)
  62262. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62263. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  62264. },
  62265. modulo$1(other) {
  62266. if (other instanceof A.SassNumber)
  62267. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  62268. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  62269. },
  62270. plus$1(other) {
  62271. var _this = this;
  62272. if (other instanceof A.SassNumber)
  62273. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  62274. if (!(other instanceof A.SassColor))
  62275. return _this.super$Value$plus(other);
  62276. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  62277. },
  62278. minus$1(other) {
  62279. var _this = this;
  62280. if (other instanceof A.SassNumber)
  62281. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  62282. if (!(other instanceof A.SassColor))
  62283. return _this.super$Value$minus(other);
  62284. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  62285. },
  62286. times$1(other) {
  62287. var _this = this;
  62288. if (other instanceof A.SassNumber) {
  62289. if (!other.get$hasUnits())
  62290. return _this.withValue$1(_this._number$_value * other._number$_value);
  62291. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  62292. }
  62293. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  62294. },
  62295. dividedBy$1(other) {
  62296. var _this = this;
  62297. if (other instanceof A.SassNumber) {
  62298. if (!other.get$hasUnits())
  62299. return _this.withValue$1(_this._number$_value / other._number$_value);
  62300. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  62301. }
  62302. return _this.super$Value$dividedBy(other);
  62303. },
  62304. unaryPlus$0() {
  62305. return this;
  62306. },
  62307. _coerceUnits$1$2(other, operation) {
  62308. var t1, exception;
  62309. try {
  62310. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  62311. return t1;
  62312. } catch (exception) {
  62313. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  62314. this.coerceValueToMatch$1(other);
  62315. throw exception;
  62316. } else
  62317. throw exception;
  62318. }
  62319. },
  62320. _coerceUnits$2(other, operation) {
  62321. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  62322. },
  62323. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62324. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, denominators_case_0, _0_11_isSet, _0_11, _0_13, _0_13_isSet, _0_10, numerators_case_0, t4, t3, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  62325. _box_0.value = value;
  62326. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  62327. _0_1 = t1[0];
  62328. _0_6 = _null;
  62329. _0_3 = _null;
  62330. _0_9 = _null;
  62331. _0_9_isSet = false;
  62332. _0_7 = _null;
  62333. _0_7_isSet = false;
  62334. t2 = false;
  62335. _0_2 = t1[1];
  62336. _0_3 = t1[2];
  62337. _0_6 = _0_3.length <= 0;
  62338. _0_7_isSet = _0_6;
  62339. if (_0_7_isSet) {
  62340. _0_7 = t1[3];
  62341. _0_9 = _0_7.length <= 0;
  62342. t2 = _0_9;
  62343. }
  62344. _0_9_isSet = _0_7_isSet;
  62345. denominators_case_0 = _0_2;
  62346. _0_11_isSet = !t2;
  62347. _0_11 = _null;
  62348. _0_13 = _null;
  62349. if (_0_11_isSet) {
  62350. _0_11 = _0_1.length <= 0;
  62351. _0_13_isSet = _0_11;
  62352. _0_10 = _0_1;
  62353. if (_0_13_isSet) {
  62354. _0_13 = _0_2.length <= 0;
  62355. t2 = _0_13;
  62356. if (t2) {
  62357. if (_0_7_isSet)
  62358. denominators_case_0 = _0_7;
  62359. else {
  62360. _0_7 = t1[3];
  62361. denominators_case_0 = _0_7;
  62362. _0_7_isSet = true;
  62363. }
  62364. numerators_case_0 = _0_3;
  62365. } else
  62366. numerators_case_0 = _0_1;
  62367. } else {
  62368. numerators_case_0 = _0_1;
  62369. t2 = false;
  62370. }
  62371. _0_1 = _0_10;
  62372. } else {
  62373. numerators_case_0 = _0_1;
  62374. _0_13_isSet = false;
  62375. t2 = true;
  62376. }
  62377. if (t2) {
  62378. t4 = denominators_case_0;
  62379. t3 = numerators_case_0;
  62380. } else {
  62381. t4 = _null;
  62382. t3 = t4;
  62383. }
  62384. if (!t2) {
  62385. t2 = _null;
  62386. t5 = _null;
  62387. if (_0_11_isSet)
  62388. t6 = _0_11;
  62389. else {
  62390. _0_11 = _0_1.length <= 0;
  62391. t6 = _0_11;
  62392. }
  62393. t7 = false;
  62394. if (t6) {
  62395. if (_0_9_isSet)
  62396. t2 = _0_9;
  62397. else {
  62398. if (_0_7_isSet)
  62399. t2 = _0_7;
  62400. else {
  62401. _0_7 = t1[3];
  62402. t2 = _0_7;
  62403. _0_7_isSet = true;
  62404. }
  62405. _0_9 = t2.length <= 0;
  62406. t2 = _0_9;
  62407. }
  62408. numerators_case_1 = _0_3;
  62409. denominators_case_1 = _0_2;
  62410. } else {
  62411. numerators_case_1 = t2;
  62412. t2 = t7;
  62413. denominators_case_1 = t5;
  62414. }
  62415. if (!t2) {
  62416. t2 = false;
  62417. if (_0_13_isSet)
  62418. t5 = _0_13;
  62419. else {
  62420. _0_13 = _0_2.length <= 0;
  62421. t5 = _0_13;
  62422. }
  62423. if (t5) {
  62424. if (_0_6)
  62425. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  62426. t1 = _0_6;
  62427. } else
  62428. t1 = t2;
  62429. numerators_case_1 = _0_1;
  62430. } else
  62431. t1 = true;
  62432. if (t1) {
  62433. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  62434. if (t1) {
  62435. t3 = denominators_case_1;
  62436. t2 = numerators_case_1;
  62437. } else {
  62438. t2 = t3;
  62439. t3 = t4;
  62440. }
  62441. t0 = t3;
  62442. t3 = t1;
  62443. t1 = t2;
  62444. t2 = t0;
  62445. } else {
  62446. t2 = t4;
  62447. t1 = t3;
  62448. t3 = false;
  62449. }
  62450. } else {
  62451. t2 = t4;
  62452. t1 = t3;
  62453. t3 = true;
  62454. }
  62455. if (t3)
  62456. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  62457. newNumerators = A._setArrayType([], type$.JSArray_String);
  62458. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62459. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62460. numerator = t1[_i];
  62461. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  62462. }
  62463. t1 = _this.get$denominatorUnits(_this);
  62464. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62465. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  62466. numerator = otherNumerators[_i];
  62467. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  62468. }
  62469. t1 = _box_0.value;
  62470. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  62471. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  62472. },
  62473. _areAnyConvertible$2(units1, units2) {
  62474. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  62475. },
  62476. _unitString$2(numerators, denominators) {
  62477. var _0_4, _0_7, _0_6, _0_5, t1, _null = null;
  62478. $label0$0: {
  62479. _0_4 = numerators.length <= 0;
  62480. _0_7 = _null;
  62481. _0_6 = _null;
  62482. _0_5 = _null;
  62483. if (_0_4) {
  62484. _0_6 = denominators.length;
  62485. t1 = _0_6;
  62486. _0_7 = t1 <= 0;
  62487. t1 = _0_7;
  62488. _0_5 = denominators;
  62489. } else
  62490. t1 = false;
  62491. if (t1) {
  62492. t1 = "no units";
  62493. break $label0$0;
  62494. }
  62495. if (_0_4)
  62496. t1 = _0_6 === 1;
  62497. else
  62498. t1 = false;
  62499. if (t1) {
  62500. t1 = (_0_4 ? _0_5 : denominators)[0] + "^-1";
  62501. break $label0$0;
  62502. }
  62503. if (_0_4) {
  62504. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  62505. break $label0$0;
  62506. }
  62507. _0_6 = denominators.length;
  62508. t1 = _0_6;
  62509. _0_7 = t1 <= 0;
  62510. t1 = _0_7;
  62511. if (t1) {
  62512. t1 = B.JSArray_methods.join$1(numerators, "*");
  62513. break $label0$0;
  62514. }
  62515. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  62516. break $label0$0;
  62517. }
  62518. return t1;
  62519. },
  62520. $eq(_, other) {
  62521. var _this = this;
  62522. if (other == null)
  62523. return false;
  62524. if (!(other instanceof A.SassNumber))
  62525. return false;
  62526. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  62527. return false;
  62528. if (!_this.get$hasUnits())
  62529. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  62530. 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))))
  62531. return false;
  62532. 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)));
  62533. },
  62534. get$hashCode(_) {
  62535. var _this = this,
  62536. t1 = _this.hashCache;
  62537. 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;
  62538. },
  62539. _canonicalizeUnitList$1(units) {
  62540. var type,
  62541. t1 = units.length;
  62542. if (t1 === 0)
  62543. return units;
  62544. if (t1 === 1) {
  62545. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  62546. if (type == null)
  62547. t1 = units;
  62548. else {
  62549. t1 = B.Map_397RH.$index(0, type);
  62550. t1.toString;
  62551. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  62552. }
  62553. return t1;
  62554. }
  62555. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  62556. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  62557. B.JSArray_methods.sort$0(t1);
  62558. return t1;
  62559. },
  62560. _canonicalMultiplier$1(units) {
  62561. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  62562. },
  62563. canonicalMultiplierForUnit$1(unit) {
  62564. var t1,
  62565. innerMap = B.Map_gQqJO.$index(0, unit);
  62566. if (innerMap == null)
  62567. t1 = 1;
  62568. else {
  62569. t1 = innerMap.get$values(innerMap);
  62570. t1 = 1 / t1.get$first(t1);
  62571. }
  62572. return t1;
  62573. },
  62574. unitSuggestion$2($name, unit) {
  62575. var t2, t3, result, _this = this,
  62576. t1 = _this.get$denominatorUnits(_this);
  62577. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62578. t2 = _this.get$numeratorUnits(_this);
  62579. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62580. t3 = unit == null ? "" : " * 1" + unit;
  62581. result = "$" + $name + t1 + t2 + t3;
  62582. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  62583. },
  62584. unitSuggestion$1($name) {
  62585. return this.unitSuggestion$2($name, null);
  62586. }
  62587. };
  62588. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  62589. call$0() {
  62590. var t2, t3, message, t4, type, unit, _this = this,
  62591. t1 = _this.other;
  62592. if (t1 != null) {
  62593. t2 = _this.$this;
  62594. t3 = t2.toString$0(0) + " and";
  62595. message = new A.StringBuffer(t3);
  62596. t4 = _this.otherName;
  62597. if (t4 != null)
  62598. t3 = message._contents = t3 + (" $" + t4 + ":");
  62599. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  62600. message._contents = t1;
  62601. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  62602. message._contents = t1 + " (one has units and the other doesn't)";
  62603. t1 = message.toString$0(0) + ".";
  62604. t2 = _this.name;
  62605. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62606. } else if (!_this.otherHasUnits) {
  62607. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  62608. t2 = _this.name;
  62609. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62610. } else {
  62611. t1 = _this.newNumerators;
  62612. if (t1.length === 1 && _this.newDenominators.length === 0) {
  62613. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  62614. if (type != null) {
  62615. t1 = _this.$this.toString$0(0);
  62616. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  62617. t3 = B.Map_397RH.$index(0, type);
  62618. t3.toString;
  62619. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  62620. t2 = _this.name;
  62621. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  62622. }
  62623. }
  62624. t2 = _this.newDenominators;
  62625. unit = A.pluralize("unit", t1.length + t2.length, null);
  62626. t3 = _this.$this;
  62627. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  62628. t1 = _this.name;
  62629. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  62630. }
  62631. },
  62632. $signature: 393
  62633. };
  62634. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  62635. call$1(oldNumerator) {
  62636. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  62637. if (factor == null)
  62638. return false;
  62639. this._box_0.value *= factor;
  62640. return true;
  62641. },
  62642. $signature: 4
  62643. };
  62644. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  62645. call$0() {
  62646. return A.throwExpression(this.compatibilityException.call$0());
  62647. },
  62648. $signature: 0
  62649. };
  62650. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  62651. call$1(oldDenominator) {
  62652. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  62653. if (factor == null)
  62654. return false;
  62655. this._box_0.value /= factor;
  62656. return true;
  62657. },
  62658. $signature: 4
  62659. };
  62660. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  62661. call$0() {
  62662. return A.throwExpression(this.compatibilityException.call$0());
  62663. },
  62664. $signature: 0
  62665. };
  62666. A.SassNumber_plus_closure.prototype = {
  62667. call$2(num1, num2) {
  62668. return num1 + num2;
  62669. },
  62670. $signature: 63
  62671. };
  62672. A.SassNumber_minus_closure.prototype = {
  62673. call$2(num1, num2) {
  62674. return num1 - num2;
  62675. },
  62676. $signature: 63
  62677. };
  62678. A.SassNumber_multiplyUnits_closure.prototype = {
  62679. call$1(denominator) {
  62680. var factor = A.conversionFactor(this.numerator, denominator);
  62681. if (factor == null)
  62682. return false;
  62683. this._box_0.value /= factor;
  62684. return true;
  62685. },
  62686. $signature: 4
  62687. };
  62688. A.SassNumber_multiplyUnits_closure0.prototype = {
  62689. call$0() {
  62690. return this.newNumerators.push(this.numerator);
  62691. },
  62692. $signature: 0
  62693. };
  62694. A.SassNumber_multiplyUnits_closure1.prototype = {
  62695. call$1(denominator) {
  62696. var factor = A.conversionFactor(this.numerator, denominator);
  62697. if (factor == null)
  62698. return false;
  62699. this._box_0.value /= factor;
  62700. return true;
  62701. },
  62702. $signature: 4
  62703. };
  62704. A.SassNumber_multiplyUnits_closure2.prototype = {
  62705. call$0() {
  62706. return this.newNumerators.push(this.numerator);
  62707. },
  62708. $signature: 0
  62709. };
  62710. A.SassNumber__areAnyConvertible_closure.prototype = {
  62711. call$1(unit1) {
  62712. var t1,
  62713. _0_0 = B.Map_gQqJO.$index(0, unit1);
  62714. $label0$0: {
  62715. if (_0_0 != null) {
  62716. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  62717. break $label0$0;
  62718. }
  62719. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  62720. break $label0$0;
  62721. }
  62722. return t1;
  62723. },
  62724. $signature: 4
  62725. };
  62726. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  62727. call$1(unit) {
  62728. var t1,
  62729. type = $.$get$_typesByUnit().$index(0, unit);
  62730. if (type == null)
  62731. t1 = unit;
  62732. else {
  62733. t1 = B.Map_397RH.$index(0, type);
  62734. t1.toString;
  62735. t1 = B.JSArray_methods.get$first(t1);
  62736. }
  62737. return t1;
  62738. },
  62739. $signature: 5
  62740. };
  62741. A.SassNumber__canonicalMultiplier_closure.prototype = {
  62742. call$2(multiplier, unit) {
  62743. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  62744. },
  62745. $signature: 161
  62746. };
  62747. A.SassNumber_unitSuggestion_closure.prototype = {
  62748. call$1(unit) {
  62749. return " * 1" + unit;
  62750. },
  62751. $signature: 5
  62752. };
  62753. A.SassNumber_unitSuggestion_closure0.prototype = {
  62754. call$1(unit) {
  62755. return " / 1" + unit;
  62756. },
  62757. $signature: 5
  62758. };
  62759. A.ComplexSassNumber.prototype = {
  62760. get$numeratorUnits(_) {
  62761. return this._numeratorUnits;
  62762. },
  62763. get$denominatorUnits(_) {
  62764. return this._denominatorUnits;
  62765. },
  62766. get$hasUnits() {
  62767. return true;
  62768. },
  62769. get$hasComplexUnits() {
  62770. return true;
  62771. },
  62772. hasUnit$1(unit) {
  62773. return false;
  62774. },
  62775. compatibleWithUnit$1(unit) {
  62776. return false;
  62777. },
  62778. hasPossiblyCompatibleUnits$1(other) {
  62779. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  62780. },
  62781. withValue$1(value) {
  62782. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  62783. },
  62784. withSlash$2(numerator, denominator) {
  62785. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  62786. }
  62787. };
  62788. A.SingleUnitSassNumber.prototype = {
  62789. get$numeratorUnits(_) {
  62790. return A.List_List$unmodifiable([this._unit], type$.String);
  62791. },
  62792. get$denominatorUnits(_) {
  62793. return B.List_empty;
  62794. },
  62795. get$hasUnits() {
  62796. return true;
  62797. },
  62798. get$hasComplexUnits() {
  62799. return false;
  62800. },
  62801. withValue$1(value) {
  62802. return new A.SingleUnitSassNumber(this._unit, value, null);
  62803. },
  62804. withSlash$2(numerator, denominator) {
  62805. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  62806. },
  62807. hasUnit$1(unit) {
  62808. return unit === this._unit;
  62809. },
  62810. hasCompatibleUnits$1(other) {
  62811. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  62812. },
  62813. hasPossiblyCompatibleUnits$1(other) {
  62814. var t1, knownCompatibilities, otherUnit;
  62815. if (!(other instanceof A.SingleUnitSassNumber))
  62816. return false;
  62817. t1 = $.$get$_knownCompatibilitiesByUnit();
  62818. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  62819. if (knownCompatibilities == null)
  62820. return true;
  62821. otherUnit = other._unit.toLowerCase();
  62822. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  62823. },
  62824. compatibleWithUnit$1(unit) {
  62825. return A.conversionFactor(this._unit, unit) != null;
  62826. },
  62827. coerceToMatch$1(other) {
  62828. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  62829. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  62830. },
  62831. coerceValueToMatch$3(other, $name, otherName) {
  62832. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62833. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  62834. },
  62835. coerceValueToMatch$1(other) {
  62836. return this.coerceValueToMatch$3(other, null, null);
  62837. },
  62838. convertValueToMatch$3(other, $name, otherName) {
  62839. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62840. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  62841. },
  62842. convertValueToMatch$1(other) {
  62843. return this.convertValueToMatch$3(other, null, null);
  62844. },
  62845. coerce$2(newNumerators, newDenominators) {
  62846. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  62847. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  62848. },
  62849. coerceValue$3(newNumerators, newDenominators, $name) {
  62850. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  62851. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  62852. },
  62853. coerceValueToUnit$2(unit, $name) {
  62854. var t1 = this._coerceValueToUnit$1(unit);
  62855. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  62856. },
  62857. coerceValueToUnit$1(unit) {
  62858. return this.coerceValueToUnit$2(unit, null);
  62859. },
  62860. _coerceToUnit$1(unit) {
  62861. var t1 = this._unit;
  62862. if (t1 === unit)
  62863. return this;
  62864. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  62865. },
  62866. _coerceValueToUnit$1(unit) {
  62867. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  62868. },
  62869. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62870. var mutableOtherDenominators, t1 = {};
  62871. t1.value = value;
  62872. t1.newNumerators = otherNumerators;
  62873. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62874. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  62875. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  62876. },
  62877. unaryMinus$0() {
  62878. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  62879. },
  62880. $eq(_, other) {
  62881. var factor;
  62882. if (other == null)
  62883. return false;
  62884. if (other instanceof A.SingleUnitSassNumber) {
  62885. factor = A.conversionFactor(other._unit, this._unit);
  62886. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  62887. } else
  62888. return false;
  62889. },
  62890. get$hashCode(_) {
  62891. var _this = this,
  62892. t1 = _this.hashCache;
  62893. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  62894. }
  62895. };
  62896. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  62897. call$1(factor) {
  62898. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  62899. },
  62900. $signature: 380
  62901. };
  62902. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  62903. call$1(factor) {
  62904. return this.$this._number$_value * factor;
  62905. },
  62906. $signature: 37
  62907. };
  62908. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  62909. call$1(denominator) {
  62910. var factor = A.conversionFactor(denominator, this.$this._unit);
  62911. if (factor == null)
  62912. return false;
  62913. this._box_0.value *= factor;
  62914. return true;
  62915. },
  62916. $signature: 4
  62917. };
  62918. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  62919. call$0() {
  62920. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  62921. t2 = this._box_0;
  62922. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  62923. t2.newNumerators = t1;
  62924. },
  62925. $signature: 0
  62926. };
  62927. A.UnitlessSassNumber.prototype = {
  62928. get$numeratorUnits(_) {
  62929. return B.List_empty;
  62930. },
  62931. get$denominatorUnits(_) {
  62932. return B.List_empty;
  62933. },
  62934. get$hasUnits() {
  62935. return false;
  62936. },
  62937. get$hasComplexUnits() {
  62938. return false;
  62939. },
  62940. withValue$1(value) {
  62941. return new A.UnitlessSassNumber(value, null);
  62942. },
  62943. withSlash$2(numerator, denominator) {
  62944. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  62945. },
  62946. hasUnit$1(unit) {
  62947. return false;
  62948. },
  62949. hasCompatibleUnits$1(other) {
  62950. return other instanceof A.UnitlessSassNumber;
  62951. },
  62952. hasPossiblyCompatibleUnits$1(other) {
  62953. return other instanceof A.UnitlessSassNumber;
  62954. },
  62955. compatibleWithUnit$1(unit) {
  62956. return true;
  62957. },
  62958. coerceToMatch$1(other) {
  62959. return other.withValue$1(this._number$_value);
  62960. },
  62961. coerceValueToMatch$3(other, $name, otherName) {
  62962. return this._number$_value;
  62963. },
  62964. coerceValueToMatch$1(other) {
  62965. return this.coerceValueToMatch$3(other, null, null);
  62966. },
  62967. convertValueToMatch$3(other, $name, otherName) {
  62968. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  62969. },
  62970. convertValueToMatch$1(other) {
  62971. return this.convertValueToMatch$3(other, null, null);
  62972. },
  62973. coerce$2(newNumerators, newDenominators) {
  62974. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  62975. },
  62976. coerceValue$3(newNumerators, newDenominators, $name) {
  62977. return this._number$_value;
  62978. },
  62979. coerceValueToUnit$2(unit, $name) {
  62980. return this._number$_value;
  62981. },
  62982. coerceValueToUnit$1(unit) {
  62983. return this.coerceValueToUnit$2(unit, null);
  62984. },
  62985. greaterThan$1(other) {
  62986. var t1, t2;
  62987. if (other instanceof A.SassNumber) {
  62988. t1 = this._number$_value;
  62989. t2 = other._number$_value;
  62990. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62991. }
  62992. return this.super$SassNumber$greaterThan(other);
  62993. },
  62994. greaterThanOrEquals$1(other) {
  62995. var t1, t2;
  62996. if (other instanceof A.SassNumber) {
  62997. t1 = this._number$_value;
  62998. t2 = other._number$_value;
  62999. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  63000. }
  63001. return this.super$SassNumber$greaterThanOrEquals(other);
  63002. },
  63003. lessThan$1(other) {
  63004. var t1, t2;
  63005. if (other instanceof A.SassNumber) {
  63006. t1 = this._number$_value;
  63007. t2 = other._number$_value;
  63008. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  63009. }
  63010. return this.super$SassNumber$lessThan(other);
  63011. },
  63012. lessThanOrEquals$1(other) {
  63013. var t1, t2;
  63014. if (other instanceof A.SassNumber) {
  63015. t1 = this._number$_value;
  63016. t2 = other._number$_value;
  63017. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  63018. }
  63019. return this.super$SassNumber$lessThanOrEquals(other);
  63020. },
  63021. modulo$1(other) {
  63022. if (other instanceof A.SassNumber)
  63023. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  63024. return this.super$SassNumber$modulo(other);
  63025. },
  63026. plus$1(other) {
  63027. if (other instanceof A.SassNumber)
  63028. return other.withValue$1(this._number$_value + other._number$_value);
  63029. return this.super$SassNumber$plus(other);
  63030. },
  63031. minus$1(other) {
  63032. if (other instanceof A.SassNumber)
  63033. return other.withValue$1(this._number$_value - other._number$_value);
  63034. return this.super$SassNumber$minus(other);
  63035. },
  63036. times$1(other) {
  63037. if (other instanceof A.SassNumber)
  63038. return other.withValue$1(this._number$_value * other._number$_value);
  63039. return this.super$SassNumber$times(other);
  63040. },
  63041. dividedBy$1(other) {
  63042. var t1, t2;
  63043. if (other instanceof A.SassNumber) {
  63044. t1 = this._number$_value / other._number$_value;
  63045. if (other.get$hasUnits()) {
  63046. t2 = other.get$denominatorUnits(other);
  63047. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  63048. t1 = t2;
  63049. } else
  63050. t1 = new A.UnitlessSassNumber(t1, null);
  63051. return t1;
  63052. }
  63053. return this.super$SassNumber$dividedBy(other);
  63054. },
  63055. unaryMinus$0() {
  63056. return new A.UnitlessSassNumber(-this._number$_value, null);
  63057. },
  63058. $eq(_, other) {
  63059. if (other == null)
  63060. return false;
  63061. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  63062. },
  63063. get$hashCode(_) {
  63064. var t1 = this.hashCache;
  63065. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  63066. }
  63067. };
  63068. A.SassString.prototype = {
  63069. get$_sassLength() {
  63070. var result, _this = this,
  63071. value = _this.__SassString__sassLength_FI;
  63072. if (value === $) {
  63073. result = new A.Runes(_this._string$_text).get$length(0);
  63074. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  63075. _this.__SassString__sassLength_FI = result;
  63076. value = result;
  63077. }
  63078. return value;
  63079. },
  63080. get$isSpecialNumber() {
  63081. var t1, _2_0, t2, _0_0, _1_0;
  63082. if (this._hasQuotes)
  63083. return false;
  63084. t1 = this._string$_text;
  63085. if (t1.length < 6)
  63086. return false;
  63087. _2_0 = t1.charCodeAt(0);
  63088. $label1$1: {
  63089. t2 = false;
  63090. if (99 === _2_0 || 67 === _2_0) {
  63091. _0_0 = t1.charCodeAt(1);
  63092. $label0$0: {
  63093. if (108 === _0_0 || 76 === _0_0) {
  63094. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  63095. break $label0$0;
  63096. }
  63097. if (97 === _0_0 || 65 === _0_0) {
  63098. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  63099. break $label0$0;
  63100. }
  63101. t1 = t2;
  63102. break $label0$0;
  63103. }
  63104. break $label1$1;
  63105. }
  63106. if (118 === _2_0 || 86 === _2_0) {
  63107. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  63108. break $label1$1;
  63109. }
  63110. if (101 === _2_0 || 69 === _2_0) {
  63111. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  63112. break $label1$1;
  63113. }
  63114. if (109 === _2_0 || 77 === _2_0) {
  63115. _1_0 = t1.charCodeAt(1);
  63116. $label2$2: {
  63117. if (97 === _1_0 || 65 === _1_0) {
  63118. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  63119. break $label2$2;
  63120. }
  63121. if (105 === _1_0 || 73 === _1_0) {
  63122. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  63123. break $label2$2;
  63124. }
  63125. t1 = t2;
  63126. break $label2$2;
  63127. }
  63128. break $label1$1;
  63129. }
  63130. t1 = t2;
  63131. break $label1$1;
  63132. }
  63133. return t1;
  63134. },
  63135. get$isVar() {
  63136. if (this._hasQuotes)
  63137. return false;
  63138. var t1 = this._string$_text;
  63139. if (t1.length < 8)
  63140. return false;
  63141. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  63142. },
  63143. get$isBlank() {
  63144. return !this._hasQuotes && this._string$_text.length === 0;
  63145. },
  63146. accept$1$1(visitor) {
  63147. var t1 = visitor._quote && this._hasQuotes,
  63148. t2 = this._string$_text;
  63149. if (t1)
  63150. visitor._visitQuotedString$1(t2);
  63151. else
  63152. visitor._visitUnquotedString$1(t2);
  63153. return null;
  63154. },
  63155. accept$1(visitor) {
  63156. return this.accept$1$1(visitor, type$.dynamic);
  63157. },
  63158. assertString$1($name) {
  63159. return this;
  63160. },
  63161. plus$1(other) {
  63162. var t1 = this._string$_text,
  63163. t2 = this._hasQuotes;
  63164. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  63165. },
  63166. $eq(_, other) {
  63167. if (other == null)
  63168. return false;
  63169. return other instanceof A.SassString && this._string$_text === other._string$_text;
  63170. },
  63171. get$hashCode(_) {
  63172. var t1 = this._hashCache;
  63173. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  63174. }
  63175. };
  63176. A.AnySelectorVisitor.prototype = {
  63177. visitComplexSelector$1(complex) {
  63178. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  63179. },
  63180. visitCompoundSelector$1(compound) {
  63181. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  63182. },
  63183. visitPseudoSelector$1(pseudo) {
  63184. var selector = pseudo.selector;
  63185. return selector == null ? false : this.visitSelectorList$1(selector);
  63186. },
  63187. visitSelectorList$1(list) {
  63188. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  63189. },
  63190. visitAttributeSelector$1(attribute) {
  63191. return false;
  63192. },
  63193. visitClassSelector$1(klass) {
  63194. return false;
  63195. },
  63196. visitIDSelector$1(id) {
  63197. return false;
  63198. },
  63199. visitParentSelector$1($parent) {
  63200. return false;
  63201. },
  63202. visitPlaceholderSelector$1(placeholder) {
  63203. return false;
  63204. },
  63205. visitTypeSelector$1(type) {
  63206. return false;
  63207. },
  63208. visitUniversalSelector$1(universal) {
  63209. return false;
  63210. }
  63211. };
  63212. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  63213. call$1(component) {
  63214. return this.$this.visitCompoundSelector$1(component.selector);
  63215. },
  63216. $signature: 51
  63217. };
  63218. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  63219. call$1(simple) {
  63220. return simple.accept$1(this.$this);
  63221. },
  63222. $signature: 13
  63223. };
  63224. A._EvaluateVisitor0.prototype = {
  63225. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  63226. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  63227. _s20_ = "$name, $module: null",
  63228. _s9_ = "sass:meta",
  63229. _s7_ = "$module",
  63230. t1 = type$.JSArray_AsyncBuiltInCallable,
  63231. 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),
  63232. 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);
  63233. t1 = type$.AsyncBuiltInCallable;
  63234. t2 = A.List_List$of($.$get$global(), true, t1);
  63235. B.JSArray_methods.addAll$1(t2, $.$get$local());
  63236. B.JSArray_methods.addAll$1(t2, metaFunctions);
  63237. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  63238. 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) {
  63239. module = t1[_i];
  63240. t3.$indexSet(0, module.url, module);
  63241. }
  63242. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  63243. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  63244. B.JSArray_methods.addAll$1(t1, metaFunctions);
  63245. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63246. $function = t1[_i];
  63247. t4 = J.get$name$x($function);
  63248. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  63249. }
  63250. },
  63251. run$2(_, importer, node) {
  63252. return this.run$body$_EvaluateVisitor(0, importer, node);
  63253. },
  63254. run$body$_EvaluateVisitor(_, importer, node) {
  63255. var $async$goto = 0,
  63256. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  63257. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  63258. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63259. if ($async$errorCode === 1) {
  63260. $async$currentError = $async$result;
  63261. $async$goto = $async$handler;
  63262. }
  63263. while (true)
  63264. switch ($async$goto) {
  63265. case 0:
  63266. // Function start
  63267. $async$handler = 4;
  63268. t1 = type$.nullable_Object;
  63269. 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);
  63270. $async$goto = 7;
  63271. 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);
  63272. case 7:
  63273. // returning from await.
  63274. t1 = $async$result;
  63275. $async$returnValue = t1;
  63276. // goto return
  63277. $async$goto = 1;
  63278. break;
  63279. $async$handler = 2;
  63280. // goto after finally
  63281. $async$goto = 6;
  63282. break;
  63283. case 4:
  63284. // catch
  63285. $async$handler = 3;
  63286. $async$exception = $async$currentError;
  63287. t1 = A.unwrapException($async$exception);
  63288. if (t1 instanceof A.SassException) {
  63289. error = t1;
  63290. stackTrace = A.getTraceFromException($async$exception);
  63291. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  63292. } else
  63293. throw $async$exception;
  63294. // goto after finally
  63295. $async$goto = 6;
  63296. break;
  63297. case 3:
  63298. // uncaught
  63299. // goto rethrow
  63300. $async$goto = 2;
  63301. break;
  63302. case 6:
  63303. // after finally
  63304. case 1:
  63305. // return
  63306. return A._asyncReturn($async$returnValue, $async$completer);
  63307. case 2:
  63308. // rethrow
  63309. return A._asyncRethrow($async$currentError, $async$completer);
  63310. }
  63311. });
  63312. return A._asyncStartSync($async$run$2, $async$completer);
  63313. },
  63314. _async_evaluate$_assertInModule$1$2(value, $name) {
  63315. if (value != null)
  63316. return value;
  63317. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  63318. },
  63319. _async_evaluate$_assertInModule$2(value, $name) {
  63320. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  63321. },
  63322. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63323. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  63324. },
  63325. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  63326. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  63327. },
  63328. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  63329. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  63330. },
  63331. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63332. var $async$goto = 0,
  63333. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  63334. $async$returnValue, $async$self = this, t2, t1, _0_0;
  63335. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63336. if ($async$errorCode === 1)
  63337. return A._asyncRethrow($async$result, $async$completer);
  63338. while (true)
  63339. switch ($async$goto) {
  63340. case 0:
  63341. // Function start
  63342. t1 = {};
  63343. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  63344. t1.builtInModule = null;
  63345. $async$goto = _0_0 != null ? 3 : 4;
  63346. break;
  63347. case 3:
  63348. // then
  63349. t1.builtInModule = _0_0;
  63350. if (configuration instanceof A.ExplicitConfiguration) {
  63351. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  63352. t2 = configuration.nodeWithSpan;
  63353. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  63354. }
  63355. $async$goto = 5;
  63356. 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);
  63357. case 5:
  63358. // returning from await.
  63359. // goto return
  63360. $async$goto = 1;
  63361. break;
  63362. case 4:
  63363. // join
  63364. $async$goto = 6;
  63365. 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);
  63366. case 6:
  63367. // returning from await.
  63368. case 1:
  63369. // return
  63370. return A._asyncReturn($async$returnValue, $async$completer);
  63371. }
  63372. });
  63373. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  63374. },
  63375. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63376. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  63377. },
  63378. _async_evaluate$_execute$2(importer, stylesheet) {
  63379. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  63380. },
  63381. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63382. var $async$goto = 0,
  63383. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  63384. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  63385. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63386. if ($async$errorCode === 1)
  63387. return A._asyncRethrow($async$result, $async$completer);
  63388. while (true)
  63389. switch ($async$goto) {
  63390. case 0:
  63391. // Function start
  63392. t1 = stylesheet.span;
  63393. url = t1.get$sourceUrl(t1);
  63394. t1 = $async$self._async_evaluate$_modules;
  63395. _0_0 = t1.$index(0, url);
  63396. if (_0_0 != null) {
  63397. t1 = configuration == null;
  63398. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  63399. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  63400. t3 = t2.__originalConfiguration;
  63401. t2 = t3 == null ? t2 : t3;
  63402. t3 = currentConfiguration.__originalConfiguration;
  63403. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  63404. if (namesInErrors) {
  63405. t2 = $.$get$context();
  63406. url.toString;
  63407. message = t2.prettyUri$1(url) + string$.x20was_a;
  63408. } else
  63409. message = string$.This_mw;
  63410. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  63411. existingSpan = t2 == null ? null : t2.get$span(t2);
  63412. if (t1) {
  63413. t1 = currentConfiguration.nodeWithSpan;
  63414. configurationSpan = t1.get$span(t1);
  63415. } else
  63416. configurationSpan = null;
  63417. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  63418. if (existingSpan != null)
  63419. t1.$indexSet(0, existingSpan, "original load");
  63420. if (configurationSpan != null)
  63421. t1.$indexSet(0, configurationSpan, "configuration");
  63422. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  63423. }
  63424. $async$returnValue = _0_0;
  63425. // goto return
  63426. $async$goto = 1;
  63427. break;
  63428. }
  63429. environment = A.AsyncEnvironment$();
  63430. css = A._Cell$();
  63431. preModuleComments = A._Cell$();
  63432. extensionStore = A.ExtensionStore$();
  63433. $async$goto = 3;
  63434. 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);
  63435. case 3:
  63436. // returning from await.
  63437. t2 = css._readLocal$0();
  63438. t3 = preModuleComments._readLocal$0();
  63439. module = environment.toModule$3(t2, t3 == null ? B.Map_empty7 : t3, extensionStore);
  63440. if (url != null) {
  63441. t1.$indexSet(0, url, module);
  63442. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  63443. if (nodeWithSpan != null)
  63444. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  63445. }
  63446. $async$returnValue = module;
  63447. // goto return
  63448. $async$goto = 1;
  63449. break;
  63450. case 1:
  63451. // return
  63452. return A._asyncReturn($async$returnValue, $async$completer);
  63453. }
  63454. });
  63455. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  63456. },
  63457. _async_evaluate$_addOutOfOrderImports$0() {
  63458. var t1, t2, _this = this, _s5_ = "_root",
  63459. _s13_ = "_endOfImports",
  63460. _0_0 = _this._async_evaluate$_outOfOrderImports;
  63461. $label0$0: {
  63462. if (_0_0 == null) {
  63463. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63464. break $label0$0;
  63465. }
  63466. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63467. 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);
  63468. B.JSArray_methods.addAll$1(t1, _0_0);
  63469. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63470. 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")));
  63471. break $label0$0;
  63472. }
  63473. return t1;
  63474. },
  63475. _async_evaluate$_combineCss$2$clone(root, clone) {
  63476. var selectors, _0_0, t1, imports, css, sorted, t2;
  63477. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  63478. selectors = root.get$extensionStore().get$simpleSelectors();
  63479. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  63480. if (_0_0 != null)
  63481. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  63482. return root.get$css(root);
  63483. }
  63484. t1 = type$.JSArray_CssNode;
  63485. imports = A._setArrayType([], t1);
  63486. css = A._setArrayType([], t1);
  63487. t1 = type$.Module_AsyncCallable;
  63488. sorted = A.ListQueue$(t1);
  63489. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  63490. if (root.get$transitivelyContainsExtensions())
  63491. this._async_evaluate$_extendModules$1(sorted);
  63492. t1 = B.JSArray_methods.$add(imports, css);
  63493. t2 = root.get$css(root);
  63494. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  63495. },
  63496. _async_evaluate$_combineCss$1(root) {
  63497. return this._async_evaluate$_combineCss$2$clone(root, false);
  63498. },
  63499. _async_evaluate$_extendModules$1(sortedModules) {
  63500. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  63501. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  63502. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  63503. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  63504. t3 = t1._collection$_current;
  63505. if (t3 == null)
  63506. t3 = t2._as(t3);
  63507. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  63508. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  63509. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  63510. t4 = t3.get$extensionStore().get$addExtensions();
  63511. if ($self != null)
  63512. t4.call$1($self);
  63513. t4 = t3.get$extensionStore();
  63514. if (t4.get$isEmpty(t4))
  63515. continue;
  63516. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  63517. upstream = t4[_i];
  63518. _0_0 = upstream.get$url(upstream);
  63519. if (_0_0 != null)
  63520. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  63521. }
  63522. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  63523. }
  63524. if (unsatisfiedExtensions._collection$_length !== 0)
  63525. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  63526. },
  63527. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  63528. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  63529. },
  63530. _async_evaluate$_indexAfterImports$1(statements) {
  63531. var t1, lastImport, i, _0_0;
  63532. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  63533. $label0$0: {
  63534. _0_0 = t1.$index(statements, i);
  63535. if (_0_0 instanceof A.ModifiableCssImport)
  63536. break $label0$0;
  63537. if (_0_0 instanceof A.ModifiableCssComment)
  63538. continue;
  63539. break;
  63540. }
  63541. lastImport = i;
  63542. }
  63543. return lastImport + 1;
  63544. },
  63545. visitStylesheet$1(_, node) {
  63546. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  63547. },
  63548. visitStylesheet$body$_EvaluateVisitor(_, node) {
  63549. var $async$goto = 0,
  63550. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63551. $async$returnValue, $async$self = this, t1, t2, _i;
  63552. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63553. if ($async$errorCode === 1)
  63554. return A._asyncRethrow($async$result, $async$completer);
  63555. while (true)
  63556. switch ($async$goto) {
  63557. case 0:
  63558. // Function start
  63559. t1 = node.children, t2 = t1.length, _i = 0;
  63560. case 3:
  63561. // for condition
  63562. if (!(_i < t2)) {
  63563. // goto after for
  63564. $async$goto = 5;
  63565. break;
  63566. }
  63567. $async$goto = 6;
  63568. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  63569. case 6:
  63570. // returning from await.
  63571. case 4:
  63572. // for update
  63573. ++_i;
  63574. // goto for condition
  63575. $async$goto = 3;
  63576. break;
  63577. case 5:
  63578. // after for
  63579. $async$returnValue = null;
  63580. // goto return
  63581. $async$goto = 1;
  63582. break;
  63583. case 1:
  63584. // return
  63585. return A._asyncReturn($async$returnValue, $async$completer);
  63586. }
  63587. });
  63588. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  63589. },
  63590. visitAtRootRule$1(_, node) {
  63591. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  63592. },
  63593. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  63594. var $async$goto = 0,
  63595. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63596. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  63597. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63598. if ($async$errorCode === 1)
  63599. return A._asyncRethrow($async$result, $async$completer);
  63600. while (true)
  63601. switch ($async$goto) {
  63602. case 0:
  63603. // Function start
  63604. _0_0 = node.query;
  63605. $async$goto = _0_0 != null ? 3 : 5;
  63606. break;
  63607. case 3:
  63608. // then
  63609. $async$goto = 6;
  63610. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  63611. case 6:
  63612. // returning from await.
  63613. _1_0 = $async$result;
  63614. resolved = _1_0._0;
  63615. _1_0._1;
  63616. query = A.AtRootQueryParser$(resolved, $async$self._async_evaluate$_logger, null).parse$0(0);
  63617. // goto join
  63618. $async$goto = 4;
  63619. break;
  63620. case 5:
  63621. // else
  63622. query = B.AtRootQuery_n2q;
  63623. case 4:
  63624. // join
  63625. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63626. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  63627. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  63628. if (!query.excludes$1($parent))
  63629. included.push($parent);
  63630. _2_0 = $parent._parent;
  63631. if (_2_0 == null)
  63632. throw A.wrapException(A.StateError$(string$.CssNod));
  63633. }
  63634. root = $async$self._async_evaluate$_trimIncluded$1(included);
  63635. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  63636. break;
  63637. case 7:
  63638. // then
  63639. $async$goto = 9;
  63640. 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);
  63641. case 9:
  63642. // returning from await.
  63643. $async$returnValue = null;
  63644. // goto return
  63645. $async$goto = 1;
  63646. break;
  63647. case 8:
  63648. // join
  63649. if (included.length >= 1) {
  63650. first = included[0];
  63651. rest = B.JSArray_methods.sublist$1(included, 1);
  63652. innerCopy = first.copyWithoutChildren$0();
  63653. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  63654. copy = rest[_i].copyWithoutChildren$0();
  63655. copy.addChild$1(outerCopy);
  63656. }
  63657. root.addChild$1(outerCopy);
  63658. } else
  63659. innerCopy = root;
  63660. $async$goto = 10;
  63661. 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);
  63662. case 10:
  63663. // returning from await.
  63664. $async$returnValue = null;
  63665. // goto return
  63666. $async$goto = 1;
  63667. break;
  63668. case 1:
  63669. // return
  63670. return A._asyncReturn($async$returnValue, $async$completer);
  63671. }
  63672. });
  63673. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  63674. },
  63675. _async_evaluate$_trimIncluded$1(nodes) {
  63676. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  63677. _s22_ = " to be an ancestor of ";
  63678. if (nodes.length === 0)
  63679. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63680. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  63681. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  63682. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  63683. _0_0 = $parent._parent;
  63684. if (_0_0 == null)
  63685. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63686. }
  63687. if (innermostContiguous == null)
  63688. innermostContiguous = i;
  63689. _1_0 = $parent._parent;
  63690. if (_1_0 == null)
  63691. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63692. }
  63693. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  63694. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63695. innermostContiguous.toString;
  63696. root = nodes[innermostContiguous];
  63697. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  63698. return root;
  63699. },
  63700. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  63701. var _this = this,
  63702. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  63703. t1 = query._all || query._at_root_query$_rule;
  63704. if (t1 !== query.include)
  63705. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  63706. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  63707. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  63708. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  63709. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  63710. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  63711. },
  63712. visitContentBlock$1(_, node) {
  63713. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  63714. },
  63715. visitContentRule$1(_, node) {
  63716. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  63717. },
  63718. visitContentRule$body$_EvaluateVisitor(_, node) {
  63719. var $async$goto = 0,
  63720. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63721. $async$returnValue, $async$self = this, $content;
  63722. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63723. if ($async$errorCode === 1)
  63724. return A._asyncRethrow($async$result, $async$completer);
  63725. while (true)
  63726. switch ($async$goto) {
  63727. case 0:
  63728. // Function start
  63729. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  63730. if ($content == null) {
  63731. $async$returnValue = null;
  63732. // goto return
  63733. $async$goto = 1;
  63734. break;
  63735. }
  63736. $async$goto = 3;
  63737. 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);
  63738. case 3:
  63739. // returning from await.
  63740. $async$returnValue = null;
  63741. // goto return
  63742. $async$goto = 1;
  63743. break;
  63744. case 1:
  63745. // return
  63746. return A._asyncReturn($async$returnValue, $async$completer);
  63747. }
  63748. });
  63749. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  63750. },
  63751. visitDebugRule$1(_, node) {
  63752. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  63753. },
  63754. visitDebugRule$body$_EvaluateVisitor(_, node) {
  63755. var $async$goto = 0,
  63756. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63757. $async$returnValue, $async$self = this, value, t1;
  63758. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63759. if ($async$errorCode === 1)
  63760. return A._asyncRethrow($async$result, $async$completer);
  63761. while (true)
  63762. switch ($async$goto) {
  63763. case 0:
  63764. // Function start
  63765. $async$goto = 3;
  63766. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  63767. case 3:
  63768. // returning from await.
  63769. value = $async$result;
  63770. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  63771. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  63772. $async$returnValue = null;
  63773. // goto return
  63774. $async$goto = 1;
  63775. break;
  63776. case 1:
  63777. // return
  63778. return A._asyncReturn($async$returnValue, $async$completer);
  63779. }
  63780. });
  63781. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  63782. },
  63783. visitDeclaration$1(_, node) {
  63784. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  63785. },
  63786. visitDeclaration$body$_EvaluateVisitor(_, node) {
  63787. var $async$goto = 0,
  63788. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63789. $async$returnValue, $async$self = this, t2, _0_0, t3, $name, _1_0, _2_0, value, t4, t5, _3_0, oldDeclarationName, t1;
  63790. var $async$visitDeclaration$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. t1 = {};
  63798. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  63799. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  63800. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  63801. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  63802. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  63803. _0_0 = t2.get$last(t2);
  63804. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63805. if (t2 !== _0_0) {
  63806. t2 = type$.SourceSpan;
  63807. t3 = type$.String;
  63808. $async$self._async_evaluate$_warn$3(string$.Sassx27s, new A.MultiSpan(node.span, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([_0_0.get$span(_0_0), "nested rule"], t2, t3), t2, t3)), B.Deprecation_gf0);
  63809. }
  63810. t2 = node.name;
  63811. $async$goto = 3;
  63812. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  63813. case 3:
  63814. // returning from await.
  63815. $name = $async$result;
  63816. _1_0 = $async$self._async_evaluate$_declarationName;
  63817. if (_1_0 != null)
  63818. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  63819. _2_0 = node.value;
  63820. $async$goto = _2_0 != null ? 4 : 5;
  63821. break;
  63822. case 4:
  63823. // then
  63824. $async$goto = 6;
  63825. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  63826. case 6:
  63827. // returning from await.
  63828. value = $async$result;
  63829. if (!value.get$isBlank() || value.get$asList().length === 0) {
  63830. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63831. t4 = _2_0.get$span(_2_0);
  63832. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  63833. if ($async$self._async_evaluate$_sourceMap) {
  63834. t5 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  63835. t5 = t5 == null ? null : J.get$span$z(t5);
  63836. } else
  63837. t5 = null;
  63838. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  63839. } else if (J.startsWith$1$s($name.value, "--"))
  63840. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  63841. case 5:
  63842. // join
  63843. _3_0 = node.children;
  63844. t1.children = null;
  63845. $async$goto = _3_0 != null ? 7 : 8;
  63846. break;
  63847. case 7:
  63848. // then
  63849. t1.children = _3_0;
  63850. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  63851. $async$self._async_evaluate$_declarationName = $name.value;
  63852. $async$goto = 9;
  63853. 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);
  63854. case 9:
  63855. // returning from await.
  63856. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  63857. case 8:
  63858. // join
  63859. $async$returnValue = null;
  63860. // goto return
  63861. $async$goto = 1;
  63862. break;
  63863. case 1:
  63864. // return
  63865. return A._asyncReturn($async$returnValue, $async$completer);
  63866. }
  63867. });
  63868. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  63869. },
  63870. visitEachRule$1(_, node) {
  63871. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  63872. },
  63873. visitEachRule$body$_EvaluateVisitor(_, node) {
  63874. var $async$goto = 0,
  63875. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63876. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  63877. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63878. if ($async$errorCode === 1)
  63879. return A._asyncRethrow($async$result, $async$completer);
  63880. while (true)
  63881. switch ($async$goto) {
  63882. case 0:
  63883. // Function start
  63884. _box_0 = {};
  63885. t1 = node.list;
  63886. $async$goto = 3;
  63887. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  63888. case 3:
  63889. // returning from await.
  63890. list = $async$result;
  63891. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  63892. _0_0 = node.variables;
  63893. $label0$0: {
  63894. _box_0.variable = null;
  63895. if (_0_0.length === 1) {
  63896. _box_0.variable = _0_0[0];
  63897. t1 = new A._EvaluateVisitor_visitEachRule_closure2(_box_0, $async$self, nodeWithSpan);
  63898. break $label0$0;
  63899. }
  63900. _box_0.variables = null;
  63901. _box_0.variables = _0_0;
  63902. t1 = new A._EvaluateVisitor_visitEachRule_closure3(_box_0, $async$self, nodeWithSpan);
  63903. break $label0$0;
  63904. }
  63905. $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);
  63906. // goto return
  63907. $async$goto = 1;
  63908. break;
  63909. case 1:
  63910. // return
  63911. return A._asyncReturn($async$returnValue, $async$completer);
  63912. }
  63913. });
  63914. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  63915. },
  63916. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  63917. var i,
  63918. list = value.get$asList(),
  63919. t1 = variables.length,
  63920. minLength = Math.min(t1, list.length);
  63921. for (i = 0; i < minLength; ++i)
  63922. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  63923. for (i = minLength; i < t1; ++i)
  63924. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  63925. },
  63926. visitErrorRule$1(_, node) {
  63927. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  63928. },
  63929. visitErrorRule$body$_EvaluateVisitor(_, node) {
  63930. var $async$goto = 0,
  63931. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  63932. $async$self = this, $async$temp1, $async$temp2;
  63933. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63934. if ($async$errorCode === 1)
  63935. return A._asyncRethrow($async$result, $async$completer);
  63936. while (true)
  63937. switch ($async$goto) {
  63938. case 0:
  63939. // Function start
  63940. $async$temp1 = A;
  63941. $async$temp2 = J;
  63942. $async$goto = 2;
  63943. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  63944. case 2:
  63945. // returning from await.
  63946. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  63947. // implicit return
  63948. return A._asyncReturn(null, $async$completer);
  63949. }
  63950. });
  63951. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  63952. },
  63953. visitExtendRule$1(_, node) {
  63954. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  63955. },
  63956. visitExtendRule$body$_EvaluateVisitor(_, node) {
  63957. var $async$goto = 0,
  63958. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63959. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  63960. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63961. if ($async$errorCode === 1)
  63962. return A._asyncRethrow($async$result, $async$completer);
  63963. while (true)
  63964. switch ($async$goto) {
  63965. case 0:
  63966. // Function start
  63967. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  63968. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  63969. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  63970. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  63971. complex = t1[_i];
  63972. if (!complex.accept$1(B._IsBogusVisitor_true))
  63973. continue;
  63974. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63975. complex.accept$1(visitor);
  63976. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63977. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  63978. $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_ido);
  63979. }
  63980. $async$goto = 3;
  63981. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  63982. case 3:
  63983. // returning from await.
  63984. _0_0 = $async$result;
  63985. targetText = _0_0._0;
  63986. targetMap = _0_0._1;
  63987. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, targetMap, $async$self._async_evaluate$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  63988. complex = t1[_i];
  63989. compound = complex.get$singleCompound();
  63990. if (compound == null)
  63991. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  63992. t4 = compound.components;
  63993. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  63994. if (t5 == null)
  63995. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  63996. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  63997. }
  63998. $async$returnValue = null;
  63999. // goto return
  64000. $async$goto = 1;
  64001. break;
  64002. case 1:
  64003. // return
  64004. return A._asyncReturn($async$returnValue, $async$completer);
  64005. }
  64006. });
  64007. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  64008. },
  64009. visitAtRule$1(_, node) {
  64010. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  64011. },
  64012. visitAtRule$body$_EvaluateVisitor(_, node) {
  64013. var $async$goto = 0,
  64014. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64015. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  64016. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64017. if ($async$errorCode === 1)
  64018. return A._asyncRethrow($async$result, $async$completer);
  64019. while (true)
  64020. switch ($async$goto) {
  64021. case 0:
  64022. // Function start
  64023. if ($async$self._async_evaluate$_declarationName != null)
  64024. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  64025. $async$goto = 3;
  64026. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  64027. case 3:
  64028. // returning from await.
  64029. $name = $async$result;
  64030. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  64031. $async$goto = 4;
  64032. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  64033. case 4:
  64034. // returning from await.
  64035. value = $async$result;
  64036. children = node.children;
  64037. if (children == null) {
  64038. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  64039. $async$returnValue = null;
  64040. // goto return
  64041. $async$goto = 1;
  64042. break;
  64043. }
  64044. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  64045. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  64046. if (A.unvendor($name.value) === "keyframes")
  64047. $async$self._async_evaluate$_inKeyframes = true;
  64048. else
  64049. $async$self._async_evaluate$_inUnknownAtRule = true;
  64050. $async$goto = 5;
  64051. 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);
  64052. case 5:
  64053. // returning from await.
  64054. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  64055. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  64056. $async$returnValue = null;
  64057. // goto return
  64058. $async$goto = 1;
  64059. break;
  64060. case 1:
  64061. // return
  64062. return A._asyncReturn($async$returnValue, $async$completer);
  64063. }
  64064. });
  64065. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  64066. },
  64067. visitForRule$1(_, node) {
  64068. return this.visitForRule$body$_EvaluateVisitor(0, node);
  64069. },
  64070. visitForRule$body$_EvaluateVisitor(_, node) {
  64071. var $async$goto = 0,
  64072. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64073. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  64074. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64075. if ($async$errorCode === 1)
  64076. return A._asyncRethrow($async$result, $async$completer);
  64077. while (true)
  64078. switch ($async$goto) {
  64079. case 0:
  64080. // Function start
  64081. t1 = {};
  64082. t2 = node.from;
  64083. t3 = type$.SassNumber;
  64084. $async$goto = 3;
  64085. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  64086. case 3:
  64087. // returning from await.
  64088. fromNumber = $async$result;
  64089. t4 = node.to;
  64090. $async$goto = 4;
  64091. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  64092. case 4:
  64093. // returning from await.
  64094. toNumber = $async$result;
  64095. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  64096. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  64097. direction = from > to ? -1 : 1;
  64098. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  64099. $async$returnValue = null;
  64100. // goto return
  64101. $async$goto = 1;
  64102. break;
  64103. }
  64104. $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);
  64105. // goto return
  64106. $async$goto = 1;
  64107. break;
  64108. case 1:
  64109. // return
  64110. return A._asyncReturn($async$returnValue, $async$completer);
  64111. }
  64112. });
  64113. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  64114. },
  64115. visitForwardRule$1(_, node) {
  64116. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  64117. },
  64118. visitForwardRule$body$_EvaluateVisitor(_, node) {
  64119. var $async$goto = 0,
  64120. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64121. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  64122. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64123. if ($async$errorCode === 1)
  64124. return A._asyncRethrow($async$result, $async$completer);
  64125. while (true)
  64126. switch ($async$goto) {
  64127. case 0:
  64128. // Function start
  64129. oldConfiguration = $async$self._async_evaluate$_configuration;
  64130. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  64131. t1 = node.configuration;
  64132. t2 = t1.length;
  64133. t3 = node.url;
  64134. $async$goto = t2 !== 0 ? 3 : 5;
  64135. break;
  64136. case 3:
  64137. // then
  64138. $async$goto = 6;
  64139. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  64140. case 6:
  64141. // returning from await.
  64142. newConfiguration = $async$result;
  64143. $async$goto = 7;
  64144. 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);
  64145. case 7:
  64146. // returning from await.
  64147. t3 = type$.String;
  64148. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  64149. for (_i = 0; _i < t2; ++_i) {
  64150. variable = t1[_i];
  64151. if (!variable.isGuarded)
  64152. t4.add$1(0, variable.name);
  64153. }
  64154. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  64155. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  64156. for (_i = 0; _i < t2; ++_i)
  64157. t3.add$1(0, t1[_i].name);
  64158. 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) {
  64159. $name = t2[_i];
  64160. if (!t3.contains$1(0, $name))
  64161. if (!t1.get$isEmpty(t1))
  64162. t1.remove$1(0, $name);
  64163. }
  64164. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  64165. // goto join
  64166. $async$goto = 4;
  64167. break;
  64168. case 5:
  64169. // else
  64170. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  64171. $async$goto = 8;
  64172. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  64173. case 8:
  64174. // returning from await.
  64175. $async$self._async_evaluate$_configuration = oldConfiguration;
  64176. case 4:
  64177. // join
  64178. $async$returnValue = null;
  64179. // goto return
  64180. $async$goto = 1;
  64181. break;
  64182. case 1:
  64183. // return
  64184. return A._asyncReturn($async$returnValue, $async$completer);
  64185. }
  64186. });
  64187. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  64188. },
  64189. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  64190. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  64191. },
  64192. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  64193. var $async$goto = 0,
  64194. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  64195. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  64196. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64197. if ($async$errorCode === 1)
  64198. return A._asyncRethrow($async$result, $async$completer);
  64199. while (true)
  64200. switch ($async$goto) {
  64201. case 0:
  64202. // Function start
  64203. t1 = configuration._configuration$_values;
  64204. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64205. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  64206. case 3:
  64207. // for condition
  64208. if (!(_i < t3)) {
  64209. // goto after for
  64210. $async$goto = 5;
  64211. break;
  64212. }
  64213. variable = t2[_i];
  64214. if (variable.isGuarded) {
  64215. t6 = variable.name;
  64216. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  64217. if (oldValue != null)
  64218. t7 = !oldValue.value.$eq(0, B.C__SassNull);
  64219. else {
  64220. oldValue = null;
  64221. t7 = false;
  64222. }
  64223. if (t7) {
  64224. newValues.$indexSet(0, t6, oldValue);
  64225. // goto for update
  64226. $async$goto = 4;
  64227. break;
  64228. }
  64229. }
  64230. t6 = variable.expression;
  64231. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  64232. t7 = variable.name;
  64233. t6 = t6.accept$1($async$self);
  64234. if (!t5._is(t6)) {
  64235. t8 = new A._Future($.Zone__current, t4);
  64236. t8._state = 8;
  64237. t8._resultOrListeners = t6;
  64238. t6 = t8;
  64239. }
  64240. $async$temp1 = newValues;
  64241. $async$temp2 = t7;
  64242. $async$temp3 = A;
  64243. $async$goto = 6;
  64244. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  64245. case 6:
  64246. // returning from await.
  64247. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  64248. case 4:
  64249. // for update
  64250. ++_i;
  64251. // goto for condition
  64252. $async$goto = 3;
  64253. break;
  64254. case 5:
  64255. // after for
  64256. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  64257. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  64258. // goto return
  64259. $async$goto = 1;
  64260. break;
  64261. } else {
  64262. $async$returnValue = new A.Configuration(newValues, null);
  64263. // goto return
  64264. $async$goto = 1;
  64265. break;
  64266. }
  64267. case 1:
  64268. // return
  64269. return A._asyncReturn($async$returnValue, $async$completer);
  64270. }
  64271. });
  64272. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  64273. },
  64274. _async_evaluate$_registerCommentsForModule$1(module) {
  64275. var _this = this, _s5_ = "_root",
  64276. t1 = _this._async_evaluate$__root;
  64277. if (t1 == null)
  64278. return;
  64279. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  64280. return;
  64281. t1 = _this._async_evaluate$_preModuleComments;
  64282. if (t1 == null)
  64283. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  64284. 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));
  64285. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  64286. _this._async_evaluate$__endOfImports = 0;
  64287. },
  64288. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  64289. var t1, t2, t3, t4, _i, $name;
  64290. 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) {
  64291. $name = t2[_i];
  64292. if (except.contains$1(0, $name))
  64293. continue;
  64294. if (!t4.containsKey$1($name))
  64295. if (!t1.get$isEmpty(t1))
  64296. t1.remove$1(0, $name);
  64297. }
  64298. },
  64299. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  64300. var t1, _0_0, $name, value;
  64301. if (!(configuration instanceof A.ExplicitConfiguration))
  64302. return;
  64303. t1 = configuration._configuration$_values;
  64304. if (t1.get$isEmpty(t1))
  64305. return;
  64306. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64307. _0_0 = t1.get$first(t1);
  64308. $name = _0_0._0;
  64309. value = _0_0._1;
  64310. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  64311. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  64312. },
  64313. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  64314. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  64315. },
  64316. visitFunctionRule$1(_, node) {
  64317. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  64318. },
  64319. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  64320. var $async$goto = 0,
  64321. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64322. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64323. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64324. if ($async$errorCode === 1)
  64325. return A._asyncRethrow($async$result, $async$completer);
  64326. while (true)
  64327. switch ($async$goto) {
  64328. case 0:
  64329. // Function start
  64330. t1 = $async$self._async_evaluate$_environment;
  64331. t2 = t1.closure$0();
  64332. t3 = $async$self._async_evaluate$_inDependency;
  64333. t4 = t1._async_environment$_functions;
  64334. index = t4.length - 1;
  64335. t5 = node.name;
  64336. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  64337. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64338. $async$returnValue = null;
  64339. // goto return
  64340. $async$goto = 1;
  64341. break;
  64342. case 1:
  64343. // return
  64344. return A._asyncReturn($async$returnValue, $async$completer);
  64345. }
  64346. });
  64347. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  64348. },
  64349. visitIfRule$1(_, node) {
  64350. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  64351. },
  64352. visitIfRule$body$_EvaluateVisitor(_, node) {
  64353. var $async$goto = 0,
  64354. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64355. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  64356. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64357. if ($async$errorCode === 1)
  64358. return A._asyncRethrow($async$result, $async$completer);
  64359. while (true)
  64360. switch ($async$goto) {
  64361. case 0:
  64362. // Function start
  64363. clause = node.lastClause;
  64364. t1 = node.clauses, t2 = t1.length, _i = 0;
  64365. case 3:
  64366. // for condition
  64367. if (!(_i < t2)) {
  64368. // goto after for
  64369. $async$goto = 5;
  64370. break;
  64371. }
  64372. clauseToCheck = t1[_i];
  64373. $async$goto = 6;
  64374. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  64375. case 6:
  64376. // returning from await.
  64377. if ($async$result.get$isTruthy()) {
  64378. clause = clauseToCheck;
  64379. // goto after for
  64380. $async$goto = 5;
  64381. break;
  64382. }
  64383. case 4:
  64384. // for update
  64385. ++_i;
  64386. // goto for condition
  64387. $async$goto = 3;
  64388. break;
  64389. case 5:
  64390. // after for
  64391. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  64392. $async$goto = 7;
  64393. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  64394. case 7:
  64395. // returning from await.
  64396. $async$returnValue = $async$result;
  64397. // goto return
  64398. $async$goto = 1;
  64399. break;
  64400. case 1:
  64401. // return
  64402. return A._asyncReturn($async$returnValue, $async$completer);
  64403. }
  64404. });
  64405. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  64406. },
  64407. visitImportRule$1(_, node) {
  64408. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  64409. },
  64410. visitImportRule$body$_EvaluateVisitor(_, node) {
  64411. var $async$goto = 0,
  64412. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64413. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  64414. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64415. if ($async$errorCode === 1)
  64416. return A._asyncRethrow($async$result, $async$completer);
  64417. while (true)
  64418. switch ($async$goto) {
  64419. case 0:
  64420. // Function start
  64421. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  64422. case 3:
  64423. // for condition
  64424. if (!(_i < t2)) {
  64425. // goto after for
  64426. $async$goto = 5;
  64427. break;
  64428. }
  64429. $import = t1[_i];
  64430. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  64431. break;
  64432. case 6:
  64433. // then
  64434. $async$goto = 9;
  64435. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  64436. case 9:
  64437. // returning from await.
  64438. // goto join
  64439. $async$goto = 7;
  64440. break;
  64441. case 8:
  64442. // else
  64443. $async$goto = 10;
  64444. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  64445. case 10:
  64446. // returning from await.
  64447. case 7:
  64448. // join
  64449. case 4:
  64450. // for update
  64451. ++_i;
  64452. // goto for condition
  64453. $async$goto = 3;
  64454. break;
  64455. case 5:
  64456. // after for
  64457. $async$returnValue = null;
  64458. // goto return
  64459. $async$goto = 1;
  64460. break;
  64461. case 1:
  64462. // return
  64463. return A._asyncReturn($async$returnValue, $async$completer);
  64464. }
  64465. });
  64466. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  64467. },
  64468. _async_evaluate$_visitDynamicImport$1($import) {
  64469. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  64470. },
  64471. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  64472. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  64473. },
  64474. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  64475. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  64476. },
  64477. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  64478. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  64479. },
  64480. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  64481. var $async$goto = 0,
  64482. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  64483. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  64484. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64485. if ($async$errorCode === 1) {
  64486. $async$currentError = $async$result;
  64487. $async$goto = $async$handler;
  64488. }
  64489. while (true)
  64490. switch ($async$goto) {
  64491. case 0:
  64492. // Function start
  64493. baseUrl = baseUrl;
  64494. $async$handler = 4;
  64495. $async$self._async_evaluate$_importSpan = span;
  64496. _0_0 = $async$self._async_evaluate$_importCache;
  64497. importCache = null;
  64498. $async$goto = _0_0 != null ? 7 : 8;
  64499. break;
  64500. case 7:
  64501. // then
  64502. importCache = _0_0;
  64503. if (baseUrl == null) {
  64504. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  64505. baseUrl = t1.get$sourceUrl(t1);
  64506. }
  64507. $async$goto = 9;
  64508. 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);
  64509. case 9:
  64510. // returning from await.
  64511. _1_0 = $async$result;
  64512. importer = null;
  64513. canonicalUrl = null;
  64514. originalUrl = null;
  64515. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  64516. break;
  64517. case 10:
  64518. // then
  64519. importer = _1_0._0;
  64520. canonicalUrl = _1_0._1;
  64521. originalUrl = _1_0._2;
  64522. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  64523. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  64524. t1 = importCache;
  64525. t2 = importer;
  64526. t3 = canonicalUrl;
  64527. t4 = originalUrl;
  64528. $async$goto = 12;
  64529. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate$_quietDeps && isDependency), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  64530. case 12:
  64531. // returning from await.
  64532. _2_0 = $async$result;
  64533. stylesheet = null;
  64534. if (_2_0 != null) {
  64535. stylesheet = _2_0;
  64536. t1 = stylesheet;
  64537. t2 = importer;
  64538. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  64539. $async$next = [1];
  64540. // goto finally
  64541. $async$goto = 5;
  64542. break;
  64543. }
  64544. case 11:
  64545. // join
  64546. case 8:
  64547. // join
  64548. t1 = B.JSString_methods.startsWith$1(url, "package:");
  64549. if (t1)
  64550. throw A.wrapException(string$.x22packa);
  64551. else
  64552. throw A.wrapException("Can't find stylesheet to import.");
  64553. $async$next.push(6);
  64554. // goto finally
  64555. $async$goto = 5;
  64556. break;
  64557. case 4:
  64558. // catch
  64559. $async$handler = 3;
  64560. $async$exception = $async$currentError;
  64561. t1 = A.unwrapException($async$exception);
  64562. if (t1 instanceof A.SassException)
  64563. throw $async$exception;
  64564. else if (t1 instanceof A.ArgumentError) {
  64565. error = t1;
  64566. stackTrace = A.getTraceFromException($async$exception);
  64567. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  64568. } else {
  64569. error0 = t1;
  64570. stackTrace0 = A.getTraceFromException($async$exception);
  64571. message = null;
  64572. try {
  64573. message = A._asString(J.get$message$x(error0));
  64574. } catch (exception) {
  64575. message0 = J.toString$0$(error0);
  64576. message = message0;
  64577. }
  64578. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), error0, stackTrace0);
  64579. }
  64580. $async$next.push(6);
  64581. // goto finally
  64582. $async$goto = 5;
  64583. break;
  64584. case 3:
  64585. // uncaught
  64586. $async$next = [2];
  64587. case 5:
  64588. // finally
  64589. $async$handler = 2;
  64590. $async$self._async_evaluate$_importSpan = null;
  64591. // goto the next finally handler
  64592. $async$goto = $async$next.pop();
  64593. break;
  64594. case 6:
  64595. // after finally
  64596. case 1:
  64597. // return
  64598. return A._asyncReturn($async$returnValue, $async$completer);
  64599. case 2:
  64600. // rethrow
  64601. return A._asyncRethrow($async$currentError, $async$completer);
  64602. }
  64603. });
  64604. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  64605. },
  64606. _visitStaticImport$1($import) {
  64607. return this._visitStaticImport$body$_EvaluateVisitor($import);
  64608. },
  64609. _visitStaticImport$body$_EvaluateVisitor($import) {
  64610. var $async$goto = 0,
  64611. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64612. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  64613. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64614. if ($async$errorCode === 1)
  64615. return A._asyncRethrow($async$result, $async$completer);
  64616. while (true)
  64617. switch ($async$goto) {
  64618. case 0:
  64619. // Function start
  64620. $async$goto = 2;
  64621. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  64622. case 2:
  64623. // returning from await.
  64624. t1 = $async$result;
  64625. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  64626. $async$temp1 = A;
  64627. $async$temp2 = t1;
  64628. $async$goto = 3;
  64629. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  64630. case 3:
  64631. // returning from await.
  64632. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  64633. 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"))
  64634. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  64635. 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)) {
  64636. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  64637. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64638. } else {
  64639. t1 = $async$self._async_evaluate$_outOfOrderImports;
  64640. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  64641. }
  64642. // implicit return
  64643. return A._asyncReturn(null, $async$completer);
  64644. }
  64645. });
  64646. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  64647. },
  64648. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64649. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  64650. },
  64651. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64652. var $async$goto = 0,
  64653. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64654. $async$self = this, t1, _0_0, t2, _1_8;
  64655. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64656. if ($async$errorCode === 1)
  64657. return A._asyncRethrow($async$result, $async$completer);
  64658. while (true)
  64659. switch ($async$goto) {
  64660. case 0:
  64661. // Function start
  64662. if (mixin == null)
  64663. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  64664. t1 = type$.AsyncBuiltInCallable._is(mixin);
  64665. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  64666. break;
  64667. case 3:
  64668. // then
  64669. $async$goto = 5;
  64670. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  64671. case 5:
  64672. // returning from await.
  64673. t1 = $async$result._values;
  64674. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  64675. 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));
  64676. case 4:
  64677. // join
  64678. $async$goto = t1 ? 6 : 7;
  64679. break;
  64680. case 6:
  64681. // then
  64682. $async$goto = 8;
  64683. 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);
  64684. case 8:
  64685. // returning from await.
  64686. // goto break $label0$0
  64687. $async$goto = 2;
  64688. break;
  64689. case 7:
  64690. // join
  64691. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  64692. t2 = false;
  64693. if (t1) {
  64694. _1_8 = mixin.declaration;
  64695. if (_1_8 instanceof A.MixinRule)
  64696. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  64697. }
  64698. if (t2)
  64699. 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));
  64700. $async$goto = t1 ? 9 : 10;
  64701. break;
  64702. case 9:
  64703. // then
  64704. $async$goto = 11;
  64705. 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);
  64706. case 11:
  64707. // returning from await.
  64708. // goto break $label0$0
  64709. $async$goto = 2;
  64710. break;
  64711. case 10:
  64712. // join
  64713. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  64714. case 2:
  64715. // break $label0$0
  64716. // implicit return
  64717. return A._asyncReturn(null, $async$completer);
  64718. }
  64719. });
  64720. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  64721. },
  64722. visitIncludeRule$1(_, node) {
  64723. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  64724. },
  64725. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  64726. var $async$goto = 0,
  64727. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64728. $async$returnValue, $async$self = this, mixin;
  64729. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64730. if ($async$errorCode === 1)
  64731. return A._asyncRethrow($async$result, $async$completer);
  64732. while (true)
  64733. switch ($async$goto) {
  64734. case 0:
  64735. // Function start
  64736. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  64737. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  64738. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_HJ0);
  64739. $async$goto = 3;
  64740. return A._asyncAwait($async$self._async_evaluate$_applyMixin$5(mixin, 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);
  64741. case 3:
  64742. // returning from await.
  64743. $async$returnValue = null;
  64744. // goto return
  64745. $async$goto = 1;
  64746. break;
  64747. case 1:
  64748. // return
  64749. return A._asyncReturn($async$returnValue, $async$completer);
  64750. }
  64751. });
  64752. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  64753. },
  64754. visitMixinRule$1(_, node) {
  64755. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  64756. },
  64757. visitMixinRule$body$_EvaluateVisitor(_, node) {
  64758. var $async$goto = 0,
  64759. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64760. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64761. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64762. if ($async$errorCode === 1)
  64763. return A._asyncRethrow($async$result, $async$completer);
  64764. while (true)
  64765. switch ($async$goto) {
  64766. case 0:
  64767. // Function start
  64768. t1 = $async$self._async_evaluate$_environment;
  64769. t2 = t1.closure$0();
  64770. t3 = $async$self._async_evaluate$_inDependency;
  64771. t4 = t1._async_environment$_mixins;
  64772. index = t4.length - 1;
  64773. t5 = node.name;
  64774. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  64775. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64776. $async$returnValue = null;
  64777. // goto return
  64778. $async$goto = 1;
  64779. break;
  64780. case 1:
  64781. // return
  64782. return A._asyncReturn($async$returnValue, $async$completer);
  64783. }
  64784. });
  64785. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  64786. },
  64787. visitLoudComment$1(_, node) {
  64788. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  64789. },
  64790. visitLoudComment$body$_EvaluateVisitor(_, node) {
  64791. var $async$goto = 0,
  64792. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64793. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  64794. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64795. if ($async$errorCode === 1)
  64796. return A._asyncRethrow($async$result, $async$completer);
  64797. while (true)
  64798. switch ($async$goto) {
  64799. case 0:
  64800. // Function start
  64801. if ($async$self._async_evaluate$_inFunction) {
  64802. $async$returnValue = null;
  64803. // goto return
  64804. $async$goto = 1;
  64805. break;
  64806. }
  64807. 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))
  64808. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64809. t1 = node.text;
  64810. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  64811. $async$temp2 = A;
  64812. $async$goto = 3;
  64813. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  64814. case 3:
  64815. // returning from await.
  64816. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  64817. $async$returnValue = null;
  64818. // goto return
  64819. $async$goto = 1;
  64820. break;
  64821. case 1:
  64822. // return
  64823. return A._asyncReturn($async$returnValue, $async$completer);
  64824. }
  64825. });
  64826. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  64827. },
  64828. visitMediaRule$1(_, node) {
  64829. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  64830. },
  64831. visitMediaRule$body$_EvaluateVisitor(_, node) {
  64832. var $async$goto = 0,
  64833. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64834. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  64835. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64836. if ($async$errorCode === 1)
  64837. return A._asyncRethrow($async$result, $async$completer);
  64838. while (true)
  64839. switch ($async$goto) {
  64840. case 0:
  64841. // Function start
  64842. if ($async$self._async_evaluate$_declarationName != null)
  64843. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  64844. $async$goto = 3;
  64845. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  64846. case 3:
  64847. // returning from await.
  64848. queries = $async$result;
  64849. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  64850. t1 = mergedQueries == null;
  64851. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  64852. $async$returnValue = null;
  64853. // goto return
  64854. $async$goto = 1;
  64855. break;
  64856. }
  64857. if (t1)
  64858. mergedSources = B.Set_empty1;
  64859. else {
  64860. t2 = $async$self._async_evaluate$_mediaQuerySources;
  64861. t2.toString;
  64862. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  64863. t3 = $async$self._async_evaluate$_mediaQueries;
  64864. t3.toString;
  64865. t2.addAll$1(0, t3);
  64866. t2.addAll$1(0, queries);
  64867. mergedSources = t2;
  64868. }
  64869. t1 = t1 ? queries : mergedQueries;
  64870. $async$goto = 4;
  64871. 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);
  64872. case 4:
  64873. // returning from await.
  64874. $async$returnValue = null;
  64875. // goto return
  64876. $async$goto = 1;
  64877. break;
  64878. case 1:
  64879. // return
  64880. return A._asyncReturn($async$returnValue, $async$completer);
  64881. }
  64882. });
  64883. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  64884. },
  64885. _visitMediaQueries$1(interpolation) {
  64886. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  64887. },
  64888. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  64889. var $async$goto = 0,
  64890. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  64891. $async$returnValue, $async$self = this, _0_0;
  64892. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64893. if ($async$errorCode === 1)
  64894. return A._asyncRethrow($async$result, $async$completer);
  64895. while (true)
  64896. switch ($async$goto) {
  64897. case 0:
  64898. // Function start
  64899. $async$goto = 3;
  64900. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  64901. case 3:
  64902. // returning from await.
  64903. _0_0 = $async$result;
  64904. $async$returnValue = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, $async$self._async_evaluate$_logger);
  64905. // goto return
  64906. $async$goto = 1;
  64907. break;
  64908. case 1:
  64909. // return
  64910. return A._asyncReturn($async$returnValue, $async$completer);
  64911. }
  64912. });
  64913. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  64914. },
  64915. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  64916. var t1, t2, t3, t4, _0_0, t5, result,
  64917. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  64918. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  64919. t3 = t1.get$current(t1);
  64920. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  64921. $label0$1: {
  64922. _0_0 = t3.merge$1(t4.get$current(t4));
  64923. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  64924. continue;
  64925. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  64926. return null;
  64927. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  64928. result = t5 ? _0_0 : null;
  64929. if (t5)
  64930. queries.push(result.query);
  64931. break $label0$1;
  64932. }
  64933. }
  64934. return queries;
  64935. },
  64936. visitReturnRule$1(_, node) {
  64937. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  64938. },
  64939. visitReturnRule$body$_EvaluateVisitor(_, node) {
  64940. var $async$goto = 0,
  64941. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64942. $async$returnValue, $async$self = this, t1, t2;
  64943. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64944. if ($async$errorCode === 1)
  64945. return A._asyncRethrow($async$result, $async$completer);
  64946. while (true)
  64947. switch ($async$goto) {
  64948. case 0:
  64949. // Function start
  64950. t1 = node.expression;
  64951. t2 = t1.accept$1($async$self);
  64952. $async$goto = 3;
  64953. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  64954. case 3:
  64955. // returning from await.
  64956. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  64957. // goto return
  64958. $async$goto = 1;
  64959. break;
  64960. case 1:
  64961. // return
  64962. return A._asyncReturn($async$returnValue, $async$completer);
  64963. }
  64964. });
  64965. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  64966. },
  64967. visitSilentComment$1(_, node) {
  64968. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  64969. },
  64970. visitSilentComment$body$_EvaluateVisitor(_, node) {
  64971. var $async$goto = 0,
  64972. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64973. $async$returnValue;
  64974. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64975. if ($async$errorCode === 1)
  64976. return A._asyncRethrow($async$result, $async$completer);
  64977. while (true)
  64978. switch ($async$goto) {
  64979. case 0:
  64980. // Function start
  64981. $async$returnValue = null;
  64982. // goto return
  64983. $async$goto = 1;
  64984. break;
  64985. case 1:
  64986. // return
  64987. return A._asyncReturn($async$returnValue, $async$completer);
  64988. }
  64989. });
  64990. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  64991. },
  64992. visitStyleRule$1(_, node) {
  64993. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  64994. },
  64995. visitStyleRule$body$_EvaluateVisitor(_, node) {
  64996. var $async$goto = 0,
  64997. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64998. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  64999. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65000. if ($async$errorCode === 1)
  65001. return A._asyncRethrow($async$result, $async$completer);
  65002. while (true)
  65003. switch ($async$goto) {
  65004. case 0:
  65005. // Function start
  65006. if ($async$self._async_evaluate$_declarationName != null)
  65007. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  65008. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  65009. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  65010. t1 = node.selector;
  65011. $async$goto = 3;
  65012. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  65013. case 3:
  65014. // returning from await.
  65015. _0_0 = $async$result;
  65016. selectorText = _0_0._0;
  65017. selectorMap = _0_0._1;
  65018. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  65019. break;
  65020. case 4:
  65021. // then
  65022. $async$goto = 6;
  65023. 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(0), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure3($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure4(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  65024. case 6:
  65025. // returning from await.
  65026. $async$returnValue = null;
  65027. // goto return
  65028. $async$goto = 1;
  65029. break;
  65030. case 5:
  65031. // join
  65032. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_logger, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  65033. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  65034. t1 = t1 == null ? null : t1.fromPlainCss;
  65035. nest = t1 !== true;
  65036. if (nest) {
  65037. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  65038. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  65039. _1_0 = t1[_i].leadingCombinators;
  65040. if (_1_0.length >= 1) {
  65041. first = _1_0[0];
  65042. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet");
  65043. t3 = t3.plainCss;
  65044. } else {
  65045. first = null;
  65046. t3 = false;
  65047. }
  65048. if (t3)
  65049. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  65050. }
  65051. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  65052. t1 = t1 == null ? null : t1.originalSelector;
  65053. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate$_atRootExcludingStyleRule, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  65054. }
  65055. 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, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  65056. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  65057. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  65058. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  65059. $async$goto = 7;
  65060. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  65061. case 7:
  65062. // returning from await.
  65063. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  65064. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  65065. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  65066. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  65067. t1 = !t1.get$isEmpty(t1);
  65068. }
  65069. if (t1) {
  65070. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  65071. t1.get$last(t1).isGroupEnd = true;
  65072. }
  65073. $async$returnValue = null;
  65074. // goto return
  65075. $async$goto = 1;
  65076. break;
  65077. case 1:
  65078. // return
  65079. return A._asyncReturn($async$returnValue, $async$completer);
  65080. }
  65081. });
  65082. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  65083. },
  65084. _async_evaluate$_warnForBogusCombinators$1(rule) {
  65085. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  65086. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  65087. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  65088. complex = t1[_i];
  65089. if (!complex.accept$1(B._IsBogusVisitor_true))
  65090. continue;
  65091. if (complex.accept$1(B.C__IsUselessVisitor)) {
  65092. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  65093. complex.accept$1(visitor);
  65094. _this._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_ido);
  65095. } else if (complex.leadingCombinators.length !== 0) {
  65096. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  65097. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  65098. complex.accept$1(visitor);
  65099. _this._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_ido);
  65100. }
  65101. } else {
  65102. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  65103. complex.accept$1(visitor);
  65104. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  65105. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  65106. t8 = A.SpanExtensions_trimRight(complex.span);
  65107. if (t5.get$length(0) === 0)
  65108. A.throwExpression(A.IterableElementError_noElement());
  65109. t9 = J.get$span$z(t5.$index(0, 0));
  65110. _this._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__warnForBogusCombinators_closure0()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_ido);
  65111. }
  65112. }
  65113. },
  65114. visitSupportsRule$1(_, node) {
  65115. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  65116. },
  65117. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  65118. var $async$goto = 0,
  65119. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65120. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  65121. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65122. if ($async$errorCode === 1)
  65123. return A._asyncRethrow($async$result, $async$completer);
  65124. while (true)
  65125. switch ($async$goto) {
  65126. case 0:
  65127. // Function start
  65128. if ($async$self._async_evaluate$_declarationName != null)
  65129. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  65130. t1 = node.condition;
  65131. $async$temp1 = A;
  65132. $async$temp2 = A;
  65133. $async$goto = 4;
  65134. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  65135. case 4:
  65136. // returning from await.
  65137. $async$goto = 3;
  65138. 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);
  65139. case 3:
  65140. // returning from await.
  65141. $async$returnValue = null;
  65142. // goto return
  65143. $async$goto = 1;
  65144. break;
  65145. case 1:
  65146. // return
  65147. return A._asyncReturn($async$returnValue, $async$completer);
  65148. }
  65149. });
  65150. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  65151. },
  65152. _async_evaluate$_visitSupportsCondition$1(condition) {
  65153. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  65154. },
  65155. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  65156. var $async$goto = 0,
  65157. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  65158. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  65159. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65160. if ($async$errorCode === 1)
  65161. return A._asyncRethrow($async$result, $async$completer);
  65162. while (true)
  65163. switch ($async$goto) {
  65164. case 0:
  65165. // Function start
  65166. _box_0 = {};
  65167. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  65168. break;
  65169. case 4:
  65170. // then
  65171. t1 = condition.operator;
  65172. $async$temp1 = A;
  65173. $async$goto = 6;
  65174. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  65175. case 6:
  65176. // returning from await.
  65177. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  65178. $async$temp2 = A;
  65179. $async$goto = 7;
  65180. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  65181. case 7:
  65182. // returning from await.
  65183. t1 = $async$temp1 + $async$temp2.S($async$result);
  65184. // goto break $label0$0
  65185. $async$goto = 3;
  65186. break;
  65187. case 5:
  65188. // join
  65189. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  65190. break;
  65191. case 8:
  65192. // then
  65193. $async$temp1 = A;
  65194. $async$goto = 10;
  65195. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  65196. case 10:
  65197. // returning from await.
  65198. t1 = "not " + $async$temp1.S($async$result);
  65199. // goto break $label0$0
  65200. $async$goto = 3;
  65201. break;
  65202. case 9:
  65203. // join
  65204. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  65205. break;
  65206. case 11:
  65207. // then
  65208. $async$goto = 13;
  65209. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  65210. case 13:
  65211. // returning from await.
  65212. t1 = $async$result;
  65213. // goto break $label0$0
  65214. $async$goto = 3;
  65215. break;
  65216. case 12:
  65217. // join
  65218. _box_0.declaration = null;
  65219. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  65220. break;
  65221. case 14:
  65222. // then
  65223. _box_0.declaration = condition;
  65224. $async$goto = 16;
  65225. 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);
  65226. case 16:
  65227. // returning from await.
  65228. t1 = $async$result;
  65229. // goto break $label0$0
  65230. $async$goto = 3;
  65231. break;
  65232. case 15:
  65233. // join
  65234. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  65235. break;
  65236. case 17:
  65237. // then
  65238. $async$temp1 = A;
  65239. $async$goto = 19;
  65240. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  65241. case 19:
  65242. // returning from await.
  65243. $async$temp1 = $async$temp1.S($async$result) + "(";
  65244. $async$temp2 = A;
  65245. $async$goto = 20;
  65246. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  65247. case 20:
  65248. // returning from await.
  65249. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  65250. // goto break $label0$0
  65251. $async$goto = 3;
  65252. break;
  65253. case 18:
  65254. // join
  65255. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  65256. break;
  65257. case 21:
  65258. // then
  65259. $async$temp1 = A;
  65260. $async$goto = 23;
  65261. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  65262. case 23:
  65263. // returning from await.
  65264. t1 = "(" + $async$temp1.S($async$result) + ")";
  65265. // goto break $label0$0
  65266. $async$goto = 3;
  65267. break;
  65268. case 22:
  65269. // join
  65270. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  65271. case 3:
  65272. // break $label0$0
  65273. $async$returnValue = t1;
  65274. // goto return
  65275. $async$goto = 1;
  65276. break;
  65277. case 1:
  65278. // return
  65279. return A._asyncReturn($async$returnValue, $async$completer);
  65280. }
  65281. });
  65282. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  65283. },
  65284. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  65285. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  65286. },
  65287. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  65288. var $async$goto = 0,
  65289. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  65290. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  65291. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65292. if ($async$errorCode === 1) {
  65293. $async$currentError = $async$result;
  65294. $async$goto = $async$handler;
  65295. }
  65296. while (true)
  65297. switch ($async$goto) {
  65298. case 0:
  65299. // Function start
  65300. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  65301. $async$self._async_evaluate$_inSupportsDeclaration = true;
  65302. $async$handler = 3;
  65303. t1 = callback.call$0();
  65304. $async$goto = 6;
  65305. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  65306. case 6:
  65307. // returning from await.
  65308. t1 = $async$result;
  65309. $async$returnValue = t1;
  65310. $async$next = [1];
  65311. // goto finally
  65312. $async$goto = 4;
  65313. break;
  65314. $async$next.push(5);
  65315. // goto finally
  65316. $async$goto = 4;
  65317. break;
  65318. case 3:
  65319. // uncaught
  65320. $async$next = [2];
  65321. case 4:
  65322. // finally
  65323. $async$handler = 2;
  65324. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  65325. // goto the next finally handler
  65326. $async$goto = $async$next.pop();
  65327. break;
  65328. case 5:
  65329. // after finally
  65330. case 1:
  65331. // return
  65332. return A._asyncReturn($async$returnValue, $async$completer);
  65333. case 2:
  65334. // rethrow
  65335. return A._asyncRethrow($async$currentError, $async$completer);
  65336. }
  65337. });
  65338. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  65339. },
  65340. _async_evaluate$_parenthesize$2(condition, operator) {
  65341. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  65342. },
  65343. _async_evaluate$_parenthesize$1(condition) {
  65344. return this._async_evaluate$_parenthesize$2(condition, null);
  65345. },
  65346. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  65347. var $async$goto = 0,
  65348. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  65349. $async$returnValue, $async$self = this, t1, $async$temp1;
  65350. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65351. if ($async$errorCode === 1)
  65352. return A._asyncRethrow($async$result, $async$completer);
  65353. while (true)
  65354. switch ($async$goto) {
  65355. case 0:
  65356. // Function start
  65357. if (!(condition instanceof A.SupportsNegation))
  65358. if (condition instanceof A.SupportsOperation)
  65359. t1 = operator == null || operator !== condition.operator;
  65360. else
  65361. t1 = false;
  65362. else
  65363. t1 = true;
  65364. $async$goto = t1 ? 3 : 4;
  65365. break;
  65366. case 3:
  65367. // then
  65368. $async$temp1 = A;
  65369. $async$goto = 5;
  65370. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65371. case 5:
  65372. // returning from await.
  65373. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  65374. // goto return
  65375. $async$goto = 1;
  65376. break;
  65377. case 4:
  65378. // join
  65379. $async$goto = 6;
  65380. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65381. case 6:
  65382. // returning from await.
  65383. $async$returnValue = $async$result;
  65384. // goto return
  65385. $async$goto = 1;
  65386. break;
  65387. case 1:
  65388. // return
  65389. return A._asyncReturn($async$returnValue, $async$completer);
  65390. }
  65391. });
  65392. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  65393. },
  65394. visitVariableDeclaration$1(_, node) {
  65395. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  65396. },
  65397. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  65398. var $async$goto = 0,
  65399. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65400. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  65401. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65402. if ($async$errorCode === 1)
  65403. return A._asyncRethrow($async$result, $async$completer);
  65404. while (true)
  65405. switch ($async$goto) {
  65406. case 0:
  65407. // Function start
  65408. t1 = {};
  65409. if (node.isGuarded) {
  65410. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  65411. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  65412. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  65413. t1.override = null;
  65414. if (t2 != null) {
  65415. t1.override = t2;
  65416. t2 = !t2.value.$eq(0, B.C__SassNull);
  65417. } else
  65418. t2 = false;
  65419. if (t2) {
  65420. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  65421. $async$returnValue = null;
  65422. // goto return
  65423. $async$goto = 1;
  65424. break;
  65425. }
  65426. }
  65427. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  65428. if (value != null && !value.$eq(0, B.C__SassNull)) {
  65429. $async$returnValue = null;
  65430. // goto return
  65431. $async$goto = 1;
  65432. break;
  65433. }
  65434. }
  65435. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  65436. 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.";
  65437. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_2nU);
  65438. }
  65439. t1 = node.expression;
  65440. t2 = t1.accept$1($async$self);
  65441. $async$temp1 = node;
  65442. $async$temp2 = A;
  65443. $async$temp3 = node;
  65444. $async$goto = 3;
  65445. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  65446. case 3:
  65447. // returning from await.
  65448. $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)));
  65449. $async$returnValue = null;
  65450. // goto return
  65451. $async$goto = 1;
  65452. break;
  65453. case 1:
  65454. // return
  65455. return A._asyncReturn($async$returnValue, $async$completer);
  65456. }
  65457. });
  65458. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  65459. },
  65460. visitUseRule$1(_, node) {
  65461. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  65462. },
  65463. visitUseRule$body$_EvaluateVisitor(_, node) {
  65464. var $async$goto = 0,
  65465. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65466. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  65467. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65468. if ($async$errorCode === 1)
  65469. return A._asyncRethrow($async$result, $async$completer);
  65470. while (true)
  65471. switch ($async$goto) {
  65472. case 0:
  65473. // Function start
  65474. t1 = node.configuration;
  65475. t2 = t1.length;
  65476. $async$goto = t2 !== 0 ? 3 : 5;
  65477. break;
  65478. case 3:
  65479. // then
  65480. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  65481. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  65482. case 6:
  65483. // for condition
  65484. if (!(_i < t2)) {
  65485. // goto after for
  65486. $async$goto = 8;
  65487. break;
  65488. }
  65489. variable = t1[_i];
  65490. t5 = variable.expression;
  65491. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  65492. t6 = variable.name;
  65493. t5 = t5.accept$1($async$self);
  65494. if (!t4._is(t5)) {
  65495. t7 = new A._Future($.Zone__current, t3);
  65496. t7._state = 8;
  65497. t7._resultOrListeners = t5;
  65498. t5 = t7;
  65499. }
  65500. $async$temp1 = values;
  65501. $async$temp2 = t6;
  65502. $async$temp3 = A;
  65503. $async$goto = 9;
  65504. return A._asyncAwait(t5, $async$visitUseRule$1);
  65505. case 9:
  65506. // returning from await.
  65507. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  65508. case 7:
  65509. // for update
  65510. ++_i;
  65511. // goto for condition
  65512. $async$goto = 6;
  65513. break;
  65514. case 8:
  65515. // after for
  65516. configuration = new A.ExplicitConfiguration(node, values, null);
  65517. // goto join
  65518. $async$goto = 4;
  65519. break;
  65520. case 5:
  65521. // else
  65522. configuration = B.Configuration_Map_empty_null;
  65523. case 4:
  65524. // join
  65525. $async$goto = 10;
  65526. 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);
  65527. case 10:
  65528. // returning from await.
  65529. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  65530. $async$returnValue = null;
  65531. // goto return
  65532. $async$goto = 1;
  65533. break;
  65534. case 1:
  65535. // return
  65536. return A._asyncReturn($async$returnValue, $async$completer);
  65537. }
  65538. });
  65539. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  65540. },
  65541. visitWarnRule$1(_, node) {
  65542. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  65543. },
  65544. visitWarnRule$body$_EvaluateVisitor(_, node) {
  65545. var $async$goto = 0,
  65546. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65547. $async$returnValue, $async$self = this, value, t1;
  65548. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65549. if ($async$errorCode === 1)
  65550. return A._asyncRethrow($async$result, $async$completer);
  65551. while (true)
  65552. switch ($async$goto) {
  65553. case 0:
  65554. // Function start
  65555. $async$goto = 3;
  65556. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  65557. case 3:
  65558. // returning from await.
  65559. value = $async$result;
  65560. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  65561. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  65562. $async$returnValue = null;
  65563. // goto return
  65564. $async$goto = 1;
  65565. break;
  65566. case 1:
  65567. // return
  65568. return A._asyncReturn($async$returnValue, $async$completer);
  65569. }
  65570. });
  65571. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  65572. },
  65573. visitWhileRule$1(_, node) {
  65574. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  65575. },
  65576. visitBinaryOperationExpression$1(_, node) {
  65577. var t1, _this = this;
  65578. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  65579. t1 = node.operator;
  65580. t1 = t1 !== B.BinaryOperator_wdM && t1 !== B.BinaryOperator_U77;
  65581. } else
  65582. t1 = false;
  65583. if (t1)
  65584. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  65585. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  65586. },
  65587. _async_evaluate$_slash$3(left, right, node) {
  65588. var t2, _1_1,
  65589. result = left.dividedBy$1(right),
  65590. _1_2_isSet = left instanceof A.SassNumber,
  65591. _1_2 = null, right0 = null,
  65592. t1 = false;
  65593. if (_1_2_isSet) {
  65594. t2 = type$.SassNumber;
  65595. t2._as(left);
  65596. if (right instanceof A.SassNumber) {
  65597. t2._as(right);
  65598. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  65599. right0 = right;
  65600. _1_2 = right0;
  65601. } else
  65602. _1_2 = right;
  65603. _1_1 = left;
  65604. } else {
  65605. _1_1 = left;
  65606. left = null;
  65607. }
  65608. if (t1)
  65609. return type$.SassNumber._as(result).withSlash$2(left, right0);
  65610. if (_1_1 instanceof A.SassNumber)
  65611. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  65612. else
  65613. t1 = false;
  65614. if (t1) {
  65615. 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_oJv);
  65616. return result;
  65617. }
  65618. return result;
  65619. },
  65620. _async_evaluate$_operandAllowsSlash$1(node) {
  65621. var t1;
  65622. if (node instanceof A.FunctionExpression)
  65623. if (node.namespace == null) {
  65624. t1 = node.name;
  65625. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  65626. } else
  65627. t1 = false;
  65628. else
  65629. t1 = true;
  65630. return t1;
  65631. },
  65632. visitValueExpression$1(_, node) {
  65633. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  65634. },
  65635. visitValueExpression$body$_EvaluateVisitor(_, node) {
  65636. var $async$goto = 0,
  65637. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65638. $async$returnValue;
  65639. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65640. if ($async$errorCode === 1)
  65641. return A._asyncRethrow($async$result, $async$completer);
  65642. while (true)
  65643. switch ($async$goto) {
  65644. case 0:
  65645. // Function start
  65646. $async$returnValue = node.value;
  65647. // goto return
  65648. $async$goto = 1;
  65649. break;
  65650. case 1:
  65651. // return
  65652. return A._asyncReturn($async$returnValue, $async$completer);
  65653. }
  65654. });
  65655. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  65656. },
  65657. visitVariableExpression$1(_, node) {
  65658. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  65659. },
  65660. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  65661. var $async$goto = 0,
  65662. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65663. $async$returnValue, $async$self = this, result;
  65664. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65665. if ($async$errorCode === 1)
  65666. return A._asyncRethrow($async$result, $async$completer);
  65667. while (true)
  65668. switch ($async$goto) {
  65669. case 0:
  65670. // Function start
  65671. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  65672. if (result != null) {
  65673. $async$returnValue = result;
  65674. // goto return
  65675. $async$goto = 1;
  65676. break;
  65677. }
  65678. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  65679. case 1:
  65680. // return
  65681. return A._asyncReturn($async$returnValue, $async$completer);
  65682. }
  65683. });
  65684. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  65685. },
  65686. visitUnaryOperationExpression$1(_, node) {
  65687. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  65688. },
  65689. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  65690. var $async$goto = 0,
  65691. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65692. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  65693. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65694. if ($async$errorCode === 1)
  65695. return A._asyncRethrow($async$result, $async$completer);
  65696. while (true)
  65697. switch ($async$goto) {
  65698. case 0:
  65699. // Function start
  65700. $async$temp1 = node;
  65701. $async$temp2 = A;
  65702. $async$temp3 = node;
  65703. $async$goto = 3;
  65704. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  65705. case 3:
  65706. // returning from await.
  65707. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  65708. // goto return
  65709. $async$goto = 1;
  65710. break;
  65711. case 1:
  65712. // return
  65713. return A._asyncReturn($async$returnValue, $async$completer);
  65714. }
  65715. });
  65716. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  65717. },
  65718. visitBooleanExpression$1(_, node) {
  65719. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  65720. },
  65721. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  65722. var $async$goto = 0,
  65723. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  65724. $async$returnValue;
  65725. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65726. if ($async$errorCode === 1)
  65727. return A._asyncRethrow($async$result, $async$completer);
  65728. while (true)
  65729. switch ($async$goto) {
  65730. case 0:
  65731. // Function start
  65732. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  65733. // goto return
  65734. $async$goto = 1;
  65735. break;
  65736. case 1:
  65737. // return
  65738. return A._asyncReturn($async$returnValue, $async$completer);
  65739. }
  65740. });
  65741. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  65742. },
  65743. visitIfExpression$1(_, node) {
  65744. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  65745. },
  65746. visitIfExpression$body$_EvaluateVisitor(_, node) {
  65747. var $async$goto = 0,
  65748. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65749. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  65750. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65751. if ($async$errorCode === 1)
  65752. return A._asyncRethrow($async$result, $async$completer);
  65753. while (true)
  65754. switch ($async$goto) {
  65755. case 0:
  65756. // Function start
  65757. $async$goto = 3;
  65758. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  65759. case 3:
  65760. // returning from await.
  65761. _0_0 = $async$result;
  65762. positional = _0_0._0;
  65763. named = _0_0._1;
  65764. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  65765. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  65766. if (condition == null) {
  65767. t1 = named.$index(0, "condition");
  65768. t1.toString;
  65769. condition = t1;
  65770. }
  65771. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  65772. if (ifTrue == null) {
  65773. t1 = named.$index(0, "if-true");
  65774. t1.toString;
  65775. ifTrue = t1;
  65776. }
  65777. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  65778. if (ifFalse == null) {
  65779. t1 = named.$index(0, "if-false");
  65780. t1.toString;
  65781. ifFalse = t1;
  65782. }
  65783. $async$goto = 4;
  65784. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  65785. case 4:
  65786. // returning from await.
  65787. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  65788. t1 = result.accept$1($async$self);
  65789. $async$goto = 5;
  65790. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  65791. case 5:
  65792. // returning from await.
  65793. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  65794. // goto return
  65795. $async$goto = 1;
  65796. break;
  65797. case 1:
  65798. // return
  65799. return A._asyncReturn($async$returnValue, $async$completer);
  65800. }
  65801. });
  65802. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  65803. },
  65804. visitNullExpression$1(_, node) {
  65805. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  65806. },
  65807. visitNullExpression$body$_EvaluateVisitor(_, node) {
  65808. var $async$goto = 0,
  65809. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65810. $async$returnValue;
  65811. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65812. if ($async$errorCode === 1)
  65813. return A._asyncRethrow($async$result, $async$completer);
  65814. while (true)
  65815. switch ($async$goto) {
  65816. case 0:
  65817. // Function start
  65818. $async$returnValue = B.C__SassNull;
  65819. // goto return
  65820. $async$goto = 1;
  65821. break;
  65822. case 1:
  65823. // return
  65824. return A._asyncReturn($async$returnValue, $async$completer);
  65825. }
  65826. });
  65827. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  65828. },
  65829. visitNumberExpression$1(_, node) {
  65830. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  65831. },
  65832. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  65833. var $async$goto = 0,
  65834. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  65835. $async$returnValue;
  65836. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65837. if ($async$errorCode === 1)
  65838. return A._asyncRethrow($async$result, $async$completer);
  65839. while (true)
  65840. switch ($async$goto) {
  65841. case 0:
  65842. // Function start
  65843. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  65844. // goto return
  65845. $async$goto = 1;
  65846. break;
  65847. case 1:
  65848. // return
  65849. return A._asyncReturn($async$returnValue, $async$completer);
  65850. }
  65851. });
  65852. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  65853. },
  65854. visitParenthesizedExpression$1(_, node) {
  65855. var _this = this;
  65856. 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);
  65857. },
  65858. visitColorExpression$1(_, node) {
  65859. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  65860. },
  65861. visitColorExpression$body$_EvaluateVisitor(_, node) {
  65862. var $async$goto = 0,
  65863. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  65864. $async$returnValue;
  65865. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65866. if ($async$errorCode === 1)
  65867. return A._asyncRethrow($async$result, $async$completer);
  65868. while (true)
  65869. switch ($async$goto) {
  65870. case 0:
  65871. // Function start
  65872. $async$returnValue = node.value;
  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$visitColorExpression$1, $async$completer);
  65882. },
  65883. visitListExpression$1(_, node) {
  65884. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  65885. },
  65886. visitListExpression$body$_EvaluateVisitor(_, node) {
  65887. var $async$goto = 0,
  65888. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  65889. $async$returnValue, $async$self = this, $async$temp1;
  65890. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65891. if ($async$errorCode === 1)
  65892. return A._asyncRethrow($async$result, $async$completer);
  65893. while (true)
  65894. switch ($async$goto) {
  65895. case 0:
  65896. // Function start
  65897. $async$temp1 = A;
  65898. $async$goto = 3;
  65899. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  65900. case 3:
  65901. // returning from await.
  65902. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  65903. // goto return
  65904. $async$goto = 1;
  65905. break;
  65906. case 1:
  65907. // return
  65908. return A._asyncReturn($async$returnValue, $async$completer);
  65909. }
  65910. });
  65911. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  65912. },
  65913. visitMapExpression$1(_, node) {
  65914. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  65915. },
  65916. visitMapExpression$body$_EvaluateVisitor(_, node) {
  65917. var $async$goto = 0,
  65918. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  65919. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  65920. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65921. if ($async$errorCode === 1)
  65922. return A._asyncRethrow($async$result, $async$completer);
  65923. while (true)
  65924. switch ($async$goto) {
  65925. case 0:
  65926. // Function start
  65927. t1 = type$.Value;
  65928. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  65929. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  65930. t2 = node.pairs, t3 = t2.length, _i = 0;
  65931. case 3:
  65932. // for condition
  65933. if (!(_i < t3)) {
  65934. // goto after for
  65935. $async$goto = 5;
  65936. break;
  65937. }
  65938. t4 = t2[_i];
  65939. key = t4._0;
  65940. value = t4._1;
  65941. $async$goto = 6;
  65942. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  65943. case 6:
  65944. // returning from await.
  65945. keyValue = $async$result;
  65946. $async$goto = 7;
  65947. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  65948. case 7:
  65949. // returning from await.
  65950. valueValue = $async$result;
  65951. if (map.containsKey$1(keyValue)) {
  65952. t1 = keyNodes.$index(0, keyValue);
  65953. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  65954. t1 = key.get$span(key);
  65955. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  65956. if (oldValueSpan != null)
  65957. t2.$indexSet(0, oldValueSpan, "first key");
  65958. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  65959. }
  65960. map.$indexSet(0, keyValue, valueValue);
  65961. keyNodes.$indexSet(0, keyValue, key);
  65962. case 4:
  65963. // for update
  65964. ++_i;
  65965. // goto for condition
  65966. $async$goto = 3;
  65967. break;
  65968. case 5:
  65969. // after for
  65970. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  65971. // goto return
  65972. $async$goto = 1;
  65973. break;
  65974. case 1:
  65975. // return
  65976. return A._asyncReturn($async$returnValue, $async$completer);
  65977. }
  65978. });
  65979. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  65980. },
  65981. visitFunctionExpression$1(_, node) {
  65982. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  65983. },
  65984. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  65985. var $async$goto = 0,
  65986. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65987. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  65988. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65989. if ($async$errorCode === 1)
  65990. return A._asyncRethrow($async$result, $async$completer);
  65991. while (true)
  65992. switch ($async$goto) {
  65993. case 0:
  65994. // Function start
  65995. t1 = {};
  65996. $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));
  65997. t1.$function = $function;
  65998. $async$goto = $function == null ? 3 : 5;
  65999. break;
  66000. case 3:
  66001. // then
  66002. if (node.namespace != null)
  66003. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  66004. t2 = node.name;
  66005. _0_0 = t2.toLowerCase();
  66006. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  66007. t3 = node.$arguments;
  66008. t4 = t3.named;
  66009. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  66010. } else
  66011. t3 = false;
  66012. $async$goto = t3 ? 6 : 7;
  66013. break;
  66014. case 6:
  66015. // then
  66016. $async$goto = 8;
  66017. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  66018. case 8:
  66019. // returning from await.
  66020. $async$returnValue = $async$result;
  66021. // goto return
  66022. $async$goto = 1;
  66023. break;
  66024. case 7:
  66025. // join
  66026. $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 ? 9 : 10;
  66027. break;
  66028. case 9:
  66029. // then
  66030. $async$goto = 11;
  66031. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  66032. case 11:
  66033. // returning from await.
  66034. $async$returnValue = $async$result;
  66035. // goto return
  66036. $async$goto = 1;
  66037. break;
  66038. case 10:
  66039. // join
  66040. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  66041. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  66042. // goto join
  66043. $async$goto = 4;
  66044. break;
  66045. case 5:
  66046. // else
  66047. t2 = $function;
  66048. case 4:
  66049. // join
  66050. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  66051. $async$self._async_evaluate$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_HJ0);
  66052. oldInFunction = $async$self._async_evaluate$_inFunction;
  66053. $async$self._async_evaluate$_inFunction = true;
  66054. $async$goto = 12;
  66055. 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);
  66056. case 12:
  66057. // returning from await.
  66058. result = $async$result;
  66059. $async$self._async_evaluate$_inFunction = oldInFunction;
  66060. $async$returnValue = result;
  66061. // goto return
  66062. $async$goto = 1;
  66063. break;
  66064. case 1:
  66065. // return
  66066. return A._asyncReturn($async$returnValue, $async$completer);
  66067. }
  66068. });
  66069. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  66070. },
  66071. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  66072. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  66073. },
  66074. _async_evaluate$_visitCalculation$1(node) {
  66075. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, false);
  66076. },
  66077. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  66078. var $async$goto = 0,
  66079. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66080. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  66081. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66082. if ($async$errorCode === 1)
  66083. return A._asyncRethrow($async$result, $async$completer);
  66084. while (true)
  66085. switch ($async$goto) {
  66086. case 0:
  66087. // Function start
  66088. t2 = node.$arguments;
  66089. t3 = t2.named;
  66090. if (t3.get$isNotEmpty(t3))
  66091. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  66092. else if (t2.rest != null)
  66093. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  66094. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  66095. t3 = A._setArrayType([], type$.JSArray_Object);
  66096. t2 = t2.positional, t4 = t2.length, _i = 0;
  66097. case 3:
  66098. // for condition
  66099. if (!(_i < t4)) {
  66100. // goto after for
  66101. $async$goto = 5;
  66102. break;
  66103. }
  66104. $async$temp1 = t3;
  66105. $async$goto = 6;
  66106. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  66107. case 6:
  66108. // returning from await.
  66109. $async$temp1.push($async$result);
  66110. case 4:
  66111. // for update
  66112. ++_i;
  66113. // goto for condition
  66114. $async$goto = 3;
  66115. break;
  66116. case 5:
  66117. // after for
  66118. $arguments = t3;
  66119. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  66120. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  66121. // goto return
  66122. $async$goto = 1;
  66123. break;
  66124. }
  66125. oldCallableNode = $async$self._async_evaluate$_callableNode;
  66126. $async$self._async_evaluate$_callableNode = node;
  66127. try {
  66128. t1 = null;
  66129. t3 = node.name;
  66130. _0_0 = t3.toLowerCase();
  66131. $label0$0: {
  66132. if ("calc" === _0_0) {
  66133. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  66134. break $label0$0;
  66135. }
  66136. if ("sqrt" === _0_0) {
  66137. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  66138. break $label0$0;
  66139. }
  66140. if ("sin" === _0_0) {
  66141. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  66142. break $label0$0;
  66143. }
  66144. if ("cos" === _0_0) {
  66145. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  66146. break $label0$0;
  66147. }
  66148. if ("tan" === _0_0) {
  66149. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  66150. break $label0$0;
  66151. }
  66152. if ("asin" === _0_0) {
  66153. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  66154. break $label0$0;
  66155. }
  66156. if ("acos" === _0_0) {
  66157. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  66158. break $label0$0;
  66159. }
  66160. if ("atan" === _0_0) {
  66161. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  66162. break $label0$0;
  66163. }
  66164. if ("abs" === _0_0) {
  66165. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  66166. break $label0$0;
  66167. }
  66168. if ("exp" === _0_0) {
  66169. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  66170. break $label0$0;
  66171. }
  66172. if ("sign" === _0_0) {
  66173. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  66174. break $label0$0;
  66175. }
  66176. if ("min" === _0_0) {
  66177. t1 = A.SassCalculation_min($arguments);
  66178. break $label0$0;
  66179. }
  66180. if ("max" === _0_0) {
  66181. t1 = A.SassCalculation_max($arguments);
  66182. break $label0$0;
  66183. }
  66184. if ("hypot" === _0_0) {
  66185. t1 = A.SassCalculation_hypot($arguments);
  66186. break $label0$0;
  66187. }
  66188. if ("pow" === _0_0) {
  66189. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66190. break $label0$0;
  66191. }
  66192. if ("atan2" === _0_0) {
  66193. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66194. break $label0$0;
  66195. }
  66196. if ("log" === _0_0) {
  66197. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66198. break $label0$0;
  66199. }
  66200. if ("mod" === _0_0) {
  66201. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66202. break $label0$0;
  66203. }
  66204. if ("rem" === _0_0) {
  66205. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66206. break $label0$0;
  66207. }
  66208. if ("round" === _0_0) {
  66209. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66210. break $label0$0;
  66211. }
  66212. if ("clamp" === _0_0) {
  66213. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66214. break $label0$0;
  66215. }
  66216. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  66217. t1 = A.throwExpression(t3);
  66218. }
  66219. t1 = t1;
  66220. $async$returnValue = t1;
  66221. // goto return
  66222. $async$goto = 1;
  66223. break;
  66224. } catch (exception) {
  66225. t1 = A.unwrapException(exception);
  66226. if (t1 instanceof A.SassScriptException) {
  66227. error = t1;
  66228. stackTrace = A.getTraceFromException(exception);
  66229. if (B.JSString_methods.contains$1(error.message, "compatible"))
  66230. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  66231. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  66232. } else
  66233. throw exception;
  66234. } finally {
  66235. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66236. }
  66237. case 1:
  66238. // return
  66239. return A._asyncReturn($async$returnValue, $async$completer);
  66240. }
  66241. });
  66242. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  66243. },
  66244. _async_evaluate$_checkCalculationArguments$1(node) {
  66245. var t1, _0_0,
  66246. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  66247. $label0$0: {
  66248. t1 = node.name;
  66249. _0_0 = t1.toLowerCase();
  66250. 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) {
  66251. check.call$1(1);
  66252. break $label0$0;
  66253. }
  66254. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  66255. check.call$0();
  66256. break $label0$0;
  66257. }
  66258. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  66259. check.call$1(2);
  66260. break $label0$0;
  66261. }
  66262. if ("round" === _0_0 || "clamp" === _0_0) {
  66263. check.call$1(3);
  66264. break $label0$0;
  66265. }
  66266. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  66267. }
  66268. },
  66269. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  66270. var i, t1, _0_0, arg, number1, j, number2;
  66271. for (i = 0; t1 = args.length, i < t1; ++i) {
  66272. _0_0 = args[i];
  66273. if (_0_0 instanceof A.SassNumber) {
  66274. t1 = _0_0.get$hasComplexUnits();
  66275. arg = _0_0;
  66276. } else {
  66277. arg = null;
  66278. t1 = false;
  66279. }
  66280. if (t1)
  66281. throw A.wrapException(this._async_evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  66282. }
  66283. for (i = 0; i < t1 - 1; ++i) {
  66284. number1 = args[i];
  66285. if (!(number1 instanceof A.SassNumber))
  66286. continue;
  66287. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  66288. number2 = args[j];
  66289. if (!(number2 instanceof A.SassNumber))
  66290. continue;
  66291. if (number1.hasPossiblyCompatibleUnits$1(number2))
  66292. continue;
  66293. 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));
  66294. }
  66295. }
  66296. },
  66297. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  66298. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  66299. },
  66300. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  66301. var $async$goto = 0,
  66302. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  66303. $async$returnValue, $async$self = this, result, t2, _0_0, _1_0, t3, _i, i, _box_0, t1, inner, $async$temp1;
  66304. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66305. if ($async$errorCode === 1)
  66306. return A._asyncRethrow($async$result, $async$completer);
  66307. while (true)
  66308. switch ($async$goto) {
  66309. case 0:
  66310. // Function start
  66311. _box_0 = {};
  66312. t1 = node instanceof A.ParenthesizedExpression;
  66313. inner = t1 ? node.expression : null;
  66314. $async$goto = t1 ? 3 : 4;
  66315. break;
  66316. case 3:
  66317. // then
  66318. $async$goto = 5;
  66319. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66320. case 5:
  66321. // returning from await.
  66322. result = $async$result;
  66323. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  66324. // goto return
  66325. $async$goto = 1;
  66326. break;
  66327. case 4:
  66328. // join
  66329. $async$goto = node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor()) ? 6 : 7;
  66330. break;
  66331. case 6:
  66332. // then
  66333. t1 = node.text;
  66334. t2 = t1.get$asPlain();
  66335. _0_0 = t2 == null ? null : t2.toLowerCase();
  66336. if ("pi" === _0_0) {
  66337. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  66338. // goto break $label0$0
  66339. $async$goto = 8;
  66340. break;
  66341. }
  66342. if ("e" === _0_0) {
  66343. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  66344. // goto break $label0$0
  66345. $async$goto = 8;
  66346. break;
  66347. }
  66348. if ("infinity" === _0_0) {
  66349. t1 = A.SassNumber_SassNumber(1 / 0, null);
  66350. // goto break $label0$0
  66351. $async$goto = 8;
  66352. break;
  66353. }
  66354. if ("-infinity" === _0_0) {
  66355. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  66356. // goto break $label0$0
  66357. $async$goto = 8;
  66358. break;
  66359. }
  66360. if ("nan" === _0_0) {
  66361. t1 = A.SassNumber_SassNumber(0 / 0, null);
  66362. // goto break $label0$0
  66363. $async$goto = 8;
  66364. break;
  66365. }
  66366. $async$temp1 = A;
  66367. $async$goto = 9;
  66368. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66369. case 9:
  66370. // returning from await.
  66371. t1 = new $async$temp1.SassString($async$result, false);
  66372. // goto break $label0$0
  66373. $async$goto = 8;
  66374. break;
  66375. case 8:
  66376. // break $label0$0
  66377. $async$returnValue = t1;
  66378. // goto return
  66379. $async$goto = 1;
  66380. break;
  66381. case 7:
  66382. // join
  66383. _box_0.right = _box_0.left = _box_0.operator = null;
  66384. t1 = node instanceof A.BinaryOperationExpression;
  66385. if (t1) {
  66386. _box_0.operator = node.operator;
  66387. _box_0.left = node.left;
  66388. _box_0.right = node.right;
  66389. }
  66390. $async$goto = t1 ? 10 : 11;
  66391. break;
  66392. case 10:
  66393. // then
  66394. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  66395. $async$goto = 12;
  66396. 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);
  66397. case 12:
  66398. // returning from await.
  66399. $async$returnValue = $async$result;
  66400. // goto return
  66401. $async$goto = 1;
  66402. break;
  66403. case 11:
  66404. // join
  66405. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  66406. break;
  66407. case 13:
  66408. // then
  66409. $async$goto = 15;
  66410. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66411. case 15:
  66412. // returning from await.
  66413. _1_0 = $async$result;
  66414. $label1$1: {
  66415. if (_1_0 instanceof A.SassNumber) {
  66416. t1 = _1_0;
  66417. break $label1$1;
  66418. }
  66419. if (_1_0 instanceof A.SassCalculation) {
  66420. t1 = _1_0;
  66421. break $label1$1;
  66422. }
  66423. if (_1_0 instanceof A.SassString) {
  66424. t1 = !_1_0._hasQuotes;
  66425. result = _1_0;
  66426. } else {
  66427. result = null;
  66428. t1 = false;
  66429. }
  66430. if (t1) {
  66431. t1 = result;
  66432. break $label1$1;
  66433. }
  66434. 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)));
  66435. }
  66436. $async$returnValue = t1;
  66437. // goto return
  66438. $async$goto = 1;
  66439. break;
  66440. case 14:
  66441. // join
  66442. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_nbm === node.separator && node.contents.length >= 2 ? 16 : 17;
  66443. break;
  66444. case 16:
  66445. // then
  66446. t1 = A._setArrayType([], type$.JSArray_Object);
  66447. t2 = node.contents, t3 = t2.length, _i = 0;
  66448. case 18:
  66449. // for condition
  66450. if (!(_i < t3)) {
  66451. // goto after for
  66452. $async$goto = 20;
  66453. break;
  66454. }
  66455. $async$temp1 = t1;
  66456. $async$goto = 21;
  66457. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66458. case 21:
  66459. // returning from await.
  66460. $async$temp1.push($async$result);
  66461. case 19:
  66462. // for update
  66463. ++_i;
  66464. // goto for condition
  66465. $async$goto = 18;
  66466. break;
  66467. case 20:
  66468. // after for
  66469. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  66470. for (i = 0; i < t1.length; ++i) {
  66471. t3 = t1[i];
  66472. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  66473. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  66474. }
  66475. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  66476. // goto return
  66477. $async$goto = 1;
  66478. break;
  66479. case 17:
  66480. // join
  66481. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  66482. case 1:
  66483. // return
  66484. return A._asyncReturn($async$returnValue, $async$completer);
  66485. }
  66486. });
  66487. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  66488. },
  66489. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  66490. var t2, t3, t4, textBetweenOperands, first, last,
  66491. t1 = node.operator;
  66492. if (t1 !== B.BinaryOperator_u15 && t1 !== B.BinaryOperator_SjO)
  66493. return;
  66494. t1 = node.left;
  66495. t2 = t1.get$span(t1);
  66496. t2 = t2.get$file(t2);
  66497. t3 = node.right;
  66498. t4 = t3.get$span(t3);
  66499. if (t2 !== t4.get$file(t4))
  66500. return;
  66501. t2 = t1.get$span(t1);
  66502. t2 = t2.get$end(t2);
  66503. t4 = t3.get$span(t3);
  66504. if (t2.offset >= t4.get$start(t4).offset)
  66505. return;
  66506. t2 = t1.get$span(t1);
  66507. t2 = t2.get$file(t2);
  66508. t1 = t1.get$span(t1);
  66509. t1 = t1.get$end(t1);
  66510. t3 = t3.get$span(t3);
  66511. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  66512. first = textBetweenOperands.charCodeAt(0);
  66513. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  66514. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  66515. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  66516. else
  66517. t1 = true;
  66518. if (t1)
  66519. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  66520. },
  66521. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  66522. var t1;
  66523. $label0$0: {
  66524. if (B.BinaryOperator_u15 === operator) {
  66525. t1 = B.CalculationOperator_g2q;
  66526. break $label0$0;
  66527. }
  66528. if (B.BinaryOperator_SjO === operator) {
  66529. t1 = B.CalculationOperator_CxF;
  66530. break $label0$0;
  66531. }
  66532. if (B.BinaryOperator_2No === operator) {
  66533. t1 = B.CalculationOperator_171;
  66534. break $label0$0;
  66535. }
  66536. if (B.BinaryOperator_U77 === operator) {
  66537. t1 = B.CalculationOperator_Qf1;
  66538. break $label0$0;
  66539. }
  66540. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  66541. }
  66542. return t1;
  66543. },
  66544. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  66545. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  66546. for (t1 = elements.length, i = 1; i < t1; ++i) {
  66547. t2 = i - 1;
  66548. previous = elements[t2];
  66549. current = elements[i];
  66550. if (previous instanceof A.SassString || current instanceof A.SassString)
  66551. continue;
  66552. t1 = node.contents;
  66553. previousNode = t1[t2];
  66554. currentNode = t1[i];
  66555. if (currentNode instanceof A.UnaryOperationExpression) {
  66556. _0_2 = currentNode.operator;
  66557. if (B.UnaryOperator_AiQ !== _0_2)
  66558. t1 = B.UnaryOperator_cLp === _0_2;
  66559. else
  66560. t1 = true;
  66561. } else
  66562. t1 = false;
  66563. if (!t1)
  66564. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  66565. else
  66566. t1 = true;
  66567. if (t1)
  66568. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  66569. else
  66570. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  66571. }
  66572. },
  66573. visitInterpolatedFunctionExpression$1(_, node) {
  66574. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  66575. },
  66576. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  66577. var $async$goto = 0,
  66578. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66579. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  66580. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66581. if ($async$errorCode === 1)
  66582. return A._asyncRethrow($async$result, $async$completer);
  66583. while (true)
  66584. switch ($async$goto) {
  66585. case 0:
  66586. // Function start
  66587. $async$goto = 3;
  66588. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  66589. case 3:
  66590. // returning from await.
  66591. t1 = $async$result;
  66592. oldInFunction = $async$self._async_evaluate$_inFunction;
  66593. $async$self._async_evaluate$_inFunction = true;
  66594. $async$goto = 4;
  66595. 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);
  66596. case 4:
  66597. // returning from await.
  66598. result = $async$result;
  66599. $async$self._async_evaluate$_inFunction = oldInFunction;
  66600. $async$returnValue = result;
  66601. // goto return
  66602. $async$goto = 1;
  66603. break;
  66604. case 1:
  66605. // return
  66606. return A._asyncReturn($async$returnValue, $async$completer);
  66607. }
  66608. });
  66609. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  66610. },
  66611. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  66612. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  66613. },
  66614. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  66615. var $async$goto = 0,
  66616. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66617. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  66618. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66619. if ($async$errorCode === 1)
  66620. return A._asyncRethrow($async$result, $async$completer);
  66621. while (true)
  66622. switch ($async$goto) {
  66623. case 0:
  66624. // Function start
  66625. $async$goto = 3;
  66626. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  66627. case 3:
  66628. // returning from await.
  66629. evaluated = $async$result;
  66630. $name = callable.declaration.name;
  66631. if ($name !== "@content")
  66632. $name += "()";
  66633. oldCallable = $async$self._async_evaluate$_currentCallable;
  66634. $async$self._async_evaluate$_currentCallable = callable;
  66635. $async$goto = 4;
  66636. 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);
  66637. case 4:
  66638. // returning from await.
  66639. result = $async$result;
  66640. $async$self._async_evaluate$_currentCallable = oldCallable;
  66641. $async$returnValue = result;
  66642. // goto return
  66643. $async$goto = 1;
  66644. break;
  66645. case 1:
  66646. // return
  66647. return A._asyncReturn($async$returnValue, $async$completer);
  66648. }
  66649. });
  66650. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  66651. },
  66652. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  66653. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66654. },
  66655. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66656. var $async$goto = 0,
  66657. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66658. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  66659. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66660. if ($async$errorCode === 1) {
  66661. $async$currentError = $async$result;
  66662. $async$goto = $async$handler;
  66663. }
  66664. while (true)
  66665. switch ($async$goto) {
  66666. case 0:
  66667. // Function start
  66668. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  66669. break;
  66670. case 3:
  66671. // then
  66672. $async$goto = 6;
  66673. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  66674. case 6:
  66675. // returning from await.
  66676. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  66677. // goto return
  66678. $async$goto = 1;
  66679. break;
  66680. // goto join
  66681. $async$goto = 4;
  66682. break;
  66683. case 5:
  66684. // else
  66685. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  66686. break;
  66687. case 7:
  66688. // then
  66689. $async$goto = 10;
  66690. 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);
  66691. case 10:
  66692. // returning from await.
  66693. $async$returnValue = $async$result;
  66694. // goto return
  66695. $async$goto = 1;
  66696. break;
  66697. // goto join
  66698. $async$goto = 8;
  66699. break;
  66700. case 9:
  66701. // else
  66702. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  66703. break;
  66704. case 11:
  66705. // then
  66706. t1 = $arguments.named;
  66707. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  66708. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  66709. buffer = new A.StringBuffer(callable.name + "(");
  66710. $async$handler = 15;
  66711. first = true;
  66712. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  66713. case 18:
  66714. // for condition
  66715. if (!(_i < t2)) {
  66716. // goto after for
  66717. $async$goto = 20;
  66718. break;
  66719. }
  66720. argument = t1[_i];
  66721. if (first)
  66722. first = false;
  66723. else
  66724. buffer._contents += ", ";
  66725. t3 = buffer;
  66726. $async$temp1 = A;
  66727. $async$goto = 21;
  66728. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  66729. case 21:
  66730. // returning from await.
  66731. t4 = $async$temp1.S($async$result);
  66732. t3._contents += t4;
  66733. case 19:
  66734. // for update
  66735. ++_i;
  66736. // goto for condition
  66737. $async$goto = 18;
  66738. break;
  66739. case 20:
  66740. // after for
  66741. restArg = $arguments.rest;
  66742. $async$goto = restArg != null ? 22 : 23;
  66743. break;
  66744. case 22:
  66745. // then
  66746. $async$goto = 24;
  66747. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  66748. case 24:
  66749. // returning from await.
  66750. rest = $async$result;
  66751. if (!first)
  66752. buffer._contents += ", ";
  66753. t1 = buffer;
  66754. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  66755. t1._contents += t2;
  66756. case 23:
  66757. // join
  66758. $async$handler = 2;
  66759. // goto after finally
  66760. $async$goto = 17;
  66761. break;
  66762. case 15:
  66763. // catch
  66764. $async$handler = 14;
  66765. $async$exception = $async$currentError;
  66766. t1 = A.unwrapException($async$exception);
  66767. if (type$.SassRuntimeException._is(t1)) {
  66768. error = t1;
  66769. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  66770. throw $async$exception;
  66771. 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));
  66772. } else
  66773. throw $async$exception;
  66774. // goto after finally
  66775. $async$goto = 17;
  66776. break;
  66777. case 14:
  66778. // uncaught
  66779. // goto rethrow
  66780. $async$goto = 2;
  66781. break;
  66782. case 17:
  66783. // after finally
  66784. t1 = buffer;
  66785. t2 = A.Primitives_stringFromCharCode(41);
  66786. t1._contents += t2;
  66787. t2 = buffer._contents;
  66788. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  66789. // goto return
  66790. $async$goto = 1;
  66791. break;
  66792. // goto join
  66793. $async$goto = 12;
  66794. break;
  66795. case 13:
  66796. // else
  66797. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  66798. case 12:
  66799. // join
  66800. case 8:
  66801. // join
  66802. case 4:
  66803. // join
  66804. case 1:
  66805. // return
  66806. return A._asyncReturn($async$returnValue, $async$completer);
  66807. case 2:
  66808. // rethrow
  66809. return A._asyncRethrow($async$currentError, $async$completer);
  66810. }
  66811. });
  66812. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  66813. },
  66814. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  66815. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66816. },
  66817. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66818. var $async$goto = 0,
  66819. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66820. $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;
  66821. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66822. if ($async$errorCode === 1) {
  66823. $async$currentError = $async$result;
  66824. $async$goto = $async$handler;
  66825. }
  66826. while (true)
  66827. switch ($async$goto) {
  66828. case 0:
  66829. // Function start
  66830. _box_0 = {};
  66831. $async$goto = 3;
  66832. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  66833. case 3:
  66834. // returning from await.
  66835. evaluated = $async$result;
  66836. oldCallableNode = $async$self._async_evaluate$_callableNode;
  66837. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  66838. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  66839. _box_0.callback = _box_0.overload = null;
  66840. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  66841. _box_0.overload = _0_0._0;
  66842. _box_0.callback = _0_0._1;
  66843. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  66844. declaredArguments = _box_0.overload.$arguments;
  66845. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  66846. case 4:
  66847. // for condition
  66848. if (!(i < t1)) {
  66849. // goto after for
  66850. $async$goto = 6;
  66851. break;
  66852. }
  66853. argument = declaredArguments[i];
  66854. t4 = evaluated._values[2];
  66855. t5 = evaluated._values[0].remove$1(0, argument.name);
  66856. $async$goto = t5 == null ? 7 : 8;
  66857. break;
  66858. case 7:
  66859. // then
  66860. t5 = argument.defaultValue;
  66861. t6 = t5.accept$1($async$self);
  66862. if (!t3._is(t6)) {
  66863. t7 = new A._Future($.Zone__current, t2);
  66864. t7._state = 8;
  66865. t7._resultOrListeners = t6;
  66866. t6 = t7;
  66867. }
  66868. $async$goto = 9;
  66869. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  66870. case 9:
  66871. // returning from await.
  66872. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  66873. case 8:
  66874. // join
  66875. J.add$1$ax(t4, t5);
  66876. case 5:
  66877. // for update
  66878. ++i;
  66879. // goto for condition
  66880. $async$goto = 4;
  66881. break;
  66882. case 6:
  66883. // after for
  66884. if (_box_0.overload.restArgument != null) {
  66885. if (J.get$length$asx(evaluated._values[2]) > t1) {
  66886. rest = J.sublist$1$ax(evaluated._values[2], t1);
  66887. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  66888. } else
  66889. rest = B.List_empty8;
  66890. t1 = evaluated._values[0];
  66891. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : evaluated._values[4]);
  66892. J.add$1$ax(evaluated._values[2], argumentList);
  66893. } else
  66894. argumentList = null;
  66895. result = null;
  66896. $async$handler = 11;
  66897. $async$goto = 14;
  66898. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  66899. case 14:
  66900. // returning from await.
  66901. result = $async$result;
  66902. $async$handler = 2;
  66903. // goto after finally
  66904. $async$goto = 13;
  66905. break;
  66906. case 11:
  66907. // catch
  66908. $async$handler = 10;
  66909. $async$exception = $async$currentError;
  66910. t1 = A.unwrapException($async$exception);
  66911. if (t1 instanceof A.SassException)
  66912. throw $async$exception;
  66913. else {
  66914. error = t1;
  66915. stackTrace = A.getTraceFromException($async$exception);
  66916. message = null;
  66917. try {
  66918. message = A._asString(J.get$message$x(error));
  66919. } catch (exception) {
  66920. message0 = J.toString$0$(error);
  66921. message = message0;
  66922. }
  66923. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  66924. }
  66925. // goto after finally
  66926. $async$goto = 13;
  66927. break;
  66928. case 10:
  66929. // uncaught
  66930. // goto rethrow
  66931. $async$goto = 2;
  66932. break;
  66933. case 13:
  66934. // after finally
  66935. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66936. if (argumentList == null) {
  66937. $async$returnValue = result;
  66938. // goto return
  66939. $async$goto = 1;
  66940. break;
  66941. }
  66942. t1 = evaluated._values[0];
  66943. if (t1.get$isEmpty(t1)) {
  66944. $async$returnValue = result;
  66945. // goto return
  66946. $async$goto = 1;
  66947. break;
  66948. }
  66949. if (argumentList._wereKeywordsAccessed) {
  66950. $async$returnValue = result;
  66951. // goto return
  66952. $async$goto = 1;
  66953. break;
  66954. }
  66955. t1 = evaluated._values[0];
  66956. t1 = A.pluralize("argument", J.get$length$asx(t1.get$keys(t1)), null);
  66957. t2 = evaluated._values[0];
  66958. 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));
  66959. case 1:
  66960. // return
  66961. return A._asyncReturn($async$returnValue, $async$completer);
  66962. case 2:
  66963. // rethrow
  66964. return A._asyncRethrow($async$currentError, $async$completer);
  66965. }
  66966. });
  66967. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  66968. },
  66969. _async_evaluate$_evaluateArguments$1($arguments) {
  66970. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  66971. },
  66972. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  66973. var $async$goto = 0,
  66974. $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),
  66975. $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;
  66976. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66977. if ($async$errorCode === 1)
  66978. return A._asyncRethrow($async$result, $async$completer);
  66979. while (true)
  66980. switch ($async$goto) {
  66981. case 0:
  66982. // Function start
  66983. positional = A._setArrayType([], type$.JSArray_Value);
  66984. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  66985. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  66986. case 3:
  66987. // for condition
  66988. if (!(_i < t2)) {
  66989. // goto after for
  66990. $async$goto = 5;
  66991. break;
  66992. }
  66993. expression = t1[_i];
  66994. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  66995. t5 = expression.accept$1($async$self);
  66996. if (!t4._is(t5)) {
  66997. t6 = new A._Future($.Zone__current, t3);
  66998. t6._state = 8;
  66999. t6._resultOrListeners = t5;
  67000. t5 = t6;
  67001. }
  67002. $async$temp1 = positional;
  67003. $async$goto = 6;
  67004. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  67005. case 6:
  67006. // returning from await.
  67007. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  67008. positionalNodes.push(nodeForSpan);
  67009. case 4:
  67010. // for update
  67011. ++_i;
  67012. // goto for condition
  67013. $async$goto = 3;
  67014. break;
  67015. case 5:
  67016. // after for
  67017. t1 = type$.String;
  67018. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  67019. t2 = type$.AstNode;
  67020. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67021. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  67022. case 7:
  67023. // for condition
  67024. if (!t5.moveNext$0()) {
  67025. // goto after for
  67026. $async$goto = 8;
  67027. break;
  67028. }
  67029. t6 = t5.get$current(t5);
  67030. $name = t6._0;
  67031. value = t6._1;
  67032. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  67033. t6 = value.accept$1($async$self);
  67034. if (!t4._is(t6)) {
  67035. t7 = new A._Future($.Zone__current, t3);
  67036. t7._state = 8;
  67037. t7._resultOrListeners = t6;
  67038. t6 = t7;
  67039. }
  67040. $async$temp1 = named;
  67041. $async$temp2 = $name;
  67042. $async$goto = 9;
  67043. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  67044. case 9:
  67045. // returning from await.
  67046. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  67047. namedNodes.$indexSet(0, $name, nodeForSpan);
  67048. // goto for condition
  67049. $async$goto = 7;
  67050. break;
  67051. case 8:
  67052. // after for
  67053. restArgs = $arguments.rest;
  67054. if (restArgs == null) {
  67055. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  67056. // goto return
  67057. $async$goto = 1;
  67058. break;
  67059. }
  67060. $async$goto = 10;
  67061. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  67062. case 10:
  67063. // returning from await.
  67064. rest = $async$result;
  67065. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  67066. if (rest instanceof A.SassMap) {
  67067. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  67068. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67069. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  67070. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  67071. namedNodes.addAll$1(0, t3);
  67072. separator = B.ListSeparator_undecided_null_undecided;
  67073. } else if (rest instanceof A.SassList) {
  67074. t3 = rest._list$_contents;
  67075. 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>")));
  67076. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  67077. separator = rest._separator;
  67078. if (rest instanceof A.SassArgumentList) {
  67079. rest._wereKeywordsAccessed = true;
  67080. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  67081. }
  67082. } else {
  67083. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  67084. positionalNodes.push(restNodeForSpan);
  67085. separator = B.ListSeparator_undecided_null_undecided;
  67086. }
  67087. keywordRestArgs = $arguments.keywordRest;
  67088. if (keywordRestArgs == null) {
  67089. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  67090. // goto return
  67091. $async$goto = 1;
  67092. break;
  67093. }
  67094. $async$goto = 11;
  67095. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  67096. case 11:
  67097. // returning from await.
  67098. keywordRest = $async$result;
  67099. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  67100. if (keywordRest instanceof A.SassMap) {
  67101. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  67102. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67103. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  67104. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  67105. namedNodes.addAll$1(0, t1);
  67106. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  67107. // goto return
  67108. $async$goto = 1;
  67109. break;
  67110. } else
  67111. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  67112. case 1:
  67113. // return
  67114. return A._asyncReturn($async$returnValue, $async$completer);
  67115. }
  67116. });
  67117. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  67118. },
  67119. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  67120. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  67121. },
  67122. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  67123. var $async$goto = 0,
  67124. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  67125. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  67126. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67127. if ($async$errorCode === 1)
  67128. return A._asyncRethrow($async$result, $async$completer);
  67129. while (true)
  67130. switch ($async$goto) {
  67131. case 0:
  67132. // Function start
  67133. t1 = invocation.$arguments;
  67134. restArgs_ = t1.rest;
  67135. if (restArgs_ == null) {
  67136. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  67137. // goto return
  67138. $async$goto = 1;
  67139. break;
  67140. }
  67141. t2 = t1.positional;
  67142. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  67143. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  67144. $async$goto = 3;
  67145. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  67146. case 3:
  67147. // returning from await.
  67148. rest = $async$result;
  67149. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  67150. if (rest instanceof A.SassMap)
  67151. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  67152. else if (rest instanceof A.SassList) {
  67153. t2 = rest._list$_contents;
  67154. 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>")));
  67155. if (rest instanceof A.SassArgumentList) {
  67156. rest._wereKeywordsAccessed = true;
  67157. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  67158. }
  67159. } else
  67160. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  67161. keywordRestArgs_ = t1.keywordRest;
  67162. if (keywordRestArgs_ == null) {
  67163. $async$returnValue = new A._Record_2(positional, named);
  67164. // goto return
  67165. $async$goto = 1;
  67166. break;
  67167. }
  67168. $async$goto = 4;
  67169. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  67170. case 4:
  67171. // returning from await.
  67172. keywordRest = $async$result;
  67173. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  67174. if (keywordRest instanceof A.SassMap) {
  67175. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  67176. $async$returnValue = new A._Record_2(positional, named);
  67177. // goto return
  67178. $async$goto = 1;
  67179. break;
  67180. } else
  67181. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  67182. case 1:
  67183. // return
  67184. return A._asyncReturn($async$returnValue, $async$completer);
  67185. }
  67186. });
  67187. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  67188. },
  67189. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  67190. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  67191. },
  67192. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  67193. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  67194. },
  67195. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  67196. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  67197. },
  67198. visitSelectorExpression$1(_, node) {
  67199. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  67200. },
  67201. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  67202. var $async$goto = 0,
  67203. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  67204. $async$returnValue, $async$self = this, t1;
  67205. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67206. if ($async$errorCode === 1)
  67207. return A._asyncRethrow($async$result, $async$completer);
  67208. while (true)
  67209. switch ($async$goto) {
  67210. case 0:
  67211. // Function start
  67212. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67213. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  67214. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  67215. // goto return
  67216. $async$goto = 1;
  67217. break;
  67218. case 1:
  67219. // return
  67220. return A._asyncReturn($async$returnValue, $async$completer);
  67221. }
  67222. });
  67223. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  67224. },
  67225. visitStringExpression$1(_, node) {
  67226. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  67227. },
  67228. visitStringExpression$body$_EvaluateVisitor(_, node) {
  67229. var $async$goto = 0,
  67230. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67231. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  67232. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67233. if ($async$errorCode === 1)
  67234. return A._asyncRethrow($async$result, $async$completer);
  67235. while (true)
  67236. switch ($async$goto) {
  67237. case 0:
  67238. // Function start
  67239. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67240. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67241. t1 = A._setArrayType([], type$.JSArray_String);
  67242. t2 = node.text.contents, t3 = t2.length, _i = 0;
  67243. case 3:
  67244. // for condition
  67245. if (!(_i < t3)) {
  67246. // goto after for
  67247. $async$goto = 5;
  67248. break;
  67249. }
  67250. value = t2[_i];
  67251. if (typeof value == "string") {
  67252. t4 = value;
  67253. // goto break $label0$0
  67254. $async$goto = 6;
  67255. break;
  67256. }
  67257. $async$goto = value instanceof A.Expression ? 7 : 8;
  67258. break;
  67259. case 7:
  67260. // then
  67261. $async$goto = 9;
  67262. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  67263. case 9:
  67264. // returning from await.
  67265. _0_0 = $async$result;
  67266. $label1$1: {
  67267. if (_0_0 instanceof A.SassString) {
  67268. text = _0_0._string$_text;
  67269. t4 = text;
  67270. break $label1$1;
  67271. }
  67272. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  67273. break $label1$1;
  67274. }
  67275. // goto break $label0$0
  67276. $async$goto = 6;
  67277. break;
  67278. case 8:
  67279. // join
  67280. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  67281. case 6:
  67282. // break $label0$0
  67283. t1.push(t4);
  67284. case 4:
  67285. // for update
  67286. ++_i;
  67287. // goto for condition
  67288. $async$goto = 3;
  67289. break;
  67290. case 5:
  67291. // after for
  67292. t1 = B.JSArray_methods.join$0(t1);
  67293. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67294. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  67295. // goto return
  67296. $async$goto = 1;
  67297. break;
  67298. case 1:
  67299. // return
  67300. return A._asyncReturn($async$returnValue, $async$completer);
  67301. }
  67302. });
  67303. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  67304. },
  67305. visitSupportsExpression$1(_, expression) {
  67306. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  67307. },
  67308. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  67309. var $async$goto = 0,
  67310. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67311. $async$returnValue, $async$self = this, $async$temp1;
  67312. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67313. if ($async$errorCode === 1)
  67314. return A._asyncRethrow($async$result, $async$completer);
  67315. while (true)
  67316. switch ($async$goto) {
  67317. case 0:
  67318. // Function start
  67319. $async$temp1 = A;
  67320. $async$goto = 3;
  67321. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  67322. case 3:
  67323. // returning from await.
  67324. $async$returnValue = new $async$temp1.SassString($async$result, false);
  67325. // goto return
  67326. $async$goto = 1;
  67327. break;
  67328. case 1:
  67329. // return
  67330. return A._asyncReturn($async$returnValue, $async$completer);
  67331. }
  67332. });
  67333. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  67334. },
  67335. visitCssAtRule$1(node) {
  67336. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  67337. },
  67338. visitCssAtRule$body$_EvaluateVisitor(node) {
  67339. var $async$goto = 0,
  67340. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67341. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  67342. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67343. if ($async$errorCode === 1)
  67344. return A._asyncRethrow($async$result, $async$completer);
  67345. while (true)
  67346. switch ($async$goto) {
  67347. case 0:
  67348. // Function start
  67349. if ($async$self._async_evaluate$_declarationName != null)
  67350. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  67351. if (node.isChildless) {
  67352. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  67353. // goto return
  67354. $async$goto = 1;
  67355. break;
  67356. }
  67357. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  67358. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  67359. t1 = node.name;
  67360. if (A.unvendor(t1.value) === "keyframes")
  67361. $async$self._async_evaluate$_inKeyframes = true;
  67362. else
  67363. $async$self._async_evaluate$_inUnknownAtRule = true;
  67364. $async$goto = 3;
  67365. 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);
  67366. case 3:
  67367. // returning from await.
  67368. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  67369. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  67370. case 1:
  67371. // return
  67372. return A._asyncReturn($async$returnValue, $async$completer);
  67373. }
  67374. });
  67375. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  67376. },
  67377. visitCssComment$1(node) {
  67378. return this.visitCssComment$body$_EvaluateVisitor(node);
  67379. },
  67380. visitCssComment$body$_EvaluateVisitor(node) {
  67381. var $async$goto = 0,
  67382. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67383. $async$self = this;
  67384. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67385. if ($async$errorCode === 1)
  67386. return A._asyncRethrow($async$result, $async$completer);
  67387. while (true)
  67388. switch ($async$goto) {
  67389. case 0:
  67390. // Function start
  67391. 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))
  67392. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67393. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  67394. // implicit return
  67395. return A._asyncReturn(null, $async$completer);
  67396. }
  67397. });
  67398. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  67399. },
  67400. visitCssDeclaration$1(node) {
  67401. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  67402. },
  67403. visitCssDeclaration$body$_EvaluateVisitor(node) {
  67404. var $async$goto = 0,
  67405. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67406. $async$self = this;
  67407. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67408. if ($async$errorCode === 1)
  67409. return A._asyncRethrow($async$result, $async$completer);
  67410. while (true)
  67411. switch ($async$goto) {
  67412. case 0:
  67413. // Function start
  67414. $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));
  67415. // implicit return
  67416. return A._asyncReturn(null, $async$completer);
  67417. }
  67418. });
  67419. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  67420. },
  67421. visitCssImport$1(node) {
  67422. return this.visitCssImport$body$_EvaluateVisitor(node);
  67423. },
  67424. visitCssImport$body$_EvaluateVisitor(node) {
  67425. var $async$goto = 0,
  67426. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67427. $async$self = this, t1, modifiableNode;
  67428. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67429. if ($async$errorCode === 1)
  67430. return A._asyncRethrow($async$result, $async$completer);
  67431. while (true)
  67432. switch ($async$goto) {
  67433. case 0:
  67434. // Function start
  67435. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  67436. 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"))
  67437. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  67438. 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)) {
  67439. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  67440. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67441. } else {
  67442. t1 = $async$self._async_evaluate$_outOfOrderImports;
  67443. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  67444. }
  67445. // implicit return
  67446. return A._asyncReturn(null, $async$completer);
  67447. }
  67448. });
  67449. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  67450. },
  67451. visitCssKeyframeBlock$1(node) {
  67452. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  67453. },
  67454. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  67455. var $async$goto = 0,
  67456. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67457. $async$self = this;
  67458. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67459. if ($async$errorCode === 1)
  67460. return A._asyncRethrow($async$result, $async$completer);
  67461. while (true)
  67462. switch ($async$goto) {
  67463. case 0:
  67464. // Function start
  67465. $async$goto = 2;
  67466. 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);
  67467. case 2:
  67468. // returning from await.
  67469. // implicit return
  67470. return A._asyncReturn(null, $async$completer);
  67471. }
  67472. });
  67473. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  67474. },
  67475. visitCssMediaRule$1(node) {
  67476. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  67477. },
  67478. visitCssMediaRule$body$_EvaluateVisitor(node) {
  67479. var $async$goto = 0,
  67480. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67481. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  67482. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67483. if ($async$errorCode === 1)
  67484. return A._asyncRethrow($async$result, $async$completer);
  67485. while (true)
  67486. switch ($async$goto) {
  67487. case 0:
  67488. // Function start
  67489. if ($async$self._async_evaluate$_declarationName != null)
  67490. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  67491. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  67492. t1 = mergedQueries == null;
  67493. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  67494. // goto return
  67495. $async$goto = 1;
  67496. break;
  67497. }
  67498. if (t1)
  67499. mergedSources = B.Set_empty1;
  67500. else {
  67501. t2 = $async$self._async_evaluate$_mediaQuerySources;
  67502. t2.toString;
  67503. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  67504. t3 = $async$self._async_evaluate$_mediaQueries;
  67505. t3.toString;
  67506. t2.addAll$1(0, t3);
  67507. t2.addAll$1(0, node.queries);
  67508. mergedSources = t2;
  67509. }
  67510. t1 = t1 ? node.queries : mergedQueries;
  67511. $async$goto = 3;
  67512. 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);
  67513. case 3:
  67514. // returning from await.
  67515. case 1:
  67516. // return
  67517. return A._asyncReturn($async$returnValue, $async$completer);
  67518. }
  67519. });
  67520. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  67521. },
  67522. visitCssStyleRule$1(node) {
  67523. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  67524. },
  67525. visitCssStyleRule$body$_EvaluateVisitor(node) {
  67526. var $async$goto = 0,
  67527. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67528. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  67529. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67530. if ($async$errorCode === 1)
  67531. return A._asyncRethrow($async$result, $async$completer);
  67532. while (true)
  67533. switch ($async$goto) {
  67534. case 0:
  67535. // Function start
  67536. if ($async$self._async_evaluate$_declarationName != null)
  67537. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  67538. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  67539. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  67540. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67541. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67542. t2 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67543. t2 = t2 == null ? null : t2.fromPlainCss;
  67544. nest = t2 !== true;
  67545. t2 = node._style_rule$_selector._box$_inner;
  67546. if (nest) {
  67547. t2 = t2.value;
  67548. t3 = styleRule == null ? null : styleRule.originalSelector;
  67549. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  67550. } else
  67551. originalSelector = t2.value;
  67552. 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, node.fromPlainCss, originalSelector);
  67553. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67554. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  67555. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  67556. $async$goto = 2;
  67557. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure2($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  67558. case 2:
  67559. // returning from await.
  67560. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  67561. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  67562. t2 = J.getInterceptor$asx(t1);
  67563. _0_1 = t2.get$length(t1);
  67564. if (_0_1 >= 1) {
  67565. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  67566. t1 = styleRule == null;
  67567. } else {
  67568. lastChild = null;
  67569. t1 = false;
  67570. }
  67571. if (t1)
  67572. lastChild.isGroupEnd = true;
  67573. // implicit return
  67574. return A._asyncReturn(null, $async$completer);
  67575. }
  67576. });
  67577. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  67578. },
  67579. visitCssStylesheet$1(node) {
  67580. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  67581. },
  67582. visitCssStylesheet$body$_EvaluateVisitor(node) {
  67583. var $async$goto = 0,
  67584. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67585. $async$self = this, t1;
  67586. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67587. if ($async$errorCode === 1)
  67588. return A._asyncRethrow($async$result, $async$completer);
  67589. while (true)
  67590. switch ($async$goto) {
  67591. case 0:
  67592. // Function start
  67593. t1 = J.get$iterator$ax(node.get$children(node));
  67594. case 2:
  67595. // for condition
  67596. if (!t1.moveNext$0()) {
  67597. // goto after for
  67598. $async$goto = 3;
  67599. break;
  67600. }
  67601. $async$goto = 4;
  67602. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  67603. case 4:
  67604. // returning from await.
  67605. // goto for condition
  67606. $async$goto = 2;
  67607. break;
  67608. case 3:
  67609. // after for
  67610. // implicit return
  67611. return A._asyncReturn(null, $async$completer);
  67612. }
  67613. });
  67614. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  67615. },
  67616. visitCssSupportsRule$1(node) {
  67617. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  67618. },
  67619. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  67620. var $async$goto = 0,
  67621. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67622. $async$self = this;
  67623. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67624. if ($async$errorCode === 1)
  67625. return A._asyncRethrow($async$result, $async$completer);
  67626. while (true)
  67627. switch ($async$goto) {
  67628. case 0:
  67629. // Function start
  67630. if ($async$self._async_evaluate$_declarationName != null)
  67631. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  67632. $async$goto = 2;
  67633. 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);
  67634. case 2:
  67635. // returning from await.
  67636. // implicit return
  67637. return A._asyncReturn(null, $async$completer);
  67638. }
  67639. });
  67640. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  67641. },
  67642. _async_evaluate$_handleReturn$1$2(list, callback) {
  67643. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  67644. },
  67645. _async_evaluate$_handleReturn$2(list, callback) {
  67646. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  67647. },
  67648. _handleReturn$body$_EvaluateVisitor(list, callback) {
  67649. var $async$goto = 0,
  67650. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67651. $async$returnValue, t1, _i, _0_0;
  67652. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67653. if ($async$errorCode === 1)
  67654. return A._asyncRethrow($async$result, $async$completer);
  67655. while (true)
  67656. switch ($async$goto) {
  67657. case 0:
  67658. // Function start
  67659. t1 = list.length, _i = 0;
  67660. case 3:
  67661. // for condition
  67662. if (!(_i < list.length)) {
  67663. // goto after for
  67664. $async$goto = 5;
  67665. break;
  67666. }
  67667. $async$goto = 6;
  67668. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  67669. case 6:
  67670. // returning from await.
  67671. _0_0 = $async$result;
  67672. if (_0_0 != null) {
  67673. $async$returnValue = _0_0;
  67674. // goto return
  67675. $async$goto = 1;
  67676. break;
  67677. }
  67678. case 4:
  67679. // for update
  67680. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  67681. // goto for condition
  67682. $async$goto = 3;
  67683. break;
  67684. case 5:
  67685. // after for
  67686. $async$returnValue = null;
  67687. // goto return
  67688. $async$goto = 1;
  67689. break;
  67690. case 1:
  67691. // return
  67692. return A._asyncReturn($async$returnValue, $async$completer);
  67693. }
  67694. });
  67695. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  67696. },
  67697. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  67698. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  67699. },
  67700. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  67701. var $async$goto = 0,
  67702. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67703. $async$returnValue, $async$self = this, result, oldEnvironment;
  67704. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67705. if ($async$errorCode === 1)
  67706. return A._asyncRethrow($async$result, $async$completer);
  67707. while (true)
  67708. switch ($async$goto) {
  67709. case 0:
  67710. // Function start
  67711. oldEnvironment = $async$self._async_evaluate$_environment;
  67712. $async$self._async_evaluate$_environment = environment;
  67713. $async$goto = 3;
  67714. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  67715. case 3:
  67716. // returning from await.
  67717. result = $async$result;
  67718. $async$self._async_evaluate$_environment = oldEnvironment;
  67719. $async$returnValue = result;
  67720. // goto return
  67721. $async$goto = 1;
  67722. break;
  67723. case 1:
  67724. // return
  67725. return A._asyncReturn($async$returnValue, $async$completer);
  67726. }
  67727. });
  67728. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  67729. },
  67730. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  67731. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  67732. },
  67733. _async_evaluate$_interpolationToValue$1(interpolation) {
  67734. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  67735. },
  67736. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  67737. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  67738. },
  67739. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  67740. var $async$goto = 0,
  67741. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  67742. $async$returnValue, $async$self = this, result, t1;
  67743. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67744. if ($async$errorCode === 1)
  67745. return A._asyncRethrow($async$result, $async$completer);
  67746. while (true)
  67747. switch ($async$goto) {
  67748. case 0:
  67749. // Function start
  67750. $async$goto = 3;
  67751. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  67752. case 3:
  67753. // returning from await.
  67754. result = $async$result;
  67755. t1 = trim ? A.trimAscii(result, true) : result;
  67756. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  67757. // goto return
  67758. $async$goto = 1;
  67759. break;
  67760. case 1:
  67761. // return
  67762. return A._asyncReturn($async$returnValue, $async$completer);
  67763. }
  67764. });
  67765. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  67766. },
  67767. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  67768. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  67769. },
  67770. _async_evaluate$_performInterpolation$1(interpolation) {
  67771. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  67772. },
  67773. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  67774. var $async$goto = 0,
  67775. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67776. $async$returnValue, $async$self = this;
  67777. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67778. if ($async$errorCode === 1)
  67779. return A._asyncRethrow($async$result, $async$completer);
  67780. while (true)
  67781. switch ($async$goto) {
  67782. case 0:
  67783. // Function start
  67784. $async$goto = 3;
  67785. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  67786. case 3:
  67787. // returning from await.
  67788. $async$returnValue = $async$result._0;
  67789. // goto return
  67790. $async$goto = 1;
  67791. break;
  67792. case 1:
  67793. // return
  67794. return A._asyncReturn($async$returnValue, $async$completer);
  67795. }
  67796. });
  67797. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  67798. },
  67799. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  67800. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  67801. },
  67802. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  67803. var $async$goto = 0,
  67804. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  67805. $async$returnValue, $async$self = this, _0_0, result, map;
  67806. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67807. if ($async$errorCode === 1)
  67808. return A._asyncRethrow($async$result, $async$completer);
  67809. while (true)
  67810. switch ($async$goto) {
  67811. case 0:
  67812. // Function start
  67813. $async$goto = 3;
  67814. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  67815. case 3:
  67816. // returning from await.
  67817. _0_0 = $async$result;
  67818. result = _0_0._0;
  67819. map = _0_0._1;
  67820. map.toString;
  67821. $async$returnValue = new A._Record_2(result, map);
  67822. // goto return
  67823. $async$goto = 1;
  67824. break;
  67825. case 1:
  67826. // return
  67827. return A._asyncReturn($async$returnValue, $async$completer);
  67828. }
  67829. });
  67830. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  67831. },
  67832. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  67833. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  67834. },
  67835. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  67836. var $async$goto = 0,
  67837. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  67838. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  67839. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67840. if ($async$errorCode === 1)
  67841. return A._asyncRethrow($async$result, $async$completer);
  67842. while (true)
  67843. switch ($async$goto) {
  67844. case 0:
  67845. // Function start
  67846. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  67847. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67848. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67849. 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 = "";
  67850. case 3:
  67851. // for condition
  67852. if (!(_i < t2)) {
  67853. // goto after for
  67854. $async$goto = 5;
  67855. break;
  67856. }
  67857. value = t1[_i];
  67858. if (!first)
  67859. if (!t4)
  67860. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  67861. if (typeof value == "string") {
  67862. t8 += value;
  67863. // goto for update
  67864. $async$goto = 4;
  67865. break;
  67866. }
  67867. t3._as(value);
  67868. $async$goto = 6;
  67869. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  67870. case 6:
  67871. // returning from await.
  67872. result = $async$result;
  67873. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  67874. t9 = A._setArrayType([""], t5);
  67875. result0 = A.List_List$from(t9, false, t7);
  67876. result0.fixed$length = Array;
  67877. result0.immutable$list = Array;
  67878. result0 = new A.Interpolation(result0, t6);
  67879. result0.Interpolation$2(t9, t6);
  67880. t9 = $.$get$namesByColor();
  67881. $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_u15, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  67882. }
  67883. t8 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  67884. case 4:
  67885. // for update
  67886. ++_i, first = false;
  67887. // goto for condition
  67888. $async$goto = 3;
  67889. break;
  67890. case 5:
  67891. // after for
  67892. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67893. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  67894. // goto return
  67895. $async$goto = 1;
  67896. break;
  67897. case 1:
  67898. // return
  67899. return A._asyncReturn($async$returnValue, $async$completer);
  67900. }
  67901. });
  67902. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  67903. },
  67904. _evaluateToCss$2$quote(expression, quote) {
  67905. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  67906. },
  67907. _evaluateToCss$1(expression) {
  67908. return this._evaluateToCss$2$quote(expression, true);
  67909. },
  67910. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  67911. var $async$goto = 0,
  67912. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67913. $async$returnValue, $async$self = this, t1;
  67914. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67915. if ($async$errorCode === 1)
  67916. return A._asyncRethrow($async$result, $async$completer);
  67917. while (true)
  67918. switch ($async$goto) {
  67919. case 0:
  67920. // Function start
  67921. t1 = expression.accept$1($async$self);
  67922. $async$goto = 3;
  67923. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  67924. case 3:
  67925. // returning from await.
  67926. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  67927. // goto return
  67928. $async$goto = 1;
  67929. break;
  67930. case 1:
  67931. // return
  67932. return A._asyncReturn($async$returnValue, $async$completer);
  67933. }
  67934. });
  67935. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  67936. },
  67937. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  67938. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  67939. },
  67940. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  67941. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  67942. },
  67943. _async_evaluate$_expressionNode$1(expression) {
  67944. var t1;
  67945. if (expression instanceof A.VariableExpression) {
  67946. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  67947. return t1 == null ? expression : t1;
  67948. } else
  67949. return expression;
  67950. },
  67951. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  67952. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  67953. },
  67954. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  67955. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  67956. },
  67957. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  67958. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  67959. },
  67960. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  67961. var $async$goto = 0,
  67962. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67963. $async$returnValue, $async$self = this, t1, result;
  67964. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67965. if ($async$errorCode === 1)
  67966. return A._asyncRethrow($async$result, $async$completer);
  67967. while (true)
  67968. switch ($async$goto) {
  67969. case 0:
  67970. // Function start
  67971. $async$self._async_evaluate$_addChild$2$through(node, through);
  67972. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67973. $async$self._async_evaluate$__parent = node;
  67974. $async$goto = 3;
  67975. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  67976. case 3:
  67977. // returning from await.
  67978. result = $async$result;
  67979. $async$self._async_evaluate$__parent = t1;
  67980. $async$returnValue = result;
  67981. // goto return
  67982. $async$goto = 1;
  67983. break;
  67984. case 1:
  67985. // return
  67986. return A._asyncReturn($async$returnValue, $async$completer);
  67987. }
  67988. });
  67989. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  67990. },
  67991. _async_evaluate$_addChild$2$through(node, through) {
  67992. var _0_0, grandparent, t1,
  67993. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  67994. if (through != null) {
  67995. for (; through.call$1($parent); $parent = _0_0) {
  67996. _0_0 = $parent._parent;
  67997. if (_0_0 == null)
  67998. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  67999. }
  68000. if ($parent.get$hasFollowingSibling()) {
  68001. grandparent = $parent._parent;
  68002. t1 = grandparent.children;
  68003. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  68004. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  68005. else {
  68006. $parent = $parent.copyWithoutChildren$0();
  68007. grandparent.addChild$1($parent);
  68008. }
  68009. }
  68010. }
  68011. $parent.addChild$1(node);
  68012. },
  68013. _async_evaluate$_addChild$1(node) {
  68014. return this._async_evaluate$_addChild$2$through(node, null);
  68015. },
  68016. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  68017. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  68018. },
  68019. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  68020. var $async$goto = 0,
  68021. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68022. $async$returnValue, $async$self = this, result, oldRule;
  68023. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68024. if ($async$errorCode === 1)
  68025. return A._asyncRethrow($async$result, $async$completer);
  68026. while (true)
  68027. switch ($async$goto) {
  68028. case 0:
  68029. // Function start
  68030. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68031. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  68032. $async$goto = 3;
  68033. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  68034. case 3:
  68035. // returning from await.
  68036. result = $async$result;
  68037. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  68038. $async$returnValue = result;
  68039. // goto return
  68040. $async$goto = 1;
  68041. break;
  68042. case 1:
  68043. // return
  68044. return A._asyncReturn($async$returnValue, $async$completer);
  68045. }
  68046. });
  68047. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  68048. },
  68049. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  68050. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  68051. },
  68052. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  68053. var $async$goto = 0,
  68054. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68055. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  68056. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68057. if ($async$errorCode === 1)
  68058. return A._asyncRethrow($async$result, $async$completer);
  68059. while (true)
  68060. switch ($async$goto) {
  68061. case 0:
  68062. // Function start
  68063. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  68064. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  68065. $async$self._async_evaluate$_mediaQueries = queries;
  68066. $async$self._async_evaluate$_mediaQuerySources = sources;
  68067. $async$goto = 3;
  68068. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  68069. case 3:
  68070. // returning from await.
  68071. result = $async$result;
  68072. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  68073. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  68074. $async$returnValue = result;
  68075. // goto return
  68076. $async$goto = 1;
  68077. break;
  68078. case 1:
  68079. // return
  68080. return A._asyncReturn($async$returnValue, $async$completer);
  68081. }
  68082. });
  68083. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  68084. },
  68085. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  68086. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  68087. },
  68088. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  68089. var $async$goto = 0,
  68090. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68091. $async$returnValue, $async$self = this, oldMember, result, t1;
  68092. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68093. if ($async$errorCode === 1)
  68094. return A._asyncRethrow($async$result, $async$completer);
  68095. while (true)
  68096. switch ($async$goto) {
  68097. case 0:
  68098. // Function start
  68099. t1 = $async$self._async_evaluate$_stack;
  68100. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  68101. oldMember = $async$self._async_evaluate$_member;
  68102. $async$self._async_evaluate$_member = member;
  68103. $async$goto = 3;
  68104. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  68105. case 3:
  68106. // returning from await.
  68107. result = $async$result;
  68108. $async$self._async_evaluate$_member = oldMember;
  68109. t1.pop();
  68110. $async$returnValue = result;
  68111. // goto return
  68112. $async$goto = 1;
  68113. break;
  68114. case 1:
  68115. // return
  68116. return A._asyncReturn($async$returnValue, $async$completer);
  68117. }
  68118. });
  68119. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  68120. },
  68121. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  68122. var t1;
  68123. if (value instanceof A.SassNumber)
  68124. t1 = value.asSlash != null;
  68125. else
  68126. t1 = false;
  68127. if (t1)
  68128. 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_oJv);
  68129. return value.withoutSlash$0();
  68130. },
  68131. _async_evaluate$_stackFrame$2(member, span) {
  68132. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  68133. },
  68134. _async_evaluate$_stackTrace$1(span) {
  68135. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  68136. t1 = A._setArrayType([], type$.JSArray_Frame);
  68137. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68138. t4 = t2[_i];
  68139. nodeWithSpan = t4._1;
  68140. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  68141. }
  68142. if (span != null)
  68143. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  68144. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  68145. },
  68146. _async_evaluate$_stackTrace$0() {
  68147. return this._async_evaluate$_stackTrace$1(null);
  68148. },
  68149. _async_evaluate$_warn$3(message, span, deprecation) {
  68150. var t1, trace, _this = this;
  68151. if (_this._async_evaluate$_quietDeps)
  68152. if (!_this._async_evaluate$_inDependency) {
  68153. t1 = _this._async_evaluate$_currentCallable;
  68154. t1 = t1 == null ? null : t1.inDependency;
  68155. t1 = t1 === true;
  68156. } else
  68157. t1 = true;
  68158. else
  68159. t1 = false;
  68160. if (t1)
  68161. return;
  68162. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  68163. return;
  68164. trace = _this._async_evaluate$_stackTrace$1(span);
  68165. t1 = _this._async_evaluate$_logger;
  68166. if (deprecation == null)
  68167. t1.warn$3$span$trace(0, message, span, trace);
  68168. else
  68169. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  68170. },
  68171. _async_evaluate$_warn$2(message, span) {
  68172. return this._async_evaluate$_warn$3(message, span, null);
  68173. },
  68174. _async_evaluate$_exception$2(message, span) {
  68175. var t1, t2;
  68176. if (span == null) {
  68177. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  68178. t1 = t1.get$span(t1);
  68179. } else
  68180. t1 = span;
  68181. t2 = this._async_evaluate$_stackTrace$1(span);
  68182. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  68183. },
  68184. _async_evaluate$_exception$1(message) {
  68185. return this._async_evaluate$_exception$2(message, null);
  68186. },
  68187. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  68188. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  68189. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  68190. },
  68191. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  68192. var error, stackTrace, t1, exception,
  68193. addStackFrame = true;
  68194. try {
  68195. t1 = callback.call$0();
  68196. return t1;
  68197. } catch (exception) {
  68198. t1 = A.unwrapException(exception);
  68199. if (t1 instanceof A.SassScriptException) {
  68200. error = t1;
  68201. stackTrace = A.getTraceFromException(exception);
  68202. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68203. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68204. } else
  68205. throw exception;
  68206. }
  68207. },
  68208. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  68209. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  68210. },
  68211. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  68212. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  68213. },
  68214. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  68215. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  68216. },
  68217. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  68218. var $async$goto = 0,
  68219. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68220. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  68221. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68222. if ($async$errorCode === 1) {
  68223. $async$currentError = $async$result;
  68224. $async$goto = $async$handler;
  68225. }
  68226. while (true)
  68227. switch ($async$goto) {
  68228. case 0:
  68229. // Function start
  68230. $async$handler = 4;
  68231. t1 = callback.call$0();
  68232. $async$goto = 7;
  68233. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  68234. case 7:
  68235. // returning from await.
  68236. t1 = $async$result;
  68237. $async$returnValue = t1;
  68238. // goto return
  68239. $async$goto = 1;
  68240. break;
  68241. $async$handler = 2;
  68242. // goto after finally
  68243. $async$goto = 6;
  68244. break;
  68245. case 4:
  68246. // catch
  68247. $async$handler = 3;
  68248. $async$exception = $async$currentError;
  68249. t1 = A.unwrapException($async$exception);
  68250. if (t1 instanceof A.SassScriptException) {
  68251. error = t1;
  68252. stackTrace = A.getTraceFromException($async$exception);
  68253. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68254. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68255. } else
  68256. throw $async$exception;
  68257. // goto after finally
  68258. $async$goto = 6;
  68259. break;
  68260. case 3:
  68261. // uncaught
  68262. // goto rethrow
  68263. $async$goto = 2;
  68264. break;
  68265. case 6:
  68266. // after finally
  68267. case 1:
  68268. // return
  68269. return A._asyncReturn($async$returnValue, $async$completer);
  68270. case 2:
  68271. // rethrow
  68272. return A._asyncRethrow($async$currentError, $async$completer);
  68273. }
  68274. });
  68275. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  68276. },
  68277. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  68278. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  68279. },
  68280. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  68281. var $async$goto = 0,
  68282. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68283. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  68284. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68285. if ($async$errorCode === 1) {
  68286. $async$currentError = $async$result;
  68287. $async$goto = $async$handler;
  68288. }
  68289. while (true)
  68290. switch ($async$goto) {
  68291. case 0:
  68292. // Function start
  68293. $async$handler = 4;
  68294. t1 = callback.call$0();
  68295. $async$goto = 7;
  68296. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  68297. case 7:
  68298. // returning from await.
  68299. t1 = $async$result;
  68300. $async$returnValue = t1;
  68301. // goto return
  68302. $async$goto = 1;
  68303. break;
  68304. $async$handler = 2;
  68305. // goto after finally
  68306. $async$goto = 6;
  68307. break;
  68308. case 4:
  68309. // catch
  68310. $async$handler = 3;
  68311. $async$exception = $async$currentError;
  68312. t1 = A.unwrapException($async$exception);
  68313. if (type$.SassRuntimeException._is(t1))
  68314. throw $async$exception;
  68315. else if (t1 instanceof A.SassException) {
  68316. error = t1;
  68317. stackTrace = A.getTraceFromException($async$exception);
  68318. t1 = error;
  68319. t2 = J.getInterceptor$z(t1);
  68320. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  68321. } else
  68322. throw $async$exception;
  68323. // goto after finally
  68324. $async$goto = 6;
  68325. break;
  68326. case 3:
  68327. // uncaught
  68328. // goto rethrow
  68329. $async$goto = 2;
  68330. break;
  68331. case 6:
  68332. // after finally
  68333. case 1:
  68334. // return
  68335. return A._asyncReturn($async$returnValue, $async$completer);
  68336. case 2:
  68337. // rethrow
  68338. return A._asyncRethrow($async$currentError, $async$completer);
  68339. }
  68340. });
  68341. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  68342. },
  68343. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  68344. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  68345. },
  68346. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  68347. var $async$goto = 0,
  68348. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68349. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  68350. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68351. if ($async$errorCode === 1) {
  68352. $async$currentError = $async$result;
  68353. $async$goto = $async$handler;
  68354. }
  68355. while (true)
  68356. switch ($async$goto) {
  68357. case 0:
  68358. // Function start
  68359. $async$handler = 4;
  68360. $async$goto = 7;
  68361. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  68362. case 7:
  68363. // returning from await.
  68364. t1 = $async$result;
  68365. $async$returnValue = t1;
  68366. // goto return
  68367. $async$goto = 1;
  68368. break;
  68369. $async$handler = 2;
  68370. // goto after finally
  68371. $async$goto = 6;
  68372. break;
  68373. case 4:
  68374. // catch
  68375. $async$handler = 3;
  68376. $async$exception = $async$currentError;
  68377. t1 = A.unwrapException($async$exception);
  68378. if (type$.SassRuntimeException._is(t1)) {
  68379. error = t1;
  68380. stackTrace = A.getTraceFromException($async$exception);
  68381. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  68382. throw $async$exception;
  68383. t1 = error._span_exception$_message;
  68384. t2 = nodeWithSpan.get$span(nodeWithSpan);
  68385. t3 = $async$self._async_evaluate$_stackTrace$0();
  68386. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  68387. } else
  68388. throw $async$exception;
  68389. // goto after finally
  68390. $async$goto = 6;
  68391. break;
  68392. case 3:
  68393. // uncaught
  68394. // goto rethrow
  68395. $async$goto = 2;
  68396. break;
  68397. case 6:
  68398. // after finally
  68399. case 1:
  68400. // return
  68401. return A._asyncReturn($async$returnValue, $async$completer);
  68402. case 2:
  68403. // rethrow
  68404. return A._asyncRethrow($async$currentError, $async$completer);
  68405. }
  68406. });
  68407. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  68408. }
  68409. };
  68410. A._EvaluateVisitor_closure12.prototype = {
  68411. call$1($arguments) {
  68412. var module, t2,
  68413. t1 = J.getInterceptor$asx($arguments),
  68414. variable = t1.$index($arguments, 0).assertString$1("name");
  68415. t1 = t1.$index($arguments, 1).get$realNull();
  68416. module = t1 == null ? null : t1.assertString$1("module");
  68417. t1 = this.$this._async_evaluate$_environment;
  68418. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68419. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  68420. },
  68421. $signature: 20
  68422. };
  68423. A._EvaluateVisitor_closure13.prototype = {
  68424. call$1($arguments) {
  68425. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  68426. t1 = this.$this._async_evaluate$_environment;
  68427. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68428. },
  68429. $signature: 20
  68430. };
  68431. A._EvaluateVisitor_closure14.prototype = {
  68432. call$1($arguments) {
  68433. var module, t2, t3, t4,
  68434. t1 = J.getInterceptor$asx($arguments),
  68435. variable = t1.$index($arguments, 0).assertString$1("name");
  68436. t1 = t1.$index($arguments, 1).get$realNull();
  68437. module = t1 == null ? null : t1.assertString$1("module");
  68438. t1 = this.$this;
  68439. t2 = t1._async_evaluate$_environment;
  68440. t3 = variable._string$_text;
  68441. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  68442. 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;
  68443. },
  68444. $signature: 20
  68445. };
  68446. A._EvaluateVisitor_closure15.prototype = {
  68447. call$1($arguments) {
  68448. var module, t2,
  68449. t1 = J.getInterceptor$asx($arguments),
  68450. variable = t1.$index($arguments, 0).assertString$1("name");
  68451. t1 = t1.$index($arguments, 1).get$realNull();
  68452. module = t1 == null ? null : t1.assertString$1("module");
  68453. t1 = this.$this._async_evaluate$_environment;
  68454. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68455. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68456. },
  68457. $signature: 20
  68458. };
  68459. A._EvaluateVisitor_closure16.prototype = {
  68460. call$1($arguments) {
  68461. var t1 = this.$this._async_evaluate$_environment;
  68462. if (!t1._async_environment$_inMixin)
  68463. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  68464. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  68465. },
  68466. $signature: 20
  68467. };
  68468. A._EvaluateVisitor_closure17.prototype = {
  68469. call$1($arguments) {
  68470. var t2, t3, t4,
  68471. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68472. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68473. if (module == null)
  68474. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68475. t1 = type$.Value;
  68476. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68477. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68478. t4 = t3.get$current(t3);
  68479. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  68480. }
  68481. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68482. },
  68483. $signature: 34
  68484. };
  68485. A._EvaluateVisitor_closure18.prototype = {
  68486. call$1($arguments) {
  68487. var t2, t3, t4,
  68488. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68489. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68490. if (module == null)
  68491. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68492. t1 = type$.Value;
  68493. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68494. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68495. t4 = t3.get$current(t3);
  68496. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  68497. }
  68498. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68499. },
  68500. $signature: 34
  68501. };
  68502. A._EvaluateVisitor_closure19.prototype = {
  68503. call$1($arguments) {
  68504. var t2, t3, t4,
  68505. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68506. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68507. if (module == null)
  68508. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68509. t1 = type$.Value;
  68510. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68511. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68512. t4 = t3.get$current(t3);
  68513. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  68514. }
  68515. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68516. },
  68517. $signature: 34
  68518. };
  68519. A._EvaluateVisitor_closure20.prototype = {
  68520. call$1($arguments) {
  68521. var module, t2, callable,
  68522. t1 = J.getInterceptor$asx($arguments),
  68523. $name = t1.$index($arguments, 0).assertString$1("name"),
  68524. css = t1.$index($arguments, 1).get$isTruthy();
  68525. t1 = t1.$index($arguments, 2).get$realNull();
  68526. module = t1 == null ? null : t1.assertString$1("module");
  68527. if (css) {
  68528. if (module != null)
  68529. throw A.wrapException(string$.x24css_a);
  68530. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  68531. }
  68532. t1 = this.$this;
  68533. t2 = t1._async_evaluate$_callableNode;
  68534. t2.toString;
  68535. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  68536. if (callable == null)
  68537. throw A.wrapException("Function not found: " + $name.toString$0(0));
  68538. return new A.SassFunction(callable);
  68539. },
  68540. $signature: 163
  68541. };
  68542. A._EvaluateVisitor__closure6.prototype = {
  68543. call$0() {
  68544. var local,
  68545. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68546. t1 = this.module,
  68547. namespace = t1 == null ? null : t1._string$_text;
  68548. t1 = this.$this;
  68549. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  68550. if (local != null || namespace != null)
  68551. return local;
  68552. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  68553. },
  68554. $signature: 85
  68555. };
  68556. A._EvaluateVisitor_closure21.prototype = {
  68557. call$1($arguments) {
  68558. var module, t2, callable,
  68559. t1 = J.getInterceptor$asx($arguments),
  68560. $name = t1.$index($arguments, 0).assertString$1("name");
  68561. t1 = t1.$index($arguments, 1).get$realNull();
  68562. module = t1 == null ? null : t1.assertString$1("module");
  68563. t1 = this.$this;
  68564. t2 = t1._async_evaluate$_callableNode;
  68565. t2.toString;
  68566. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  68567. if (callable == null)
  68568. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  68569. return new A.SassMixin(callable);
  68570. },
  68571. $signature: 265
  68572. };
  68573. A._EvaluateVisitor__closure5.prototype = {
  68574. call$0() {
  68575. var t1 = this.$this._async_evaluate$_environment,
  68576. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68577. t3 = this.module;
  68578. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  68579. },
  68580. $signature: 85
  68581. };
  68582. A._EvaluateVisitor_closure22.prototype = {
  68583. call$1($arguments) {
  68584. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  68585. },
  68586. $call$body$_EvaluateVisitor_closure1($arguments) {
  68587. var $async$goto = 0,
  68588. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68589. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  68590. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68591. if ($async$errorCode === 1)
  68592. return A._asyncRethrow($async$result, $async$completer);
  68593. while (true)
  68594. switch ($async$goto) {
  68595. case 0:
  68596. // Function start
  68597. t1 = J.getInterceptor$asx($arguments);
  68598. $function = t1.$index($arguments, 0);
  68599. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68600. t1 = $async$self.$this;
  68601. t2 = t1._async_evaluate$_callableNode;
  68602. t2.toString;
  68603. t3 = A._setArrayType([], type$.JSArray_Expression);
  68604. t4 = type$.String;
  68605. t5 = type$.Expression;
  68606. t6 = t2.get$span(t2);
  68607. t7 = t2.get$span(t2);
  68608. args._wereKeywordsAccessed = true;
  68609. t8 = args._keywords;
  68610. if (t8.get$isEmpty(t8))
  68611. t2 = null;
  68612. else {
  68613. t9 = type$.Value;
  68614. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  68615. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  68616. t11 = t8.get$current(t8);
  68617. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  68618. }
  68619. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  68620. }
  68621. 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);
  68622. $async$goto = $function instanceof A.SassString ? 3 : 4;
  68623. break;
  68624. case 3:
  68625. // then
  68626. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_gkc);
  68627. callableNode = t1._async_evaluate$_callableNode;
  68628. t2 = $function._string$_text;
  68629. t3 = callableNode.get$span(callableNode);
  68630. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  68631. $async$goto = 5;
  68632. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  68633. case 5:
  68634. // returning from await.
  68635. $async$returnValue = $async$result;
  68636. // goto return
  68637. $async$goto = 1;
  68638. break;
  68639. case 4:
  68640. // join
  68641. t2 = $function.assertFunction$1("function");
  68642. t3 = t1._async_evaluate$_callableNode;
  68643. t3.toString;
  68644. $async$goto = 6;
  68645. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  68646. case 6:
  68647. // returning from await.
  68648. t3 = $async$result;
  68649. $async$returnValue = t3;
  68650. // goto return
  68651. $async$goto = 1;
  68652. break;
  68653. case 1:
  68654. // return
  68655. return A._asyncReturn($async$returnValue, $async$completer);
  68656. }
  68657. });
  68658. return A._asyncStartSync($async$call$1, $async$completer);
  68659. },
  68660. $signature: 258
  68661. };
  68662. A._EvaluateVisitor_closure23.prototype = {
  68663. call$1($arguments) {
  68664. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  68665. },
  68666. $call$body$_EvaluateVisitor_closure0($arguments) {
  68667. var $async$goto = 0,
  68668. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68669. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  68670. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68671. if ($async$errorCode === 1)
  68672. return A._asyncRethrow($async$result, $async$completer);
  68673. while (true)
  68674. switch ($async$goto) {
  68675. case 0:
  68676. // Function start
  68677. t1 = J.getInterceptor$asx($arguments);
  68678. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  68679. t1 = t1.$index($arguments, 1).get$realNull();
  68680. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  68681. t1 = $async$self.$this;
  68682. t2 = t1._async_evaluate$_callableNode;
  68683. t2.toString;
  68684. if (withMap != null) {
  68685. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  68686. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  68687. configuration = new A.ExplicitConfiguration(t2, values, null);
  68688. } else
  68689. configuration = B.Configuration_Map_empty_null;
  68690. t3 = t2.get$span(t2);
  68691. $async$goto = 2;
  68692. 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);
  68693. case 2:
  68694. // returning from await.
  68695. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  68696. // implicit return
  68697. return A._asyncReturn(null, $async$completer);
  68698. }
  68699. });
  68700. return A._asyncStartSync($async$call$1, $async$completer);
  68701. },
  68702. $signature: 164
  68703. };
  68704. A._EvaluateVisitor__closure3.prototype = {
  68705. call$2(variable, value) {
  68706. var t1 = variable.assertString$1("with key"),
  68707. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  68708. t1 = this.values;
  68709. if (t1.containsKey$1($name))
  68710. throw A.wrapException("The variable $" + $name + " was configured twice.");
  68711. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  68712. },
  68713. $signature: 84
  68714. };
  68715. A._EvaluateVisitor__closure4.prototype = {
  68716. call$2(module, _) {
  68717. var t1 = this.$this;
  68718. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  68719. },
  68720. $signature: 353
  68721. };
  68722. A._EvaluateVisitor_closure24.prototype = {
  68723. call$1($arguments) {
  68724. return this.$call$body$_EvaluateVisitor_closure($arguments);
  68725. },
  68726. $call$body$_EvaluateVisitor_closure($arguments) {
  68727. var $async$goto = 0,
  68728. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68729. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  68730. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68731. if ($async$errorCode === 1)
  68732. return A._asyncRethrow($async$result, $async$completer);
  68733. while (true)
  68734. switch ($async$goto) {
  68735. case 0:
  68736. // Function start
  68737. t1 = J.getInterceptor$asx($arguments);
  68738. mixin = t1.$index($arguments, 0);
  68739. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68740. t1 = $async$self.$this;
  68741. callableNode = t1._async_evaluate$_callableNode;
  68742. t2 = callableNode.get$span(callableNode);
  68743. t3 = callableNode.get$span(callableNode);
  68744. t4 = type$.Expression;
  68745. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  68746. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  68747. $async$goto = 2;
  68748. 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);
  68749. case 2:
  68750. // returning from await.
  68751. // implicit return
  68752. return A._asyncReturn(null, $async$completer);
  68753. }
  68754. });
  68755. return A._asyncStartSync($async$call$1, $async$completer);
  68756. },
  68757. $signature: 164
  68758. };
  68759. A._EvaluateVisitor_run_closure0.prototype = {
  68760. call$0() {
  68761. var $async$goto = 0,
  68762. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  68763. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  68764. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68765. if ($async$errorCode === 1)
  68766. return A._asyncRethrow($async$result, $async$completer);
  68767. while (true)
  68768. switch ($async$goto) {
  68769. case 0:
  68770. // Function start
  68771. t1 = $async$self.node;
  68772. t2 = t1.span;
  68773. _0_0 = t2.get$sourceUrl(t2);
  68774. url = null;
  68775. if (_0_0 != null) {
  68776. url = _0_0;
  68777. t2 = $async$self.$this;
  68778. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  68779. t2._async_evaluate$_loadedUrls.add$1(0, url);
  68780. }
  68781. t2 = $async$self.$this;
  68782. $async$goto = 3;
  68783. 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);
  68784. case 3:
  68785. // returning from await.
  68786. module = $async$result;
  68787. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  68788. // goto return
  68789. $async$goto = 1;
  68790. break;
  68791. case 1:
  68792. // return
  68793. return A._asyncReturn($async$returnValue, $async$completer);
  68794. }
  68795. });
  68796. return A._asyncStartSync($async$call$0, $async$completer);
  68797. },
  68798. $signature: 352
  68799. };
  68800. A._EvaluateVisitor_run__closure0.prototype = {
  68801. call$0() {
  68802. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  68803. },
  68804. $signature: 351
  68805. };
  68806. A._EvaluateVisitor__loadModule_closure1.prototype = {
  68807. call$0() {
  68808. return this.callback.call$2(this._box_1.builtInModule, false);
  68809. },
  68810. $signature: 0
  68811. };
  68812. A._EvaluateVisitor__loadModule_closure2.prototype = {
  68813. call$0() {
  68814. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  68815. },
  68816. $call$body$_EvaluateVisitor__loadModule_closure() {
  68817. var $async$goto = 0,
  68818. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68819. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  68820. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68821. if ($async$errorCode === 1) {
  68822. $async$currentError = $async$result;
  68823. $async$goto = $async$handler;
  68824. }
  68825. while (true)
  68826. switch ($async$goto) {
  68827. case 0:
  68828. // Function start
  68829. t1 = {};
  68830. stylesheet = null;
  68831. importer = null;
  68832. t2 = $async$self.$this;
  68833. t3 = $async$self.nodeWithSpan;
  68834. $async$goto = 2;
  68835. 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);
  68836. case 2:
  68837. // returning from await.
  68838. _1_0 = $async$result;
  68839. stylesheet = _1_0._0;
  68840. importer = _1_0._1;
  68841. isDependency = _1_0._2;
  68842. t4 = stylesheet.span;
  68843. canonicalUrl = t4.get$sourceUrl(t4);
  68844. if (canonicalUrl != null) {
  68845. t4 = t2._async_evaluate$_activeModules;
  68846. if (t4.containsKey$1(canonicalUrl)) {
  68847. if ($async$self.namesInErrors) {
  68848. t1 = canonicalUrl;
  68849. t3 = $.$get$context();
  68850. t1.toString;
  68851. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  68852. } else
  68853. message = string$.Modulel;
  68854. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  68855. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  68856. } else
  68857. t4.$indexSet(0, canonicalUrl, t3);
  68858. }
  68859. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  68860. oldInDependency = t2._async_evaluate$_inDependency;
  68861. t2._async_evaluate$_inDependency = isDependency;
  68862. t1.module = null;
  68863. $async$handler = 3;
  68864. $async$temp1 = t1;
  68865. $async$goto = 6;
  68866. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  68867. case 6:
  68868. // returning from await.
  68869. $async$temp1.module = $async$result;
  68870. $async$next.push(5);
  68871. // goto finally
  68872. $async$goto = 4;
  68873. break;
  68874. case 3:
  68875. // uncaught
  68876. $async$next = [1];
  68877. case 4:
  68878. // finally
  68879. $async$handler = 1;
  68880. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  68881. t2._async_evaluate$_inDependency = oldInDependency;
  68882. // goto the next finally handler
  68883. $async$goto = $async$next.pop();
  68884. break;
  68885. case 5:
  68886. // after finally
  68887. $async$goto = 7;
  68888. 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);
  68889. case 7:
  68890. // returning from await.
  68891. // implicit return
  68892. return A._asyncReturn(null, $async$completer);
  68893. case 1:
  68894. // rethrow
  68895. return A._asyncRethrow($async$currentError, $async$completer);
  68896. }
  68897. });
  68898. return A._asyncStartSync($async$call$0, $async$completer);
  68899. },
  68900. $signature: 2
  68901. };
  68902. A._EvaluateVisitor__loadModule__closure1.prototype = {
  68903. call$1(previousLoad) {
  68904. 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));
  68905. },
  68906. $signature: 83
  68907. };
  68908. A._EvaluateVisitor__loadModule__closure2.prototype = {
  68909. call$0() {
  68910. return this.callback.call$2(this._box_0.module, this.firstLoad);
  68911. },
  68912. $signature: 0
  68913. };
  68914. A._EvaluateVisitor__execute_closure0.prototype = {
  68915. call$0() {
  68916. var $async$goto = 0,
  68917. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68918. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  68919. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68920. if ($async$errorCode === 1)
  68921. return A._asyncRethrow($async$result, $async$completer);
  68922. while (true)
  68923. switch ($async$goto) {
  68924. case 0:
  68925. // Function start
  68926. t1 = $async$self.$this;
  68927. oldImporter = t1._async_evaluate$_importer;
  68928. oldStylesheet = t1._async_evaluate$__stylesheet;
  68929. oldRoot = t1._async_evaluate$__root;
  68930. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  68931. oldParent = t1._async_evaluate$__parent;
  68932. oldEndOfImports = t1._async_evaluate$__endOfImports;
  68933. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  68934. oldExtensionStore = t1._async_evaluate$__extensionStore;
  68935. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  68936. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  68937. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  68938. oldDeclarationName = t1._async_evaluate$_declarationName;
  68939. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  68940. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  68941. oldConfiguration = t1._async_evaluate$_configuration;
  68942. t1._async_evaluate$_importer = $async$self.importer;
  68943. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  68944. t4 = t3.span;
  68945. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  68946. t1._async_evaluate$__endOfImports = 0;
  68947. t1._async_evaluate$_outOfOrderImports = null;
  68948. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  68949. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  68950. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  68951. t6 = $async$self.configuration;
  68952. if (t6 != null)
  68953. t1._async_evaluate$_configuration = t6;
  68954. $async$goto = 2;
  68955. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  68956. case 2:
  68957. // returning from await.
  68958. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  68959. $async$self.css.__late_helper$_value = t3;
  68960. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  68961. t1._async_evaluate$_importer = oldImporter;
  68962. t1._async_evaluate$__stylesheet = oldStylesheet;
  68963. t1._async_evaluate$__root = oldRoot;
  68964. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  68965. t1._async_evaluate$__parent = oldParent;
  68966. t1._async_evaluate$__endOfImports = oldEndOfImports;
  68967. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  68968. t1._async_evaluate$__extensionStore = oldExtensionStore;
  68969. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  68970. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  68971. t1._async_evaluate$_declarationName = oldDeclarationName;
  68972. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  68973. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  68974. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  68975. t1._async_evaluate$_configuration = oldConfiguration;
  68976. // implicit return
  68977. return A._asyncReturn(null, $async$completer);
  68978. }
  68979. });
  68980. return A._asyncStartSync($async$call$0, $async$completer);
  68981. },
  68982. $signature: 2
  68983. };
  68984. A._EvaluateVisitor__combineCss_closure1.prototype = {
  68985. call$1(module) {
  68986. return module.get$transitivelyContainsCss();
  68987. },
  68988. $signature: 114
  68989. };
  68990. A._EvaluateVisitor__combineCss_closure2.prototype = {
  68991. call$1(target) {
  68992. return !this.selectors.contains$1(0, target);
  68993. },
  68994. $signature: 13
  68995. };
  68996. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  68997. call$1(module) {
  68998. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  68999. if (!_this.seen.add$1(0, module))
  69000. return;
  69001. if (_this.clone)
  69002. module = module.cloneCss$0();
  69003. 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) {
  69004. upstream = t1[_i];
  69005. if (upstream.get$transitivelyContainsCss()) {
  69006. _1_0 = module.get$preModuleComments().$index(0, upstream);
  69007. if (_1_0 != null)
  69008. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  69009. _this.call$1(upstream);
  69010. }
  69011. }
  69012. _this.sorted.addFirst$1(module);
  69013. t1 = module.get$css(module);
  69014. statements = t1.get$children(t1);
  69015. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  69016. t1 = J.getInterceptor$ax(statements);
  69017. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  69018. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  69019. },
  69020. $signature: 343
  69021. };
  69022. A._EvaluateVisitor__extendModules_closure1.prototype = {
  69023. call$1(target) {
  69024. return !this.originalSelectors.contains$1(0, target);
  69025. },
  69026. $signature: 13
  69027. };
  69028. A._EvaluateVisitor__extendModules_closure2.prototype = {
  69029. call$0() {
  69030. return A._setArrayType([], type$.JSArray_ExtensionStore);
  69031. },
  69032. $signature: 167
  69033. };
  69034. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  69035. call$0() {
  69036. var $async$goto = 0,
  69037. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69038. $async$self = this, t1, t2, t3, _i;
  69039. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69040. if ($async$errorCode === 1)
  69041. return A._asyncRethrow($async$result, $async$completer);
  69042. while (true)
  69043. switch ($async$goto) {
  69044. case 0:
  69045. // Function start
  69046. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69047. case 2:
  69048. // for condition
  69049. if (!(_i < t2)) {
  69050. // goto after for
  69051. $async$goto = 4;
  69052. break;
  69053. }
  69054. $async$goto = 5;
  69055. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69056. case 5:
  69057. // returning from await.
  69058. case 3:
  69059. // for update
  69060. ++_i;
  69061. // goto for condition
  69062. $async$goto = 2;
  69063. break;
  69064. case 4:
  69065. // after for
  69066. // implicit return
  69067. return A._asyncReturn(null, $async$completer);
  69068. }
  69069. });
  69070. return A._asyncStartSync($async$call$0, $async$completer);
  69071. },
  69072. $signature: 2
  69073. };
  69074. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  69075. call$0() {
  69076. var $async$goto = 0,
  69077. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69078. $async$self = this, t1, t2, t3, _i;
  69079. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69080. if ($async$errorCode === 1)
  69081. return A._asyncRethrow($async$result, $async$completer);
  69082. while (true)
  69083. switch ($async$goto) {
  69084. case 0:
  69085. // Function start
  69086. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69087. case 2:
  69088. // for condition
  69089. if (!(_i < t2)) {
  69090. // goto after for
  69091. $async$goto = 4;
  69092. break;
  69093. }
  69094. $async$goto = 5;
  69095. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69096. case 5:
  69097. // returning from await.
  69098. case 3:
  69099. // for update
  69100. ++_i;
  69101. // goto for condition
  69102. $async$goto = 2;
  69103. break;
  69104. case 4:
  69105. // after for
  69106. // implicit return
  69107. return A._asyncReturn(null, $async$completer);
  69108. }
  69109. });
  69110. return A._asyncStartSync($async$call$0, $async$completer);
  69111. },
  69112. $signature: 25
  69113. };
  69114. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  69115. call$1(callback) {
  69116. var $async$goto = 0,
  69117. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69118. $async$self = this, t1, t2;
  69119. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69120. if ($async$errorCode === 1)
  69121. return A._asyncRethrow($async$result, $async$completer);
  69122. while (true)
  69123. switch ($async$goto) {
  69124. case 0:
  69125. // Function start
  69126. t1 = $async$self.$this;
  69127. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  69128. t1._async_evaluate$__parent = $async$self.newParent;
  69129. $async$goto = 2;
  69130. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  69131. case 2:
  69132. // returning from await.
  69133. t1._async_evaluate$__parent = t2;
  69134. // implicit return
  69135. return A._asyncReturn(null, $async$completer);
  69136. }
  69137. });
  69138. return A._asyncStartSync($async$call$1, $async$completer);
  69139. },
  69140. $signature: 38
  69141. };
  69142. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  69143. call$1(callback) {
  69144. var $async$goto = 0,
  69145. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69146. $async$self = this, t1, oldAtRootExcludingStyleRule;
  69147. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69148. if ($async$errorCode === 1)
  69149. return A._asyncRethrow($async$result, $async$completer);
  69150. while (true)
  69151. switch ($async$goto) {
  69152. case 0:
  69153. // Function start
  69154. t1 = $async$self.$this;
  69155. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  69156. t1._async_evaluate$_atRootExcludingStyleRule = true;
  69157. $async$goto = 2;
  69158. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69159. case 2:
  69160. // returning from await.
  69161. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69162. // implicit return
  69163. return A._asyncReturn(null, $async$completer);
  69164. }
  69165. });
  69166. return A._asyncStartSync($async$call$1, $async$completer);
  69167. },
  69168. $signature: 38
  69169. };
  69170. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  69171. call$1(callback) {
  69172. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  69173. },
  69174. $signature: 38
  69175. };
  69176. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  69177. call$0() {
  69178. return this.innerScope.call$1(this.callback);
  69179. },
  69180. $signature: 2
  69181. };
  69182. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  69183. call$1(callback) {
  69184. var $async$goto = 0,
  69185. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69186. $async$self = this, t1, wasInKeyframes;
  69187. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69188. if ($async$errorCode === 1)
  69189. return A._asyncRethrow($async$result, $async$completer);
  69190. while (true)
  69191. switch ($async$goto) {
  69192. case 0:
  69193. // Function start
  69194. t1 = $async$self.$this;
  69195. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  69196. t1._async_evaluate$_inKeyframes = false;
  69197. $async$goto = 2;
  69198. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69199. case 2:
  69200. // returning from await.
  69201. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  69202. // implicit return
  69203. return A._asyncReturn(null, $async$completer);
  69204. }
  69205. });
  69206. return A._asyncStartSync($async$call$1, $async$completer);
  69207. },
  69208. $signature: 38
  69209. };
  69210. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  69211. call$1($parent) {
  69212. return $parent instanceof A.ModifiableCssAtRule;
  69213. },
  69214. $signature: 168
  69215. };
  69216. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  69217. call$1(callback) {
  69218. var $async$goto = 0,
  69219. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69220. $async$self = this, t1, wasInUnknownAtRule;
  69221. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69222. if ($async$errorCode === 1)
  69223. return A._asyncRethrow($async$result, $async$completer);
  69224. while (true)
  69225. switch ($async$goto) {
  69226. case 0:
  69227. // Function start
  69228. t1 = $async$self.$this;
  69229. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  69230. t1._async_evaluate$_inUnknownAtRule = false;
  69231. $async$goto = 2;
  69232. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69233. case 2:
  69234. // returning from await.
  69235. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  69236. // implicit return
  69237. return A._asyncReturn(null, $async$completer);
  69238. }
  69239. });
  69240. return A._asyncStartSync($async$call$1, $async$completer);
  69241. },
  69242. $signature: 38
  69243. };
  69244. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  69245. call$0() {
  69246. var $async$goto = 0,
  69247. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69248. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  69249. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69250. if ($async$errorCode === 1)
  69251. return A._asyncRethrow($async$result, $async$completer);
  69252. while (true)
  69253. switch ($async$goto) {
  69254. case 0:
  69255. // Function start
  69256. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69257. case 3:
  69258. // for condition
  69259. if (!(_i < t2)) {
  69260. // goto after for
  69261. $async$goto = 5;
  69262. break;
  69263. }
  69264. $async$goto = 6;
  69265. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69266. case 6:
  69267. // returning from await.
  69268. case 4:
  69269. // for update
  69270. ++_i;
  69271. // goto for condition
  69272. $async$goto = 3;
  69273. break;
  69274. case 5:
  69275. // after for
  69276. $async$returnValue = null;
  69277. // goto return
  69278. $async$goto = 1;
  69279. break;
  69280. case 1:
  69281. // return
  69282. return A._asyncReturn($async$returnValue, $async$completer);
  69283. }
  69284. });
  69285. return A._asyncStartSync($async$call$0, $async$completer);
  69286. },
  69287. $signature: 2
  69288. };
  69289. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  69290. call$0() {
  69291. var $async$goto = 0,
  69292. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69293. $async$self = this, t1, t2, t3, _i;
  69294. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69295. if ($async$errorCode === 1)
  69296. return A._asyncRethrow($async$result, $async$completer);
  69297. while (true)
  69298. switch ($async$goto) {
  69299. case 0:
  69300. // Function start
  69301. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69302. case 2:
  69303. // for condition
  69304. if (!(_i < t2)) {
  69305. // goto after for
  69306. $async$goto = 4;
  69307. break;
  69308. }
  69309. $async$goto = 5;
  69310. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69311. case 5:
  69312. // returning from await.
  69313. case 3:
  69314. // for update
  69315. ++_i;
  69316. // goto for condition
  69317. $async$goto = 2;
  69318. break;
  69319. case 4:
  69320. // after for
  69321. // implicit return
  69322. return A._asyncReturn(null, $async$completer);
  69323. }
  69324. });
  69325. return A._asyncStartSync($async$call$0, $async$completer);
  69326. },
  69327. $signature: 2
  69328. };
  69329. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  69330. call$1(value) {
  69331. var t1 = this.$this,
  69332. t2 = this.nodeWithSpan;
  69333. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  69334. },
  69335. $signature: 57
  69336. };
  69337. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  69338. call$1(value) {
  69339. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  69340. },
  69341. $signature: 57
  69342. };
  69343. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  69344. call$0() {
  69345. var _this = this,
  69346. t1 = _this.$this;
  69347. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  69348. },
  69349. $signature: 75
  69350. };
  69351. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  69352. call$1(element) {
  69353. var t1;
  69354. this.setVariables.call$1(element);
  69355. t1 = this.$this;
  69356. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  69357. },
  69358. $signature: 337
  69359. };
  69360. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  69361. call$1(child) {
  69362. return child.accept$1(this.$this);
  69363. },
  69364. $signature: 82
  69365. };
  69366. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  69367. call$1(value) {
  69368. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  69369. },
  69370. $signature: 334
  69371. };
  69372. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  69373. call$0() {
  69374. var $async$goto = 0,
  69375. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69376. $async$self = this, t2, t3, _i, t1, styleRule;
  69377. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69378. if ($async$errorCode === 1)
  69379. return A._asyncRethrow($async$result, $async$completer);
  69380. while (true)
  69381. switch ($async$goto) {
  69382. case 0:
  69383. // Function start
  69384. t1 = $async$self.$this;
  69385. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  69386. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  69387. break;
  69388. case 2:
  69389. // then
  69390. t2 = $async$self.children, t3 = t2.length, _i = 0;
  69391. case 5:
  69392. // for condition
  69393. if (!(_i < t3)) {
  69394. // goto after for
  69395. $async$goto = 7;
  69396. break;
  69397. }
  69398. $async$goto = 8;
  69399. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  69400. case 8:
  69401. // returning from await.
  69402. case 6:
  69403. // for update
  69404. ++_i;
  69405. // goto for condition
  69406. $async$goto = 5;
  69407. break;
  69408. case 7:
  69409. // after for
  69410. // goto join
  69411. $async$goto = 3;
  69412. break;
  69413. case 4:
  69414. // else
  69415. $async$goto = 9;
  69416. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  69417. case 9:
  69418. // returning from await.
  69419. case 3:
  69420. // join
  69421. // implicit return
  69422. return A._asyncReturn(null, $async$completer);
  69423. }
  69424. });
  69425. return A._asyncStartSync($async$call$0, $async$completer);
  69426. },
  69427. $signature: 2
  69428. };
  69429. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  69430. call$0() {
  69431. var $async$goto = 0,
  69432. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69433. $async$self = this, t1, t2, t3, _i;
  69434. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69435. if ($async$errorCode === 1)
  69436. return A._asyncRethrow($async$result, $async$completer);
  69437. while (true)
  69438. switch ($async$goto) {
  69439. case 0:
  69440. // Function start
  69441. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69442. case 2:
  69443. // for condition
  69444. if (!(_i < t2)) {
  69445. // goto after for
  69446. $async$goto = 4;
  69447. break;
  69448. }
  69449. $async$goto = 5;
  69450. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69451. case 5:
  69452. // returning from await.
  69453. case 3:
  69454. // for update
  69455. ++_i;
  69456. // goto for condition
  69457. $async$goto = 2;
  69458. break;
  69459. case 4:
  69460. // after for
  69461. // implicit return
  69462. return A._asyncReturn(null, $async$completer);
  69463. }
  69464. });
  69465. return A._asyncStartSync($async$call$0, $async$completer);
  69466. },
  69467. $signature: 2
  69468. };
  69469. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  69470. call$1(node) {
  69471. return node instanceof A.ModifiableCssStyleRule;
  69472. },
  69473. $signature: 7
  69474. };
  69475. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  69476. call$0() {
  69477. var $async$goto = 0,
  69478. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69479. $async$returnValue, $async$self = this;
  69480. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69481. if ($async$errorCode === 1)
  69482. return A._asyncRethrow($async$result, $async$completer);
  69483. while (true)
  69484. switch ($async$goto) {
  69485. case 0:
  69486. // Function start
  69487. $async$goto = 3;
  69488. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  69489. case 3:
  69490. // returning from await.
  69491. $async$returnValue = $async$result.assertNumber$0();
  69492. // goto return
  69493. $async$goto = 1;
  69494. break;
  69495. case 1:
  69496. // return
  69497. return A._asyncReturn($async$returnValue, $async$completer);
  69498. }
  69499. });
  69500. return A._asyncStartSync($async$call$0, $async$completer);
  69501. },
  69502. $signature: 170
  69503. };
  69504. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  69505. call$0() {
  69506. var $async$goto = 0,
  69507. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69508. $async$returnValue, $async$self = this;
  69509. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69510. if ($async$errorCode === 1)
  69511. return A._asyncRethrow($async$result, $async$completer);
  69512. while (true)
  69513. switch ($async$goto) {
  69514. case 0:
  69515. // Function start
  69516. $async$goto = 3;
  69517. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  69518. case 3:
  69519. // returning from await.
  69520. $async$returnValue = $async$result.assertNumber$0();
  69521. // goto return
  69522. $async$goto = 1;
  69523. break;
  69524. case 1:
  69525. // return
  69526. return A._asyncReturn($async$returnValue, $async$completer);
  69527. }
  69528. });
  69529. return A._asyncStartSync($async$call$0, $async$completer);
  69530. },
  69531. $signature: 170
  69532. };
  69533. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  69534. call$0() {
  69535. return this.fromNumber.assertInt$0();
  69536. },
  69537. $signature: 10
  69538. };
  69539. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  69540. call$0() {
  69541. var t1 = this.fromNumber;
  69542. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  69543. },
  69544. $signature: 10
  69545. };
  69546. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  69547. call$0() {
  69548. var $async$goto = 0,
  69549. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69550. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  69551. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69552. if ($async$errorCode === 1)
  69553. return A._asyncRethrow($async$result, $async$completer);
  69554. while (true)
  69555. switch ($async$goto) {
  69556. case 0:
  69557. // Function start
  69558. t1 = $async$self.$this;
  69559. t2 = $async$self.node;
  69560. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  69561. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  69562. case 3:
  69563. // for condition
  69564. if (!(i !== t3.to)) {
  69565. // goto after for
  69566. $async$goto = 5;
  69567. break;
  69568. }
  69569. t7 = t1._async_evaluate$_environment;
  69570. t8 = t6.get$numeratorUnits(t6);
  69571. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  69572. $async$goto = 6;
  69573. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  69574. case 6:
  69575. // returning from await.
  69576. _0_0 = $async$result;
  69577. if (_0_0 != null) {
  69578. $async$returnValue = _0_0;
  69579. // goto return
  69580. $async$goto = 1;
  69581. break;
  69582. }
  69583. case 4:
  69584. // for update
  69585. i += t4;
  69586. // goto for condition
  69587. $async$goto = 3;
  69588. break;
  69589. case 5:
  69590. // after for
  69591. $async$returnValue = null;
  69592. // goto return
  69593. $async$goto = 1;
  69594. break;
  69595. case 1:
  69596. // return
  69597. return A._asyncReturn($async$returnValue, $async$completer);
  69598. }
  69599. });
  69600. return A._asyncStartSync($async$call$0, $async$completer);
  69601. },
  69602. $signature: 75
  69603. };
  69604. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  69605. call$1(child) {
  69606. return child.accept$1(this.$this);
  69607. },
  69608. $signature: 82
  69609. };
  69610. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  69611. call$2(module, firstLoad) {
  69612. if (firstLoad)
  69613. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69614. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69615. },
  69616. $signature: 133
  69617. };
  69618. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  69619. call$2(module, firstLoad) {
  69620. if (firstLoad)
  69621. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69622. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69623. },
  69624. $signature: 133
  69625. };
  69626. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  69627. call$0() {
  69628. return A._setArrayType([], type$.JSArray_CssComment);
  69629. },
  69630. $signature: 172
  69631. };
  69632. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  69633. call$1(clause) {
  69634. var t1 = this.$this;
  69635. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  69636. },
  69637. $signature: 326
  69638. };
  69639. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  69640. call$0() {
  69641. var t1 = this.$this;
  69642. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  69643. },
  69644. $signature: 75
  69645. };
  69646. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  69647. call$1(child) {
  69648. return child.accept$1(this.$this);
  69649. },
  69650. $signature: 82
  69651. };
  69652. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  69653. call$0() {
  69654. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  69655. },
  69656. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  69657. var $async$goto = 0,
  69658. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69659. $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;
  69660. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69661. if ($async$errorCode === 1)
  69662. return A._asyncRethrow($async$result, $async$completer);
  69663. while (true)
  69664. switch ($async$goto) {
  69665. case 0:
  69666. // Function start
  69667. _box_0 = {};
  69668. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  69669. t1 = $async$self.$this;
  69670. t2 = $async$self.$import;
  69671. $async$goto = 3;
  69672. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  69673. case 3:
  69674. // returning from await.
  69675. _0_0 = $async$result;
  69676. stylesheet = _box_0.stylesheet = _0_0._0;
  69677. importer = _0_0._1;
  69678. _box_0.importer = importer;
  69679. isDependency = _0_0._2;
  69680. _box_0.isDependency = isDependency;
  69681. t3 = stylesheet.span;
  69682. url = t3.get$sourceUrl(t3);
  69683. if (url != null) {
  69684. t3 = t1._async_evaluate$_activeModules;
  69685. if (t3.containsKey$1(url)) {
  69686. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  69687. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  69688. }
  69689. t3.$indexSet(0, url, t2);
  69690. }
  69691. t2 = stylesheet._uses;
  69692. t3 = type$.UnmodifiableListView_UseRule;
  69693. $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;
  69694. break;
  69695. case 4:
  69696. // then
  69697. oldImporter = t1._async_evaluate$_importer;
  69698. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69699. oldInDependency = t1._async_evaluate$_inDependency;
  69700. t1._async_evaluate$_importer = importer;
  69701. t1._async_evaluate$__stylesheet = stylesheet;
  69702. t1._async_evaluate$_inDependency = isDependency;
  69703. $async$goto = 6;
  69704. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  69705. case 6:
  69706. // returning from await.
  69707. t1._async_evaluate$_importer = oldImporter;
  69708. t1._async_evaluate$__stylesheet = t2;
  69709. t1._async_evaluate$_inDependency = oldInDependency;
  69710. t1._async_evaluate$_activeModules.remove$1(0, url);
  69711. // goto return
  69712. $async$goto = 1;
  69713. break;
  69714. case 5:
  69715. // join
  69716. t2 = new A.UnmodifiableListView(t2, t3);
  69717. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  69718. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69719. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  69720. } else
  69721. loadsUserDefinedModules = true;
  69722. children = A._Cell$();
  69723. t2 = t1._async_evaluate$_environment;
  69724. t3 = type$.String;
  69725. t4 = type$.Module_AsyncCallable;
  69726. t5 = type$.AstNode;
  69727. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  69728. t7 = t2._async_environment$_variables;
  69729. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  69730. t8 = t2._async_environment$_variableNodes;
  69731. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  69732. t9 = t2._async_environment$_functions;
  69733. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  69734. t10 = t2._async_environment$_mixins;
  69735. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  69736. 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);
  69737. $async$goto = 7;
  69738. 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);
  69739. case 7:
  69740. // returning from await.
  69741. module = environment.toDummyModule$0();
  69742. t1._async_evaluate$_environment.importForwards$1(module);
  69743. $async$goto = loadsUserDefinedModules ? 8 : 9;
  69744. break;
  69745. case 8:
  69746. // then
  69747. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  69748. break;
  69749. case 10:
  69750. // then
  69751. $async$goto = 12;
  69752. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  69753. case 12:
  69754. // returning from await.
  69755. case 11:
  69756. // join
  69757. visitor = new A._ImportedCssVisitor0(t1);
  69758. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  69759. t2.get$current(t2).accept$1(visitor);
  69760. case 9:
  69761. // join
  69762. t1._async_evaluate$_activeModules.remove$1(0, url);
  69763. case 1:
  69764. // return
  69765. return A._asyncReturn($async$returnValue, $async$completer);
  69766. }
  69767. });
  69768. return A._asyncStartSync($async$call$0, $async$completer);
  69769. },
  69770. $signature: 25
  69771. };
  69772. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  69773. call$1(previousLoad) {
  69774. 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));
  69775. },
  69776. $signature: 83
  69777. };
  69778. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  69779. call$1(rule) {
  69780. return rule.url.get$scheme() !== "sass";
  69781. },
  69782. $signature: 173
  69783. };
  69784. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  69785. call$1(rule) {
  69786. return rule.url.get$scheme() !== "sass";
  69787. },
  69788. $signature: 174
  69789. };
  69790. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  69791. call$0() {
  69792. var $async$goto = 0,
  69793. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69794. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  69795. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69796. if ($async$errorCode === 1)
  69797. return A._asyncRethrow($async$result, $async$completer);
  69798. while (true)
  69799. switch ($async$goto) {
  69800. case 0:
  69801. // Function start
  69802. t1 = $async$self.$this;
  69803. oldImporter = t1._async_evaluate$_importer;
  69804. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69805. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  69806. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  69807. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  69808. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  69809. oldConfiguration = t1._async_evaluate$_configuration;
  69810. oldInDependency = t1._async_evaluate$_inDependency;
  69811. t6 = $async$self._box_0;
  69812. t1._async_evaluate$_importer = t6.importer;
  69813. t7 = t6.stylesheet;
  69814. t1._async_evaluate$__stylesheet = t7;
  69815. t8 = $async$self.loadsUserDefinedModules;
  69816. if (t8) {
  69817. t7 = A.ModifiableCssStylesheet$(t7.span);
  69818. t1._async_evaluate$__root = t7;
  69819. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t7, "_root");
  69820. t1._async_evaluate$__endOfImports = 0;
  69821. t1._async_evaluate$_outOfOrderImports = null;
  69822. }
  69823. t1._async_evaluate$_inDependency = t6.isDependency;
  69824. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69825. if (!t7.get$isEmpty(t7))
  69826. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  69827. $async$goto = 2;
  69828. return A._asyncAwait(t1.visitStylesheet$1(0, t6.stylesheet), $async$call$0);
  69829. case 2:
  69830. // returning from await.
  69831. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  69832. $async$self.children.__late_helper$_value = t6;
  69833. t1._async_evaluate$_importer = oldImporter;
  69834. t1._async_evaluate$__stylesheet = t2;
  69835. if (t8) {
  69836. t1._async_evaluate$__root = t3;
  69837. t1._async_evaluate$__parent = t4;
  69838. t1._async_evaluate$__endOfImports = t5;
  69839. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  69840. }
  69841. t1._async_evaluate$_configuration = oldConfiguration;
  69842. t1._async_evaluate$_inDependency = oldInDependency;
  69843. // implicit return
  69844. return A._asyncReturn(null, $async$completer);
  69845. }
  69846. });
  69847. return A._asyncStartSync($async$call$0, $async$completer);
  69848. },
  69849. $signature: 2
  69850. };
  69851. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  69852. call$0() {
  69853. var $async$goto = 0,
  69854. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69855. $async$self = this, t1;
  69856. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69857. if ($async$errorCode === 1)
  69858. return A._asyncRethrow($async$result, $async$completer);
  69859. while (true)
  69860. switch ($async$goto) {
  69861. case 0:
  69862. // Function start
  69863. t1 = $async$self.$this;
  69864. $async$goto = 2;
  69865. 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);
  69866. case 2:
  69867. // returning from await.
  69868. // implicit return
  69869. return A._asyncReturn(null, $async$completer);
  69870. }
  69871. });
  69872. return A._asyncStartSync($async$call$0, $async$completer);
  69873. },
  69874. $signature: 25
  69875. };
  69876. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  69877. call$0() {
  69878. var $async$goto = 0,
  69879. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69880. $async$self = this;
  69881. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69882. if ($async$errorCode === 1)
  69883. return A._asyncRethrow($async$result, $async$completer);
  69884. while (true)
  69885. switch ($async$goto) {
  69886. case 0:
  69887. // Function start
  69888. $async$goto = 2;
  69889. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  69890. case 2:
  69891. // returning from await.
  69892. // implicit return
  69893. return A._asyncReturn(null, $async$completer);
  69894. }
  69895. });
  69896. return A._asyncStartSync($async$call$0, $async$completer);
  69897. },
  69898. $signature: 25
  69899. };
  69900. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  69901. call$0() {
  69902. var $async$goto = 0,
  69903. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69904. $async$self = this, t1;
  69905. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69906. if ($async$errorCode === 1)
  69907. return A._asyncRethrow($async$result, $async$completer);
  69908. while (true)
  69909. switch ($async$goto) {
  69910. case 0:
  69911. // Function start
  69912. t1 = $async$self.$this;
  69913. $async$goto = 2;
  69914. 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);
  69915. case 2:
  69916. // returning from await.
  69917. // implicit return
  69918. return A._asyncReturn(null, $async$completer);
  69919. }
  69920. });
  69921. return A._asyncStartSync($async$call$0, $async$completer);
  69922. },
  69923. $signature: 2
  69924. };
  69925. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  69926. call$0() {
  69927. var $async$goto = 0,
  69928. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69929. $async$self = this, t1;
  69930. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69931. if ($async$errorCode === 1)
  69932. return A._asyncRethrow($async$result, $async$completer);
  69933. while (true)
  69934. switch ($async$goto) {
  69935. case 0:
  69936. // Function start
  69937. t1 = $async$self.$this;
  69938. $async$goto = 2;
  69939. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  69940. case 2:
  69941. // returning from await.
  69942. // implicit return
  69943. return A._asyncReturn(null, $async$completer);
  69944. }
  69945. });
  69946. return A._asyncStartSync($async$call$0, $async$completer);
  69947. },
  69948. $signature: 25
  69949. };
  69950. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  69951. call$0() {
  69952. var $async$goto = 0,
  69953. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69954. $async$self = this, t1, t2, t3, t4, t5, _i;
  69955. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69956. if ($async$errorCode === 1)
  69957. return A._asyncRethrow($async$result, $async$completer);
  69958. while (true)
  69959. switch ($async$goto) {
  69960. case 0:
  69961. // Function start
  69962. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  69963. case 2:
  69964. // for condition
  69965. if (!(_i < t2)) {
  69966. // goto after for
  69967. $async$goto = 4;
  69968. break;
  69969. }
  69970. $async$goto = 5;
  69971. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  69972. case 5:
  69973. // returning from await.
  69974. case 3:
  69975. // for update
  69976. ++_i;
  69977. // goto for condition
  69978. $async$goto = 2;
  69979. break;
  69980. case 4:
  69981. // after for
  69982. // implicit return
  69983. return A._asyncReturn(null, $async$completer);
  69984. }
  69985. });
  69986. return A._asyncStartSync($async$call$0, $async$completer);
  69987. },
  69988. $signature: 25
  69989. };
  69990. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  69991. call$0() {
  69992. return this.statement.accept$1(this.$this);
  69993. },
  69994. $signature: 75
  69995. };
  69996. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  69997. call$0() {
  69998. var t1 = this.node;
  69999. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  70000. },
  70001. $signature: 85
  70002. };
  70003. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  70004. call$1($content) {
  70005. var t1 = this.$this;
  70006. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  70007. },
  70008. $signature: 325
  70009. };
  70010. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  70011. call$0() {
  70012. return this.node.get$spanWithoutContent();
  70013. },
  70014. $signature: 27
  70015. };
  70016. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  70017. call$1(mediaQueries) {
  70018. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  70019. },
  70020. $signature: 77
  70021. };
  70022. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  70023. call$0() {
  70024. var $async$goto = 0,
  70025. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70026. $async$self = this, t1, t2;
  70027. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70028. if ($async$errorCode === 1)
  70029. return A._asyncRethrow($async$result, $async$completer);
  70030. while (true)
  70031. switch ($async$goto) {
  70032. case 0:
  70033. // Function start
  70034. t1 = $async$self.$this;
  70035. t2 = $async$self.mergedQueries;
  70036. if (t2 == null)
  70037. t2 = $async$self.queries;
  70038. $async$goto = 2;
  70039. 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);
  70040. case 2:
  70041. // returning from await.
  70042. // implicit return
  70043. return A._asyncReturn(null, $async$completer);
  70044. }
  70045. });
  70046. return A._asyncStartSync($async$call$0, $async$completer);
  70047. },
  70048. $signature: 2
  70049. };
  70050. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  70051. call$0() {
  70052. var $async$goto = 0,
  70053. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70054. $async$self = this, t2, t3, _i, t1, _0_0;
  70055. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70056. if ($async$errorCode === 1)
  70057. return A._asyncRethrow($async$result, $async$completer);
  70058. while (true)
  70059. switch ($async$goto) {
  70060. case 0:
  70061. // Function start
  70062. t1 = $async$self.$this;
  70063. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70064. $async$goto = _0_0 != null ? 2 : 4;
  70065. break;
  70066. case 2:
  70067. // then
  70068. $async$goto = 5;
  70069. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  70070. case 5:
  70071. // returning from await.
  70072. // goto join
  70073. $async$goto = 3;
  70074. break;
  70075. case 4:
  70076. // else
  70077. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  70078. case 6:
  70079. // for condition
  70080. if (!(_i < t3)) {
  70081. // goto after for
  70082. $async$goto = 8;
  70083. break;
  70084. }
  70085. $async$goto = 9;
  70086. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  70087. case 9:
  70088. // returning from await.
  70089. case 7:
  70090. // for update
  70091. ++_i;
  70092. // goto for condition
  70093. $async$goto = 6;
  70094. break;
  70095. case 8:
  70096. // after for
  70097. case 3:
  70098. // join
  70099. // implicit return
  70100. return A._asyncReturn(null, $async$completer);
  70101. }
  70102. });
  70103. return A._asyncStartSync($async$call$0, $async$completer);
  70104. },
  70105. $signature: 2
  70106. };
  70107. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  70108. call$0() {
  70109. var $async$goto = 0,
  70110. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70111. $async$self = this, t1, t2, t3, _i;
  70112. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70113. if ($async$errorCode === 1)
  70114. return A._asyncRethrow($async$result, $async$completer);
  70115. while (true)
  70116. switch ($async$goto) {
  70117. case 0:
  70118. // Function start
  70119. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70120. case 2:
  70121. // for condition
  70122. if (!(_i < t2)) {
  70123. // goto after for
  70124. $async$goto = 4;
  70125. break;
  70126. }
  70127. $async$goto = 5;
  70128. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70129. case 5:
  70130. // returning from await.
  70131. case 3:
  70132. // for update
  70133. ++_i;
  70134. // goto for condition
  70135. $async$goto = 2;
  70136. break;
  70137. case 4:
  70138. // after for
  70139. // implicit return
  70140. return A._asyncReturn(null, $async$completer);
  70141. }
  70142. });
  70143. return A._asyncStartSync($async$call$0, $async$completer);
  70144. },
  70145. $signature: 2
  70146. };
  70147. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  70148. call$1(node) {
  70149. var t1;
  70150. if (!(node instanceof A.ModifiableCssStyleRule)) {
  70151. t1 = this.mergedSources;
  70152. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  70153. } else
  70154. t1 = true;
  70155. return t1;
  70156. },
  70157. $signature: 7
  70158. };
  70159. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  70160. call$0() {
  70161. var $async$goto = 0,
  70162. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70163. $async$self = this, t1, t2, t3, _i;
  70164. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70165. if ($async$errorCode === 1)
  70166. return A._asyncRethrow($async$result, $async$completer);
  70167. while (true)
  70168. switch ($async$goto) {
  70169. case 0:
  70170. // Function start
  70171. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70172. case 2:
  70173. // for condition
  70174. if (!(_i < t2)) {
  70175. // goto after for
  70176. $async$goto = 4;
  70177. break;
  70178. }
  70179. $async$goto = 5;
  70180. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70181. case 5:
  70182. // returning from await.
  70183. case 3:
  70184. // for update
  70185. ++_i;
  70186. // goto for condition
  70187. $async$goto = 2;
  70188. break;
  70189. case 4:
  70190. // after for
  70191. // implicit return
  70192. return A._asyncReturn(null, $async$completer);
  70193. }
  70194. });
  70195. return A._asyncStartSync($async$call$0, $async$completer);
  70196. },
  70197. $signature: 2
  70198. };
  70199. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  70200. call$1(node) {
  70201. return node instanceof A.ModifiableCssStyleRule;
  70202. },
  70203. $signature: 7
  70204. };
  70205. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  70206. call$0() {
  70207. var $async$goto = 0,
  70208. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70209. $async$self = this, t1;
  70210. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70211. if ($async$errorCode === 1)
  70212. return A._asyncRethrow($async$result, $async$completer);
  70213. while (true)
  70214. switch ($async$goto) {
  70215. case 0:
  70216. // Function start
  70217. t1 = $async$self.$this;
  70218. $async$goto = 2;
  70219. 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);
  70220. case 2:
  70221. // returning from await.
  70222. // implicit return
  70223. return A._asyncReturn(null, $async$completer);
  70224. }
  70225. });
  70226. return A._asyncStartSync($async$call$0, $async$completer);
  70227. },
  70228. $signature: 2
  70229. };
  70230. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  70231. call$0() {
  70232. var $async$goto = 0,
  70233. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70234. $async$self = this, t1, t2, t3, _i;
  70235. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70236. if ($async$errorCode === 1)
  70237. return A._asyncRethrow($async$result, $async$completer);
  70238. while (true)
  70239. switch ($async$goto) {
  70240. case 0:
  70241. // Function start
  70242. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70243. case 2:
  70244. // for condition
  70245. if (!(_i < t2)) {
  70246. // goto after for
  70247. $async$goto = 4;
  70248. break;
  70249. }
  70250. $async$goto = 5;
  70251. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70252. case 5:
  70253. // returning from await.
  70254. case 3:
  70255. // for update
  70256. ++_i;
  70257. // goto for condition
  70258. $async$goto = 2;
  70259. break;
  70260. case 4:
  70261. // after for
  70262. // implicit return
  70263. return A._asyncReturn(null, $async$completer);
  70264. }
  70265. });
  70266. return A._asyncStartSync($async$call$0, $async$completer);
  70267. },
  70268. $signature: 2
  70269. };
  70270. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  70271. call$1(node) {
  70272. return node instanceof A.ModifiableCssStyleRule;
  70273. },
  70274. $signature: 7
  70275. };
  70276. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  70277. call$1(child) {
  70278. return child instanceof A.ModifiableCssComment;
  70279. },
  70280. $signature: 7
  70281. };
  70282. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  70283. call$0() {
  70284. var $async$goto = 0,
  70285. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70286. $async$self = this, t2, t3, _i, t1, _0_0;
  70287. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70288. if ($async$errorCode === 1)
  70289. return A._asyncRethrow($async$result, $async$completer);
  70290. while (true)
  70291. switch ($async$goto) {
  70292. case 0:
  70293. // Function start
  70294. t1 = $async$self.$this;
  70295. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70296. $async$goto = _0_0 != null ? 2 : 4;
  70297. break;
  70298. case 2:
  70299. // then
  70300. $async$goto = 5;
  70301. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  70302. case 5:
  70303. // returning from await.
  70304. // goto join
  70305. $async$goto = 3;
  70306. break;
  70307. case 4:
  70308. // else
  70309. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  70310. case 6:
  70311. // for condition
  70312. if (!(_i < t3)) {
  70313. // goto after for
  70314. $async$goto = 8;
  70315. break;
  70316. }
  70317. $async$goto = 9;
  70318. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  70319. case 9:
  70320. // returning from await.
  70321. case 7:
  70322. // for update
  70323. ++_i;
  70324. // goto for condition
  70325. $async$goto = 6;
  70326. break;
  70327. case 8:
  70328. // after for
  70329. case 3:
  70330. // join
  70331. // implicit return
  70332. return A._asyncReturn(null, $async$completer);
  70333. }
  70334. });
  70335. return A._asyncStartSync($async$call$0, $async$completer);
  70336. },
  70337. $signature: 2
  70338. };
  70339. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  70340. call$0() {
  70341. var $async$goto = 0,
  70342. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70343. $async$self = this, t1, t2, t3, _i;
  70344. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70345. if ($async$errorCode === 1)
  70346. return A._asyncRethrow($async$result, $async$completer);
  70347. while (true)
  70348. switch ($async$goto) {
  70349. case 0:
  70350. // Function start
  70351. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70352. case 2:
  70353. // for condition
  70354. if (!(_i < t2)) {
  70355. // goto after for
  70356. $async$goto = 4;
  70357. break;
  70358. }
  70359. $async$goto = 5;
  70360. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70361. case 5:
  70362. // returning from await.
  70363. case 3:
  70364. // for update
  70365. ++_i;
  70366. // goto for condition
  70367. $async$goto = 2;
  70368. break;
  70369. case 4:
  70370. // after for
  70371. // implicit return
  70372. return A._asyncReturn(null, $async$completer);
  70373. }
  70374. });
  70375. return A._asyncStartSync($async$call$0, $async$completer);
  70376. },
  70377. $signature: 2
  70378. };
  70379. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  70380. call$1(node) {
  70381. return node instanceof A.ModifiableCssStyleRule;
  70382. },
  70383. $signature: 7
  70384. };
  70385. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  70386. call$0() {
  70387. var $async$goto = 0,
  70388. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  70389. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  70390. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70391. if ($async$errorCode === 1)
  70392. return A._asyncRethrow($async$result, $async$completer);
  70393. while (true)
  70394. switch ($async$goto) {
  70395. case 0:
  70396. // Function start
  70397. t1 = $async$self.$this;
  70398. t2 = $async$self._box_0;
  70399. $async$temp1 = A;
  70400. $async$goto = 3;
  70401. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  70402. case 3:
  70403. // returning from await.
  70404. t3 = $async$temp1.S($async$result);
  70405. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  70406. $async$temp1 = "(" + t3 + ":" + t4;
  70407. $async$temp2 = A;
  70408. $async$goto = 4;
  70409. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  70410. case 4:
  70411. // returning from await.
  70412. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  70413. // goto return
  70414. $async$goto = 1;
  70415. break;
  70416. case 1:
  70417. // return
  70418. return A._asyncReturn($async$returnValue, $async$completer);
  70419. }
  70420. });
  70421. return A._asyncStartSync($async$call$0, $async$completer);
  70422. },
  70423. $signature: 175
  70424. };
  70425. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  70426. call$0() {
  70427. var t1 = this.$this._async_evaluate$_environment,
  70428. t2 = this._box_0.override;
  70429. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  70430. },
  70431. $signature: 1
  70432. };
  70433. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  70434. call$0() {
  70435. var t1 = this.node;
  70436. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70437. },
  70438. $signature: 39
  70439. };
  70440. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  70441. call$0() {
  70442. var t1 = this.$this,
  70443. t2 = this.node;
  70444. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  70445. },
  70446. $signature: 1
  70447. };
  70448. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  70449. call$2(module, firstLoad) {
  70450. var t1, t2, t3, _0_0, t4, t5, span;
  70451. if (firstLoad)
  70452. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  70453. t1 = this.$this._async_evaluate$_environment;
  70454. t2 = this.node;
  70455. t3 = t2.namespace;
  70456. if (t3 == null) {
  70457. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  70458. t1._async_environment$_allModules.push(module);
  70459. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  70460. if (_0_0 != null)
  70461. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  70462. } else {
  70463. t4 = t1._async_environment$_modules;
  70464. if (t4.containsKey$1(t3)) {
  70465. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  70466. span = t5 == null ? null : t5.span;
  70467. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70468. if (span != null)
  70469. t5.$indexSet(0, span, "original @use");
  70470. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  70471. }
  70472. t4.$indexSet(0, t3, module);
  70473. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  70474. t1._async_environment$_allModules.push(module);
  70475. }
  70476. },
  70477. $signature: 133
  70478. };
  70479. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  70480. call$0() {
  70481. return this.node.expression.accept$1(this.$this);
  70482. },
  70483. $signature: 73
  70484. };
  70485. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  70486. call$0() {
  70487. var $async$goto = 0,
  70488. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70489. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  70490. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70491. if ($async$errorCode === 1)
  70492. return A._asyncRethrow($async$result, $async$completer);
  70493. while (true)
  70494. switch ($async$goto) {
  70495. case 0:
  70496. // Function start
  70497. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  70498. case 3:
  70499. // for condition
  70500. $async$goto = 5;
  70501. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  70502. case 5:
  70503. // returning from await.
  70504. if (!$async$result.get$isTruthy()) {
  70505. // goto after for
  70506. $async$goto = 4;
  70507. break;
  70508. }
  70509. $async$goto = 6;
  70510. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  70511. case 6:
  70512. // returning from await.
  70513. _0_0 = $async$result;
  70514. if (_0_0 != null) {
  70515. $async$returnValue = _0_0;
  70516. // goto return
  70517. $async$goto = 1;
  70518. break;
  70519. }
  70520. // goto for condition
  70521. $async$goto = 3;
  70522. break;
  70523. case 4:
  70524. // after for
  70525. $async$returnValue = null;
  70526. // goto return
  70527. $async$goto = 1;
  70528. break;
  70529. case 1:
  70530. // return
  70531. return A._asyncReturn($async$returnValue, $async$completer);
  70532. }
  70533. });
  70534. return A._asyncStartSync($async$call$0, $async$completer);
  70535. },
  70536. $signature: 75
  70537. };
  70538. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  70539. call$1(child) {
  70540. return child.accept$1(this.$this);
  70541. },
  70542. $signature: 82
  70543. };
  70544. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  70545. call$0() {
  70546. var $async$goto = 0,
  70547. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70548. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  70549. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70550. if ($async$errorCode === 1)
  70551. return A._asyncRethrow($async$result, $async$completer);
  70552. while (true)
  70553. switch ($async$goto) {
  70554. case 0:
  70555. // Function start
  70556. t1 = $async$self.node;
  70557. t2 = $async$self.$this;
  70558. $async$goto = 3;
  70559. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  70560. case 3:
  70561. // returning from await.
  70562. left = $async$result;
  70563. case 4:
  70564. // switch
  70565. switch (t1.operator) {
  70566. case B.BinaryOperator_wdM:
  70567. // goto case
  70568. $async$goto = 6;
  70569. break;
  70570. case B.BinaryOperator_qNM:
  70571. // goto case
  70572. $async$goto = 7;
  70573. break;
  70574. case B.BinaryOperator_eDt:
  70575. // goto case
  70576. $async$goto = 8;
  70577. break;
  70578. case B.BinaryOperator_g8k:
  70579. // goto case
  70580. $async$goto = 9;
  70581. break;
  70582. case B.BinaryOperator_icU:
  70583. // goto case
  70584. $async$goto = 10;
  70585. break;
  70586. case B.BinaryOperator_bEa:
  70587. // goto case
  70588. $async$goto = 11;
  70589. break;
  70590. case B.BinaryOperator_oEm:
  70591. // goto case
  70592. $async$goto = 12;
  70593. break;
  70594. case B.BinaryOperator_miq:
  70595. // goto case
  70596. $async$goto = 13;
  70597. break;
  70598. case B.BinaryOperator_SPQ:
  70599. // goto case
  70600. $async$goto = 14;
  70601. break;
  70602. case B.BinaryOperator_u15:
  70603. // goto case
  70604. $async$goto = 15;
  70605. break;
  70606. case B.BinaryOperator_SjO:
  70607. // goto case
  70608. $async$goto = 16;
  70609. break;
  70610. case B.BinaryOperator_2No:
  70611. // goto case
  70612. $async$goto = 17;
  70613. break;
  70614. case B.BinaryOperator_U77:
  70615. // goto case
  70616. $async$goto = 18;
  70617. break;
  70618. case B.BinaryOperator_KNx:
  70619. // goto case
  70620. $async$goto = 19;
  70621. break;
  70622. default:
  70623. // goto default
  70624. $async$goto = 20;
  70625. break;
  70626. }
  70627. break;
  70628. case 6:
  70629. // case
  70630. t1 = t1.right.accept$1(t2);
  70631. $async$goto = 21;
  70632. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70633. case 21:
  70634. // returning from await.
  70635. t1 = $async$result;
  70636. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  70637. // goto after switch
  70638. $async$goto = 5;
  70639. break;
  70640. case 7:
  70641. // case
  70642. $async$goto = left.get$isTruthy() ? 22 : 24;
  70643. break;
  70644. case 22:
  70645. // then
  70646. t1 = left;
  70647. // goto join
  70648. $async$goto = 23;
  70649. break;
  70650. case 24:
  70651. // else
  70652. t1 = t1.right.accept$1(t2);
  70653. $async$goto = 25;
  70654. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70655. case 25:
  70656. // returning from await.
  70657. t1 = $async$result;
  70658. case 23:
  70659. // join
  70660. // goto after switch
  70661. $async$goto = 5;
  70662. break;
  70663. case 8:
  70664. // case
  70665. $async$goto = left.get$isTruthy() ? 26 : 28;
  70666. break;
  70667. case 26:
  70668. // then
  70669. t1 = t1.right.accept$1(t2);
  70670. $async$goto = 29;
  70671. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70672. case 29:
  70673. // returning from await.
  70674. t1 = $async$result;
  70675. // goto join
  70676. $async$goto = 27;
  70677. break;
  70678. case 28:
  70679. // else
  70680. t1 = left;
  70681. case 27:
  70682. // join
  70683. // goto after switch
  70684. $async$goto = 5;
  70685. break;
  70686. case 9:
  70687. // case
  70688. $async$temp1 = left;
  70689. $async$goto = 30;
  70690. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70691. case 30:
  70692. // returning from await.
  70693. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70694. // goto after switch
  70695. $async$goto = 5;
  70696. break;
  70697. case 10:
  70698. // case
  70699. $async$temp1 = left;
  70700. $async$goto = 31;
  70701. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70702. case 31:
  70703. // returning from await.
  70704. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70705. // goto after switch
  70706. $async$goto = 5;
  70707. break;
  70708. case 11:
  70709. // case
  70710. t1 = t1.right.accept$1(t2);
  70711. $async$temp1 = left;
  70712. $async$goto = 32;
  70713. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70714. case 32:
  70715. // returning from await.
  70716. t1 = $async$temp1.greaterThan$1($async$result);
  70717. // goto after switch
  70718. $async$goto = 5;
  70719. break;
  70720. case 12:
  70721. // case
  70722. t1 = t1.right.accept$1(t2);
  70723. $async$temp1 = left;
  70724. $async$goto = 33;
  70725. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70726. case 33:
  70727. // returning from await.
  70728. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  70729. // goto after switch
  70730. $async$goto = 5;
  70731. break;
  70732. case 13:
  70733. // case
  70734. t1 = t1.right.accept$1(t2);
  70735. $async$temp1 = left;
  70736. $async$goto = 34;
  70737. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70738. case 34:
  70739. // returning from await.
  70740. t1 = $async$temp1.lessThan$1($async$result);
  70741. // goto after switch
  70742. $async$goto = 5;
  70743. break;
  70744. case 14:
  70745. // case
  70746. t1 = t1.right.accept$1(t2);
  70747. $async$temp1 = left;
  70748. $async$goto = 35;
  70749. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70750. case 35:
  70751. // returning from await.
  70752. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  70753. // goto after switch
  70754. $async$goto = 5;
  70755. break;
  70756. case 15:
  70757. // case
  70758. t1 = t1.right.accept$1(t2);
  70759. $async$temp1 = left;
  70760. $async$goto = 36;
  70761. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70762. case 36:
  70763. // returning from await.
  70764. t1 = $async$temp1.plus$1($async$result);
  70765. // goto after switch
  70766. $async$goto = 5;
  70767. break;
  70768. case 16:
  70769. // case
  70770. t1 = t1.right.accept$1(t2);
  70771. $async$temp1 = left;
  70772. $async$goto = 37;
  70773. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70774. case 37:
  70775. // returning from await.
  70776. t1 = $async$temp1.minus$1($async$result);
  70777. // goto after switch
  70778. $async$goto = 5;
  70779. break;
  70780. case 17:
  70781. // case
  70782. t1 = t1.right.accept$1(t2);
  70783. $async$temp1 = left;
  70784. $async$goto = 38;
  70785. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70786. case 38:
  70787. // returning from await.
  70788. t1 = $async$temp1.times$1($async$result);
  70789. // goto after switch
  70790. $async$goto = 5;
  70791. break;
  70792. case 18:
  70793. // case
  70794. t3 = t1.right.accept$1(t2);
  70795. $async$temp1 = t2;
  70796. $async$temp2 = left;
  70797. $async$goto = 39;
  70798. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  70799. case 39:
  70800. // returning from await.
  70801. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  70802. // goto after switch
  70803. $async$goto = 5;
  70804. break;
  70805. case 19:
  70806. // case
  70807. t1 = t1.right.accept$1(t2);
  70808. $async$temp1 = left;
  70809. $async$goto = 40;
  70810. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70811. case 40:
  70812. // returning from await.
  70813. t1 = $async$temp1.modulo$1($async$result);
  70814. // goto after switch
  70815. $async$goto = 5;
  70816. break;
  70817. case 20:
  70818. // default
  70819. t1 = null;
  70820. case 5:
  70821. // after switch
  70822. $async$returnValue = t1;
  70823. // goto return
  70824. $async$goto = 1;
  70825. break;
  70826. case 1:
  70827. // return
  70828. return A._asyncReturn($async$returnValue, $async$completer);
  70829. }
  70830. });
  70831. return A._asyncStartSync($async$call$0, $async$completer);
  70832. },
  70833. $signature: 73
  70834. };
  70835. A._EvaluateVisitor__slash_recommendation0.prototype = {
  70836. call$1(expression) {
  70837. var t1;
  70838. $label0$0: {
  70839. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_U77 === expression.operator) {
  70840. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  70841. break $label0$0;
  70842. }
  70843. if (expression instanceof A.ParenthesizedExpression) {
  70844. t1 = expression.expression.toString$0(0);
  70845. break $label0$0;
  70846. }
  70847. t1 = expression.toString$0(0);
  70848. break $label0$0;
  70849. }
  70850. return t1;
  70851. },
  70852. $signature: 125
  70853. };
  70854. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  70855. call$0() {
  70856. var t1 = this.node;
  70857. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70858. },
  70859. $signature: 39
  70860. };
  70861. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  70862. call$0() {
  70863. var t1, _this = this;
  70864. switch (_this.node.operator) {
  70865. case B.UnaryOperator_cLp:
  70866. t1 = _this.operand.unaryPlus$0();
  70867. break;
  70868. case B.UnaryOperator_AiQ:
  70869. t1 = _this.operand.unaryMinus$0();
  70870. break;
  70871. case B.UnaryOperator_SJr:
  70872. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  70873. break;
  70874. case B.UnaryOperator_not_not_not:
  70875. t1 = _this.operand.unaryNot$0();
  70876. break;
  70877. default:
  70878. t1 = null;
  70879. }
  70880. return t1;
  70881. },
  70882. $signature: 36
  70883. };
  70884. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  70885. call$1(expression) {
  70886. return expression.accept$1(this.$this);
  70887. },
  70888. $signature: 318
  70889. };
  70890. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  70891. call$0() {
  70892. var t1 = this.node;
  70893. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  70894. },
  70895. $signature: 85
  70896. };
  70897. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  70898. call$1(argument) {
  70899. return argument.accept$1(new A._IsCalculationSafeVisitor());
  70900. },
  70901. $signature: 116
  70902. };
  70903. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  70904. call$0() {
  70905. var t1 = this.node;
  70906. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  70907. },
  70908. $signature: 73
  70909. };
  70910. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  70911. call$1(maxArgs) {
  70912. var t1 = this.node,
  70913. t2 = t1.$arguments.positional.length;
  70914. if (t2 === 0)
  70915. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  70916. else if (maxArgs != null && t2 > maxArgs)
  70917. 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));
  70918. },
  70919. call$0() {
  70920. return this.call$1(null);
  70921. },
  70922. $signature: 101
  70923. };
  70924. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  70925. call$0() {
  70926. var $async$goto = 0,
  70927. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70928. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  70929. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70930. if ($async$errorCode === 1)
  70931. return A._asyncRethrow($async$result, $async$completer);
  70932. while (true)
  70933. switch ($async$goto) {
  70934. case 0:
  70935. // Function start
  70936. t1 = $async$self.$this;
  70937. t2 = $async$self._box_0;
  70938. t3 = $async$self.inLegacySassFunction;
  70939. $async$temp1 = A;
  70940. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  70941. $async$goto = 3;
  70942. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  70943. case 3:
  70944. // returning from await.
  70945. $async$temp3 = $async$result;
  70946. $async$goto = 4;
  70947. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  70948. case 4:
  70949. // returning from await.
  70950. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  70951. // goto return
  70952. $async$goto = 1;
  70953. break;
  70954. case 1:
  70955. // return
  70956. return A._asyncReturn($async$returnValue, $async$completer);
  70957. }
  70958. });
  70959. return A._asyncStartSync($async$call$0, $async$completer);
  70960. },
  70961. $signature: 178
  70962. };
  70963. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  70964. call$0() {
  70965. var t1 = this.node;
  70966. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  70967. },
  70968. $signature: 73
  70969. };
  70970. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  70971. call$0() {
  70972. var _this = this,
  70973. t1 = _this.$this,
  70974. t2 = _this.callable,
  70975. t3 = _this.V;
  70976. 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);
  70977. },
  70978. $signature() {
  70979. return this.V._eval$1("Future<0>()");
  70980. }
  70981. };
  70982. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  70983. call$0() {
  70984. var _this = this,
  70985. t1 = _this.$this,
  70986. t2 = _this.V;
  70987. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  70988. },
  70989. $signature() {
  70990. return this.V._eval$1("Future<0>()");
  70991. }
  70992. };
  70993. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  70994. call$0() {
  70995. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  70996. },
  70997. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  70998. var $async$goto = 0,
  70999. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71000. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, t1, t2, t3, t4, $async$temp1;
  71001. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71002. if ($async$errorCode === 1)
  71003. return A._asyncRethrow($async$result, $async$completer);
  71004. while (true)
  71005. switch ($async$goto) {
  71006. case 0:
  71007. // Function start
  71008. t1 = $async$self.$this;
  71009. t2 = $async$self.evaluated._values;
  71010. t3 = $async$self.callable.declaration.$arguments;
  71011. t4 = $async$self.nodeWithSpan;
  71012. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  71013. declaredArguments = t3.$arguments;
  71014. t5 = declaredArguments.length;
  71015. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  71016. for (i = 0; i < minLength; ++i)
  71017. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  71018. i = J.get$length$asx(t2[2]);
  71019. case 3:
  71020. // for condition
  71021. if (!(i < t5)) {
  71022. // goto after for
  71023. $async$goto = 5;
  71024. break;
  71025. }
  71026. argument = declaredArguments[i];
  71027. t6 = t2[0];
  71028. t7 = argument.name;
  71029. value = t6.remove$1(0, t7);
  71030. $async$goto = value == null ? 6 : 7;
  71031. break;
  71032. case 6:
  71033. // then
  71034. t6 = argument.defaultValue;
  71035. $async$temp1 = t1;
  71036. $async$goto = 8;
  71037. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  71038. case 8:
  71039. // returning from await.
  71040. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t6));
  71041. case 7:
  71042. // join
  71043. t6 = t1._async_evaluate$_environment;
  71044. t8 = t2[1].$index(0, t7);
  71045. if (t8 == null) {
  71046. t8 = argument.defaultValue;
  71047. t8.toString;
  71048. t8 = t1._async_evaluate$_expressionNode$1(t8);
  71049. }
  71050. t6.setLocalVariable$3(t7, value, t8);
  71051. case 4:
  71052. // for update
  71053. ++i;
  71054. // goto for condition
  71055. $async$goto = 3;
  71056. break;
  71057. case 5:
  71058. // after for
  71059. restArgument = t3.restArgument;
  71060. if (restArgument != null) {
  71061. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  71062. t5 = t2[0];
  71063. t6 = t2[4];
  71064. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : t6);
  71065. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  71066. } else
  71067. argumentList = null;
  71068. $async$goto = 9;
  71069. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  71070. case 9:
  71071. // returning from await.
  71072. result = $async$result;
  71073. if (argumentList == null) {
  71074. $async$returnValue = result;
  71075. // goto return
  71076. $async$goto = 1;
  71077. break;
  71078. }
  71079. t5 = t2[0];
  71080. if (t5.get$isEmpty(t5)) {
  71081. $async$returnValue = result;
  71082. // goto return
  71083. $async$goto = 1;
  71084. break;
  71085. }
  71086. if (argumentList._wereKeywordsAccessed) {
  71087. $async$returnValue = result;
  71088. // goto return
  71089. $async$goto = 1;
  71090. break;
  71091. }
  71092. t5 = t2[0];
  71093. argumentWord = A.pluralize("argument", J.get$length$asx(t5.get$keys(t5)), null);
  71094. t2 = t2[0];
  71095. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), 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));
  71096. case 1:
  71097. // return
  71098. return A._asyncReturn($async$returnValue, $async$completer);
  71099. }
  71100. });
  71101. return A._asyncStartSync($async$call$0, $async$completer);
  71102. },
  71103. $signature() {
  71104. return this.V._eval$1("Future<0>()");
  71105. }
  71106. };
  71107. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  71108. call$1($name) {
  71109. return "$" + $name;
  71110. },
  71111. $signature: 5
  71112. };
  71113. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  71114. call$0() {
  71115. var $async$goto = 0,
  71116. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71117. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  71118. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71119. if ($async$errorCode === 1)
  71120. return A._asyncRethrow($async$result, $async$completer);
  71121. while (true)
  71122. switch ($async$goto) {
  71123. case 0:
  71124. // Function start
  71125. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  71126. case 3:
  71127. // for condition
  71128. if (!(_i < t3)) {
  71129. // goto after for
  71130. $async$goto = 5;
  71131. break;
  71132. }
  71133. $async$goto = 6;
  71134. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  71135. case 6:
  71136. // returning from await.
  71137. $returnValue = $async$result;
  71138. if ($returnValue instanceof A.Value) {
  71139. $async$returnValue = $returnValue;
  71140. // goto return
  71141. $async$goto = 1;
  71142. break;
  71143. }
  71144. case 4:
  71145. // for update
  71146. ++_i;
  71147. // goto for condition
  71148. $async$goto = 3;
  71149. break;
  71150. case 5:
  71151. // after for
  71152. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  71153. case 1:
  71154. // return
  71155. return A._asyncReturn($async$returnValue, $async$completer);
  71156. }
  71157. });
  71158. return A._asyncStartSync($async$call$0, $async$completer);
  71159. },
  71160. $signature: 73
  71161. };
  71162. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  71163. call$0() {
  71164. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  71165. },
  71166. $signature: 0
  71167. };
  71168. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  71169. call$0() {
  71170. return this._box_0.callback.call$1(this.evaluated._values[2]);
  71171. },
  71172. $signature: 315
  71173. };
  71174. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  71175. call$1($name) {
  71176. return "$" + $name;
  71177. },
  71178. $signature: 5
  71179. };
  71180. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  71181. call$1(value) {
  71182. return value;
  71183. },
  71184. $signature: 40
  71185. };
  71186. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  71187. call$1(value) {
  71188. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  71189. },
  71190. $signature: 40
  71191. };
  71192. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  71193. call$2(key, value) {
  71194. var _this = this,
  71195. t1 = _this.restNodeForSpan;
  71196. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  71197. _this.namedNodes.$indexSet(0, key, t1);
  71198. },
  71199. $signature: 90
  71200. };
  71201. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  71202. call$1(value) {
  71203. return value;
  71204. },
  71205. $signature: 40
  71206. };
  71207. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  71208. call$1(value) {
  71209. var t1 = this.restArgs;
  71210. return new A.ValueExpression(value, t1.get$span(t1));
  71211. },
  71212. $signature: 55
  71213. };
  71214. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  71215. call$1(value) {
  71216. var t1 = this.restArgs;
  71217. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  71218. },
  71219. $signature: 55
  71220. };
  71221. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  71222. call$2(key, value) {
  71223. var _this = this,
  71224. t1 = _this.restArgs;
  71225. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  71226. },
  71227. $signature: 90
  71228. };
  71229. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  71230. call$1(value) {
  71231. var t1 = this.keywordRestArgs;
  71232. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  71233. },
  71234. $signature: 55
  71235. };
  71236. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  71237. call$2(key, value) {
  71238. var t2, _this = this,
  71239. t1 = _this.$this;
  71240. if (key instanceof A.SassString)
  71241. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  71242. else {
  71243. t2 = _this.nodeWithSpan;
  71244. 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)));
  71245. }
  71246. },
  71247. $signature: 84
  71248. };
  71249. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  71250. call$0() {
  71251. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  71252. },
  71253. $signature: 0
  71254. };
  71255. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  71256. call$0() {
  71257. var $async$goto = 0,
  71258. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71259. $async$self = this, t1, t2, t3, t4;
  71260. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71261. if ($async$errorCode === 1)
  71262. return A._asyncRethrow($async$result, $async$completer);
  71263. while (true)
  71264. switch ($async$goto) {
  71265. case 0:
  71266. // Function start
  71267. 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");
  71268. case 2:
  71269. // for condition
  71270. if (!t1.moveNext$0()) {
  71271. // goto after for
  71272. $async$goto = 3;
  71273. break;
  71274. }
  71275. t4 = t1.__internal$_current;
  71276. $async$goto = 4;
  71277. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71278. case 4:
  71279. // returning from await.
  71280. // goto for condition
  71281. $async$goto = 2;
  71282. break;
  71283. case 3:
  71284. // after for
  71285. // implicit return
  71286. return A._asyncReturn(null, $async$completer);
  71287. }
  71288. });
  71289. return A._asyncStartSync($async$call$0, $async$completer);
  71290. },
  71291. $signature: 2
  71292. };
  71293. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  71294. call$1(node) {
  71295. return node instanceof A.ModifiableCssStyleRule;
  71296. },
  71297. $signature: 7
  71298. };
  71299. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  71300. call$0() {
  71301. var $async$goto = 0,
  71302. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71303. $async$self = this, t1, t2, t3, t4;
  71304. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71305. if ($async$errorCode === 1)
  71306. return A._asyncRethrow($async$result, $async$completer);
  71307. while (true)
  71308. switch ($async$goto) {
  71309. case 0:
  71310. // Function start
  71311. 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");
  71312. case 2:
  71313. // for condition
  71314. if (!t1.moveNext$0()) {
  71315. // goto after for
  71316. $async$goto = 3;
  71317. break;
  71318. }
  71319. t4 = t1.__internal$_current;
  71320. $async$goto = 4;
  71321. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71322. case 4:
  71323. // returning from await.
  71324. // goto for condition
  71325. $async$goto = 2;
  71326. break;
  71327. case 3:
  71328. // after for
  71329. // implicit return
  71330. return A._asyncReturn(null, $async$completer);
  71331. }
  71332. });
  71333. return A._asyncStartSync($async$call$0, $async$completer);
  71334. },
  71335. $signature: 2
  71336. };
  71337. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  71338. call$1(node) {
  71339. return node instanceof A.ModifiableCssStyleRule;
  71340. },
  71341. $signature: 7
  71342. };
  71343. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  71344. call$1(mediaQueries) {
  71345. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  71346. },
  71347. $signature: 77
  71348. };
  71349. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  71350. call$0() {
  71351. var $async$goto = 0,
  71352. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71353. $async$self = this, t1, t2;
  71354. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71355. if ($async$errorCode === 1)
  71356. return A._asyncRethrow($async$result, $async$completer);
  71357. while (true)
  71358. switch ($async$goto) {
  71359. case 0:
  71360. // Function start
  71361. t1 = $async$self.$this;
  71362. t2 = $async$self.mergedQueries;
  71363. if (t2 == null)
  71364. t2 = $async$self.node.queries;
  71365. $async$goto = 2;
  71366. 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);
  71367. case 2:
  71368. // returning from await.
  71369. // implicit return
  71370. return A._asyncReturn(null, $async$completer);
  71371. }
  71372. });
  71373. return A._asyncStartSync($async$call$0, $async$completer);
  71374. },
  71375. $signature: 2
  71376. };
  71377. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  71378. call$0() {
  71379. var $async$goto = 0,
  71380. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71381. $async$self = this, t2, t3, t4, t1, _0_0;
  71382. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71383. if ($async$errorCode === 1)
  71384. return A._asyncRethrow($async$result, $async$completer);
  71385. while (true)
  71386. switch ($async$goto) {
  71387. case 0:
  71388. // Function start
  71389. t1 = $async$self.$this;
  71390. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71391. $async$goto = _0_0 != null ? 2 : 4;
  71392. break;
  71393. case 2:
  71394. // then
  71395. $async$goto = 5;
  71396. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  71397. case 5:
  71398. // returning from await.
  71399. // goto join
  71400. $async$goto = 3;
  71401. break;
  71402. case 4:
  71403. // else
  71404. 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");
  71405. case 6:
  71406. // for condition
  71407. if (!t2.moveNext$0()) {
  71408. // goto after for
  71409. $async$goto = 7;
  71410. break;
  71411. }
  71412. t4 = t2.__internal$_current;
  71413. $async$goto = 8;
  71414. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71415. case 8:
  71416. // returning from await.
  71417. // goto for condition
  71418. $async$goto = 6;
  71419. break;
  71420. case 7:
  71421. // after for
  71422. case 3:
  71423. // join
  71424. // implicit return
  71425. return A._asyncReturn(null, $async$completer);
  71426. }
  71427. });
  71428. return A._asyncStartSync($async$call$0, $async$completer);
  71429. },
  71430. $signature: 2
  71431. };
  71432. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  71433. call$0() {
  71434. var $async$goto = 0,
  71435. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71436. $async$self = this, t1, t2, t3, t4;
  71437. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71438. if ($async$errorCode === 1)
  71439. return A._asyncRethrow($async$result, $async$completer);
  71440. while (true)
  71441. switch ($async$goto) {
  71442. case 0:
  71443. // Function start
  71444. 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");
  71445. case 2:
  71446. // for condition
  71447. if (!t1.moveNext$0()) {
  71448. // goto after for
  71449. $async$goto = 3;
  71450. break;
  71451. }
  71452. t4 = t1.__internal$_current;
  71453. $async$goto = 4;
  71454. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71455. case 4:
  71456. // returning from await.
  71457. // goto for condition
  71458. $async$goto = 2;
  71459. break;
  71460. case 3:
  71461. // after for
  71462. // implicit return
  71463. return A._asyncReturn(null, $async$completer);
  71464. }
  71465. });
  71466. return A._asyncStartSync($async$call$0, $async$completer);
  71467. },
  71468. $signature: 2
  71469. };
  71470. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  71471. call$1(node) {
  71472. var t1;
  71473. if (!(node instanceof A.ModifiableCssStyleRule)) {
  71474. t1 = this.mergedSources;
  71475. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  71476. } else
  71477. t1 = true;
  71478. return t1;
  71479. },
  71480. $signature: 7
  71481. };
  71482. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  71483. call$0() {
  71484. var $async$goto = 0,
  71485. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71486. $async$self = this, t1;
  71487. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71488. if ($async$errorCode === 1)
  71489. return A._asyncRethrow($async$result, $async$completer);
  71490. while (true)
  71491. switch ($async$goto) {
  71492. case 0:
  71493. // Function start
  71494. t1 = $async$self.$this;
  71495. $async$goto = 2;
  71496. 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);
  71497. case 2:
  71498. // returning from await.
  71499. // implicit return
  71500. return A._asyncReturn(null, $async$completer);
  71501. }
  71502. });
  71503. return A._asyncStartSync($async$call$0, $async$completer);
  71504. },
  71505. $signature: 2
  71506. };
  71507. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  71508. call$0() {
  71509. var $async$goto = 0,
  71510. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71511. $async$self = this, t1, t2, t3, t4;
  71512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71513. if ($async$errorCode === 1)
  71514. return A._asyncRethrow($async$result, $async$completer);
  71515. while (true)
  71516. switch ($async$goto) {
  71517. case 0:
  71518. // Function start
  71519. 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");
  71520. case 2:
  71521. // for condition
  71522. if (!t1.moveNext$0()) {
  71523. // goto after for
  71524. $async$goto = 3;
  71525. break;
  71526. }
  71527. t4 = t1.__internal$_current;
  71528. $async$goto = 4;
  71529. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71530. case 4:
  71531. // returning from await.
  71532. // goto for condition
  71533. $async$goto = 2;
  71534. break;
  71535. case 3:
  71536. // after for
  71537. // implicit return
  71538. return A._asyncReturn(null, $async$completer);
  71539. }
  71540. });
  71541. return A._asyncStartSync($async$call$0, $async$completer);
  71542. },
  71543. $signature: 2
  71544. };
  71545. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  71546. call$1(node) {
  71547. return node instanceof A.ModifiableCssStyleRule;
  71548. },
  71549. $signature: 7
  71550. };
  71551. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  71552. call$0() {
  71553. var $async$goto = 0,
  71554. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71555. $async$self = this, t2, t3, t4, t1, _0_0;
  71556. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71557. if ($async$errorCode === 1)
  71558. return A._asyncRethrow($async$result, $async$completer);
  71559. while (true)
  71560. switch ($async$goto) {
  71561. case 0:
  71562. // Function start
  71563. t1 = $async$self.$this;
  71564. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71565. $async$goto = _0_0 != null ? 2 : 4;
  71566. break;
  71567. case 2:
  71568. // then
  71569. $async$goto = 5;
  71570. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  71571. case 5:
  71572. // returning from await.
  71573. // goto join
  71574. $async$goto = 3;
  71575. break;
  71576. case 4:
  71577. // else
  71578. 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");
  71579. case 6:
  71580. // for condition
  71581. if (!t2.moveNext$0()) {
  71582. // goto after for
  71583. $async$goto = 7;
  71584. break;
  71585. }
  71586. t4 = t2.__internal$_current;
  71587. $async$goto = 8;
  71588. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71589. case 8:
  71590. // returning from await.
  71591. // goto for condition
  71592. $async$goto = 6;
  71593. break;
  71594. case 7:
  71595. // after for
  71596. case 3:
  71597. // join
  71598. // implicit return
  71599. return A._asyncReturn(null, $async$completer);
  71600. }
  71601. });
  71602. return A._asyncStartSync($async$call$0, $async$completer);
  71603. },
  71604. $signature: 2
  71605. };
  71606. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  71607. call$0() {
  71608. var $async$goto = 0,
  71609. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71610. $async$self = this, t1, t2, t3, t4;
  71611. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71612. if ($async$errorCode === 1)
  71613. return A._asyncRethrow($async$result, $async$completer);
  71614. while (true)
  71615. switch ($async$goto) {
  71616. case 0:
  71617. // Function start
  71618. 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");
  71619. case 2:
  71620. // for condition
  71621. if (!t1.moveNext$0()) {
  71622. // goto after for
  71623. $async$goto = 3;
  71624. break;
  71625. }
  71626. t4 = t1.__internal$_current;
  71627. $async$goto = 4;
  71628. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71629. case 4:
  71630. // returning from await.
  71631. // goto for condition
  71632. $async$goto = 2;
  71633. break;
  71634. case 3:
  71635. // after for
  71636. // implicit return
  71637. return A._asyncReturn(null, $async$completer);
  71638. }
  71639. });
  71640. return A._asyncStartSync($async$call$0, $async$completer);
  71641. },
  71642. $signature: 2
  71643. };
  71644. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  71645. call$1(node) {
  71646. return node instanceof A.ModifiableCssStyleRule;
  71647. },
  71648. $signature: 7
  71649. };
  71650. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  71651. call$1(targetLocations) {
  71652. return A.InterpolationMap$(this.interpolation, targetLocations);
  71653. },
  71654. $signature: 180
  71655. };
  71656. A._EvaluateVisitor__serialize_closure0.prototype = {
  71657. call$0() {
  71658. return A.serializeValue(this.value, false, this.quote);
  71659. },
  71660. $signature: 26
  71661. };
  71662. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  71663. call$0() {
  71664. var t1 = this.expression;
  71665. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  71666. },
  71667. $signature: 181
  71668. };
  71669. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  71670. call$1(number) {
  71671. var before, after, t1,
  71672. _1_0 = number.asSlash;
  71673. $label0$0: {
  71674. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  71675. before = _1_0._0;
  71676. after = _1_0._1;
  71677. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  71678. break $label0$0;
  71679. }
  71680. t1 = A.serializeValue(number, true, true);
  71681. break $label0$0;
  71682. }
  71683. return t1;
  71684. },
  71685. $signature: 182
  71686. };
  71687. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  71688. call$1(url) {
  71689. var t1 = this.$this._async_evaluate$_importCache;
  71690. t1 = t1 == null ? null : t1.humanize$1(url);
  71691. return t1 == null ? url : t1;
  71692. },
  71693. $signature: 43
  71694. };
  71695. A._ImportedCssVisitor0.prototype = {
  71696. visitCssAtRule$1(node) {
  71697. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  71698. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  71699. },
  71700. visitCssComment$1(node) {
  71701. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  71702. },
  71703. visitCssDeclaration$1(node) {
  71704. },
  71705. visitCssImport$1(node) {
  71706. var t2,
  71707. _s13_ = "_endOfImports",
  71708. t1 = this._async_evaluate$_visitor;
  71709. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  71710. t1._async_evaluate$_addChild$1(node);
  71711. 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)) {
  71712. t1._async_evaluate$_addChild$1(node);
  71713. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  71714. } else {
  71715. t2 = t1._async_evaluate$_outOfOrderImports;
  71716. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  71717. }
  71718. },
  71719. visitCssKeyframeBlock$1(node) {
  71720. },
  71721. visitCssMediaRule$1(node) {
  71722. var t1 = this._async_evaluate$_visitor,
  71723. mediaQueries = t1._async_evaluate$_mediaQueries;
  71724. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  71725. },
  71726. visitCssStyleRule$1(node) {
  71727. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  71728. },
  71729. visitCssStylesheet$1(node) {
  71730. var t1, t2, t3;
  71731. 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();) {
  71732. t3 = t1.__internal$_current;
  71733. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  71734. }
  71735. },
  71736. visitCssSupportsRule$1(node) {
  71737. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  71738. }
  71739. };
  71740. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  71741. call$1(node) {
  71742. return node instanceof A.ModifiableCssStyleRule;
  71743. },
  71744. $signature: 7
  71745. };
  71746. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  71747. call$1(node) {
  71748. var t1;
  71749. if (!(node instanceof A.ModifiableCssStyleRule))
  71750. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  71751. else
  71752. t1 = true;
  71753. return t1;
  71754. },
  71755. $signature: 7
  71756. };
  71757. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  71758. call$1(node) {
  71759. return node instanceof A.ModifiableCssStyleRule;
  71760. },
  71761. $signature: 7
  71762. };
  71763. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  71764. call$1(node) {
  71765. return node instanceof A.ModifiableCssStyleRule;
  71766. },
  71767. $signature: 7
  71768. };
  71769. A._EvaluationContext0.prototype = {
  71770. get$currentCallableSpan() {
  71771. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  71772. if (_0_0 != null)
  71773. return _0_0.get$span(_0_0);
  71774. throw A.wrapException(A.StateError$(string$.No_Sasc));
  71775. },
  71776. warn$2(_, message, deprecation) {
  71777. var t1 = this._async_evaluate$_visitor,
  71778. t2 = t1._async_evaluate$_importSpan;
  71779. if (t2 == null) {
  71780. t2 = t1._async_evaluate$_callableNode;
  71781. t2 = t2 == null ? null : t2.get$span(t2);
  71782. }
  71783. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  71784. },
  71785. $isEvaluationContext: 1
  71786. };
  71787. A._CloneCssVisitor.prototype = {
  71788. visitCssAtRule$1(node) {
  71789. var t1 = node.isChildless,
  71790. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  71791. return t1 ? rule : this._visitChildren$2(rule, node);
  71792. },
  71793. visitCssComment$1(node) {
  71794. return new A.ModifiableCssComment(node.text, node.span);
  71795. },
  71796. visitCssDeclaration$1(node) {
  71797. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  71798. },
  71799. visitCssImport$1(node) {
  71800. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71801. },
  71802. visitCssKeyframeBlock$1(node) {
  71803. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  71804. },
  71805. visitCssMediaRule$1(node) {
  71806. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  71807. },
  71808. visitCssStyleRule$1(node) {
  71809. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  71810. if (_0_0 != null)
  71811. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  71812. else
  71813. throw A.wrapException(A.StateError$(string$.The_Ex));
  71814. },
  71815. visitCssStylesheet$1(node) {
  71816. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  71817. },
  71818. visitCssSupportsRule$1(node) {
  71819. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  71820. },
  71821. _visitChildren$1$2(newParent, oldParent) {
  71822. var t1, t2, newChild;
  71823. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  71824. t2 = t1.get$current(t1);
  71825. newChild = t2.accept$1(this);
  71826. newChild.isGroupEnd = t2.get$isGroupEnd();
  71827. newParent.addChild$1(newChild);
  71828. }
  71829. return newParent;
  71830. },
  71831. _visitChildren$2(newParent, oldParent) {
  71832. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  71833. }
  71834. };
  71835. A.Evaluator.prototype = {};
  71836. A._EvaluateVisitor.prototype = {
  71837. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  71838. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  71839. _s20_ = "$name, $module: null",
  71840. _s9_ = "sass:meta",
  71841. _s7_ = "$module",
  71842. t1 = type$.JSArray_BuiltInCallable,
  71843. 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),
  71844. 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);
  71845. t1 = type$.BuiltInCallable;
  71846. t2 = A.List_List$of($.$get$global(), true, t1);
  71847. B.JSArray_methods.addAll$1(t2, $.$get$local());
  71848. B.JSArray_methods.addAll$1(t2, metaFunctions);
  71849. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  71850. 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) {
  71851. module = t1[_i];
  71852. t3.$indexSet(0, module.url, module);
  71853. }
  71854. t1 = A._setArrayType([], type$.JSArray_Callable);
  71855. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  71856. B.JSArray_methods.addAll$1(t1, metaFunctions);
  71857. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  71858. $function = t1[_i];
  71859. t4 = J.get$name$x($function);
  71860. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  71861. }
  71862. },
  71863. run$2(_, importer, node) {
  71864. var error, stackTrace, t1, exception;
  71865. try {
  71866. t1 = type$.nullable_Object;
  71867. 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);
  71868. return t1;
  71869. } catch (exception) {
  71870. t1 = A.unwrapException(exception);
  71871. if (t1 instanceof A.SassException) {
  71872. error = t1;
  71873. stackTrace = A.getTraceFromException(exception);
  71874. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  71875. } else
  71876. throw exception;
  71877. }
  71878. },
  71879. runExpression$2(importer, expression) {
  71880. var t1 = type$.nullable_Object;
  71881. 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);
  71882. },
  71883. runStatement$2(importer, statement) {
  71884. var t1 = type$.nullable_Object;
  71885. 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);
  71886. },
  71887. _assertInModule$1$2(value, $name) {
  71888. if (value != null)
  71889. return value;
  71890. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  71891. },
  71892. _assertInModule$2(value, $name) {
  71893. return this._assertInModule$1$2(value, $name, type$.dynamic);
  71894. },
  71895. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  71896. var t1, _this = this,
  71897. oldImporter = _this._importer;
  71898. _this._importer = importer;
  71899. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  71900. try {
  71901. t1 = callback.call$0();
  71902. return t1;
  71903. } finally {
  71904. _this._importer = oldImporter;
  71905. _this.__stylesheet = null;
  71906. }
  71907. },
  71908. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  71909. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  71910. },
  71911. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71912. var t2, _this = this, t1 = {},
  71913. _0_0 = _this._builtInModules.$index(0, url);
  71914. t1.builtInModule = null;
  71915. if (_0_0 != null) {
  71916. t1.builtInModule = _0_0;
  71917. if (configuration instanceof A.ExplicitConfiguration) {
  71918. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  71919. t2 = configuration.nodeWithSpan;
  71920. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  71921. }
  71922. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  71923. return;
  71924. }
  71925. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  71926. },
  71927. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  71928. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  71929. },
  71930. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  71931. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  71932. },
  71933. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71934. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  71935. t1 = stylesheet.span,
  71936. url = t1.get$sourceUrl(t1);
  71937. t1 = _this._modules;
  71938. _0_0 = t1.$index(0, url);
  71939. if (_0_0 != null) {
  71940. t1 = configuration == null;
  71941. currentConfiguration = t1 ? _this._configuration : configuration;
  71942. t2 = _this._moduleConfigurations.$index(0, url);
  71943. t3 = t2.__originalConfiguration;
  71944. t2 = t3 == null ? t2 : t3;
  71945. t3 = currentConfiguration.__originalConfiguration;
  71946. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  71947. if (namesInErrors) {
  71948. t2 = $.$get$context();
  71949. url.toString;
  71950. message = t2.prettyUri$1(url) + string$.x20was_a;
  71951. } else
  71952. message = string$.This_mw;
  71953. t2 = _this._moduleNodes.$index(0, url);
  71954. existingSpan = t2 == null ? null : t2.get$span(t2);
  71955. if (t1) {
  71956. t1 = currentConfiguration.nodeWithSpan;
  71957. configurationSpan = t1.get$span(t1);
  71958. } else
  71959. configurationSpan = null;
  71960. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71961. if (existingSpan != null)
  71962. t1.$indexSet(0, existingSpan, "original load");
  71963. if (configurationSpan != null)
  71964. t1.$indexSet(0, configurationSpan, "configuration");
  71965. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  71966. }
  71967. return _0_0;
  71968. }
  71969. environment = A.Environment$();
  71970. css = A._Cell$();
  71971. preModuleComments = A._Cell$();
  71972. extensionStore = A.ExtensionStore$();
  71973. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  71974. t2 = css._readLocal$0();
  71975. t3 = preModuleComments._readLocal$0();
  71976. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  71977. if (url != null) {
  71978. t1.$indexSet(0, url, module);
  71979. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  71980. if (nodeWithSpan != null)
  71981. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  71982. }
  71983. return module;
  71984. },
  71985. _execute$2(importer, stylesheet) {
  71986. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  71987. },
  71988. _addOutOfOrderImports$0() {
  71989. var t1, t2, _this = this, _s5_ = "_root",
  71990. _s13_ = "_endOfImports",
  71991. _0_0 = _this._outOfOrderImports;
  71992. $label0$0: {
  71993. if (_0_0 == null) {
  71994. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71995. break $label0$0;
  71996. }
  71997. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71998. 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);
  71999. B.JSArray_methods.addAll$1(t1, _0_0);
  72000. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  72001. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  72002. break $label0$0;
  72003. }
  72004. return t1;
  72005. },
  72006. _combineCss$2$clone(root, clone) {
  72007. var selectors, _0_0, t1, imports, css, sorted, t2;
  72008. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  72009. selectors = root.get$extensionStore().get$simpleSelectors();
  72010. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  72011. if (_0_0 != null)
  72012. this._throwForUnsatisfiedExtension$1(_0_0);
  72013. return root.get$css(root);
  72014. }
  72015. t1 = type$.JSArray_CssNode;
  72016. imports = A._setArrayType([], t1);
  72017. css = A._setArrayType([], t1);
  72018. t1 = type$.Module_Callable;
  72019. sorted = A.ListQueue$(t1);
  72020. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  72021. if (root.get$transitivelyContainsExtensions())
  72022. this._extendModules$1(sorted);
  72023. t1 = B.JSArray_methods.$add(imports, css);
  72024. t2 = root.get$css(root);
  72025. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  72026. },
  72027. _combineCss$1(root) {
  72028. return this._combineCss$2$clone(root, false);
  72029. },
  72030. _extendModules$1(sortedModules) {
  72031. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  72032. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  72033. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  72034. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  72035. t3 = t1._collection$_current;
  72036. if (t3 == null)
  72037. t3 = t2._as(t3);
  72038. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  72039. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  72040. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  72041. t4 = t3.get$extensionStore().get$addExtensions();
  72042. if ($self != null)
  72043. t4.call$1($self);
  72044. t4 = t3.get$extensionStore();
  72045. if (t4.get$isEmpty(t4))
  72046. continue;
  72047. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  72048. upstream = t4[_i];
  72049. _0_0 = upstream.get$url(upstream);
  72050. if (_0_0 != null)
  72051. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  72052. }
  72053. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  72054. }
  72055. if (unsatisfiedExtensions._collection$_length !== 0)
  72056. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  72057. },
  72058. _throwForUnsatisfiedExtension$1(extension) {
  72059. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  72060. },
  72061. _indexAfterImports$1(statements) {
  72062. var t1, lastImport, i, _0_0;
  72063. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  72064. $label0$0: {
  72065. _0_0 = t1.$index(statements, i);
  72066. if (_0_0 instanceof A.ModifiableCssImport)
  72067. break $label0$0;
  72068. if (_0_0 instanceof A.ModifiableCssComment)
  72069. continue;
  72070. break;
  72071. }
  72072. lastImport = i;
  72073. }
  72074. return lastImport + 1;
  72075. },
  72076. visitStylesheet$1(_, node) {
  72077. var t1, t2, _i;
  72078. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  72079. t1[_i].accept$1(this);
  72080. return null;
  72081. },
  72082. visitAtRootRule$1(_, node) {
  72083. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  72084. _s8_ = "__parent",
  72085. _0_0 = node.query,
  72086. query = _0_0 != null ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate$_logger, null).parse$0(0) : B.AtRootQuery_n2q,
  72087. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  72088. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  72089. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  72090. if (!query.excludes$1($parent))
  72091. included.push($parent);
  72092. _2_0 = $parent._parent;
  72093. if (_2_0 == null)
  72094. throw A.wrapException(A.StateError$(string$.CssNod));
  72095. }
  72096. root = _this._trimIncluded$1(included);
  72097. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  72098. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  72099. return null;
  72100. }
  72101. if (included.length >= 1) {
  72102. first = included[0];
  72103. rest = B.JSArray_methods.sublist$1(included, 1);
  72104. innerCopy = first.copyWithoutChildren$0();
  72105. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  72106. copy = rest[_i].copyWithoutChildren$0();
  72107. copy.addChild$1(outerCopy);
  72108. }
  72109. root.addChild$1(outerCopy);
  72110. } else
  72111. innerCopy = root;
  72112. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  72113. return null;
  72114. },
  72115. _trimIncluded$1(nodes) {
  72116. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  72117. _s22_ = " to be an ancestor of ";
  72118. if (nodes.length === 0)
  72119. return _this._assertInModule$2(_this.__root, _s5_);
  72120. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  72121. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  72122. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  72123. _0_0 = $parent._parent;
  72124. if (_0_0 == null)
  72125. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  72126. }
  72127. if (innermostContiguous == null)
  72128. innermostContiguous = i;
  72129. _1_0 = $parent._parent;
  72130. if (_1_0 == null)
  72131. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  72132. }
  72133. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  72134. return _this._assertInModule$2(_this.__root, _s5_);
  72135. innermostContiguous.toString;
  72136. root = nodes[innermostContiguous];
  72137. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  72138. return root;
  72139. },
  72140. _scopeForAtRoot$4(node, newParent, query, included) {
  72141. var _this = this,
  72142. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  72143. t1 = query._all || query._at_root_query$_rule;
  72144. if (t1 !== query.include)
  72145. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  72146. if (_this._mediaQueries != null && query.excludesName$1("media"))
  72147. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  72148. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  72149. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  72150. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  72151. },
  72152. visitContentBlock$1(_, node) {
  72153. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  72154. },
  72155. visitContentRule$1(_, node) {
  72156. var $content = this._environment._content;
  72157. if ($content == null)
  72158. return null;
  72159. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  72160. return null;
  72161. },
  72162. visitDebugRule$1(_, node) {
  72163. var value = node.expression.accept$1(this),
  72164. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  72165. this._evaluate$_logger.debug$2(0, t1, node.span);
  72166. return null;
  72167. },
  72168. visitDeclaration$1(_, node) {
  72169. var t2, _0_0, t3, $name, _1_0, _2_0, value, t4, t5, _3_0, oldDeclarationName, _this = this, _null = null,
  72170. _s8_ = "__parent",
  72171. t1 = {};
  72172. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  72173. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  72174. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  72175. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  72176. t2 = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  72177. _0_0 = t2.get$last(t2);
  72178. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  72179. if (t2 !== _0_0) {
  72180. t2 = type$.SourceSpan;
  72181. t3 = type$.String;
  72182. _this._warn$3(string$.Sassx27s, new A.MultiSpan(node.span, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([_0_0.get$span(_0_0), "nested rule"], t2, t3), t2, t3)), B.Deprecation_gf0);
  72183. }
  72184. t2 = node.name;
  72185. $name = _this._interpolationToValue$2$warnForColor(t2, true);
  72186. _1_0 = _this._declarationName;
  72187. if (_1_0 != null)
  72188. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  72189. _2_0 = node.value;
  72190. if (_2_0 != null) {
  72191. value = _2_0.accept$1(_this);
  72192. if (!value.get$isBlank() || value.get$asList().length === 0) {
  72193. t3 = _this._assertInModule$2(_this.__parent, _s8_);
  72194. t4 = _2_0.get$span(_2_0);
  72195. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  72196. if (_this._sourceMap) {
  72197. t5 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  72198. t5 = t5 == null ? _null : J.get$span$z(t5);
  72199. } else
  72200. t5 = _null;
  72201. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  72202. } else if (J.startsWith$1$s($name.value, "--"))
  72203. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  72204. }
  72205. _3_0 = node.children;
  72206. t1.children = null;
  72207. if (_3_0 != null) {
  72208. t1.children = _3_0;
  72209. oldDeclarationName = _this._declarationName;
  72210. _this._declarationName = $name.value;
  72211. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  72212. _this._declarationName = oldDeclarationName;
  72213. }
  72214. return _null;
  72215. },
  72216. visitEachRule$1(_, node) {
  72217. var _this = this, _box_0 = {},
  72218. t1 = node.list,
  72219. list = t1.accept$1(_this),
  72220. nodeWithSpan = _this._expressionNode$1(t1),
  72221. _0_0 = node.variables;
  72222. $label0$0: {
  72223. _box_0.variable = null;
  72224. if (_0_0.length === 1) {
  72225. _box_0.variable = _0_0[0];
  72226. t1 = new A._EvaluateVisitor_visitEachRule_closure(_box_0, _this, nodeWithSpan);
  72227. break $label0$0;
  72228. }
  72229. _box_0.variables = null;
  72230. _box_0.variables = _0_0;
  72231. t1 = new A._EvaluateVisitor_visitEachRule_closure0(_box_0, _this, nodeWithSpan);
  72232. break $label0$0;
  72233. }
  72234. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  72235. },
  72236. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  72237. var i,
  72238. list = value.get$asList(),
  72239. t1 = variables.length,
  72240. minLength = Math.min(t1, list.length);
  72241. for (i = 0; i < minLength; ++i)
  72242. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  72243. for (i = minLength; i < t1; ++i)
  72244. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  72245. },
  72246. visitErrorRule$1(_, node) {
  72247. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  72248. },
  72249. visitExtendRule$1(_, node) {
  72250. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  72251. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  72252. if (styleRule == null || _this._declarationName != null)
  72253. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  72254. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  72255. complex = t1[_i];
  72256. if (!complex.accept$1(B._IsBogusVisitor_true))
  72257. continue;
  72258. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72259. complex.accept$1(visitor);
  72260. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72261. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  72262. _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_ido);
  72263. }
  72264. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  72265. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(_0_0._0, true), false, _0_0._1, _this._evaluate$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  72266. complex = t1[_i];
  72267. compound = complex.get$singleCompound();
  72268. if (compound == null)
  72269. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  72270. t4 = compound.components;
  72271. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  72272. if (t5 == null)
  72273. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  72274. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  72275. }
  72276. return _null;
  72277. },
  72278. visitAtRule$1(_, node) {
  72279. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  72280. if (_this._declarationName != null)
  72281. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  72282. $name = _this._interpolationToValue$1(node.name);
  72283. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  72284. children = node.children;
  72285. if (children == null) {
  72286. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  72287. return null;
  72288. }
  72289. wasInKeyframes = _this._inKeyframes;
  72290. wasInUnknownAtRule = _this._inUnknownAtRule;
  72291. if (A.unvendor($name.value) === "keyframes")
  72292. _this._inKeyframes = true;
  72293. else
  72294. _this._inUnknownAtRule = true;
  72295. _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);
  72296. _this._inUnknownAtRule = wasInUnknownAtRule;
  72297. _this._inKeyframes = wasInKeyframes;
  72298. return null;
  72299. },
  72300. visitForRule$1(_, node) {
  72301. var _this = this, t1 = {},
  72302. t2 = node.from,
  72303. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  72304. t3 = node.to,
  72305. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  72306. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  72307. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  72308. direction = from > to ? -1 : 1;
  72309. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  72310. return null;
  72311. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  72312. },
  72313. visitForwardRule$1(_, node) {
  72314. var newConfiguration, t4, _i, variable, $name, _this = this,
  72315. _s8_ = "@forward",
  72316. oldConfiguration = _this._configuration,
  72317. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  72318. t1 = node.configuration,
  72319. t2 = t1.length,
  72320. t3 = node.url;
  72321. if (t2 !== 0) {
  72322. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  72323. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  72324. t3 = type$.String;
  72325. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72326. for (_i = 0; _i < t2; ++_i) {
  72327. variable = t1[_i];
  72328. if (!variable.isGuarded)
  72329. t4.add$1(0, variable.name);
  72330. }
  72331. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  72332. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72333. for (_i = 0; _i < t2; ++_i)
  72334. t3.add$1(0, t1[_i].name);
  72335. 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) {
  72336. $name = t2[_i];
  72337. if (!t3.contains$1(0, $name))
  72338. if (!t1.get$isEmpty(t1))
  72339. t1.remove$1(0, $name);
  72340. }
  72341. _this._assertConfigurationIsEmpty$1(newConfiguration);
  72342. } else {
  72343. _this._configuration = adjustedConfiguration;
  72344. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  72345. _this._configuration = oldConfiguration;
  72346. }
  72347. return null;
  72348. },
  72349. _addForwardConfiguration$2(configuration, node) {
  72350. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  72351. t1 = configuration._configuration$_values,
  72352. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72353. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  72354. variable = t2[_i];
  72355. if (variable.isGuarded) {
  72356. t4 = variable.name;
  72357. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  72358. if (oldValue != null)
  72359. t5 = !oldValue.value.$eq(0, B.C__SassNull);
  72360. else {
  72361. oldValue = _null;
  72362. t5 = false;
  72363. }
  72364. if (t5) {
  72365. newValues.$indexSet(0, t4, oldValue);
  72366. continue;
  72367. }
  72368. }
  72369. t4 = variable.expression;
  72370. variableNodeWithSpan = this._expressionNode$1(t4);
  72371. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72372. }
  72373. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  72374. return new A.ExplicitConfiguration(node, newValues, _null);
  72375. else
  72376. return new A.Configuration(newValues, _null);
  72377. },
  72378. _registerCommentsForModule$1(module) {
  72379. var _this = this, _s5_ = "_root",
  72380. t1 = _this.__root;
  72381. if (t1 == null)
  72382. return;
  72383. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  72384. return;
  72385. t1 = _this._preModuleComments;
  72386. if (t1 == null)
  72387. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  72388. 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));
  72389. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  72390. _this.__endOfImports = 0;
  72391. },
  72392. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  72393. var t1, t2, t3, t4, _i, $name;
  72394. 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) {
  72395. $name = t2[_i];
  72396. if (except.contains$1(0, $name))
  72397. continue;
  72398. if (!t4.containsKey$1($name))
  72399. if (!t1.get$isEmpty(t1))
  72400. t1.remove$1(0, $name);
  72401. }
  72402. },
  72403. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  72404. var t1, _0_0, $name, value;
  72405. if (!(configuration instanceof A.ExplicitConfiguration))
  72406. return;
  72407. t1 = configuration._configuration$_values;
  72408. if (t1.get$isEmpty(t1))
  72409. return;
  72410. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72411. _0_0 = t1.get$first(t1);
  72412. $name = _0_0._0;
  72413. value = _0_0._1;
  72414. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  72415. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  72416. },
  72417. _assertConfigurationIsEmpty$1(configuration) {
  72418. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  72419. },
  72420. visitFunctionRule$1(_, node) {
  72421. var t1 = this._environment,
  72422. t2 = t1.closure$0(),
  72423. t3 = this._inDependency,
  72424. t4 = t1._functions,
  72425. index = t4.length - 1,
  72426. t5 = node.name;
  72427. t1._functionIndices.$indexSet(0, t5, index);
  72428. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72429. return null;
  72430. },
  72431. visitIfRule$1(_, node) {
  72432. var t1, t2, _i, clauseToCheck,
  72433. clause = node.lastClause;
  72434. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72435. clauseToCheck = t1[_i];
  72436. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  72437. clause = clauseToCheck;
  72438. break;
  72439. }
  72440. }
  72441. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  72442. },
  72443. visitImportRule$1(_, node) {
  72444. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  72445. _s8_ = "__parent",
  72446. _s5_ = "_root",
  72447. _s13_ = "_endOfImports";
  72448. 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) {
  72449. $import = t1[_i];
  72450. if ($import instanceof A.DynamicImport)
  72451. _this._visitDynamicImport$1($import);
  72452. else {
  72453. t5._as($import);
  72454. t7 = $import.url;
  72455. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  72456. $self = $import.modifiers;
  72457. t8 = $self == null ? null : t4.call$1($self);
  72458. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  72459. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  72460. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  72461. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  72462. t7 = _this._assertInModule$2(_this.__root, _s5_);
  72463. node._parent = t7;
  72464. t7 = t7._children;
  72465. node._indexInParent = t7.length;
  72466. t7.push(node);
  72467. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72468. } else {
  72469. t7 = _this._outOfOrderImports;
  72470. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  72471. }
  72472. }
  72473. }
  72474. return null;
  72475. },
  72476. _visitDynamicImport$1($import) {
  72477. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  72478. },
  72479. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  72480. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
  72481. baseUrl = baseUrl;
  72482. try {
  72483. _this._importSpan = span;
  72484. _0_0 = _this._evaluate$_importCache;
  72485. importCache = null;
  72486. if (_0_0 != null) {
  72487. importCache = _0_0;
  72488. if (baseUrl == null) {
  72489. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  72490. baseUrl = t1.get$sourceUrl(t1);
  72491. }
  72492. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  72493. importer = null;
  72494. canonicalUrl = null;
  72495. originalUrl = null;
  72496. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  72497. importer = _1_0._0;
  72498. canonicalUrl = _1_0._1;
  72499. originalUrl = _1_0._2;
  72500. _this._loadedUrls.add$1(0, canonicalUrl);
  72501. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  72502. t1 = importCache;
  72503. t2 = importer;
  72504. t3 = canonicalUrl;
  72505. t4 = originalUrl;
  72506. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._quietDeps && isDependency);
  72507. stylesheet = null;
  72508. if (_2_0 != null) {
  72509. stylesheet = _2_0;
  72510. t1 = stylesheet;
  72511. t2 = importer;
  72512. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  72513. }
  72514. }
  72515. }
  72516. t1 = B.JSString_methods.startsWith$1(url, "package:");
  72517. if (t1)
  72518. throw A.wrapException(string$.x22packa);
  72519. else
  72520. throw A.wrapException("Can't find stylesheet to import.");
  72521. } catch (exception) {
  72522. t1 = A.unwrapException(exception);
  72523. if (t1 instanceof A.SassException)
  72524. throw exception;
  72525. else if (t1 instanceof A.ArgumentError) {
  72526. error = t1;
  72527. stackTrace = A.getTraceFromException(exception);
  72528. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  72529. } else {
  72530. error0 = t1;
  72531. stackTrace0 = A.getTraceFromException(exception);
  72532. message = null;
  72533. try {
  72534. message = A._asString(J.get$message$x(error0));
  72535. } catch (exception) {
  72536. message0 = J.toString$0$(error0);
  72537. message = message0;
  72538. }
  72539. A.throwWithTrace(_this._evaluate$_exception$1(message), error0, stackTrace0);
  72540. }
  72541. } finally {
  72542. _this._importSpan = null;
  72543. }
  72544. },
  72545. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  72546. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  72547. },
  72548. _loadStylesheet$3$forImport(url, span, forImport) {
  72549. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  72550. },
  72551. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  72552. var t1, _0_0, t2, _1_8, _this = this,
  72553. _s37_ = "Mixin doesn't accept a content block.",
  72554. _s10_ = "invocation";
  72555. $label0$0: {
  72556. if (mixin == null)
  72557. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  72558. t1 = mixin instanceof A.BuiltInCallable;
  72559. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  72560. t1 = _this._evaluateArguments$1($arguments)._values;
  72561. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  72562. 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));
  72563. }
  72564. if (t1) {
  72565. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  72566. break $label0$0;
  72567. }
  72568. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  72569. t2 = false;
  72570. if (t1) {
  72571. _1_8 = mixin.declaration;
  72572. if (_1_8 instanceof A.MixinRule)
  72573. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  72574. }
  72575. if (t2)
  72576. 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));
  72577. if (t1) {
  72578. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  72579. break $label0$0;
  72580. }
  72581. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  72582. }
  72583. },
  72584. visitIncludeRule$1(_, node) {
  72585. var _this = this,
  72586. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  72587. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  72588. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_HJ0);
  72589. _this._applyMixin$5(mixin, A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure0(_this)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure1(node)));
  72590. return null;
  72591. },
  72592. visitMixinRule$1(_, node) {
  72593. var t1 = this._environment,
  72594. t2 = t1.closure$0(),
  72595. t3 = this._inDependency,
  72596. t4 = t1._mixins,
  72597. index = t4.length - 1,
  72598. t5 = node.name;
  72599. t1._mixinIndices.$indexSet(0, t5, index);
  72600. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72601. return null;
  72602. },
  72603. visitLoudComment$1(_, node) {
  72604. var t1, _this = this,
  72605. _s8_ = "__parent",
  72606. _s13_ = "_endOfImports";
  72607. if (_this._inFunction)
  72608. return null;
  72609. 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))
  72610. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72611. t1 = node.text;
  72612. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  72613. return null;
  72614. },
  72615. visitMediaRule$1(_, node) {
  72616. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  72617. if (_this._declarationName != null)
  72618. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  72619. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  72620. queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
  72621. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  72622. t1 = mergedQueries == null;
  72623. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  72624. return null;
  72625. if (t1)
  72626. mergedSources = B.Set_empty1;
  72627. else {
  72628. t2 = _this._mediaQuerySources;
  72629. t2.toString;
  72630. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  72631. t3 = _this._mediaQueries;
  72632. t3.toString;
  72633. t2.addAll$1(0, t3);
  72634. t2.addAll$1(0, queries);
  72635. mergedSources = t2;
  72636. }
  72637. t1 = t1 ? queries : mergedQueries;
  72638. _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);
  72639. return null;
  72640. },
  72641. _mergeMediaQueries$2(queries1, queries2) {
  72642. var t1, t2, t3, t4, _0_0, t5, result,
  72643. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  72644. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  72645. t3 = t1.get$current(t1);
  72646. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  72647. $label0$1: {
  72648. _0_0 = t3.merge$1(t4.get$current(t4));
  72649. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  72650. continue;
  72651. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  72652. return null;
  72653. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  72654. result = t5 ? _0_0 : null;
  72655. if (t5)
  72656. queries.push(result.query);
  72657. break $label0$1;
  72658. }
  72659. }
  72660. return queries;
  72661. },
  72662. visitReturnRule$1(_, node) {
  72663. var t1 = node.expression;
  72664. return this._withoutSlash$2(t1.accept$1(this), t1);
  72665. },
  72666. visitSilentComment$1(_, node) {
  72667. return null;
  72668. },
  72669. visitStyleRule$1(_, node) {
  72670. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  72671. _s8_ = "__parent",
  72672. _s11_ = "_stylesheet";
  72673. if (_this._declarationName != null)
  72674. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  72675. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  72676. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  72677. t1 = node.selector;
  72678. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  72679. selectorText = _0_0._0;
  72680. selectorMap = _0_0._1;
  72681. if (_this._inKeyframes) {
  72682. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(A.KeyframeSelectorParser$(selectorText, selectorMap, _this._evaluate$_logger).parse$0(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);
  72683. return _null;
  72684. }
  72685. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._evaluate$_logger, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  72686. t1 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  72687. t1 = t1 == null ? _null : t1.fromPlainCss;
  72688. nest = t1 !== true;
  72689. if (nest) {
  72690. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  72691. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72692. _1_0 = t1[_i].leadingCombinators;
  72693. if (_1_0.length >= 1) {
  72694. first = _1_0[0];
  72695. t3 = _this._assertInModule$2(_this.__stylesheet, _s11_);
  72696. t3 = t3.plainCss;
  72697. } else {
  72698. first = _null;
  72699. t3 = false;
  72700. }
  72701. if (t3)
  72702. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  72703. }
  72704. t1 = _this._styleRuleIgnoringAtRoot;
  72705. t1 = t1 == null ? _null : t1.originalSelector;
  72706. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  72707. }
  72708. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  72709. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  72710. t1 = _this._atRootExcludingStyleRule = false;
  72711. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  72712. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule, type$.Null);
  72713. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72714. _this._warnForBogusCombinators$1(rule);
  72715. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  72716. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72717. t1 = !t1.get$isEmpty(t1);
  72718. }
  72719. if (t1) {
  72720. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72721. t1.get$last(t1).isGroupEnd = true;
  72722. }
  72723. return _null;
  72724. },
  72725. _warnForBogusCombinators$1(rule) {
  72726. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  72727. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  72728. for (t1 = rule._style_rule$_selector._box$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  72729. complex = t1[_i];
  72730. if (!complex.accept$1(B._IsBogusVisitor_true))
  72731. continue;
  72732. if (complex.accept$1(B.C__IsUselessVisitor)) {
  72733. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72734. complex.accept$1(visitor);
  72735. _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_ido);
  72736. } else if (complex.leadingCombinators.length !== 0) {
  72737. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  72738. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72739. complex.accept$1(visitor);
  72740. _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_ido);
  72741. }
  72742. } else {
  72743. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72744. complex.accept$1(visitor);
  72745. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72746. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  72747. t8 = A.SpanExtensions_trimRight(complex.span);
  72748. if (t5.get$length(0) === 0)
  72749. A.throwExpression(A.IterableElementError_noElement());
  72750. t9 = J.get$span$z(t5.$index(0, 0));
  72751. _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__warnForBogusCombinators_closure()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_ido);
  72752. }
  72753. }
  72754. },
  72755. visitSupportsRule$1(_, node) {
  72756. var t1, _this = this;
  72757. if (_this._declarationName != null)
  72758. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  72759. t1 = node.condition;
  72760. _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);
  72761. return null;
  72762. },
  72763. _visitSupportsCondition$1(condition) {
  72764. var t1, _this = this, _box_0 = {};
  72765. $label0$0: {
  72766. if (condition instanceof A.SupportsOperation) {
  72767. t1 = condition.operator;
  72768. t1 = _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  72769. break $label0$0;
  72770. }
  72771. if (condition instanceof A.SupportsNegation) {
  72772. t1 = "not " + _this._parenthesize$1(condition.condition);
  72773. break $label0$0;
  72774. }
  72775. if (condition instanceof A.SupportsInterpolation) {
  72776. t1 = condition.expression;
  72777. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  72778. break $label0$0;
  72779. }
  72780. _box_0.declaration = null;
  72781. if (condition instanceof A.SupportsDeclaration) {
  72782. _box_0.declaration = condition;
  72783. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(_box_0, _this));
  72784. break $label0$0;
  72785. }
  72786. if (condition instanceof A.SupportsFunction) {
  72787. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  72788. break $label0$0;
  72789. }
  72790. if (condition instanceof A.SupportsAnything) {
  72791. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  72792. break $label0$0;
  72793. }
  72794. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  72795. }
  72796. return t1;
  72797. },
  72798. _withSupportsDeclaration$1$1(callback) {
  72799. var t1,
  72800. oldInSupportsDeclaration = this._inSupportsDeclaration;
  72801. this._inSupportsDeclaration = true;
  72802. try {
  72803. t1 = callback.call$0();
  72804. return t1;
  72805. } finally {
  72806. this._inSupportsDeclaration = oldInSupportsDeclaration;
  72807. }
  72808. },
  72809. _withSupportsDeclaration$1(callback) {
  72810. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  72811. },
  72812. _parenthesize$2(condition, operator) {
  72813. var t1;
  72814. if (!(condition instanceof A.SupportsNegation))
  72815. if (condition instanceof A.SupportsOperation)
  72816. t1 = operator == null || operator !== condition.operator;
  72817. else
  72818. t1 = false;
  72819. else
  72820. t1 = true;
  72821. if (t1)
  72822. return "(" + this._visitSupportsCondition$1(condition) + ")";
  72823. return this._visitSupportsCondition$1(condition);
  72824. },
  72825. _parenthesize$1(condition) {
  72826. return this._parenthesize$2(condition, null);
  72827. },
  72828. visitVariableDeclaration$1(_, node) {
  72829. var t2, value, _this = this, _null = null, t1 = {};
  72830. if (node.isGuarded) {
  72831. if (node.namespace == null && _this._environment._variables.length === 1) {
  72832. t2 = _this._configuration._configuration$_values;
  72833. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  72834. t1.override = null;
  72835. if (t2 != null) {
  72836. t1.override = t2;
  72837. t2 = !t2.value.$eq(0, B.C__SassNull);
  72838. } else
  72839. t2 = false;
  72840. if (t2) {
  72841. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  72842. return _null;
  72843. }
  72844. }
  72845. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  72846. if (value != null && !value.$eq(0, B.C__SassNull))
  72847. return _null;
  72848. }
  72849. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  72850. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  72851. _this._warn$3(t1, node.span, B.Deprecation_2nU);
  72852. }
  72853. t1 = node.expression;
  72854. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  72855. return _null;
  72856. },
  72857. visitUseRule$1(_, node) {
  72858. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  72859. t1 = node.configuration,
  72860. t2 = t1.length;
  72861. if (t2 !== 0) {
  72862. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  72863. for (_i = 0; _i < t2; ++_i) {
  72864. variable = t1[_i];
  72865. t3 = variable.expression;
  72866. variableNodeWithSpan = _this._expressionNode$1(t3);
  72867. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72868. }
  72869. configuration = new A.ExplicitConfiguration(node, values, null);
  72870. } else
  72871. configuration = B.Configuration_Map_empty_null;
  72872. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  72873. _this._assertConfigurationIsEmpty$1(configuration);
  72874. return null;
  72875. },
  72876. visitWarnRule$1(_, node) {
  72877. var _this = this,
  72878. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  72879. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  72880. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  72881. return null;
  72882. },
  72883. visitWhileRule$1(_, node) {
  72884. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  72885. },
  72886. visitBinaryOperationExpression$1(_, node) {
  72887. var t1, _this = this;
  72888. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  72889. t1 = node.operator;
  72890. t1 = t1 !== B.BinaryOperator_wdM && t1 !== B.BinaryOperator_U77;
  72891. } else
  72892. t1 = false;
  72893. if (t1)
  72894. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  72895. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  72896. },
  72897. _slash$3(left, right, node) {
  72898. var t2, _1_1,
  72899. result = left.dividedBy$1(right),
  72900. _1_2_isSet = left instanceof A.SassNumber,
  72901. _1_2 = null, right0 = null,
  72902. t1 = false;
  72903. if (_1_2_isSet) {
  72904. t2 = type$.SassNumber;
  72905. t2._as(left);
  72906. if (right instanceof A.SassNumber) {
  72907. t2._as(right);
  72908. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  72909. right0 = right;
  72910. _1_2 = right0;
  72911. } else
  72912. _1_2 = right;
  72913. _1_1 = left;
  72914. } else {
  72915. _1_1 = left;
  72916. left = null;
  72917. }
  72918. if (t1)
  72919. return type$.SassNumber._as(result).withSlash$2(left, right0);
  72920. if (_1_1 instanceof A.SassNumber)
  72921. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  72922. else
  72923. t1 = false;
  72924. if (t1) {
  72925. 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_oJv);
  72926. return result;
  72927. }
  72928. return result;
  72929. },
  72930. _operandAllowsSlash$1(node) {
  72931. var t1;
  72932. if (node instanceof A.FunctionExpression)
  72933. if (node.namespace == null) {
  72934. t1 = node.name;
  72935. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  72936. } else
  72937. t1 = false;
  72938. else
  72939. t1 = true;
  72940. return t1;
  72941. },
  72942. visitValueExpression$1(_, node) {
  72943. return node.value;
  72944. },
  72945. visitVariableExpression$1(_, node) {
  72946. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  72947. if (result != null)
  72948. return result;
  72949. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  72950. },
  72951. visitUnaryOperationExpression$1(_, node) {
  72952. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  72953. },
  72954. visitBooleanExpression$1(_, node) {
  72955. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  72956. },
  72957. visitIfExpression$1(_, node) {
  72958. var condition, t1, ifTrue, ifFalse, result, _this = this,
  72959. _0_0 = _this._evaluateMacroArguments$1(node),
  72960. positional = _0_0._0,
  72961. named = _0_0._1;
  72962. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  72963. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  72964. if (condition == null) {
  72965. t1 = named.$index(0, "condition");
  72966. t1.toString;
  72967. condition = t1;
  72968. }
  72969. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  72970. if (ifTrue == null) {
  72971. t1 = named.$index(0, "if-true");
  72972. t1.toString;
  72973. ifTrue = t1;
  72974. }
  72975. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  72976. if (ifFalse == null) {
  72977. t1 = named.$index(0, "if-false");
  72978. t1.toString;
  72979. ifFalse = t1;
  72980. }
  72981. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  72982. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  72983. },
  72984. visitNullExpression$1(_, node) {
  72985. return B.C__SassNull;
  72986. },
  72987. visitNumberExpression$1(_, node) {
  72988. return A.SassNumber_SassNumber(node.value, node.unit);
  72989. },
  72990. visitParenthesizedExpression$1(_, node) {
  72991. var _this = this;
  72992. 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);
  72993. },
  72994. visitColorExpression$1(_, node) {
  72995. return node.value;
  72996. },
  72997. visitListExpression$1(_, node) {
  72998. var t1 = node.contents;
  72999. 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);
  73000. },
  73001. visitMapExpression$1(_, node) {
  73002. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  73003. t1 = type$.Value,
  73004. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  73005. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  73006. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  73007. t4 = t2[_i];
  73008. key = t4._0;
  73009. value = t4._1;
  73010. keyValue = key.accept$1(this);
  73011. valueValue = value.accept$1(this);
  73012. if (map.containsKey$1(keyValue)) {
  73013. t1 = keyNodes.$index(0, keyValue);
  73014. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  73015. t1 = key.get$span(key);
  73016. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  73017. if (oldValueSpan != null)
  73018. t2.$indexSet(0, oldValueSpan, "first key");
  73019. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  73020. }
  73021. map.$indexSet(0, keyValue, valueValue);
  73022. keyNodes.$indexSet(0, keyValue, key);
  73023. }
  73024. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  73025. },
  73026. visitFunctionExpression$1(_, node) {
  73027. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  73028. _s11_ = "_stylesheet",
  73029. t1 = {},
  73030. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  73031. t1.$function = $function;
  73032. if ($function == null) {
  73033. if (node.namespace != null)
  73034. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  73035. t2 = node.name;
  73036. _0_0 = t2.toLowerCase();
  73037. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  73038. t3 = node.$arguments;
  73039. t4 = t3.named;
  73040. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  73041. } else
  73042. t3 = false;
  73043. if (t3)
  73044. return _this._visitCalculation$2$inLegacySassFunction(node, true);
  73045. 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)
  73046. return _this._visitCalculation$1(node);
  73047. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  73048. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  73049. } else
  73050. t2 = $function;
  73051. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  73052. _this._warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_HJ0);
  73053. oldInFunction = _this._inFunction;
  73054. _this._inFunction = true;
  73055. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  73056. _this._inFunction = oldInFunction;
  73057. return result;
  73058. },
  73059. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  73060. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  73061. t2 = node.$arguments,
  73062. t3 = t2.named;
  73063. if (t3.get$isNotEmpty(t3))
  73064. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  73065. else if (t2.rest != null)
  73066. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  73067. _this._checkCalculationArguments$1(node);
  73068. t3 = A._setArrayType([], type$.JSArray_Object);
  73069. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  73070. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  73071. $arguments = t3;
  73072. if (_this._inSupportsDeclaration)
  73073. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  73074. oldCallableNode = _this._callableNode;
  73075. _this._callableNode = node;
  73076. try {
  73077. t1 = null;
  73078. t3 = node.name;
  73079. _0_0 = t3.toLowerCase();
  73080. $label0$0: {
  73081. if ("calc" === _0_0) {
  73082. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  73083. break $label0$0;
  73084. }
  73085. if ("sqrt" === _0_0) {
  73086. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  73087. break $label0$0;
  73088. }
  73089. if ("sin" === _0_0) {
  73090. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  73091. break $label0$0;
  73092. }
  73093. if ("cos" === _0_0) {
  73094. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  73095. break $label0$0;
  73096. }
  73097. if ("tan" === _0_0) {
  73098. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  73099. break $label0$0;
  73100. }
  73101. if ("asin" === _0_0) {
  73102. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  73103. break $label0$0;
  73104. }
  73105. if ("acos" === _0_0) {
  73106. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  73107. break $label0$0;
  73108. }
  73109. if ("atan" === _0_0) {
  73110. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  73111. break $label0$0;
  73112. }
  73113. if ("abs" === _0_0) {
  73114. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  73115. break $label0$0;
  73116. }
  73117. if ("exp" === _0_0) {
  73118. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  73119. break $label0$0;
  73120. }
  73121. if ("sign" === _0_0) {
  73122. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  73123. break $label0$0;
  73124. }
  73125. if ("min" === _0_0) {
  73126. t1 = A.SassCalculation_min($arguments);
  73127. break $label0$0;
  73128. }
  73129. if ("max" === _0_0) {
  73130. t1 = A.SassCalculation_max($arguments);
  73131. break $label0$0;
  73132. }
  73133. if ("hypot" === _0_0) {
  73134. t1 = A.SassCalculation_hypot($arguments);
  73135. break $label0$0;
  73136. }
  73137. if ("pow" === _0_0) {
  73138. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73139. break $label0$0;
  73140. }
  73141. if ("atan2" === _0_0) {
  73142. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73143. break $label0$0;
  73144. }
  73145. if ("log" === _0_0) {
  73146. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73147. break $label0$0;
  73148. }
  73149. if ("mod" === _0_0) {
  73150. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73151. break $label0$0;
  73152. }
  73153. if ("rem" === _0_0) {
  73154. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73155. break $label0$0;
  73156. }
  73157. if ("round" === _0_0) {
  73158. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  73159. break $label0$0;
  73160. }
  73161. if ("clamp" === _0_0) {
  73162. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  73163. break $label0$0;
  73164. }
  73165. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  73166. t1 = A.throwExpression(t3);
  73167. }
  73168. t1 = t1;
  73169. return t1;
  73170. } catch (exception) {
  73171. t1 = A.unwrapException(exception);
  73172. if (t1 instanceof A.SassScriptException) {
  73173. error = t1;
  73174. stackTrace = A.getTraceFromException(exception);
  73175. if (B.JSString_methods.contains$1(error.message, "compatible"))
  73176. _this._verifyCompatibleNumbers$2($arguments, t2);
  73177. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  73178. } else
  73179. throw exception;
  73180. } finally {
  73181. _this._callableNode = oldCallableNode;
  73182. }
  73183. },
  73184. _visitCalculation$1(node) {
  73185. return this._visitCalculation$2$inLegacySassFunction(node, false);
  73186. },
  73187. _checkCalculationArguments$1(node) {
  73188. var t1, _0_0,
  73189. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  73190. $label0$0: {
  73191. t1 = node.name;
  73192. _0_0 = t1.toLowerCase();
  73193. 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) {
  73194. check.call$1(1);
  73195. break $label0$0;
  73196. }
  73197. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  73198. check.call$0();
  73199. break $label0$0;
  73200. }
  73201. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  73202. check.call$1(2);
  73203. break $label0$0;
  73204. }
  73205. if ("round" === _0_0 || "clamp" === _0_0) {
  73206. check.call$1(3);
  73207. break $label0$0;
  73208. }
  73209. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  73210. }
  73211. },
  73212. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  73213. var i, t1, _0_0, arg, number1, j, number2;
  73214. for (i = 0; t1 = args.length, i < t1; ++i) {
  73215. _0_0 = args[i];
  73216. if (_0_0 instanceof A.SassNumber) {
  73217. t1 = _0_0.get$hasComplexUnits();
  73218. arg = _0_0;
  73219. } else {
  73220. arg = null;
  73221. t1 = false;
  73222. }
  73223. if (t1)
  73224. throw A.wrapException(this._evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  73225. }
  73226. for (i = 0; i < t1 - 1; ++i) {
  73227. number1 = args[i];
  73228. if (!(number1 instanceof A.SassNumber))
  73229. continue;
  73230. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  73231. number2 = args[j];
  73232. if (!(number2 instanceof A.SassNumber))
  73233. continue;
  73234. if (number1.hasPossiblyCompatibleUnits$1(number2))
  73235. continue;
  73236. 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));
  73237. }
  73238. }
  73239. },
  73240. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  73241. var result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {},
  73242. t1 = node instanceof A.ParenthesizedExpression,
  73243. inner = t1 ? node.expression : _null;
  73244. if (t1) {
  73245. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  73246. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  73247. }
  73248. if (node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor())) {
  73249. t1 = node.text;
  73250. t2 = t1.get$asPlain();
  73251. _0_0 = t2 == null ? _null : t2.toLowerCase();
  73252. $label0$0: {
  73253. if ("pi" === _0_0) {
  73254. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  73255. break $label0$0;
  73256. }
  73257. if ("e" === _0_0) {
  73258. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  73259. break $label0$0;
  73260. }
  73261. if ("infinity" === _0_0) {
  73262. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  73263. break $label0$0;
  73264. }
  73265. if ("-infinity" === _0_0) {
  73266. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  73267. break $label0$0;
  73268. }
  73269. if ("nan" === _0_0) {
  73270. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  73271. break $label0$0;
  73272. }
  73273. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  73274. break $label0$0;
  73275. }
  73276. return t1;
  73277. }
  73278. _box_0.right = _box_0.left = _box_0.operator = null;
  73279. t1 = node instanceof A.BinaryOperationExpression;
  73280. if (t1) {
  73281. _box_0.operator = node.operator;
  73282. _box_0.left = node.left;
  73283. _box_0.right = node.right;
  73284. }
  73285. if (t1) {
  73286. _this._checkWhitespaceAroundCalculationOperator$1(node);
  73287. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  73288. }
  73289. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  73290. _1_0 = node.accept$1(_this);
  73291. $label1$1: {
  73292. if (_1_0 instanceof A.SassNumber) {
  73293. t1 = _1_0;
  73294. break $label1$1;
  73295. }
  73296. if (_1_0 instanceof A.SassCalculation) {
  73297. t1 = _1_0;
  73298. break $label1$1;
  73299. }
  73300. if (_1_0 instanceof A.SassString) {
  73301. t1 = !_1_0._hasQuotes;
  73302. result = _1_0;
  73303. } else {
  73304. result = _null;
  73305. t1 = false;
  73306. }
  73307. if (t1) {
  73308. t1 = result;
  73309. break $label1$1;
  73310. }
  73311. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  73312. }
  73313. return t1;
  73314. }
  73315. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_nbm === node.separator && node.contents.length >= 2) {
  73316. t1 = A._setArrayType([], type$.JSArray_Object);
  73317. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  73318. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  73319. _this._checkAdjacentCalculationValues$2(t1, node);
  73320. for (i = 0; i < t1.length; ++i) {
  73321. t3 = t1[i];
  73322. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  73323. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  73324. }
  73325. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  73326. }
  73327. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  73328. },
  73329. _checkWhitespaceAroundCalculationOperator$1(node) {
  73330. var t2, t3, t4, textBetweenOperands, first, last,
  73331. t1 = node.operator;
  73332. if (t1 !== B.BinaryOperator_u15 && t1 !== B.BinaryOperator_SjO)
  73333. return;
  73334. t1 = node.left;
  73335. t2 = t1.get$span(t1);
  73336. t2 = t2.get$file(t2);
  73337. t3 = node.right;
  73338. t4 = t3.get$span(t3);
  73339. if (t2 !== t4.get$file(t4))
  73340. return;
  73341. t2 = t1.get$span(t1);
  73342. t2 = t2.get$end(t2);
  73343. t4 = t3.get$span(t3);
  73344. if (t2.offset >= t4.get$start(t4).offset)
  73345. return;
  73346. t2 = t1.get$span(t1);
  73347. t2 = t2.get$file(t2);
  73348. t1 = t1.get$span(t1);
  73349. t1 = t1.get$end(t1);
  73350. t3 = t3.get$span(t3);
  73351. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  73352. first = textBetweenOperands.charCodeAt(0);
  73353. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  73354. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  73355. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  73356. else
  73357. t1 = true;
  73358. if (t1)
  73359. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  73360. },
  73361. _binaryOperatorToCalculationOperator$2(operator, node) {
  73362. var t1;
  73363. $label0$0: {
  73364. if (B.BinaryOperator_u15 === operator) {
  73365. t1 = B.CalculationOperator_g2q;
  73366. break $label0$0;
  73367. }
  73368. if (B.BinaryOperator_SjO === operator) {
  73369. t1 = B.CalculationOperator_CxF;
  73370. break $label0$0;
  73371. }
  73372. if (B.BinaryOperator_2No === operator) {
  73373. t1 = B.CalculationOperator_171;
  73374. break $label0$0;
  73375. }
  73376. if (B.BinaryOperator_U77 === operator) {
  73377. t1 = B.CalculationOperator_Qf1;
  73378. break $label0$0;
  73379. }
  73380. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  73381. }
  73382. return t1;
  73383. },
  73384. _checkAdjacentCalculationValues$2(elements, node) {
  73385. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  73386. for (t1 = elements.length, i = 1; i < t1; ++i) {
  73387. t2 = i - 1;
  73388. previous = elements[t2];
  73389. current = elements[i];
  73390. if (previous instanceof A.SassString || current instanceof A.SassString)
  73391. continue;
  73392. t1 = node.contents;
  73393. previousNode = t1[t2];
  73394. currentNode = t1[i];
  73395. if (currentNode instanceof A.UnaryOperationExpression) {
  73396. _0_2 = currentNode.operator;
  73397. if (B.UnaryOperator_AiQ !== _0_2)
  73398. t1 = B.UnaryOperator_cLp === _0_2;
  73399. else
  73400. t1 = true;
  73401. } else
  73402. t1 = false;
  73403. if (!t1)
  73404. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  73405. else
  73406. t1 = true;
  73407. if (t1)
  73408. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  73409. else
  73410. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  73411. }
  73412. },
  73413. visitInterpolatedFunctionExpression$1(_, node) {
  73414. var result, _this = this,
  73415. t1 = _this._performInterpolation$1(node.name),
  73416. oldInFunction = _this._inFunction;
  73417. _this._inFunction = true;
  73418. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  73419. _this._inFunction = oldInFunction;
  73420. return result;
  73421. },
  73422. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  73423. var oldCallable, result, _this = this,
  73424. evaluated = _this._evaluateArguments$1($arguments),
  73425. $name = callable.declaration.name;
  73426. if ($name !== "@content")
  73427. $name += "()";
  73428. oldCallable = _this._currentCallable;
  73429. _this._currentCallable = callable;
  73430. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  73431. _this._currentCallable = oldCallable;
  73432. return result;
  73433. },
  73434. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  73435. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  73436. if (callable instanceof A.BuiltInCallable)
  73437. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  73438. else if (type$.UserDefinedCallable_Environment._is(callable))
  73439. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  73440. else if (callable instanceof A.PlainCssCallable) {
  73441. t1 = $arguments.named;
  73442. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  73443. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  73444. buffer = new A.StringBuffer(callable.name + "(");
  73445. try {
  73446. first = true;
  73447. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73448. argument = t1[_i];
  73449. if (first)
  73450. first = false;
  73451. else
  73452. buffer._contents += ", ";
  73453. t3 = buffer;
  73454. t4 = argument;
  73455. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  73456. t3._contents += t4;
  73457. }
  73458. restArg = $arguments.rest;
  73459. if (restArg != null) {
  73460. rest = restArg.accept$1(_this);
  73461. if (!first)
  73462. buffer._contents += ", ";
  73463. t1 = buffer;
  73464. t2 = _this._evaluate$_serialize$2(rest, restArg);
  73465. t1._contents += t2;
  73466. }
  73467. } catch (exception) {
  73468. t1 = A.unwrapException(exception);
  73469. if (type$.SassRuntimeException._is(t1)) {
  73470. error = t1;
  73471. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  73472. throw exception;
  73473. 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));
  73474. } else
  73475. throw exception;
  73476. }
  73477. t1 = buffer;
  73478. t2 = A.Primitives_stringFromCharCode(41);
  73479. t1._contents += t2;
  73480. t2 = buffer._contents;
  73481. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  73482. } else
  73483. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  73484. },
  73485. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  73486. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  73487. evaluated = _this._evaluateArguments$1($arguments),
  73488. oldCallableNode = _this._callableNode;
  73489. _this._callableNode = nodeWithSpan;
  73490. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  73491. _box_0.callback = _box_0.overload = null;
  73492. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  73493. _box_0.overload = _0_0._0;
  73494. _box_0.callback = _0_0._1;
  73495. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  73496. declaredArguments = _box_0.overload.$arguments;
  73497. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  73498. argument = declaredArguments[i];
  73499. t2 = evaluated._values[2];
  73500. t3 = evaluated._values[0].remove$1(0, argument.name);
  73501. if (t3 == null) {
  73502. t3 = argument.defaultValue;
  73503. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  73504. }
  73505. t2.push(t3);
  73506. }
  73507. if (_box_0.overload.restArgument != null) {
  73508. if (evaluated._values[2].length > t1) {
  73509. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  73510. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  73511. } else
  73512. rest = B.List_empty8;
  73513. t1 = evaluated._values[0];
  73514. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : evaluated._values[4]);
  73515. evaluated._values[2].push(argumentList);
  73516. } else
  73517. argumentList = null;
  73518. result = null;
  73519. try {
  73520. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  73521. } catch (exception) {
  73522. t1 = A.unwrapException(exception);
  73523. if (t1 instanceof A.SassException)
  73524. throw exception;
  73525. else {
  73526. error = t1;
  73527. stackTrace = A.getTraceFromException(exception);
  73528. message = null;
  73529. try {
  73530. message = A._asString(J.get$message$x(error));
  73531. } catch (exception) {
  73532. message0 = J.toString$0$(error);
  73533. message = message0;
  73534. }
  73535. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  73536. }
  73537. }
  73538. _this._callableNode = oldCallableNode;
  73539. if (argumentList == null)
  73540. return result;
  73541. if (evaluated._values[0].__js_helper$_length === 0)
  73542. return result;
  73543. if (argumentList._wereKeywordsAccessed)
  73544. return result;
  73545. 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));
  73546. },
  73547. _evaluateArguments$1($arguments) {
  73548. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  73549. positional = A._setArrayType([], type$.JSArray_Value),
  73550. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  73551. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73552. expression = t1[_i];
  73553. nodeForSpan = _this._expressionNode$1(expression);
  73554. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  73555. positionalNodes.push(nodeForSpan);
  73556. }
  73557. t1 = type$.String;
  73558. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  73559. t2 = type$.AstNode;
  73560. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73561. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73562. t4 = t3.get$current(t3);
  73563. $name = t4._0;
  73564. value = t4._1;
  73565. nodeForSpan = _this._expressionNode$1(value);
  73566. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  73567. namedNodes.$indexSet(0, $name, nodeForSpan);
  73568. }
  73569. restArgs = $arguments.rest;
  73570. if (restArgs == null)
  73571. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  73572. rest = restArgs.accept$1(_this);
  73573. restNodeForSpan = _this._expressionNode$1(restArgs);
  73574. if (rest instanceof A.SassMap) {
  73575. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  73576. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73577. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  73578. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  73579. namedNodes.addAll$1(0, t3);
  73580. separator = B.ListSeparator_undecided_null_undecided;
  73581. } else if (rest instanceof A.SassList) {
  73582. t3 = rest._list$_contents;
  73583. 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>")));
  73584. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  73585. separator = rest._separator;
  73586. if (rest instanceof A.SassArgumentList) {
  73587. rest._wereKeywordsAccessed = true;
  73588. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  73589. }
  73590. } else {
  73591. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  73592. positionalNodes.push(restNodeForSpan);
  73593. separator = B.ListSeparator_undecided_null_undecided;
  73594. }
  73595. keywordRestArgs = $arguments.keywordRest;
  73596. if (keywordRestArgs == null)
  73597. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73598. keywordRest = keywordRestArgs.accept$1(_this);
  73599. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  73600. if (keywordRest instanceof A.SassMap) {
  73601. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  73602. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73603. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  73604. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  73605. namedNodes.addAll$1(0, t1);
  73606. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73607. } else
  73608. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  73609. },
  73610. _evaluateMacroArguments$1(invocation) {
  73611. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  73612. t1 = invocation.$arguments,
  73613. restArgs_ = t1.rest;
  73614. if (restArgs_ == null)
  73615. return new A._Record_2(t1.positional, t1.named);
  73616. t2 = t1.positional;
  73617. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  73618. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  73619. rest = restArgs_.accept$1(_this);
  73620. restNodeForSpan = _this._expressionNode$1(restArgs_);
  73621. if (rest instanceof A.SassMap)
  73622. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  73623. else if (rest instanceof A.SassList) {
  73624. t2 = rest._list$_contents;
  73625. 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>")));
  73626. if (rest instanceof A.SassArgumentList) {
  73627. rest._wereKeywordsAccessed = true;
  73628. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  73629. }
  73630. } else
  73631. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  73632. keywordRestArgs_ = t1.keywordRest;
  73633. if (keywordRestArgs_ == null)
  73634. return new A._Record_2(positional, named);
  73635. keywordRest = keywordRestArgs_.accept$1(_this);
  73636. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  73637. if (keywordRest instanceof A.SassMap) {
  73638. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  73639. return new A._Record_2(positional, named);
  73640. } else
  73641. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  73642. },
  73643. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  73644. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  73645. },
  73646. _addRestMap$4(values, map, nodeWithSpan, convert) {
  73647. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  73648. },
  73649. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  73650. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  73651. },
  73652. visitSelectorExpression$1(_, node) {
  73653. var t1 = this._styleRuleIgnoringAtRoot;
  73654. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  73655. return t1 == null ? B.C__SassNull : t1;
  73656. },
  73657. visitStringExpression$1(_, node) {
  73658. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  73659. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73660. _this._inSupportsDeclaration = false;
  73661. t1 = A._setArrayType([], type$.JSArray_String);
  73662. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  73663. value = t2[_i];
  73664. $label0$0: {
  73665. if (typeof value == "string") {
  73666. t4 = value;
  73667. break $label0$0;
  73668. }
  73669. if (value instanceof A.Expression) {
  73670. _0_0 = value.accept$1(_this);
  73671. $label1$1: {
  73672. if (_0_0 instanceof A.SassString) {
  73673. text = _0_0._string$_text;
  73674. t4 = text;
  73675. break $label1$1;
  73676. }
  73677. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  73678. break $label1$1;
  73679. }
  73680. break $label0$0;
  73681. }
  73682. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  73683. }
  73684. t1.push(t4);
  73685. }
  73686. t1 = B.JSArray_methods.join$0(t1);
  73687. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73688. return new A.SassString(t1, node.hasQuotes);
  73689. },
  73690. visitSupportsExpression$1(_, expression) {
  73691. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  73692. },
  73693. visitCssAtRule$1(node) {
  73694. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  73695. if (_this._declarationName != null)
  73696. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  73697. if (node.isChildless) {
  73698. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  73699. return;
  73700. }
  73701. wasInKeyframes = _this._inKeyframes;
  73702. wasInUnknownAtRule = _this._inUnknownAtRule;
  73703. t1 = node.name;
  73704. if (A.unvendor(t1.value) === "keyframes")
  73705. _this._inKeyframes = true;
  73706. else
  73707. _this._inUnknownAtRule = true;
  73708. _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);
  73709. _this._inUnknownAtRule = wasInUnknownAtRule;
  73710. _this._inKeyframes = wasInKeyframes;
  73711. },
  73712. visitCssComment$1(node) {
  73713. var _this = this,
  73714. _s8_ = "__parent",
  73715. _s13_ = "_endOfImports";
  73716. 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))
  73717. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73718. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  73719. },
  73720. visitCssDeclaration$1(node) {
  73721. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  73722. },
  73723. visitCssImport$1(node) {
  73724. var t1, _this = this,
  73725. _s8_ = "__parent",
  73726. _s5_ = "_root",
  73727. _s13_ = "_endOfImports",
  73728. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  73729. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  73730. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  73731. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  73732. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  73733. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73734. } else {
  73735. t1 = _this._outOfOrderImports;
  73736. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  73737. }
  73738. },
  73739. visitCssKeyframeBlock$1(node) {
  73740. 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);
  73741. },
  73742. visitCssMediaRule$1(node) {
  73743. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  73744. if (_this._declarationName != null)
  73745. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  73746. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  73747. t1 = mergedQueries == null;
  73748. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  73749. return;
  73750. if (t1)
  73751. mergedSources = B.Set_empty1;
  73752. else {
  73753. t2 = _this._mediaQuerySources;
  73754. t2.toString;
  73755. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  73756. t3 = _this._mediaQueries;
  73757. t3.toString;
  73758. t2.addAll$1(0, t3);
  73759. t2.addAll$1(0, node.queries);
  73760. mergedSources = t2;
  73761. }
  73762. t1 = t1 ? node.queries : mergedQueries;
  73763. _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);
  73764. },
  73765. visitCssStyleRule$1(node) {
  73766. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  73767. _s8_ = "__parent";
  73768. if (_this._declarationName != null)
  73769. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  73770. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  73771. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  73772. t1 = _this._atRootExcludingStyleRule;
  73773. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  73774. t2 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  73775. t2 = t2 == null ? _null : t2.fromPlainCss;
  73776. nest = t2 !== true;
  73777. t2 = node._style_rule$_selector._box$_inner;
  73778. if (nest) {
  73779. t2 = t2.value;
  73780. t3 = styleRule == null ? _null : styleRule.originalSelector;
  73781. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  73782. } else
  73783. originalSelector = t2.value;
  73784. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  73785. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  73786. _this._atRootExcludingStyleRule = false;
  73787. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  73788. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  73789. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73790. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  73791. t2 = J.getInterceptor$asx(t1);
  73792. _0_1 = t2.get$length(t1);
  73793. if (_0_1 >= 1) {
  73794. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  73795. t1 = styleRule == null;
  73796. } else {
  73797. lastChild = _null;
  73798. t1 = false;
  73799. }
  73800. if (t1)
  73801. lastChild.isGroupEnd = true;
  73802. },
  73803. visitCssStylesheet$1(node) {
  73804. var t1;
  73805. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  73806. t1.get$current(t1).accept$1(this);
  73807. },
  73808. visitCssSupportsRule$1(node) {
  73809. var _this = this;
  73810. if (_this._declarationName != null)
  73811. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  73812. _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);
  73813. },
  73814. _handleReturn$1$2(list, callback) {
  73815. var t1, _i, _0_0;
  73816. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  73817. _0_0 = callback.call$1(list[_i]);
  73818. if (_0_0 != null)
  73819. return _0_0;
  73820. }
  73821. return null;
  73822. },
  73823. _handleReturn$2(list, callback) {
  73824. return this._handleReturn$1$2(list, callback, type$.dynamic);
  73825. },
  73826. _withEnvironment$1$2(environment, callback) {
  73827. var result,
  73828. oldEnvironment = this._environment;
  73829. this._environment = environment;
  73830. result = callback.call$0();
  73831. this._environment = oldEnvironment;
  73832. return result;
  73833. },
  73834. _withEnvironment$2(environment, callback) {
  73835. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  73836. },
  73837. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  73838. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  73839. t1 = trim ? A.trimAscii(result, true) : result;
  73840. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  73841. },
  73842. _interpolationToValue$1(interpolation) {
  73843. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  73844. },
  73845. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  73846. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  73847. },
  73848. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  73849. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  73850. },
  73851. _performInterpolation$1(interpolation) {
  73852. return this._performInterpolation$2$warnForColor(interpolation, false);
  73853. },
  73854. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  73855. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  73856. map = _0_0._1;
  73857. map.toString;
  73858. return new A._Record_2(_0_0._0, map);
  73859. },
  73860. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  73861. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  73862. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  73863. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73864. _this._inSupportsDeclaration = false;
  73865. 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) {
  73866. value = t1[_i];
  73867. if (!first)
  73868. if (!t4)
  73869. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  73870. if (typeof value == "string") {
  73871. t8 += value;
  73872. continue;
  73873. }
  73874. t3._as(value);
  73875. result = value.accept$1(_this);
  73876. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  73877. t9 = A._setArrayType([""], t5);
  73878. result0 = A.List_List$from(t9, false, t7);
  73879. result0.fixed$length = Array;
  73880. result0.immutable$list = Array;
  73881. result0 = new A.Interpolation(result0, t6);
  73882. result0.Interpolation$2(t9, t6);
  73883. t9 = $.$get$namesByColor();
  73884. _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_u15, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  73885. }
  73886. t8 += _this._evaluate$_serialize$3$quote(result, value, false);
  73887. }
  73888. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73889. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  73890. },
  73891. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  73892. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  73893. },
  73894. _evaluate$_serialize$2(value, nodeWithSpan) {
  73895. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  73896. },
  73897. _expressionNode$1(expression) {
  73898. var t1;
  73899. if (expression instanceof A.VariableExpression) {
  73900. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  73901. return t1 == null ? expression : t1;
  73902. } else
  73903. return expression;
  73904. },
  73905. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  73906. var t1, result, _this = this;
  73907. _this._addChild$2$through(node, through);
  73908. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  73909. _this.__parent = node;
  73910. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  73911. _this.__parent = t1;
  73912. return result;
  73913. },
  73914. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  73915. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  73916. },
  73917. _withParent$2$2(node, callback, $S, $T) {
  73918. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  73919. },
  73920. _addChild$2$through(node, through) {
  73921. var _0_0, grandparent, t1,
  73922. $parent = this._assertInModule$2(this.__parent, "__parent");
  73923. if (through != null) {
  73924. for (; through.call$1($parent); $parent = _0_0) {
  73925. _0_0 = $parent._parent;
  73926. if (_0_0 == null)
  73927. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  73928. }
  73929. if ($parent.get$hasFollowingSibling()) {
  73930. grandparent = $parent._parent;
  73931. t1 = grandparent.children;
  73932. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  73933. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  73934. else {
  73935. $parent = $parent.copyWithoutChildren$0();
  73936. grandparent.addChild$1($parent);
  73937. }
  73938. }
  73939. }
  73940. $parent.addChild$1(node);
  73941. },
  73942. _addChild$1(node) {
  73943. return this._addChild$2$through(node, null);
  73944. },
  73945. _withStyleRule$1$2(rule, callback) {
  73946. var result,
  73947. oldRule = this._styleRuleIgnoringAtRoot;
  73948. this._styleRuleIgnoringAtRoot = rule;
  73949. result = callback.call$0();
  73950. this._styleRuleIgnoringAtRoot = oldRule;
  73951. return result;
  73952. },
  73953. _withStyleRule$2(rule, callback) {
  73954. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  73955. },
  73956. _withMediaQueries$1$3(queries, sources, callback) {
  73957. var result, _this = this,
  73958. oldMediaQueries = _this._mediaQueries,
  73959. oldSources = _this._mediaQuerySources;
  73960. _this._mediaQueries = queries;
  73961. _this._mediaQuerySources = sources;
  73962. result = callback.call$0();
  73963. _this._mediaQueries = oldMediaQueries;
  73964. _this._mediaQuerySources = oldSources;
  73965. return result;
  73966. },
  73967. _withMediaQueries$3(queries, sources, callback) {
  73968. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  73969. },
  73970. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  73971. var oldMember, result, _this = this,
  73972. t1 = _this._stack;
  73973. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  73974. oldMember = _this._member;
  73975. _this._member = member;
  73976. result = callback.call$0();
  73977. _this._member = oldMember;
  73978. t1.pop();
  73979. return result;
  73980. },
  73981. _withStackFrame$3(member, nodeWithSpan, callback) {
  73982. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  73983. },
  73984. _withoutSlash$2(value, nodeForSpan) {
  73985. var t1;
  73986. if (value instanceof A.SassNumber)
  73987. t1 = value.asSlash != null;
  73988. else
  73989. t1 = false;
  73990. if (t1)
  73991. 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_oJv);
  73992. return value.withoutSlash$0();
  73993. },
  73994. _stackFrame$2(member, span) {
  73995. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  73996. },
  73997. _evaluate$_stackTrace$1(span) {
  73998. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  73999. t1 = A._setArrayType([], type$.JSArray_Frame);
  74000. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  74001. t4 = t2[_i];
  74002. nodeWithSpan = t4._1;
  74003. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  74004. }
  74005. if (span != null)
  74006. t1.push(_this._stackFrame$2(_this._member, span));
  74007. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  74008. },
  74009. _evaluate$_stackTrace$0() {
  74010. return this._evaluate$_stackTrace$1(null);
  74011. },
  74012. _warn$3(message, span, deprecation) {
  74013. var t1, trace, _this = this;
  74014. if (_this._quietDeps)
  74015. if (!_this._inDependency) {
  74016. t1 = _this._currentCallable;
  74017. t1 = t1 == null ? null : t1.inDependency;
  74018. t1 = t1 === true;
  74019. } else
  74020. t1 = true;
  74021. else
  74022. t1 = false;
  74023. if (t1)
  74024. return;
  74025. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  74026. return;
  74027. trace = _this._evaluate$_stackTrace$1(span);
  74028. t1 = _this._evaluate$_logger;
  74029. if (deprecation == null)
  74030. t1.warn$3$span$trace(0, message, span, trace);
  74031. else
  74032. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  74033. },
  74034. _warn$2(message, span) {
  74035. return this._warn$3(message, span, null);
  74036. },
  74037. _evaluate$_exception$2(message, span) {
  74038. var t1, t2;
  74039. if (span == null) {
  74040. t1 = B.JSArray_methods.get$last(this._stack)._1;
  74041. t1 = t1.get$span(t1);
  74042. } else
  74043. t1 = span;
  74044. t2 = this._evaluate$_stackTrace$1(span);
  74045. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  74046. },
  74047. _evaluate$_exception$1(message) {
  74048. return this._evaluate$_exception$2(message, null);
  74049. },
  74050. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  74051. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  74052. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  74053. },
  74054. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  74055. var error, stackTrace, t1, exception;
  74056. try {
  74057. t1 = callback.call$0();
  74058. return t1;
  74059. } catch (exception) {
  74060. t1 = A.unwrapException(exception);
  74061. if (t1 instanceof A.SassScriptException) {
  74062. error = t1;
  74063. stackTrace = A.getTraceFromException(exception);
  74064. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  74065. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  74066. } else
  74067. throw exception;
  74068. }
  74069. },
  74070. _addExceptionSpan$2(nodeWithSpan, callback) {
  74071. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  74072. },
  74073. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  74074. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  74075. },
  74076. _addExceptionTrace$1$1(callback) {
  74077. var error, stackTrace, t1, exception, t2;
  74078. try {
  74079. t1 = callback.call$0();
  74080. return t1;
  74081. } catch (exception) {
  74082. t1 = A.unwrapException(exception);
  74083. if (type$.SassRuntimeException._is(t1))
  74084. throw exception;
  74085. else if (t1 instanceof A.SassException) {
  74086. error = t1;
  74087. stackTrace = A.getTraceFromException(exception);
  74088. t1 = error;
  74089. t2 = J.getInterceptor$z(t1);
  74090. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  74091. } else
  74092. throw exception;
  74093. }
  74094. },
  74095. _addExceptionTrace$1(callback) {
  74096. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  74097. },
  74098. _addErrorSpan$1$2(nodeWithSpan, callback) {
  74099. var error, stackTrace, t1, exception, t2, t3;
  74100. try {
  74101. t1 = callback.call$0();
  74102. return t1;
  74103. } catch (exception) {
  74104. t1 = A.unwrapException(exception);
  74105. if (type$.SassRuntimeException._is(t1)) {
  74106. error = t1;
  74107. stackTrace = A.getTraceFromException(exception);
  74108. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  74109. throw exception;
  74110. t1 = error._span_exception$_message;
  74111. t2 = nodeWithSpan.get$span(nodeWithSpan);
  74112. t3 = this._evaluate$_stackTrace$0();
  74113. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  74114. } else
  74115. throw exception;
  74116. }
  74117. },
  74118. _addErrorSpan$2(nodeWithSpan, callback) {
  74119. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  74120. }
  74121. };
  74122. A._EvaluateVisitor_closure.prototype = {
  74123. call$1($arguments) {
  74124. var module, t2,
  74125. t1 = J.getInterceptor$asx($arguments),
  74126. variable = t1.$index($arguments, 0).assertString$1("name");
  74127. t1 = t1.$index($arguments, 1).get$realNull();
  74128. module = t1 == null ? null : t1.assertString$1("module");
  74129. t1 = this.$this._environment;
  74130. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  74131. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  74132. },
  74133. $signature: 20
  74134. };
  74135. A._EvaluateVisitor_closure0.prototype = {
  74136. call$1($arguments) {
  74137. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  74138. t1 = this.$this._environment;
  74139. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  74140. },
  74141. $signature: 20
  74142. };
  74143. A._EvaluateVisitor_closure1.prototype = {
  74144. call$1($arguments) {
  74145. var module, t2, t3, t4,
  74146. t1 = J.getInterceptor$asx($arguments),
  74147. variable = t1.$index($arguments, 0).assertString$1("name");
  74148. t1 = t1.$index($arguments, 1).get$realNull();
  74149. module = t1 == null ? null : t1.assertString$1("module");
  74150. t1 = this.$this;
  74151. t2 = t1._environment;
  74152. t3 = variable._string$_text;
  74153. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  74154. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  74155. },
  74156. $signature: 20
  74157. };
  74158. A._EvaluateVisitor_closure2.prototype = {
  74159. call$1($arguments) {
  74160. var module, t2,
  74161. t1 = J.getInterceptor$asx($arguments),
  74162. variable = t1.$index($arguments, 0).assertString$1("name");
  74163. t1 = t1.$index($arguments, 1).get$realNull();
  74164. module = t1 == null ? null : t1.assertString$1("module");
  74165. t1 = this.$this._environment;
  74166. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  74167. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  74168. },
  74169. $signature: 20
  74170. };
  74171. A._EvaluateVisitor_closure3.prototype = {
  74172. call$1($arguments) {
  74173. var t1 = this.$this._environment;
  74174. if (!t1._inMixin)
  74175. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  74176. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  74177. },
  74178. $signature: 20
  74179. };
  74180. A._EvaluateVisitor_closure4.prototype = {
  74181. call$1($arguments) {
  74182. var t2, t3, t4,
  74183. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74184. module = this.$this._environment._environment$_modules.$index(0, t1);
  74185. if (module == null)
  74186. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74187. t1 = type$.Value;
  74188. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74189. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74190. t4 = t3.get$current(t3);
  74191. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  74192. }
  74193. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74194. },
  74195. $signature: 34
  74196. };
  74197. A._EvaluateVisitor_closure5.prototype = {
  74198. call$1($arguments) {
  74199. var t2, t3, t4,
  74200. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74201. module = this.$this._environment._environment$_modules.$index(0, t1);
  74202. if (module == null)
  74203. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74204. t1 = type$.Value;
  74205. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74206. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74207. t4 = t3.get$current(t3);
  74208. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  74209. }
  74210. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74211. },
  74212. $signature: 34
  74213. };
  74214. A._EvaluateVisitor_closure6.prototype = {
  74215. call$1($arguments) {
  74216. var t2, t3, t4,
  74217. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74218. module = this.$this._environment._environment$_modules.$index(0, t1);
  74219. if (module == null)
  74220. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74221. t1 = type$.Value;
  74222. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74223. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74224. t4 = t3.get$current(t3);
  74225. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  74226. }
  74227. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74228. },
  74229. $signature: 34
  74230. };
  74231. A._EvaluateVisitor_closure7.prototype = {
  74232. call$1($arguments) {
  74233. var module, t2, callable,
  74234. t1 = J.getInterceptor$asx($arguments),
  74235. $name = t1.$index($arguments, 0).assertString$1("name"),
  74236. css = t1.$index($arguments, 1).get$isTruthy();
  74237. t1 = t1.$index($arguments, 2).get$realNull();
  74238. module = t1 == null ? null : t1.assertString$1("module");
  74239. if (css) {
  74240. if (module != null)
  74241. throw A.wrapException(string$.x24css_a);
  74242. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  74243. }
  74244. t1 = this.$this;
  74245. t2 = t1._callableNode;
  74246. t2.toString;
  74247. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  74248. if (callable == null)
  74249. throw A.wrapException("Function not found: " + $name.toString$0(0));
  74250. return new A.SassFunction(callable);
  74251. },
  74252. $signature: 163
  74253. };
  74254. A._EvaluateVisitor__closure2.prototype = {
  74255. call$0() {
  74256. var local,
  74257. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74258. t1 = this.module,
  74259. namespace = t1 == null ? null : t1._string$_text;
  74260. t1 = this.$this;
  74261. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  74262. if (local != null || namespace != null)
  74263. return local;
  74264. return t1._builtInFunctions.$index(0, normalizedName);
  74265. },
  74266. $signature: 78
  74267. };
  74268. A._EvaluateVisitor_closure8.prototype = {
  74269. call$1($arguments) {
  74270. var module, t2, callable,
  74271. t1 = J.getInterceptor$asx($arguments),
  74272. $name = t1.$index($arguments, 0).assertString$1("name");
  74273. t1 = t1.$index($arguments, 1).get$realNull();
  74274. module = t1 == null ? null : t1.assertString$1("module");
  74275. t1 = this.$this;
  74276. t2 = t1._callableNode;
  74277. t2.toString;
  74278. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  74279. if (callable == null)
  74280. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  74281. return new A.SassMixin(callable);
  74282. },
  74283. $signature: 265
  74284. };
  74285. A._EvaluateVisitor__closure1.prototype = {
  74286. call$0() {
  74287. var t1 = this.$this._environment,
  74288. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74289. t3 = this.module;
  74290. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  74291. },
  74292. $signature: 78
  74293. };
  74294. A._EvaluateVisitor_closure9.prototype = {
  74295. call$1($arguments) {
  74296. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  74297. t1 = J.getInterceptor$asx($arguments),
  74298. $function = t1.$index($arguments, 0),
  74299. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74300. t1 = this.$this;
  74301. t2 = t1._callableNode;
  74302. t2.toString;
  74303. t3 = A._setArrayType([], type$.JSArray_Expression);
  74304. t4 = type$.String;
  74305. t5 = type$.Expression;
  74306. t6 = t2.get$span(t2);
  74307. t7 = t2.get$span(t2);
  74308. args._wereKeywordsAccessed = true;
  74309. t8 = args._keywords;
  74310. if (t8.get$isEmpty(t8))
  74311. t2 = null;
  74312. else {
  74313. t9 = type$.Value;
  74314. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  74315. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  74316. t11 = t8.get$current(t8);
  74317. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  74318. }
  74319. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  74320. }
  74321. 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);
  74322. if ($function instanceof A.SassString) {
  74323. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_gkc);
  74324. callableNode = t1._callableNode;
  74325. t2 = $function._string$_text;
  74326. t3 = callableNode.get$span(callableNode);
  74327. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  74328. }
  74329. callable = $function.assertFunction$1("function").callable;
  74330. if (type$.Callable._is(callable)) {
  74331. t2 = t1._callableNode;
  74332. t2.toString;
  74333. return t1._runFunctionCallable$3(invocation, callable, t2);
  74334. } else
  74335. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  74336. },
  74337. $signature: 6
  74338. };
  74339. A._EvaluateVisitor_closure10.prototype = {
  74340. call$1($arguments) {
  74341. var withMap, t2, values, configuration, t3,
  74342. t1 = J.getInterceptor$asx($arguments),
  74343. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  74344. t1 = t1.$index($arguments, 1).get$realNull();
  74345. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  74346. t1 = this.$this;
  74347. t2 = t1._callableNode;
  74348. t2.toString;
  74349. if (withMap != null) {
  74350. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  74351. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  74352. configuration = new A.ExplicitConfiguration(t2, values, null);
  74353. } else
  74354. configuration = B.Configuration_Map_empty_null;
  74355. t3 = t2.get$span(t2);
  74356. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  74357. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  74358. },
  74359. $signature: 183
  74360. };
  74361. A._EvaluateVisitor__closure.prototype = {
  74362. call$2(variable, value) {
  74363. var t1 = variable.assertString$1("with key"),
  74364. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  74365. t1 = this.values;
  74366. if (t1.containsKey$1($name))
  74367. throw A.wrapException("The variable $" + $name + " was configured twice.");
  74368. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  74369. },
  74370. $signature: 84
  74371. };
  74372. A._EvaluateVisitor__closure0.prototype = {
  74373. call$2(module, _) {
  74374. var t1 = this.$this;
  74375. return t1._combineCss$2$clone(module, true).accept$1(t1);
  74376. },
  74377. $signature: 79
  74378. };
  74379. A._EvaluateVisitor_closure11.prototype = {
  74380. call$1($arguments) {
  74381. var callableNode, t2, t3, t4, t5, callable, $content,
  74382. t1 = J.getInterceptor$asx($arguments),
  74383. mixin = t1.$index($arguments, 0),
  74384. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74385. t1 = this.$this;
  74386. callableNode = t1._callableNode;
  74387. t2 = callableNode.get$span(callableNode);
  74388. t3 = callableNode.get$span(callableNode);
  74389. t4 = type$.Expression;
  74390. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  74391. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  74392. callable = mixin.assertMixin$1("mixin").callable;
  74393. $content = t1._environment._content;
  74394. if (type$.Callable._is(callable))
  74395. t1._applyMixin$5(callable, $content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  74396. else
  74397. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  74398. },
  74399. $signature: 183
  74400. };
  74401. A._EvaluateVisitor_run_closure.prototype = {
  74402. call$0() {
  74403. var module, _this = this,
  74404. t1 = _this.node,
  74405. t2 = t1.span,
  74406. _0_0 = t2.get$sourceUrl(t2),
  74407. url = null;
  74408. if (_0_0 != null) {
  74409. url = _0_0;
  74410. t2 = _this.$this;
  74411. t2._activeModules.$indexSet(0, url, null);
  74412. t2._loadedUrls.add$1(0, url);
  74413. }
  74414. t2 = _this.$this;
  74415. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  74416. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  74417. },
  74418. $signature: 306
  74419. };
  74420. A._EvaluateVisitor_run__closure.prototype = {
  74421. call$0() {
  74422. return this.$this._execute$2(this.importer, this.node);
  74423. },
  74424. $signature: 296
  74425. };
  74426. A._EvaluateVisitor_runExpression_closure.prototype = {
  74427. call$0() {
  74428. var t1 = this.$this,
  74429. t2 = this.expression;
  74430. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  74431. },
  74432. $signature: 36
  74433. };
  74434. A._EvaluateVisitor_runExpression__closure.prototype = {
  74435. call$0() {
  74436. var t1 = this.$this;
  74437. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  74438. },
  74439. $signature: 36
  74440. };
  74441. A._EvaluateVisitor_runExpression___closure.prototype = {
  74442. call$0() {
  74443. return this.expression.accept$1(this.$this);
  74444. },
  74445. $signature: 36
  74446. };
  74447. A._EvaluateVisitor_runStatement_closure.prototype = {
  74448. call$0() {
  74449. var t1 = this.$this,
  74450. t2 = this.statement;
  74451. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  74452. },
  74453. $signature: 0
  74454. };
  74455. A._EvaluateVisitor_runStatement__closure.prototype = {
  74456. call$0() {
  74457. var t1 = this.$this;
  74458. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  74459. },
  74460. $signature: 0
  74461. };
  74462. A._EvaluateVisitor_runStatement___closure.prototype = {
  74463. call$0() {
  74464. return this.statement.accept$1(this.$this);
  74465. },
  74466. $signature: 0
  74467. };
  74468. A._EvaluateVisitor__loadModule_closure.prototype = {
  74469. call$0() {
  74470. return this.callback.call$2(this._box_1.builtInModule, false);
  74471. },
  74472. $signature: 0
  74473. };
  74474. A._EvaluateVisitor__loadModule_closure0.prototype = {
  74475. call$0() {
  74476. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  74477. t2 = _this.$this,
  74478. t3 = _this.nodeWithSpan,
  74479. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  74480. stylesheet = _1_0._0;
  74481. importer = _1_0._1;
  74482. t4 = stylesheet.span;
  74483. canonicalUrl = t4.get$sourceUrl(t4);
  74484. if (canonicalUrl != null) {
  74485. t4 = t2._activeModules;
  74486. if (t4.containsKey$1(canonicalUrl)) {
  74487. if (_this.namesInErrors) {
  74488. t1 = canonicalUrl;
  74489. t3 = $.$get$context();
  74490. t1.toString;
  74491. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  74492. } else
  74493. message = string$.Modulel;
  74494. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  74495. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  74496. } else
  74497. t4.$indexSet(0, canonicalUrl, t3);
  74498. }
  74499. t4 = t2._modules.containsKey$1(canonicalUrl);
  74500. oldInDependency = t2._inDependency;
  74501. t2._inDependency = _1_0._2;
  74502. t1.module = null;
  74503. try {
  74504. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  74505. } finally {
  74506. t2._activeModules.remove$1(0, canonicalUrl);
  74507. t2._inDependency = oldInDependency;
  74508. }
  74509. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  74510. },
  74511. $signature: 1
  74512. };
  74513. A._EvaluateVisitor__loadModule__closure.prototype = {
  74514. call$1(previousLoad) {
  74515. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74516. },
  74517. $signature: 83
  74518. };
  74519. A._EvaluateVisitor__loadModule__closure0.prototype = {
  74520. call$0() {
  74521. return this.callback.call$2(this._box_0.module, this.firstLoad);
  74522. },
  74523. $signature: 0
  74524. };
  74525. A._EvaluateVisitor__execute_closure.prototype = {
  74526. call$0() {
  74527. var t3, t4, t5, t6, _this = this,
  74528. t1 = _this.$this,
  74529. oldImporter = t1._importer,
  74530. oldStylesheet = t1.__stylesheet,
  74531. oldRoot = t1.__root,
  74532. oldPreModuleComments = t1._preModuleComments,
  74533. oldParent = t1.__parent,
  74534. oldEndOfImports = t1.__endOfImports,
  74535. oldOutOfOrderImports = t1._outOfOrderImports,
  74536. oldExtensionStore = t1.__extensionStore,
  74537. t2 = t1._atRootExcludingStyleRule,
  74538. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  74539. oldMediaQueries = t1._mediaQueries,
  74540. oldDeclarationName = t1._declarationName,
  74541. oldInUnknownAtRule = t1._inUnknownAtRule,
  74542. oldInKeyframes = t1._inKeyframes,
  74543. oldConfiguration = t1._configuration;
  74544. t1._importer = _this.importer;
  74545. t3 = t1.__stylesheet = _this.stylesheet;
  74546. t4 = t3.span;
  74547. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  74548. t1.__endOfImports = 0;
  74549. t1._outOfOrderImports = null;
  74550. t1.__extensionStore = _this.extensionStore;
  74551. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  74552. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  74553. t6 = _this.configuration;
  74554. if (t6 != null)
  74555. t1._configuration = t6;
  74556. t1.visitStylesheet$1(0, t3);
  74557. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  74558. _this.css.__late_helper$_value = t3;
  74559. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  74560. t1._importer = oldImporter;
  74561. t1.__stylesheet = oldStylesheet;
  74562. t1.__root = oldRoot;
  74563. t1._preModuleComments = oldPreModuleComments;
  74564. t1.__parent = oldParent;
  74565. t1.__endOfImports = oldEndOfImports;
  74566. t1._outOfOrderImports = oldOutOfOrderImports;
  74567. t1.__extensionStore = oldExtensionStore;
  74568. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  74569. t1._mediaQueries = oldMediaQueries;
  74570. t1._declarationName = oldDeclarationName;
  74571. t1._inUnknownAtRule = oldInUnknownAtRule;
  74572. t1._atRootExcludingStyleRule = t2;
  74573. t1._inKeyframes = oldInKeyframes;
  74574. t1._configuration = oldConfiguration;
  74575. },
  74576. $signature: 1
  74577. };
  74578. A._EvaluateVisitor__combineCss_closure.prototype = {
  74579. call$1(module) {
  74580. return module.get$transitivelyContainsCss();
  74581. },
  74582. $signature: 110
  74583. };
  74584. A._EvaluateVisitor__combineCss_closure0.prototype = {
  74585. call$1(target) {
  74586. return !this.selectors.contains$1(0, target);
  74587. },
  74588. $signature: 13
  74589. };
  74590. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  74591. call$1(module) {
  74592. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  74593. if (!_this.seen.add$1(0, module))
  74594. return;
  74595. if (_this.clone)
  74596. module = module.cloneCss$0();
  74597. 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) {
  74598. upstream = t1[_i];
  74599. if (upstream.get$transitivelyContainsCss()) {
  74600. _1_0 = module.get$preModuleComments().$index(0, upstream);
  74601. if (_1_0 != null)
  74602. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  74603. _this.call$1(upstream);
  74604. }
  74605. }
  74606. _this.sorted.addFirst$1(module);
  74607. t1 = module.get$css(module);
  74608. statements = t1.get$children(t1);
  74609. index = _this.$this._indexAfterImports$1(statements);
  74610. t1 = J.getInterceptor$ax(statements);
  74611. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  74612. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  74613. },
  74614. $signature: 295
  74615. };
  74616. A._EvaluateVisitor__extendModules_closure.prototype = {
  74617. call$1(target) {
  74618. return !this.originalSelectors.contains$1(0, target);
  74619. },
  74620. $signature: 13
  74621. };
  74622. A._EvaluateVisitor__extendModules_closure0.prototype = {
  74623. call$0() {
  74624. return A._setArrayType([], type$.JSArray_ExtensionStore);
  74625. },
  74626. $signature: 167
  74627. };
  74628. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  74629. call$0() {
  74630. var t1, t2, t3, _i;
  74631. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74632. t1[_i].accept$1(t3);
  74633. },
  74634. $signature: 1
  74635. };
  74636. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  74637. call$0() {
  74638. var t1, t2, t3, _i;
  74639. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74640. t1[_i].accept$1(t3);
  74641. },
  74642. $signature: 0
  74643. };
  74644. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  74645. call$1(callback) {
  74646. var t1 = this.$this,
  74647. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  74648. t1.__parent = this.newParent;
  74649. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  74650. t1.__parent = t2;
  74651. },
  74652. $signature: 32
  74653. };
  74654. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  74655. call$1(callback) {
  74656. var t1 = this.$this,
  74657. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  74658. t1._atRootExcludingStyleRule = true;
  74659. this.innerScope.call$1(callback);
  74660. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74661. },
  74662. $signature: 32
  74663. };
  74664. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  74665. call$1(callback) {
  74666. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  74667. },
  74668. $signature: 32
  74669. };
  74670. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  74671. call$0() {
  74672. return this.innerScope.call$1(this.callback);
  74673. },
  74674. $signature: 1
  74675. };
  74676. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  74677. call$1(callback) {
  74678. var t1 = this.$this,
  74679. wasInKeyframes = t1._inKeyframes;
  74680. t1._inKeyframes = false;
  74681. this.innerScope.call$1(callback);
  74682. t1._inKeyframes = wasInKeyframes;
  74683. },
  74684. $signature: 32
  74685. };
  74686. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  74687. call$1($parent) {
  74688. return $parent instanceof A.ModifiableCssAtRule;
  74689. },
  74690. $signature: 168
  74691. };
  74692. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  74693. call$1(callback) {
  74694. var t1 = this.$this,
  74695. wasInUnknownAtRule = t1._inUnknownAtRule;
  74696. t1._inUnknownAtRule = false;
  74697. this.innerScope.call$1(callback);
  74698. t1._inUnknownAtRule = wasInUnknownAtRule;
  74699. },
  74700. $signature: 32
  74701. };
  74702. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  74703. call$0() {
  74704. var t1, t2, t3, _i;
  74705. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74706. t1[_i].accept$1(t3);
  74707. return null;
  74708. },
  74709. $signature: 1
  74710. };
  74711. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  74712. call$0() {
  74713. var t1, t2, t3, _i;
  74714. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74715. t1[_i].accept$1(t3);
  74716. },
  74717. $signature: 1
  74718. };
  74719. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  74720. call$1(value) {
  74721. var t1 = this.$this,
  74722. t2 = this.nodeWithSpan;
  74723. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  74724. },
  74725. $signature: 57
  74726. };
  74727. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  74728. call$1(value) {
  74729. return this.$this._setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  74730. },
  74731. $signature: 57
  74732. };
  74733. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  74734. call$0() {
  74735. var _this = this,
  74736. t1 = _this.$this;
  74737. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  74738. },
  74739. $signature: 39
  74740. };
  74741. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  74742. call$1(element) {
  74743. var t1;
  74744. this.setVariables.call$1(element);
  74745. t1 = this.$this;
  74746. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  74747. },
  74748. $signature: 292
  74749. };
  74750. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  74751. call$1(child) {
  74752. return child.accept$1(this.$this);
  74753. },
  74754. $signature: 80
  74755. };
  74756. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  74757. call$1(value) {
  74758. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  74759. },
  74760. $signature: 291
  74761. };
  74762. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  74763. call$0() {
  74764. var t2, t3, _i, _this = this,
  74765. t1 = _this.$this,
  74766. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74767. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  74768. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74769. t2[_i].accept$1(t1);
  74770. else
  74771. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, _this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  74772. },
  74773. $signature: 1
  74774. };
  74775. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  74776. call$0() {
  74777. var t1, t2, t3, _i;
  74778. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74779. t1[_i].accept$1(t3);
  74780. },
  74781. $signature: 1
  74782. };
  74783. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  74784. call$1(node) {
  74785. return node instanceof A.ModifiableCssStyleRule;
  74786. },
  74787. $signature: 7
  74788. };
  74789. A._EvaluateVisitor_visitForRule_closure.prototype = {
  74790. call$0() {
  74791. return this.node.from.accept$1(this.$this).assertNumber$0();
  74792. },
  74793. $signature: 185
  74794. };
  74795. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  74796. call$0() {
  74797. return this.node.to.accept$1(this.$this).assertNumber$0();
  74798. },
  74799. $signature: 185
  74800. };
  74801. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  74802. call$0() {
  74803. return this.fromNumber.assertInt$0();
  74804. },
  74805. $signature: 10
  74806. };
  74807. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  74808. call$0() {
  74809. var t1 = this.fromNumber;
  74810. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74811. },
  74812. $signature: 10
  74813. };
  74814. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  74815. call$0() {
  74816. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  74817. t1 = _this.$this,
  74818. t2 = _this.node,
  74819. nodeWithSpan = t1._expressionNode$1(t2.from);
  74820. 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) {
  74821. t7 = t1._environment;
  74822. t8 = t6.get$numeratorUnits(t6);
  74823. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74824. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  74825. if (_0_0 != null)
  74826. return _0_0;
  74827. }
  74828. return null;
  74829. },
  74830. $signature: 39
  74831. };
  74832. A._EvaluateVisitor_visitForRule__closure.prototype = {
  74833. call$1(child) {
  74834. return child.accept$1(this.$this);
  74835. },
  74836. $signature: 80
  74837. };
  74838. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  74839. call$2(module, firstLoad) {
  74840. if (firstLoad)
  74841. this.$this._registerCommentsForModule$1(module);
  74842. this.$this._environment.forwardModule$2(module, this.node);
  74843. },
  74844. $signature: 79
  74845. };
  74846. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  74847. call$2(module, firstLoad) {
  74848. if (firstLoad)
  74849. this.$this._registerCommentsForModule$1(module);
  74850. this.$this._environment.forwardModule$2(module, this.node);
  74851. },
  74852. $signature: 79
  74853. };
  74854. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  74855. call$0() {
  74856. return A._setArrayType([], type$.JSArray_CssComment);
  74857. },
  74858. $signature: 172
  74859. };
  74860. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  74861. call$1(clause) {
  74862. var t1 = this.$this;
  74863. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74864. },
  74865. $signature: 288
  74866. };
  74867. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  74868. call$0() {
  74869. var t1 = this.$this;
  74870. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  74871. },
  74872. $signature: 39
  74873. };
  74874. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  74875. call$1(child) {
  74876. return child.accept$1(this.$this);
  74877. },
  74878. $signature: 80
  74879. };
  74880. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  74881. call$0() {
  74882. 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 = {};
  74883. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74884. t1 = this.$this;
  74885. t2 = this.$import;
  74886. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  74887. stylesheet = _box_0.stylesheet = _0_0._0;
  74888. importer = _0_0._1;
  74889. _box_0.importer = importer;
  74890. isDependency = _0_0._2;
  74891. _box_0.isDependency = isDependency;
  74892. t3 = stylesheet.span;
  74893. url = t3.get$sourceUrl(t3);
  74894. if (url != null) {
  74895. t3 = t1._activeModules;
  74896. if (t3.containsKey$1(url)) {
  74897. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  74898. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  74899. }
  74900. t3.$indexSet(0, url, t2);
  74901. }
  74902. t2 = stylesheet._uses;
  74903. t3 = type$.UnmodifiableListView_UseRule;
  74904. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  74905. oldImporter = t1._importer;
  74906. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  74907. oldInDependency = t1._inDependency;
  74908. t1._importer = importer;
  74909. t1.__stylesheet = stylesheet;
  74910. t1._inDependency = isDependency;
  74911. t1.visitStylesheet$1(0, stylesheet);
  74912. t1._importer = oldImporter;
  74913. t1.__stylesheet = t2;
  74914. t1._inDependency = oldInDependency;
  74915. t1._activeModules.remove$1(0, url);
  74916. return;
  74917. }
  74918. t2 = new A.UnmodifiableListView(t2, t3);
  74919. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  74920. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74921. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  74922. } else
  74923. loadsUserDefinedModules = true;
  74924. children = A._Cell$();
  74925. t2 = t1._environment;
  74926. t3 = type$.String;
  74927. t4 = type$.Module_Callable;
  74928. t5 = type$.AstNode;
  74929. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  74930. t7 = t2._variables;
  74931. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74932. t8 = t2._variableNodes;
  74933. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74934. t9 = t2._functions;
  74935. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74936. t10 = t2._mixins;
  74937. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74938. 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);
  74939. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  74940. module = environment.toDummyModule$0();
  74941. t1._environment.importForwards$1(module);
  74942. if (loadsUserDefinedModules) {
  74943. if (module.transitivelyContainsCss)
  74944. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  74945. visitor = new A._ImportedCssVisitor(t1);
  74946. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74947. t2.get$current(t2).accept$1(visitor);
  74948. }
  74949. t1._activeModules.remove$1(0, url);
  74950. },
  74951. $signature: 0
  74952. };
  74953. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  74954. call$1(previousLoad) {
  74955. 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));
  74956. },
  74957. $signature: 83
  74958. };
  74959. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  74960. call$1(rule) {
  74961. return rule.url.get$scheme() !== "sass";
  74962. },
  74963. $signature: 173
  74964. };
  74965. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  74966. call$1(rule) {
  74967. return rule.url.get$scheme() !== "sass";
  74968. },
  74969. $signature: 174
  74970. };
  74971. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  74972. call$0() {
  74973. var t7, t8, _this = this,
  74974. t1 = _this.$this,
  74975. oldImporter = t1._importer,
  74976. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  74977. t3 = t1._assertInModule$2(t1.__root, "_root"),
  74978. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  74979. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  74980. oldOutOfOrderImports = t1._outOfOrderImports,
  74981. oldConfiguration = t1._configuration,
  74982. oldInDependency = t1._inDependency,
  74983. t6 = _this._box_0;
  74984. t1._importer = t6.importer;
  74985. t7 = t6.stylesheet;
  74986. t1.__stylesheet = t7;
  74987. t8 = _this.loadsUserDefinedModules;
  74988. if (t8) {
  74989. t7 = A.ModifiableCssStylesheet$(t7.span);
  74990. t1.__root = t7;
  74991. t1.__parent = t1._assertInModule$2(t7, "_root");
  74992. t1.__endOfImports = 0;
  74993. t1._outOfOrderImports = null;
  74994. }
  74995. t1._inDependency = t6.isDependency;
  74996. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74997. if (!t7.get$isEmpty(t7))
  74998. t1._configuration = _this.environment.toImplicitConfiguration$0();
  74999. t1.visitStylesheet$1(0, t6.stylesheet);
  75000. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  75001. _this.children.__late_helper$_value = t6;
  75002. t1._importer = oldImporter;
  75003. t1.__stylesheet = t2;
  75004. if (t8) {
  75005. t1.__root = t3;
  75006. t1.__parent = t4;
  75007. t1.__endOfImports = t5;
  75008. t1._outOfOrderImports = oldOutOfOrderImports;
  75009. }
  75010. t1._configuration = oldConfiguration;
  75011. t1._inDependency = oldInDependency;
  75012. },
  75013. $signature: 1
  75014. };
  75015. A._EvaluateVisitor__applyMixin_closure.prototype = {
  75016. call$0() {
  75017. var _this = this,
  75018. t1 = _this.$this;
  75019. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  75020. },
  75021. $signature: 0
  75022. };
  75023. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  75024. call$0() {
  75025. var _this = this;
  75026. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  75027. },
  75028. $signature: 0
  75029. };
  75030. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  75031. call$0() {
  75032. var _this = this,
  75033. t1 = _this.$this;
  75034. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  75035. },
  75036. $signature: 1
  75037. };
  75038. A._EvaluateVisitor__applyMixin__closure.prototype = {
  75039. call$0() {
  75040. var t1 = this.$this;
  75041. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  75042. },
  75043. $signature: 0
  75044. };
  75045. A._EvaluateVisitor__applyMixin___closure.prototype = {
  75046. call$0() {
  75047. var t1, t2, t3, t4, _i;
  75048. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  75049. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  75050. },
  75051. $signature: 0
  75052. };
  75053. A._EvaluateVisitor__applyMixin____closure.prototype = {
  75054. call$0() {
  75055. return this.statement.accept$1(this.$this);
  75056. },
  75057. $signature: 39
  75058. };
  75059. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  75060. call$0() {
  75061. var t1 = this.node;
  75062. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  75063. },
  75064. $signature: 78
  75065. };
  75066. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  75067. call$1($content) {
  75068. var t1 = this.$this;
  75069. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  75070. },
  75071. $signature: 286
  75072. };
  75073. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  75074. call$0() {
  75075. return this.node.get$spanWithoutContent();
  75076. },
  75077. $signature: 27
  75078. };
  75079. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  75080. call$1(mediaQueries) {
  75081. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  75082. },
  75083. $signature: 77
  75084. };
  75085. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  75086. call$0() {
  75087. var _this = this,
  75088. t1 = _this.$this,
  75089. t2 = _this.mergedQueries;
  75090. if (t2 == null)
  75091. t2 = _this.queries;
  75092. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  75093. },
  75094. $signature: 1
  75095. };
  75096. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  75097. call$0() {
  75098. var t2, t3, _i,
  75099. t1 = this.$this,
  75100. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75101. if (_0_0 != null)
  75102. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  75103. else
  75104. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  75105. t2[_i].accept$1(t1);
  75106. },
  75107. $signature: 1
  75108. };
  75109. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  75110. call$0() {
  75111. var t1, t2, t3, _i;
  75112. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75113. t1[_i].accept$1(t3);
  75114. },
  75115. $signature: 1
  75116. };
  75117. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  75118. call$1(node) {
  75119. var t1;
  75120. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75121. t1 = this.mergedSources;
  75122. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75123. } else
  75124. t1 = true;
  75125. return t1;
  75126. },
  75127. $signature: 7
  75128. };
  75129. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  75130. call$0() {
  75131. var t1, t2, t3, _i;
  75132. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75133. t1[_i].accept$1(t3);
  75134. },
  75135. $signature: 1
  75136. };
  75137. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  75138. call$1(node) {
  75139. return node instanceof A.ModifiableCssStyleRule;
  75140. },
  75141. $signature: 7
  75142. };
  75143. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  75144. call$0() {
  75145. var t1 = this.$this;
  75146. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  75147. },
  75148. $signature: 1
  75149. };
  75150. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  75151. call$0() {
  75152. var t1, t2, t3, _i;
  75153. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75154. t1[_i].accept$1(t3);
  75155. },
  75156. $signature: 1
  75157. };
  75158. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  75159. call$1(node) {
  75160. return node instanceof A.ModifiableCssStyleRule;
  75161. },
  75162. $signature: 7
  75163. };
  75164. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  75165. call$1(child) {
  75166. return child instanceof A.ModifiableCssComment;
  75167. },
  75168. $signature: 7
  75169. };
  75170. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  75171. call$0() {
  75172. var t2, t3, _i,
  75173. t1 = this.$this,
  75174. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75175. if (_0_0 != null)
  75176. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  75177. else
  75178. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  75179. t2[_i].accept$1(t1);
  75180. },
  75181. $signature: 1
  75182. };
  75183. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  75184. call$0() {
  75185. var t1, t2, t3, _i;
  75186. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75187. t1[_i].accept$1(t3);
  75188. },
  75189. $signature: 1
  75190. };
  75191. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  75192. call$1(node) {
  75193. return node instanceof A.ModifiableCssStyleRule;
  75194. },
  75195. $signature: 7
  75196. };
  75197. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  75198. call$0() {
  75199. var t4,
  75200. t1 = this.$this,
  75201. t2 = this._box_0,
  75202. t3 = t2.declaration.name;
  75203. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  75204. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  75205. t2 = t2.declaration.value;
  75206. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  75207. },
  75208. $signature: 26
  75209. };
  75210. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  75211. call$0() {
  75212. var t1 = this.$this._environment,
  75213. t2 = this._box_0.override;
  75214. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  75215. },
  75216. $signature: 1
  75217. };
  75218. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  75219. call$0() {
  75220. var t1 = this.node;
  75221. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  75222. },
  75223. $signature: 39
  75224. };
  75225. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  75226. call$0() {
  75227. var t1 = this.$this,
  75228. t2 = this.node;
  75229. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  75230. },
  75231. $signature: 1
  75232. };
  75233. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  75234. call$2(module, firstLoad) {
  75235. var t1, t2, t3, _0_0, t4, t5, span;
  75236. if (firstLoad)
  75237. this.$this._registerCommentsForModule$1(module);
  75238. t1 = this.$this._environment;
  75239. t2 = this.node;
  75240. t3 = t2.namespace;
  75241. if (t3 == null) {
  75242. t1._globalModules.$indexSet(0, module, t2);
  75243. t1._allModules.push(module);
  75244. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  75245. if (_0_0 != null)
  75246. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  75247. } else {
  75248. t4 = t1._environment$_modules;
  75249. if (t4.containsKey$1(t3)) {
  75250. t5 = t1._namespaceNodes.$index(0, t3);
  75251. span = t5 == null ? null : t5.span;
  75252. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  75253. if (span != null)
  75254. t5.$indexSet(0, span, "original @use");
  75255. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  75256. }
  75257. t4.$indexSet(0, t3, module);
  75258. t1._namespaceNodes.$indexSet(0, t3, t2);
  75259. t1._allModules.push(module);
  75260. }
  75261. },
  75262. $signature: 79
  75263. };
  75264. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  75265. call$0() {
  75266. return this.node.expression.accept$1(this.$this);
  75267. },
  75268. $signature: 36
  75269. };
  75270. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  75271. call$0() {
  75272. var t1, t2, t3, _0_0;
  75273. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  75274. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  75275. if (_0_0 != null)
  75276. return _0_0;
  75277. }
  75278. return null;
  75279. },
  75280. $signature: 39
  75281. };
  75282. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  75283. call$1(child) {
  75284. return child.accept$1(this.$this);
  75285. },
  75286. $signature: 80
  75287. };
  75288. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  75289. call$0() {
  75290. var t1 = this.node,
  75291. t2 = this.$this,
  75292. left = t1.left.accept$1(t2);
  75293. switch (t1.operator) {
  75294. case B.BinaryOperator_wdM:
  75295. t1 = t1.right.accept$1(t2);
  75296. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75297. break;
  75298. case B.BinaryOperator_qNM:
  75299. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  75300. break;
  75301. case B.BinaryOperator_eDt:
  75302. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  75303. break;
  75304. case B.BinaryOperator_g8k:
  75305. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75306. break;
  75307. case B.BinaryOperator_icU:
  75308. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75309. break;
  75310. case B.BinaryOperator_bEa:
  75311. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  75312. break;
  75313. case B.BinaryOperator_oEm:
  75314. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  75315. break;
  75316. case B.BinaryOperator_miq:
  75317. t1 = left.lessThan$1(t1.right.accept$1(t2));
  75318. break;
  75319. case B.BinaryOperator_SPQ:
  75320. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  75321. break;
  75322. case B.BinaryOperator_u15:
  75323. t1 = left.plus$1(t1.right.accept$1(t2));
  75324. break;
  75325. case B.BinaryOperator_SjO:
  75326. t1 = left.minus$1(t1.right.accept$1(t2));
  75327. break;
  75328. case B.BinaryOperator_2No:
  75329. t1 = left.times$1(t1.right.accept$1(t2));
  75330. break;
  75331. case B.BinaryOperator_U77:
  75332. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  75333. break;
  75334. case B.BinaryOperator_KNx:
  75335. t1 = left.modulo$1(t1.right.accept$1(t2));
  75336. break;
  75337. default:
  75338. t1 = null;
  75339. }
  75340. return t1;
  75341. },
  75342. $signature: 36
  75343. };
  75344. A._EvaluateVisitor__slash_recommendation.prototype = {
  75345. call$1(expression) {
  75346. var t1;
  75347. $label0$0: {
  75348. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_U77 === expression.operator) {
  75349. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75350. break $label0$0;
  75351. }
  75352. if (expression instanceof A.ParenthesizedExpression) {
  75353. t1 = expression.expression.toString$0(0);
  75354. break $label0$0;
  75355. }
  75356. t1 = expression.toString$0(0);
  75357. break $label0$0;
  75358. }
  75359. return t1;
  75360. },
  75361. $signature: 125
  75362. };
  75363. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  75364. call$0() {
  75365. var t1 = this.node;
  75366. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  75367. },
  75368. $signature: 39
  75369. };
  75370. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  75371. call$0() {
  75372. var t1, _this = this;
  75373. switch (_this.node.operator) {
  75374. case B.UnaryOperator_cLp:
  75375. t1 = _this.operand.unaryPlus$0();
  75376. break;
  75377. case B.UnaryOperator_AiQ:
  75378. t1 = _this.operand.unaryMinus$0();
  75379. break;
  75380. case B.UnaryOperator_SJr:
  75381. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75382. break;
  75383. case B.UnaryOperator_not_not_not:
  75384. t1 = _this.operand.unaryNot$0();
  75385. break;
  75386. default:
  75387. t1 = null;
  75388. }
  75389. return t1;
  75390. },
  75391. $signature: 36
  75392. };
  75393. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  75394. call$1(expression) {
  75395. return expression.accept$1(this.$this);
  75396. },
  75397. $signature: 269
  75398. };
  75399. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  75400. call$0() {
  75401. var t1 = this.node;
  75402. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  75403. },
  75404. $signature: 78
  75405. };
  75406. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  75407. call$1(argument) {
  75408. return argument.accept$1(new A._IsCalculationSafeVisitor());
  75409. },
  75410. $signature: 116
  75411. };
  75412. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  75413. call$0() {
  75414. var t1 = this.node;
  75415. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75416. },
  75417. $signature: 36
  75418. };
  75419. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  75420. call$1(maxArgs) {
  75421. var t1 = this.node,
  75422. t2 = t1.$arguments.positional.length;
  75423. if (t2 === 0)
  75424. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  75425. else if (maxArgs != null && t2 > maxArgs)
  75426. 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));
  75427. },
  75428. call$0() {
  75429. return this.call$1(null);
  75430. },
  75431. $signature: 101
  75432. };
  75433. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  75434. call$0() {
  75435. var _this = this,
  75436. t1 = _this.$this,
  75437. t2 = _this._box_0,
  75438. t3 = _this.inLegacySassFunction;
  75439. 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);
  75440. },
  75441. $signature: 81
  75442. };
  75443. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  75444. call$0() {
  75445. var t1 = this.node;
  75446. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75447. },
  75448. $signature: 36
  75449. };
  75450. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  75451. call$0() {
  75452. var _this = this,
  75453. t1 = _this.$this,
  75454. t2 = _this.callable;
  75455. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  75456. },
  75457. $signature() {
  75458. return this.V._eval$1("0()");
  75459. }
  75460. };
  75461. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  75462. call$0() {
  75463. var _this = this,
  75464. t1 = _this.$this,
  75465. t2 = _this.V;
  75466. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75467. },
  75468. $signature() {
  75469. return this.V._eval$1("0()");
  75470. }
  75471. };
  75472. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  75473. call$0() {
  75474. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  75475. t1 = _this.$this,
  75476. t2 = _this.evaluated._values,
  75477. t3 = _this.callable.declaration.$arguments,
  75478. t4 = _this.nodeWithSpan;
  75479. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  75480. declaredArguments = t3.$arguments;
  75481. t5 = declaredArguments.length;
  75482. minLength = Math.min(t2[2].length, t5);
  75483. for (i = 0; i < minLength; ++i)
  75484. t1._environment.setLocalVariable$3(declaredArguments[i].name, t2[2][i], t2[3][i]);
  75485. for (i = t2[2].length; i < t5; ++i) {
  75486. argument = declaredArguments[i];
  75487. t6 = t2[0];
  75488. t7 = argument.name;
  75489. value = t6.remove$1(0, t7);
  75490. if (value == null) {
  75491. t6 = argument.defaultValue;
  75492. value = t1._withoutSlash$2(t6.accept$1(t1), t1._expressionNode$1(t6));
  75493. }
  75494. t6 = t1._environment;
  75495. t8 = t2[1].$index(0, t7);
  75496. if (t8 == null) {
  75497. t8 = argument.defaultValue;
  75498. t8.toString;
  75499. t8 = t1._expressionNode$1(t8);
  75500. }
  75501. t6.setLocalVariable$3(t7, value, t8);
  75502. }
  75503. restArgument = t3.restArgument;
  75504. if (restArgument != null) {
  75505. t6 = t2[2];
  75506. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  75507. t5 = t2[0];
  75508. t6 = t2[4];
  75509. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : t6);
  75510. t1._environment.setLocalVariable$3(restArgument, argumentList, t4);
  75511. } else
  75512. argumentList = null;
  75513. result = _this.run.call$0();
  75514. if (argumentList == null)
  75515. return result;
  75516. t5 = t2[0].__js_helper$_length;
  75517. if (t5 === 0)
  75518. return result;
  75519. if (argumentList._wereKeywordsAccessed)
  75520. return result;
  75521. argumentWord = A.pluralize("argument", t5, null);
  75522. t2 = t2[0];
  75523. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  75524. 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));
  75525. },
  75526. $signature() {
  75527. return this.V._eval$1("0()");
  75528. }
  75529. };
  75530. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  75531. call$1($name) {
  75532. return "$" + $name;
  75533. },
  75534. $signature: 5
  75535. };
  75536. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  75537. call$0() {
  75538. var t1, t2, t3, t4, _i, $returnValue;
  75539. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  75540. $returnValue = t2[_i].accept$1(t4);
  75541. if ($returnValue instanceof A.Value)
  75542. return $returnValue;
  75543. }
  75544. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  75545. },
  75546. $signature: 36
  75547. };
  75548. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  75549. call$0() {
  75550. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  75551. },
  75552. $signature: 0
  75553. };
  75554. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  75555. call$0() {
  75556. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75557. },
  75558. $signature: 36
  75559. };
  75560. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  75561. call$1($name) {
  75562. return "$" + $name;
  75563. },
  75564. $signature: 5
  75565. };
  75566. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  75567. call$1(value) {
  75568. return value;
  75569. },
  75570. $signature: 40
  75571. };
  75572. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  75573. call$1(value) {
  75574. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  75575. },
  75576. $signature: 40
  75577. };
  75578. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  75579. call$2(key, value) {
  75580. var _this = this,
  75581. t1 = _this.restNodeForSpan;
  75582. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  75583. _this.namedNodes.$indexSet(0, key, t1);
  75584. },
  75585. $signature: 90
  75586. };
  75587. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  75588. call$1(value) {
  75589. return value;
  75590. },
  75591. $signature: 40
  75592. };
  75593. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  75594. call$1(value) {
  75595. var t1 = this.restArgs;
  75596. return new A.ValueExpression(value, t1.get$span(t1));
  75597. },
  75598. $signature: 55
  75599. };
  75600. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  75601. call$1(value) {
  75602. var t1 = this.restArgs;
  75603. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75604. },
  75605. $signature: 55
  75606. };
  75607. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  75608. call$2(key, value) {
  75609. var _this = this,
  75610. t1 = _this.restArgs;
  75611. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75612. },
  75613. $signature: 90
  75614. };
  75615. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  75616. call$1(value) {
  75617. var t1 = this.keywordRestArgs;
  75618. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75619. },
  75620. $signature: 55
  75621. };
  75622. A._EvaluateVisitor__addRestMap_closure.prototype = {
  75623. call$2(key, value) {
  75624. var t2, _this = this,
  75625. t1 = _this.$this;
  75626. if (key instanceof A.SassString)
  75627. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  75628. else {
  75629. t2 = _this.nodeWithSpan;
  75630. 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)));
  75631. }
  75632. },
  75633. $signature: 84
  75634. };
  75635. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  75636. call$0() {
  75637. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75638. },
  75639. $signature: 0
  75640. };
  75641. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  75642. call$0() {
  75643. var t1, t2, t3, t4;
  75644. 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();) {
  75645. t4 = t1.__internal$_current;
  75646. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75647. }
  75648. },
  75649. $signature: 1
  75650. };
  75651. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  75652. call$1(node) {
  75653. return node instanceof A.ModifiableCssStyleRule;
  75654. },
  75655. $signature: 7
  75656. };
  75657. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  75658. call$0() {
  75659. var t1, t2, t3, t4;
  75660. 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();) {
  75661. t4 = t1.__internal$_current;
  75662. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75663. }
  75664. },
  75665. $signature: 1
  75666. };
  75667. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  75668. call$1(node) {
  75669. return node instanceof A.ModifiableCssStyleRule;
  75670. },
  75671. $signature: 7
  75672. };
  75673. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  75674. call$1(mediaQueries) {
  75675. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  75676. },
  75677. $signature: 77
  75678. };
  75679. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  75680. call$0() {
  75681. var _this = this,
  75682. t1 = _this.$this,
  75683. t2 = _this.mergedQueries;
  75684. if (t2 == null)
  75685. t2 = _this.node.queries;
  75686. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  75687. },
  75688. $signature: 1
  75689. };
  75690. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  75691. call$0() {
  75692. var t2, t3, t4,
  75693. t1 = this.$this,
  75694. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75695. if (_0_0 != null)
  75696. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  75697. else
  75698. 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();) {
  75699. t4 = t2.__internal$_current;
  75700. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75701. }
  75702. },
  75703. $signature: 1
  75704. };
  75705. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  75706. call$0() {
  75707. var t1, t2, t3, t4;
  75708. 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();) {
  75709. t4 = t1.__internal$_current;
  75710. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75711. }
  75712. },
  75713. $signature: 1
  75714. };
  75715. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  75716. call$1(node) {
  75717. var t1;
  75718. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75719. t1 = this.mergedSources;
  75720. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75721. } else
  75722. t1 = true;
  75723. return t1;
  75724. },
  75725. $signature: 7
  75726. };
  75727. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  75728. call$0() {
  75729. var t1 = this.$this;
  75730. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  75731. },
  75732. $signature: 1
  75733. };
  75734. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  75735. call$0() {
  75736. var t1, t2, t3, t4;
  75737. 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();) {
  75738. t4 = t1.__internal$_current;
  75739. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75740. }
  75741. },
  75742. $signature: 1
  75743. };
  75744. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  75745. call$1(node) {
  75746. return node instanceof A.ModifiableCssStyleRule;
  75747. },
  75748. $signature: 7
  75749. };
  75750. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  75751. call$0() {
  75752. var t2, t3, t4,
  75753. t1 = this.$this,
  75754. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75755. if (_0_0 != null)
  75756. t1._withParent$2$2(A.ModifiableCssStyleRule$(_0_0._style_rule$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  75757. else
  75758. 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();) {
  75759. t4 = t2.__internal$_current;
  75760. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75761. }
  75762. },
  75763. $signature: 1
  75764. };
  75765. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  75766. call$0() {
  75767. var t1, t2, t3, t4;
  75768. 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();) {
  75769. t4 = t1.__internal$_current;
  75770. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75771. }
  75772. },
  75773. $signature: 1
  75774. };
  75775. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  75776. call$1(node) {
  75777. return node instanceof A.ModifiableCssStyleRule;
  75778. },
  75779. $signature: 7
  75780. };
  75781. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  75782. call$1(targetLocations) {
  75783. return A.InterpolationMap$(this.interpolation, targetLocations);
  75784. },
  75785. $signature: 180
  75786. };
  75787. A._EvaluateVisitor__serialize_closure.prototype = {
  75788. call$0() {
  75789. return A.serializeValue(this.value, false, this.quote);
  75790. },
  75791. $signature: 26
  75792. };
  75793. A._EvaluateVisitor__expressionNode_closure.prototype = {
  75794. call$0() {
  75795. var t1 = this.expression;
  75796. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  75797. },
  75798. $signature: 181
  75799. };
  75800. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  75801. call$1(number) {
  75802. var before, after, t1,
  75803. _1_0 = number.asSlash;
  75804. $label0$0: {
  75805. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  75806. before = _1_0._0;
  75807. after = _1_0._1;
  75808. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  75809. break $label0$0;
  75810. }
  75811. t1 = A.serializeValue(number, true, true);
  75812. break $label0$0;
  75813. }
  75814. return t1;
  75815. },
  75816. $signature: 182
  75817. };
  75818. A._EvaluateVisitor__stackFrame_closure.prototype = {
  75819. call$1(url) {
  75820. var t1 = this.$this._evaluate$_importCache;
  75821. t1 = t1 == null ? null : t1.humanize$1(url);
  75822. return t1 == null ? url : t1;
  75823. },
  75824. $signature: 43
  75825. };
  75826. A._ImportedCssVisitor.prototype = {
  75827. visitCssAtRule$1(node) {
  75828. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  75829. this._visitor._addChild$2$through(node, t1);
  75830. },
  75831. visitCssComment$1(node) {
  75832. return this._visitor._addChild$1(node);
  75833. },
  75834. visitCssDeclaration$1(node) {
  75835. },
  75836. visitCssImport$1(node) {
  75837. var t2,
  75838. _s13_ = "_endOfImports",
  75839. t1 = this._visitor;
  75840. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  75841. t1._addChild$1(node);
  75842. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  75843. t1._addChild$1(node);
  75844. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  75845. } else {
  75846. t2 = t1._outOfOrderImports;
  75847. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  75848. }
  75849. },
  75850. visitCssKeyframeBlock$1(node) {
  75851. },
  75852. visitCssMediaRule$1(node) {
  75853. var t1 = this._visitor,
  75854. mediaQueries = t1._mediaQueries;
  75855. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  75856. },
  75857. visitCssStyleRule$1(node) {
  75858. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  75859. },
  75860. visitCssStylesheet$1(node) {
  75861. var t1, t2, t3;
  75862. 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();) {
  75863. t3 = t1.__internal$_current;
  75864. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  75865. }
  75866. },
  75867. visitCssSupportsRule$1(node) {
  75868. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  75869. }
  75870. };
  75871. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  75872. call$1(node) {
  75873. return node instanceof A.ModifiableCssStyleRule;
  75874. },
  75875. $signature: 7
  75876. };
  75877. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  75878. call$1(node) {
  75879. var t1;
  75880. if (!(node instanceof A.ModifiableCssStyleRule))
  75881. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  75882. else
  75883. t1 = true;
  75884. return t1;
  75885. },
  75886. $signature: 7
  75887. };
  75888. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  75889. call$1(node) {
  75890. return node instanceof A.ModifiableCssStyleRule;
  75891. },
  75892. $signature: 7
  75893. };
  75894. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  75895. call$1(node) {
  75896. return node instanceof A.ModifiableCssStyleRule;
  75897. },
  75898. $signature: 7
  75899. };
  75900. A._EvaluationContext.prototype = {
  75901. get$currentCallableSpan() {
  75902. var _0_0 = this._visitor._callableNode;
  75903. if (_0_0 != null)
  75904. return _0_0.get$span(_0_0);
  75905. throw A.wrapException(A.StateError$(string$.No_Sasc));
  75906. },
  75907. warn$2(_, message, deprecation) {
  75908. var t1 = this._visitor,
  75909. t2 = t1._importSpan;
  75910. if (t2 == null) {
  75911. t2 = t1._callableNode;
  75912. t2 = t2 == null ? null : t2.get$span(t2);
  75913. }
  75914. if (t2 == null) {
  75915. t2 = this._defaultWarnNodeWithSpan;
  75916. t2 = t2.get$span(t2);
  75917. }
  75918. t1._warn$3(message, t2, deprecation);
  75919. },
  75920. $isEvaluationContext: 1
  75921. };
  75922. A.EveryCssVisitor.prototype = {
  75923. visitCssAtRule$1(node) {
  75924. var t1 = node.children;
  75925. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  75926. },
  75927. visitCssComment$1(node) {
  75928. return false;
  75929. },
  75930. visitCssDeclaration$1(node) {
  75931. return false;
  75932. },
  75933. visitCssImport$1(node) {
  75934. return false;
  75935. },
  75936. visitCssKeyframeBlock$1(node) {
  75937. var t1 = node.children;
  75938. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  75939. },
  75940. visitCssMediaRule$1(node) {
  75941. var t1 = node.children;
  75942. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  75943. },
  75944. visitCssStyleRule$1(node) {
  75945. var t1 = node.children;
  75946. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  75947. },
  75948. visitCssStylesheet$1(node) {
  75949. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  75950. },
  75951. visitCssSupportsRule$1(node) {
  75952. var t1 = node.children;
  75953. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  75954. }
  75955. };
  75956. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  75957. call$1(child) {
  75958. return child.accept$1(this.$this);
  75959. },
  75960. $signature: 7
  75961. };
  75962. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  75963. call$1(child) {
  75964. return child.accept$1(this.$this);
  75965. },
  75966. $signature: 7
  75967. };
  75968. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  75969. call$1(child) {
  75970. return child.accept$1(this.$this);
  75971. },
  75972. $signature: 7
  75973. };
  75974. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  75975. call$1(child) {
  75976. return child.accept$1(this.$this);
  75977. },
  75978. $signature: 7
  75979. };
  75980. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  75981. call$1(child) {
  75982. return child.accept$1(this.$this);
  75983. },
  75984. $signature: 7
  75985. };
  75986. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  75987. call$1(child) {
  75988. return child.accept$1(this.$this);
  75989. },
  75990. $signature: 7
  75991. };
  75992. A._MakeExpressionCalculationSafe.prototype = {
  75993. visitBinaryOperationExpression$1(_, node) {
  75994. var t1, t2, t3, t4;
  75995. if (node.operator === B.BinaryOperator_KNx) {
  75996. t1 = A._setArrayType([node], type$.JSArray_Expression);
  75997. t2 = node.get$span(0);
  75998. t3 = type$.Expression;
  75999. t1 = A.List_List$unmodifiable(t1, t3);
  76000. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  76001. t4 = node.get$span(0);
  76002. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentInvocation(t1, t3, null, null, t2), t4);
  76003. } else
  76004. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  76005. return t1;
  76006. },
  76007. visitInterpolatedFunctionExpression$1(_, node) {
  76008. return node;
  76009. },
  76010. visitUnaryOperationExpression$1(_, node) {
  76011. var t1,
  76012. _0_0 = node.operator;
  76013. $label0$0: {
  76014. if (B.UnaryOperator_cLp === _0_0) {
  76015. t1 = node.operand;
  76016. break $label0$0;
  76017. }
  76018. if (B.UnaryOperator_AiQ === _0_0) {
  76019. t1 = new A.BinaryOperationExpression(B.BinaryOperator_2No, new A.NumberExpression(-1, null, node.span), node.operand, false);
  76020. break $label0$0;
  76021. }
  76022. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  76023. break $label0$0;
  76024. }
  76025. return t1;
  76026. }
  76027. };
  76028. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  76029. A._FindDependenciesVisitor.prototype = {
  76030. visitEachRule$1(_, node) {
  76031. },
  76032. visitForRule$1(_, node) {
  76033. },
  76034. visitIfRule$1(_, node) {
  76035. },
  76036. visitWhileRule$1(_, node) {
  76037. },
  76038. visitUseRule$1(_, node) {
  76039. var t1 = node.url;
  76040. if (t1.get$scheme() !== "sass")
  76041. this._find_dependencies$_uses.add$1(0, t1);
  76042. else if (t1.toString$0(0) === "sass:meta")
  76043. this._metaNamespaces.add$1(0, node.namespace);
  76044. },
  76045. visitForwardRule$1(_, node) {
  76046. var t1 = node.url;
  76047. if (t1.get$scheme() !== "sass")
  76048. this._find_dependencies$_forwards.add$1(0, t1);
  76049. },
  76050. visitImportRule$1(_, node) {
  76051. var t1, t2, t3, _i, $import;
  76052. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  76053. $import = t1[_i];
  76054. if ($import instanceof A.DynamicImport)
  76055. t3.add$1(0, A.Uri_parse($import.urlString));
  76056. }
  76057. },
  76058. visitIncludeRule$1(_, node) {
  76059. var url, _0_0, _0_4_isSet, _0_4, _0_7, t1, _0_40, t2, _0_7_isSet, url0, exception, _null = null;
  76060. if (node.name !== "load-css")
  76061. return;
  76062. if (!this._metaNamespaces.contains$1(0, node.namespace))
  76063. return;
  76064. _0_0 = node.$arguments.positional;
  76065. url = null;
  76066. _0_4_isSet = _0_0.length === 1;
  76067. _0_4 = _null;
  76068. _0_7 = _null;
  76069. t1 = false;
  76070. if (_0_4_isSet) {
  76071. _0_40 = _0_0[0];
  76072. t2 = _0_40;
  76073. _0_4 = t2;
  76074. _0_7_isSet = t2 instanceof A.StringExpression;
  76075. if (_0_7_isSet) {
  76076. type$.StringExpression._as(_0_4);
  76077. _0_7 = _0_4.text.get$asPlain();
  76078. t1 = _0_7;
  76079. t1 = t1 != null;
  76080. }
  76081. } else
  76082. _0_7_isSet = false;
  76083. if (t1) {
  76084. if (_0_7_isSet)
  76085. url0 = _0_7;
  76086. else {
  76087. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  76088. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  76089. url0 = _0_7;
  76090. }
  76091. url = url0 == null ? A._asString(url0) : url0;
  76092. try {
  76093. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  76094. } catch (exception) {
  76095. if (!type$.FormatException._is(A.unwrapException(exception)))
  76096. throw exception;
  76097. }
  76098. }
  76099. }
  76100. };
  76101. A.DependencyReport.prototype = {};
  76102. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  76103. A.RecursiveStatementVisitor.prototype = {
  76104. visitAtRootRule$1(_, node) {
  76105. this.visitChildren$1(node.children);
  76106. },
  76107. visitAtRule$1(_, node) {
  76108. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76109. },
  76110. visitContentBlock$1(_, node) {
  76111. return null;
  76112. },
  76113. visitContentRule$1(_, node) {
  76114. },
  76115. visitDebugRule$1(_, node) {
  76116. },
  76117. visitDeclaration$1(_, node) {
  76118. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76119. },
  76120. visitEachRule$1(_, node) {
  76121. return this.visitChildren$1(node.children);
  76122. },
  76123. visitErrorRule$1(_, node) {
  76124. },
  76125. visitExtendRule$1(_, node) {
  76126. },
  76127. visitForRule$1(_, node) {
  76128. return this.visitChildren$1(node.children);
  76129. },
  76130. visitForwardRule$1(_, node) {
  76131. },
  76132. visitFunctionRule$1(_, node) {
  76133. return null;
  76134. },
  76135. visitIfRule$1(_, node) {
  76136. var t1, t2, _i, t3, t4, _i0, _0_0;
  76137. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76138. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  76139. t3[_i0].accept$1(this);
  76140. _0_0 = node.lastClause;
  76141. if (_0_0 != null)
  76142. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76143. t1[_i].accept$1(this);
  76144. },
  76145. visitImportRule$1(_, node) {
  76146. },
  76147. visitIncludeRule$1(_, node) {
  76148. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  76149. },
  76150. visitLoudComment$1(_, node) {
  76151. },
  76152. visitMediaRule$1(_, node) {
  76153. return this.visitChildren$1(node.children);
  76154. },
  76155. visitMixinRule$1(_, node) {
  76156. return null;
  76157. },
  76158. visitReturnRule$1(_, node) {
  76159. },
  76160. visitSilentComment$1(_, node) {
  76161. },
  76162. visitStyleRule$1(_, node) {
  76163. return this.visitChildren$1(node.children);
  76164. },
  76165. visitStylesheet$1(_, node) {
  76166. return this.visitChildren$1(node.children);
  76167. },
  76168. visitSupportsRule$1(_, node) {
  76169. return this.visitChildren$1(node.children);
  76170. },
  76171. visitUseRule$1(_, node) {
  76172. },
  76173. visitVariableDeclaration$1(_, node) {
  76174. },
  76175. visitWarnRule$1(_, node) {
  76176. },
  76177. visitWhileRule$1(_, node) {
  76178. return this.visitChildren$1(node.children);
  76179. },
  76180. visitChildren$1(children) {
  76181. var t1;
  76182. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  76183. t1.get$current(t1).accept$1(this);
  76184. }
  76185. };
  76186. A.ReplaceExpressionVisitor.prototype = {
  76187. visitBinaryOperationExpression$1(_, node) {
  76188. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  76189. },
  76190. visitBooleanExpression$1(_, node) {
  76191. return node;
  76192. },
  76193. visitColorExpression$1(_, node) {
  76194. return node;
  76195. },
  76196. visitFunctionExpression$1(_, node) {
  76197. var t1 = node.originalName,
  76198. t2 = this.visitArgumentInvocation$1(node.$arguments);
  76199. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  76200. },
  76201. visitInterpolatedFunctionExpression$1(_, node) {
  76202. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  76203. },
  76204. visitIfExpression$1(_, node) {
  76205. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  76206. },
  76207. visitListExpression$1(_, node) {
  76208. var t1 = node.contents;
  76209. 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);
  76210. },
  76211. visitMapExpression$1(_, node) {
  76212. var t2, t3, _i, t4, key, value,
  76213. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  76214. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76215. t4 = t2[_i];
  76216. key = t4._0;
  76217. value = t4._1;
  76218. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  76219. }
  76220. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  76221. },
  76222. visitNullExpression$1(_, node) {
  76223. return node;
  76224. },
  76225. visitNumberExpression$1(_, node) {
  76226. return node;
  76227. },
  76228. visitParenthesizedExpression$1(_, node) {
  76229. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  76230. },
  76231. visitSelectorExpression$1(_, node) {
  76232. return node;
  76233. },
  76234. visitStringExpression$1(_, node) {
  76235. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  76236. },
  76237. visitSupportsExpression$1(_, node) {
  76238. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  76239. },
  76240. visitUnaryOperationExpression$1(_, node) {
  76241. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  76242. },
  76243. visitValueExpression$1(_, node) {
  76244. return node;
  76245. },
  76246. visitVariableExpression$1(_, node) {
  76247. return node;
  76248. },
  76249. visitArgumentInvocation$1(invocation) {
  76250. var t5, t6, _this = this,
  76251. t1 = invocation.positional,
  76252. t2 = type$.String,
  76253. t3 = type$.Expression,
  76254. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  76255. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  76256. t6 = t5.get$current(t5);
  76257. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  76258. }
  76259. t5 = invocation.rest;
  76260. t5 = t5 == null ? null : t5.accept$1(_this);
  76261. t6 = invocation.keywordRest;
  76262. t6 = t6 == null ? null : t6.accept$1(_this);
  76263. 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);
  76264. },
  76265. visitSupportsCondition$1(condition) {
  76266. var _this = this;
  76267. if (condition instanceof A.SupportsOperation)
  76268. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  76269. else if (condition instanceof A.SupportsNegation)
  76270. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  76271. else if (condition instanceof A.SupportsInterpolation)
  76272. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  76273. else if (condition instanceof A.SupportsDeclaration)
  76274. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  76275. else
  76276. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  76277. },
  76278. visitInterpolation$1(interpolation) {
  76279. var t1 = interpolation.contents;
  76280. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  76281. }
  76282. };
  76283. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  76284. call$1(item) {
  76285. return item.accept$1(this.$this);
  76286. },
  76287. $signature: 238
  76288. };
  76289. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  76290. call$1(expression) {
  76291. return expression.accept$1(this.$this);
  76292. },
  76293. $signature: 238
  76294. };
  76295. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  76296. call$1(node) {
  76297. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  76298. },
  76299. $signature: 70
  76300. };
  76301. A.SelectorSearchVisitor.prototype = {
  76302. visitAttributeSelector$1(attribute) {
  76303. return null;
  76304. },
  76305. visitClassSelector$1(klass) {
  76306. return null;
  76307. },
  76308. visitIDSelector$1(id) {
  76309. return null;
  76310. },
  76311. visitParentSelector$1(placeholder) {
  76312. return null;
  76313. },
  76314. visitPlaceholderSelector$1(placeholder) {
  76315. return null;
  76316. },
  76317. visitTypeSelector$1(type) {
  76318. return null;
  76319. },
  76320. visitUniversalSelector$1(universal) {
  76321. return null;
  76322. },
  76323. visitComplexSelector$1(complex) {
  76324. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  76325. },
  76326. visitCompoundSelector$1(compound) {
  76327. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  76328. },
  76329. visitPseudoSelector$1(pseudo) {
  76330. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  76331. },
  76332. visitSelectorList$1(list) {
  76333. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  76334. }
  76335. };
  76336. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  76337. call$1(component) {
  76338. return this.$this.visitCompoundSelector$1(component.selector);
  76339. },
  76340. $signature() {
  76341. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  76342. }
  76343. };
  76344. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  76345. call$1(simple) {
  76346. return simple.accept$1(this.$this);
  76347. },
  76348. $signature() {
  76349. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  76350. }
  76351. };
  76352. A.serialize_closure.prototype = {
  76353. call$1(codeUnit) {
  76354. return codeUnit > 127;
  76355. },
  76356. $signature: 46
  76357. };
  76358. A._SerializeVisitor.prototype = {
  76359. visitCssStylesheet$1(node) {
  76360. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  76361. 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();) {
  76362. previous0 = t1.get$current(t1);
  76363. if (t2)
  76364. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  76365. else
  76366. t7 = false;
  76367. if (t7)
  76368. continue;
  76369. if (previous != null) {
  76370. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  76371. t6.writeCharCode$1(59);
  76372. if (_this._isTrailingComment$2(previous0, previous)) {
  76373. if (t4)
  76374. t6.writeCharCode$1(32);
  76375. } else {
  76376. if (t4)
  76377. t6.write$1(0, "\n");
  76378. if (previous.get$isGroupEnd())
  76379. if (t4)
  76380. t6.write$1(0, "\n");
  76381. }
  76382. }
  76383. previous0.accept$1(_this);
  76384. previous = previous0;
  76385. }
  76386. if (previous != null)
  76387. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  76388. else
  76389. t1 = false;
  76390. if (t1)
  76391. t6.writeCharCode$1(59);
  76392. },
  76393. visitCssComment$1(node) {
  76394. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  76395. },
  76396. visitCssAtRule$1(node) {
  76397. var t1, _this = this;
  76398. _this._writeIndentation$0();
  76399. t1 = _this._serialize$_buffer;
  76400. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  76401. if (!node.isChildless) {
  76402. if (_this._style !== B.OutputStyle_1)
  76403. t1.writeCharCode$1(32);
  76404. _this._serialize$_visitChildren$1(node);
  76405. }
  76406. },
  76407. visitCssMediaRule$1(node) {
  76408. var t1, _this = this;
  76409. _this._writeIndentation$0();
  76410. t1 = _this._serialize$_buffer;
  76411. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  76412. if (_this._style !== B.OutputStyle_1)
  76413. t1.writeCharCode$1(32);
  76414. _this._serialize$_visitChildren$1(node);
  76415. },
  76416. visitCssImport$1(node) {
  76417. this._writeIndentation$0();
  76418. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  76419. },
  76420. _writeImportUrl$1(url) {
  76421. var urlContents, maybeQuote, _this = this;
  76422. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  76423. _this._serialize$_buffer.write$1(0, url);
  76424. return;
  76425. }
  76426. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  76427. maybeQuote = urlContents.charCodeAt(0);
  76428. if (maybeQuote === 39 || maybeQuote === 34)
  76429. _this._serialize$_buffer.write$1(0, urlContents);
  76430. else
  76431. _this._visitQuotedString$1(urlContents);
  76432. },
  76433. visitCssKeyframeBlock$1(node) {
  76434. var t1, _this = this;
  76435. _this._writeIndentation$0();
  76436. t1 = _this._serialize$_buffer;
  76437. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  76438. if (_this._style !== B.OutputStyle_1)
  76439. t1.writeCharCode$1(32);
  76440. _this._serialize$_visitChildren$1(node);
  76441. },
  76442. _visitMediaQuery$1(query) {
  76443. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  76444. _0_0 = query.modifier;
  76445. if (_0_0 != null) {
  76446. t1 = _this._serialize$_buffer;
  76447. t1.write$1(0, _0_0);
  76448. t1.writeCharCode$1(32);
  76449. }
  76450. _1_0 = query.type;
  76451. if (_1_0 != null) {
  76452. t1 = _this._serialize$_buffer;
  76453. t1.write$1(0, _1_0);
  76454. if (query.conditions.length !== 0)
  76455. t1.write$1(0, " and ");
  76456. }
  76457. _2_0 = query.conditions;
  76458. if (_2_0.length === 1)
  76459. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  76460. else
  76461. t1 = false;
  76462. if (t1) {
  76463. t1 = _this._serialize$_buffer;
  76464. t1.write$1(0, "not ");
  76465. condition = B.JSArray_methods.get$first(_2_0);
  76466. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  76467. } else {
  76468. operator = query.conjunction ? "and" : "or";
  76469. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  76470. t2 = _this._serialize$_buffer;
  76471. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  76472. }
  76473. },
  76474. visitCssStyleRule$1(node) {
  76475. var t1, _this = this;
  76476. _this._writeIndentation$0();
  76477. t1 = _this._serialize$_buffer;
  76478. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  76479. if (_this._style !== B.OutputStyle_1)
  76480. t1.writeCharCode$1(32);
  76481. _this._serialize$_visitChildren$1(node);
  76482. },
  76483. visitCssSupportsRule$1(node) {
  76484. var t1, _this = this;
  76485. _this._writeIndentation$0();
  76486. t1 = _this._serialize$_buffer;
  76487. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  76488. if (_this._style !== B.OutputStyle_1)
  76489. t1.writeCharCode$1(32);
  76490. _this._serialize$_visitChildren$1(node);
  76491. },
  76492. visitCssDeclaration$1(node) {
  76493. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76494. _this._writeIndentation$0();
  76495. t1 = node.name;
  76496. _this._serialize$_write$1(t1);
  76497. t2 = _this._serialize$_buffer;
  76498. t2.writeCharCode$1(58);
  76499. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  76500. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  76501. else {
  76502. if (_this._style !== B.OutputStyle_1)
  76503. t2.writeCharCode$1(32);
  76504. try {
  76505. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  76506. } catch (exception) {
  76507. t1 = A.unwrapException(exception);
  76508. if (t1 instanceof A.MultiSpanSassScriptException) {
  76509. error = t1;
  76510. stackTrace = A.getTraceFromException(exception);
  76511. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  76512. } else if (t1 instanceof A.SassScriptException) {
  76513. error0 = t1;
  76514. stackTrace0 = A.getTraceFromException(exception);
  76515. t1 = error0.message;
  76516. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  76517. } else
  76518. throw exception;
  76519. }
  76520. }
  76521. },
  76522. _writeFoldedValue$1(node) {
  76523. var t1, t2, next, t3,
  76524. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  76525. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  76526. next = scanner.readChar$0();
  76527. if (next !== 10) {
  76528. t2.writeCharCode$1(next);
  76529. continue;
  76530. }
  76531. t2.writeCharCode$1(32);
  76532. while (true) {
  76533. t3 = scanner.peekChar$0();
  76534. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  76535. break;
  76536. scanner.readChar$0();
  76537. }
  76538. }
  76539. },
  76540. _writeReindentedValue$1(node) {
  76541. var _0_0, t1, _this = this,
  76542. value = type$.SassString._as(node.value.value)._string$_text;
  76543. $label0$0: {
  76544. _0_0 = _this._minimumIndentation$1(value);
  76545. if (_0_0 == null) {
  76546. _this._serialize$_buffer.write$1(0, value);
  76547. break $label0$0;
  76548. }
  76549. if (-1 === _0_0) {
  76550. t1 = _this._serialize$_buffer;
  76551. t1.write$1(0, A.trimAsciiRight(value, true));
  76552. t1.writeCharCode$1(32);
  76553. break $label0$0;
  76554. }
  76555. t1 = node.name.span;
  76556. t1 = t1.get$start(t1);
  76557. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  76558. }
  76559. },
  76560. _minimumIndentation$1(text) {
  76561. var character, t2, min, next, min0,
  76562. scanner = A.LineScanner$(text),
  76563. t1 = scanner.string.length;
  76564. while (true) {
  76565. if (scanner._string_scanner$_position !== t1) {
  76566. character = scanner.super$StringScanner$readChar();
  76567. scanner._adjustLineAndColumn$1(character);
  76568. t2 = character !== 10;
  76569. } else
  76570. t2 = false;
  76571. if (!t2)
  76572. break;
  76573. }
  76574. if (scanner._string_scanner$_position === t1)
  76575. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  76576. for (min = null; scanner._string_scanner$_position !== t1;) {
  76577. for (; scanner._string_scanner$_position !== t1;) {
  76578. next = scanner.peekChar$0();
  76579. if (next !== 32 && next !== 9)
  76580. break;
  76581. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  76582. }
  76583. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  76584. continue;
  76585. min0 = scanner._line_scanner$_column;
  76586. min = min == null ? min0 : Math.min(min, min0);
  76587. while (true) {
  76588. if (scanner._string_scanner$_position !== t1) {
  76589. character = scanner.super$StringScanner$readChar();
  76590. scanner._adjustLineAndColumn$1(character);
  76591. t2 = character !== 10;
  76592. } else
  76593. t2 = false;
  76594. if (!t2)
  76595. break;
  76596. }
  76597. }
  76598. return min == null ? -1 : min;
  76599. },
  76600. _writeWithIndent$2(text, minimumIndentation) {
  76601. var t1, t2, t3, character, lineStart, newlines, end,
  76602. scanner = A.LineScanner$(text);
  76603. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  76604. character = scanner.super$StringScanner$readChar();
  76605. scanner._adjustLineAndColumn$1(character);
  76606. if (character === 10)
  76607. break;
  76608. t3.writeCharCode$1(character);
  76609. }
  76610. for (; true;) {
  76611. lineStart = scanner._string_scanner$_position;
  76612. for (newlines = 1; true;) {
  76613. if (scanner._string_scanner$_position === t2) {
  76614. t3.writeCharCode$1(32);
  76615. return;
  76616. }
  76617. $label0$2: {
  76618. character = scanner.super$StringScanner$readChar();
  76619. scanner._adjustLineAndColumn$1(character);
  76620. if (32 === character || 9 === character)
  76621. continue;
  76622. if (10 === character) {
  76623. lineStart = scanner._string_scanner$_position;
  76624. ++newlines;
  76625. break $label0$2;
  76626. }
  76627. break;
  76628. }
  76629. }
  76630. this._writeTimes$2(10, newlines);
  76631. this._writeIndentation$0();
  76632. end = scanner._string_scanner$_position;
  76633. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  76634. for (; true;) {
  76635. if (scanner._string_scanner$_position === t2)
  76636. return;
  76637. character = scanner.super$StringScanner$readChar();
  76638. scanner._adjustLineAndColumn$1(character);
  76639. if (character === 10)
  76640. break;
  76641. t3.writeCharCode$1(character);
  76642. }
  76643. }
  76644. },
  76645. visitCalculation$1(value) {
  76646. var t2, _this = this,
  76647. t1 = _this._serialize$_buffer;
  76648. t1.write$1(0, value.name);
  76649. t1.writeCharCode$1(40);
  76650. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  76651. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  76652. t1.writeCharCode$1(41);
  76653. },
  76654. _writeCalculationValue$1(value) {
  76655. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  76656. $label1$1: {
  76657. _2_4_isSet = value instanceof A.SassNumber;
  76658. if (_2_4_isSet) {
  76659. _2_4 = value.get$hasComplexUnits();
  76660. t1 = _2_4 && !_this._inspect;
  76661. } else {
  76662. _2_4 = _null;
  76663. t1 = false;
  76664. }
  76665. if (t1)
  76666. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  76667. if (_2_4_isSet && !isFinite(value._number$_value)) {
  76668. $label0$0: {
  76669. _0_0 = value._number$_value;
  76670. if (1 / 0 === _0_0) {
  76671. _this._serialize$_buffer.write$1(0, "infinity");
  76672. break $label0$0;
  76673. }
  76674. if (-1 / 0 === _0_0) {
  76675. _this._serialize$_buffer.write$1(0, "-infinity");
  76676. break $label0$0;
  76677. }
  76678. if (isNaN(_0_0))
  76679. _this._serialize$_buffer.write$1(0, "NaN");
  76680. }
  76681. t1 = J.getInterceptor$x(value);
  76682. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  76683. break $label1$1;
  76684. }
  76685. if (_2_4_isSet)
  76686. t1 = _2_4;
  76687. else
  76688. t1 = false;
  76689. if (t1) {
  76690. _this._writeNumber$1(value._number$_value);
  76691. t1 = J.getInterceptor$x(value);
  76692. _1_0 = t1.get$numeratorUnits(value);
  76693. if (_1_0.length >= 1) {
  76694. first = _1_0[0];
  76695. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  76696. _this._serialize$_buffer.write$1(0, first);
  76697. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  76698. } else
  76699. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  76700. break $label1$1;
  76701. }
  76702. if (value instanceof A.Value) {
  76703. value.accept$1(_this);
  76704. break $label1$1;
  76705. }
  76706. t1 = value instanceof A.CalculationOperation;
  76707. left = _null;
  76708. right = _null;
  76709. if (t1) {
  76710. operator = value._operator;
  76711. left = value._left;
  76712. right = value._right;
  76713. right = right;
  76714. } else
  76715. operator = _null;
  76716. if (t1) {
  76717. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  76718. if (parenthesizeLeft)
  76719. _this._serialize$_buffer.writeCharCode$1(40);
  76720. _this._writeCalculationValue$1(left);
  76721. if (parenthesizeLeft)
  76722. _this._serialize$_buffer.writeCharCode$1(41);
  76723. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  76724. if (operatorWhitespace)
  76725. _this._serialize$_buffer.writeCharCode$1(32);
  76726. t1 = _this._serialize$_buffer;
  76727. t1.write$1(0, operator.operator);
  76728. if (operatorWhitespace)
  76729. t1.writeCharCode$1(32);
  76730. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  76731. parenthesizeRight = false;
  76732. if (operator === B.CalculationOperator_Qf1) {
  76733. if (right instanceof A.SassNumber)
  76734. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  76735. else
  76736. t2 = parenthesizeRight;
  76737. parenthesizeRight = t2;
  76738. }
  76739. } else
  76740. parenthesizeRight = true;
  76741. if (parenthesizeRight)
  76742. t1.writeCharCode$1(40);
  76743. _this._writeCalculationValue$1(right);
  76744. if (parenthesizeRight)
  76745. t1.writeCharCode$1(41);
  76746. }
  76747. }
  76748. },
  76749. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  76750. var t1, t2, t3, t4;
  76751. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  76752. t4 = t1.get$current(t1);
  76753. if (t3)
  76754. t2.writeCharCode$1(32);
  76755. t2.writeCharCode$1(42);
  76756. if (t3)
  76757. t2.writeCharCode$1(32);
  76758. t2.writeCharCode$1(49);
  76759. t2.write$1(0, t4);
  76760. }
  76761. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  76762. t4 = t1.get$current(t1);
  76763. if (t3)
  76764. t2.writeCharCode$1(32);
  76765. t2.writeCharCode$1(47);
  76766. if (t3)
  76767. t2.writeCharCode$1(32);
  76768. t2.writeCharCode$1(49);
  76769. t2.write$1(0, t4);
  76770. }
  76771. },
  76772. _parenthesizeCalculationRhs$2(outer, right) {
  76773. var t1;
  76774. $label0$0: {
  76775. if (B.CalculationOperator_Qf1 === outer) {
  76776. t1 = true;
  76777. break $label0$0;
  76778. }
  76779. if (B.CalculationOperator_g2q === outer) {
  76780. t1 = false;
  76781. break $label0$0;
  76782. }
  76783. t1 = right === B.CalculationOperator_g2q || right === B.CalculationOperator_CxF;
  76784. break $label0$0;
  76785. }
  76786. return t1;
  76787. },
  76788. visitColor$1(value) {
  76789. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  76790. if (_this._style === B.OutputStyle_1)
  76791. if (!A.fuzzyEquals(value._alpha, 1))
  76792. _this._writeRgb$1(value);
  76793. else {
  76794. hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
  76795. _0_0 = $.$get$namesByColor().$index(0, value);
  76796. if (_0_0 != null) {
  76797. t1 = _0_0.length <= hexLength;
  76798. $name = _0_0;
  76799. } else {
  76800. $name = null;
  76801. t1 = false;
  76802. }
  76803. if (t1)
  76804. _this._serialize$_buffer.write$1(0, $name);
  76805. else {
  76806. t1 = _this._serialize$_buffer;
  76807. if (_this._canUseShortHex$1(value)) {
  76808. t1.writeCharCode$1(35);
  76809. t1.writeCharCode$1(A.hexCharFor(value.get$red(0) & 15));
  76810. t1.writeCharCode$1(A.hexCharFor(value.get$green(0) & 15));
  76811. t1.writeCharCode$1(A.hexCharFor(value.get$blue(0) & 15));
  76812. } else {
  76813. t1.writeCharCode$1(35);
  76814. _this._writeHexComponent$1(value.get$red(0));
  76815. _this._writeHexComponent$1(value.get$green(0));
  76816. _this._writeHexComponent$1(value.get$blue(0));
  76817. }
  76818. }
  76819. }
  76820. else {
  76821. _1_0 = value.format;
  76822. if (_1_0 != null)
  76823. $label0$0: {
  76824. if (B._ColorFormatEnum_rgbFunction === _1_0) {
  76825. _this._writeRgb$1(value);
  76826. break $label0$0;
  76827. }
  76828. if (B._ColorFormatEnum_hslFunction === _1_0) {
  76829. t1 = value._alpha;
  76830. opaque = A.fuzzyEquals(t1, 1);
  76831. t2 = _this._serialize$_buffer;
  76832. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  76833. _this._writeNumber$1(value.get$hue(0));
  76834. t2.write$1(0, ", ");
  76835. _this._writeNumber$1(value.get$saturation(0));
  76836. t2.writeCharCode$1(37);
  76837. t2.write$1(0, ", ");
  76838. _this._writeNumber$1(value.get$lightness(0));
  76839. t2.writeCharCode$1(37);
  76840. if (!opaque) {
  76841. t2.write$1(0, ", ");
  76842. _this._writeNumber$1(t1);
  76843. }
  76844. t2.writeCharCode$1(41);
  76845. break $label0$0;
  76846. }
  76847. if (_1_0 instanceof A.SpanColorFormat) {
  76848. _this._serialize$_buffer.write$1(0, _1_0._color$_span.get$text());
  76849. break $label0$0;
  76850. }
  76851. }
  76852. else {
  76853. _3_0 = $.$get$namesByColor().$index(0, value);
  76854. if (_3_0 != null) {
  76855. t1 = !A.fuzzyEquals(value._alpha, 0);
  76856. $name = _3_0;
  76857. } else {
  76858. $name = null;
  76859. t1 = false;
  76860. }
  76861. if (t1)
  76862. _this._serialize$_buffer.write$1(0, $name);
  76863. else if (A.fuzzyEquals(value._alpha, 1)) {
  76864. _this._serialize$_buffer.writeCharCode$1(35);
  76865. _this._writeHexComponent$1(value.get$red(0));
  76866. _this._writeHexComponent$1(value.get$green(0));
  76867. _this._writeHexComponent$1(value.get$blue(0));
  76868. } else
  76869. _this._writeRgb$1(value);
  76870. }
  76871. }
  76872. },
  76873. _writeRgb$1(value) {
  76874. var t3,
  76875. t1 = value._alpha,
  76876. opaque = A.fuzzyEquals(t1, 1),
  76877. t2 = this._serialize$_buffer;
  76878. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  76879. t2.write$1(0, value.get$red(0));
  76880. t3 = this._style === B.OutputStyle_1;
  76881. t2.write$1(0, t3 ? "," : ", ");
  76882. t2.write$1(0, value.get$green(0));
  76883. t2.write$1(0, t3 ? "," : ", ");
  76884. t2.write$1(0, value.get$blue(0));
  76885. if (!opaque) {
  76886. t2.write$1(0, t3 ? "," : ", ");
  76887. this._writeNumber$1(t1);
  76888. }
  76889. t2.writeCharCode$1(41);
  76890. },
  76891. _canUseShortHex$1(color) {
  76892. var t1 = color.get$red(0),
  76893. t2 = false;
  76894. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76895. t1 = color.get$green(0);
  76896. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76897. t1 = color.get$blue(0);
  76898. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  76899. } else
  76900. t1 = t2;
  76901. } else
  76902. t1 = t2;
  76903. return t1;
  76904. },
  76905. _writeHexComponent$1(color) {
  76906. var t1 = this._serialize$_buffer;
  76907. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  76908. t1.writeCharCode$1(A.hexCharFor(color & 15));
  76909. },
  76910. visitList$1(value) {
  76911. var t2, singleton, t3, t4, t5, _this = this,
  76912. t1 = value._hasBrackets;
  76913. if (t1)
  76914. _this._serialize$_buffer.writeCharCode$1(91);
  76915. else if (value._list$_contents.length === 0) {
  76916. if (!_this._inspect)
  76917. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  76918. _this._serialize$_buffer.write$1(0, "()");
  76919. return;
  76920. }
  76921. t2 = _this._inspect;
  76922. singleton = false;
  76923. if (t2)
  76924. if (value._list$_contents.length === 1) {
  76925. t3 = value._separator;
  76926. t3 = t3 === B.ListSeparator_ECn || t3 === B.ListSeparator_cQA;
  76927. singleton = t3;
  76928. }
  76929. if (singleton && !t1)
  76930. _this._serialize$_buffer.writeCharCode$1(40);
  76931. t3 = value._list$_contents;
  76932. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  76933. t4 = value._separator;
  76934. t5 = _this._separatorString$1(t4);
  76935. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  76936. if (singleton) {
  76937. t2 = _this._serialize$_buffer;
  76938. t2.write$1(0, t4.separator);
  76939. if (!t1)
  76940. t2.writeCharCode$1(41);
  76941. }
  76942. if (t1)
  76943. _this._serialize$_buffer.writeCharCode$1(93);
  76944. },
  76945. _separatorString$1(separator) {
  76946. var t1;
  76947. $label0$0: {
  76948. if (B.ListSeparator_ECn === separator) {
  76949. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  76950. break $label0$0;
  76951. }
  76952. if (B.ListSeparator_cQA === separator) {
  76953. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  76954. break $label0$0;
  76955. }
  76956. if (B.ListSeparator_nbm === separator) {
  76957. t1 = " ";
  76958. break $label0$0;
  76959. }
  76960. t1 = "";
  76961. break $label0$0;
  76962. }
  76963. return t1;
  76964. },
  76965. _elementNeedsParens$2(separator, value) {
  76966. var t1;
  76967. $label1$1: {
  76968. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  76969. $label0$0: {
  76970. if (B.ListSeparator_ECn === separator) {
  76971. t1 = value._separator === B.ListSeparator_ECn;
  76972. break $label0$0;
  76973. }
  76974. if (B.ListSeparator_cQA === separator) {
  76975. t1 = value._separator;
  76976. t1 = t1 === B.ListSeparator_ECn || t1 === B.ListSeparator_cQA;
  76977. break $label0$0;
  76978. }
  76979. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  76980. break $label0$0;
  76981. }
  76982. break $label1$1;
  76983. }
  76984. t1 = false;
  76985. break $label1$1;
  76986. }
  76987. return t1;
  76988. },
  76989. visitMap$1(map) {
  76990. var t1, t2, _this = this;
  76991. if (!_this._inspect)
  76992. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  76993. t1 = _this._serialize$_buffer;
  76994. t1.writeCharCode$1(40);
  76995. t2 = map._map$_contents;
  76996. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  76997. t1.writeCharCode$1(41);
  76998. },
  76999. _writeMapElement$1(value) {
  77000. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_ECn && !value._hasBrackets;
  77001. if (needsParens)
  77002. this._serialize$_buffer.writeCharCode$1(40);
  77003. value.accept$1(this);
  77004. if (needsParens)
  77005. this._serialize$_buffer.writeCharCode$1(41);
  77006. },
  77007. visitNumber$1(value) {
  77008. var before, after, t1, _1_0, _this = this,
  77009. _0_0 = value.asSlash;
  77010. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  77011. before = _0_0._0;
  77012. after = _0_0._1;
  77013. _this.visitNumber$1(before);
  77014. _this._serialize$_buffer.writeCharCode$1(47);
  77015. _this.visitNumber$1(after);
  77016. return;
  77017. }
  77018. t1 = value._number$_value;
  77019. if (!isFinite(t1)) {
  77020. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  77021. return;
  77022. }
  77023. if (value.get$hasComplexUnits()) {
  77024. if (!_this._inspect)
  77025. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  77026. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  77027. } else {
  77028. _this._writeNumber$1(t1);
  77029. _1_0 = value.get$numeratorUnits(value);
  77030. if (_1_0.length === 1)
  77031. _this._serialize$_buffer.write$1(0, _1_0[0]);
  77032. }
  77033. },
  77034. _writeNumber$1(number) {
  77035. var text, _this = this,
  77036. _0_0 = A.fuzzyAsInt(number);
  77037. if (_0_0 != null) {
  77038. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  77039. return;
  77040. }
  77041. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  77042. if (text.length < 12) {
  77043. if (_this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48)
  77044. text = B.JSString_methods.substring$1(text, 1);
  77045. _this._serialize$_buffer.write$1(0, text);
  77046. return;
  77047. }
  77048. _this._writeRounded$1(text);
  77049. },
  77050. _removeExponent$1(text) {
  77051. var buffer, t2, t3, additionalZeroes,
  77052. negative = text.charCodeAt(0) === 45,
  77053. exponent = A._Cell$(),
  77054. t1 = text.length,
  77055. i = 0;
  77056. while (true) {
  77057. if (!(i < t1)) {
  77058. buffer = null;
  77059. break;
  77060. }
  77061. c$0: {
  77062. if (text.charCodeAt(i) !== 101)
  77063. break c$0;
  77064. buffer = new A.StringBuffer("");
  77065. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  77066. if (negative) {
  77067. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  77068. buffer._contents = t2;
  77069. if (i > 3)
  77070. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  77071. } else if (i > 2)
  77072. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  77073. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  77074. break;
  77075. }
  77076. ++i;
  77077. }
  77078. if (buffer == null)
  77079. return text;
  77080. if (exponent._readLocal$0() > 0) {
  77081. t1 = exponent._readLocal$0();
  77082. t2 = buffer._contents;
  77083. t3 = negative ? 1 : 0;
  77084. additionalZeroes = t1 - (t2.length - 1 - t3);
  77085. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  77086. t1 = A.Primitives_stringFromCharCode(48);
  77087. t1 = buffer._contents += t1;
  77088. }
  77089. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77090. } else {
  77091. negative = text.charCodeAt(0) === 45;
  77092. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  77093. i = -1;
  77094. while (true) {
  77095. t2 = exponent.__late_helper$_value;
  77096. if (t2 === exponent)
  77097. A.throwExpression(A.LateError$localNI(""));
  77098. if (!(i > t2))
  77099. break;
  77100. t1 += A.Primitives_stringFromCharCode(48);
  77101. --i;
  77102. }
  77103. if (negative) {
  77104. t2 = buffer._contents;
  77105. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  77106. } else
  77107. t2 = buffer;
  77108. t2 = t1 + A.S(t2);
  77109. return t2.charCodeAt(0) == 0 ? t2 : t2;
  77110. }
  77111. },
  77112. _writeRounded$1(text) {
  77113. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  77114. if (B.JSString_methods.endsWith$1(text, ".0")) {
  77115. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  77116. return;
  77117. }
  77118. t1 = text.length;
  77119. digits = new Uint8Array(t1 + 1);
  77120. negative = text.charCodeAt(0) === 45;
  77121. textIndex = negative ? 1 : 0;
  77122. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  77123. if (textIndex === t1) {
  77124. _this._serialize$_buffer.write$1(0, text);
  77125. return;
  77126. }
  77127. textIndex0 = textIndex + 1;
  77128. codeUnit = text.charCodeAt(textIndex);
  77129. if (codeUnit === 46) {
  77130. textIndex = textIndex0;
  77131. break;
  77132. }
  77133. digitsIndex0 = digitsIndex + 1;
  77134. digits[digitsIndex] = codeUnit - 48;
  77135. }
  77136. indexAfterPrecision = textIndex + 10;
  77137. if (indexAfterPrecision >= t1) {
  77138. _this._serialize$_buffer.write$1(0, text);
  77139. return;
  77140. }
  77141. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  77142. digitsIndex1 = digitsIndex0 + 1;
  77143. textIndex0 = textIndex + 1;
  77144. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  77145. }
  77146. if (text.charCodeAt(textIndex) - 48 >= 5)
  77147. for (; true; digitsIndex0 = digitsIndex1) {
  77148. digitsIndex1 = digitsIndex0 - 1;
  77149. newDigit = digits[digitsIndex1] + 1;
  77150. digits[digitsIndex1] = newDigit;
  77151. if (newDigit !== 10)
  77152. break;
  77153. }
  77154. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  77155. digits[digitsIndex0] = 0;
  77156. while (true) {
  77157. t1 = digitsIndex0 > digitsIndex;
  77158. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  77159. break;
  77160. --digitsIndex0;
  77161. }
  77162. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  77163. _this._serialize$_buffer.writeCharCode$1(48);
  77164. return;
  77165. }
  77166. if (negative)
  77167. _this._serialize$_buffer.writeCharCode$1(45);
  77168. if (digits[0] === 0)
  77169. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  77170. else
  77171. writtenIndex = 0;
  77172. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  77173. t2.writeCharCode$1(48 + digits[writtenIndex]);
  77174. if (t1) {
  77175. t2.writeCharCode$1(46);
  77176. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  77177. t2.writeCharCode$1(48 + digits[writtenIndex]);
  77178. }
  77179. },
  77180. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  77181. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  77182. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  77183. if (forceDoubleQuote)
  77184. buffer.writeCharCode$1(34);
  77185. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  77186. char = string.charCodeAt(i);
  77187. _1_2 = 39 === char;
  77188. if (_1_2 && forceDoubleQuote) {
  77189. buffer.writeCharCode$1(39);
  77190. continue;
  77191. }
  77192. if (_1_2 && includesDoubleQuote) {
  77193. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  77194. return;
  77195. }
  77196. if (_1_2) {
  77197. buffer.writeCharCode$1(39);
  77198. includesSingleQuote = true;
  77199. continue;
  77200. }
  77201. _1_4 = 34 === char;
  77202. if (_1_4 && forceDoubleQuote) {
  77203. buffer.writeCharCode$1(92);
  77204. buffer.writeCharCode$1(34);
  77205. continue;
  77206. }
  77207. if (_1_4 && includesSingleQuote) {
  77208. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  77209. return;
  77210. }
  77211. if (_1_4) {
  77212. buffer.writeCharCode$1(34);
  77213. includesDoubleQuote = true;
  77214. continue;
  77215. }
  77216. 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) {
  77217. _this._writeEscape$4(buffer, char, string, i);
  77218. continue;
  77219. }
  77220. if (92 === char) {
  77221. buffer.writeCharCode$1(92);
  77222. buffer.writeCharCode$1(92);
  77223. continue;
  77224. }
  77225. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  77226. if (_0_0 != null)
  77227. i = _0_0;
  77228. else
  77229. buffer.writeCharCode$1(char);
  77230. }
  77231. if (forceDoubleQuote)
  77232. buffer.writeCharCode$1(34);
  77233. else {
  77234. quote = includesDoubleQuote ? 39 : 34;
  77235. t1 = _this._serialize$_buffer;
  77236. t1.writeCharCode$1(quote);
  77237. t1.write$1(0, buffer);
  77238. t1.writeCharCode$1(quote);
  77239. }
  77240. },
  77241. _visitQuotedString$1(string) {
  77242. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  77243. },
  77244. _visitUnquotedString$1(string) {
  77245. var t1, t2, afterNewline, i, _1_0, _0_0;
  77246. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  77247. _1_0 = string.charCodeAt(i);
  77248. if (10 === _1_0) {
  77249. t2.writeCharCode$1(32);
  77250. afterNewline = true;
  77251. continue;
  77252. }
  77253. if (32 === _1_0) {
  77254. if (!afterNewline)
  77255. t2.writeCharCode$1(32);
  77256. continue;
  77257. }
  77258. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  77259. if (_0_0 != null)
  77260. i = _0_0;
  77261. else
  77262. t2.writeCharCode$1(_1_0);
  77263. afterNewline = false;
  77264. }
  77265. },
  77266. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  77267. var t1;
  77268. if (this._style === B.OutputStyle_1)
  77269. return null;
  77270. if (codeUnit >= 57344 && codeUnit <= 63743) {
  77271. this._writeEscape$4(buffer, codeUnit, string, i);
  77272. return i;
  77273. }
  77274. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  77275. t1 = i + 1;
  77276. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  77277. return t1;
  77278. }
  77279. return null;
  77280. },
  77281. _writeEscape$4(buffer, character, string, i) {
  77282. var t1, next;
  77283. buffer.writeCharCode$1(92);
  77284. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  77285. t1 = i + 1;
  77286. if (string.length === t1)
  77287. return;
  77288. next = string.charCodeAt(t1);
  77289. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  77290. buffer.writeCharCode$1(32);
  77291. },
  77292. visitAttributeSelector$1(attribute) {
  77293. var _0_0, t2,
  77294. t1 = this._serialize$_buffer;
  77295. t1.writeCharCode$1(91);
  77296. t1.write$1(0, attribute.name);
  77297. _0_0 = attribute.value;
  77298. if (_0_0 != null) {
  77299. t1.write$1(0, attribute.op);
  77300. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  77301. t1.write$1(0, _0_0);
  77302. t2 = attribute.modifier;
  77303. if (t2 != null)
  77304. t1.writeCharCode$1(32);
  77305. } else {
  77306. this._visitQuotedString$1(_0_0);
  77307. t2 = attribute.modifier;
  77308. if (t2 != null)
  77309. if (this._style !== B.OutputStyle_1)
  77310. t1.writeCharCode$1(32);
  77311. }
  77312. A.NullableExtension_andThen(t2, t1.get$write(t1));
  77313. }
  77314. t1.writeCharCode$1(93);
  77315. },
  77316. visitClassSelector$1(klass) {
  77317. var t1 = this._serialize$_buffer;
  77318. t1.writeCharCode$1(46);
  77319. t1.write$1(0, klass.name);
  77320. },
  77321. visitComplexSelector$1(complex) {
  77322. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  77323. t1 = complex.leadingCombinators;
  77324. _this._writeCombinators$1(t1);
  77325. if (t1.length >= 1 && complex.components.length >= 1)
  77326. if (_this._style !== B.OutputStyle_1)
  77327. _this._serialize$_buffer.writeCharCode$1(32);
  77328. 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) {
  77329. component = t1[i];
  77330. _this.visitCompoundSelector$1(component.selector);
  77331. t7 = component.combinators;
  77332. t8 = t7.length === 0;
  77333. if (!t8)
  77334. if (t6)
  77335. t4.writeCharCode$1(32);
  77336. t9 = t5 ? "" : " ";
  77337. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  77338. if (i !== t3)
  77339. t7 = !t5 || t8;
  77340. else
  77341. t7 = false;
  77342. if (t7)
  77343. t4.writeCharCode$1(32);
  77344. }
  77345. },
  77346. _writeCombinators$1(combinators) {
  77347. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  77348. t2 = this._serialize$_buffer;
  77349. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  77350. },
  77351. visitCompoundSelector$1(compound) {
  77352. var t2, t3, _i,
  77353. t1 = this._serialize$_buffer,
  77354. start = t1.get$length(t1);
  77355. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77356. t2[_i].accept$1(this);
  77357. if (t1.get$length(t1) === start)
  77358. t1.writeCharCode$1(42);
  77359. },
  77360. visitIDSelector$1(id) {
  77361. var t1 = this._serialize$_buffer;
  77362. t1.writeCharCode$1(35);
  77363. t1.write$1(0, id.name);
  77364. },
  77365. visitSelectorList$1(list) {
  77366. var t1, t2, t3, first, t4, _this = this,
  77367. complexes = list.components;
  77368. 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();) {
  77369. t4 = t1.get$current(t1);
  77370. if (first)
  77371. first = false;
  77372. else {
  77373. t3.writeCharCode$1(44);
  77374. if (t4.lineBreak) {
  77375. if (t2)
  77376. t3.write$1(0, "\n");
  77377. _this._writeIndentation$0();
  77378. } else if (t2)
  77379. t3.writeCharCode$1(32);
  77380. }
  77381. _this.visitComplexSelector$1(t4);
  77382. }
  77383. },
  77384. visitParentSelector$1($parent) {
  77385. var t1 = this._serialize$_buffer;
  77386. t1.writeCharCode$1(38);
  77387. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  77388. },
  77389. visitPlaceholderSelector$1(placeholder) {
  77390. var t1 = this._serialize$_buffer;
  77391. t1.writeCharCode$1(37);
  77392. t1.write$1(0, placeholder.name);
  77393. },
  77394. visitPseudoSelector$1(pseudo) {
  77395. var _0_4, t3,
  77396. t1 = pseudo.name,
  77397. t2 = false;
  77398. if ("not" === t1) {
  77399. _0_4 = pseudo.selector;
  77400. if (_0_4 instanceof A.SelectorList)
  77401. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  77402. }
  77403. if (t2)
  77404. return;
  77405. t2 = this._serialize$_buffer;
  77406. t2.writeCharCode$1(58);
  77407. if (!pseudo.isSyntacticClass)
  77408. t2.writeCharCode$1(58);
  77409. t2.write$1(0, t1);
  77410. t1 = pseudo.argument;
  77411. t3 = t1 == null;
  77412. if (t3 && pseudo.selector == null)
  77413. return;
  77414. t2.writeCharCode$1(40);
  77415. if (!t3) {
  77416. t2.write$1(0, t1);
  77417. if (pseudo.selector != null)
  77418. t2.writeCharCode$1(32);
  77419. }
  77420. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  77421. t2.writeCharCode$1(41);
  77422. },
  77423. visitTypeSelector$1(type) {
  77424. this._serialize$_buffer.write$1(0, type.name);
  77425. },
  77426. visitUniversalSelector$1(universal) {
  77427. var t2,
  77428. t1 = universal.namespace;
  77429. if (t1 != null) {
  77430. t2 = this._serialize$_buffer;
  77431. t2.write$1(0, t1);
  77432. t2.writeCharCode$1(124);
  77433. }
  77434. this._serialize$_buffer.writeCharCode$1(42);
  77435. },
  77436. _serialize$_write$1(value) {
  77437. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  77438. },
  77439. _serialize$_visitChildren$1($parent) {
  77440. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  77441. t1 = _this._serialize$_buffer;
  77442. t1.writeCharCode$1(123);
  77443. 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();) {
  77444. t8 = t2.__internal$_current;
  77445. previous0 = t8 == null ? t3._as(t8) : t8;
  77446. if (t7)
  77447. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  77448. else
  77449. t8 = false;
  77450. if (t8)
  77451. continue;
  77452. t8 = previous == null;
  77453. t9 = t8 ? null : t6.call$1(previous);
  77454. if (t9 == null ? false : t9)
  77455. t1.writeCharCode$1(59);
  77456. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  77457. if (t5)
  77458. t1.writeCharCode$1(32);
  77459. savedIndentation = _this._indentation;
  77460. _this._indentation = 0;
  77461. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  77462. _this._indentation = savedIndentation;
  77463. } else {
  77464. if (t5)
  77465. t1.write$1(0, "\n");
  77466. ++_this._indentation;
  77467. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  77468. --_this._indentation;
  77469. }
  77470. prePrevious = previous;
  77471. previous = previous0;
  77472. }
  77473. if (previous != null) {
  77474. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  77475. t1.writeCharCode$1(59);
  77476. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  77477. if (t5)
  77478. t1.writeCharCode$1(32);
  77479. } else {
  77480. _this._writeLineFeed$0();
  77481. _this._writeIndentation$0();
  77482. }
  77483. }
  77484. t1.writeCharCode$1(125);
  77485. },
  77486. _requiresSemicolon$1(node) {
  77487. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  77488. },
  77489. _isTrailingComment$2(node, previous) {
  77490. var t1, t2, t3, searchFrom, endOffset, t4, span;
  77491. if (this._style === B.OutputStyle_1)
  77492. return false;
  77493. if (!(node instanceof A.ModifiableCssComment))
  77494. return false;
  77495. t1 = node.span;
  77496. t2 = t1.get$sourceUrl(t1);
  77497. t3 = previous.get$span(previous);
  77498. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  77499. return false;
  77500. t2 = previous.get$span(previous);
  77501. 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)) {
  77502. t1 = t1.get$start(t1);
  77503. t1 = t1.file.getLine$1(t1.offset);
  77504. t2 = previous.get$span(previous);
  77505. t2 = t2.get$end(t2);
  77506. return t1 === t2.file.getLine$1(t2.offset);
  77507. }
  77508. t2 = t1.get$start(t1);
  77509. t3 = previous.get$span(previous);
  77510. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  77511. if (searchFrom < 0)
  77512. return false;
  77513. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  77514. t2 = previous.get$span(previous);
  77515. t2 = t2.get$file(t2);
  77516. t3 = previous.get$span(previous);
  77517. t3 = t3.get$start(t3);
  77518. t4 = previous.get$span(previous);
  77519. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  77520. t1 = t1.get$start(t1);
  77521. t1 = t1.file.getLine$1(t1.offset);
  77522. t4 = A.FileLocation$_(span.file, span._end);
  77523. return t1 === t4.file.getLine$1(t4.offset);
  77524. },
  77525. _writeLineFeed$0() {
  77526. if (this._style !== B.OutputStyle_1)
  77527. this._serialize$_buffer.write$1(0, "\n");
  77528. },
  77529. _writeIndentation$0() {
  77530. var _this = this;
  77531. if (_this._style === B.OutputStyle_1)
  77532. return;
  77533. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  77534. },
  77535. _writeTimes$2(char, times) {
  77536. var t1, i;
  77537. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  77538. t1.writeCharCode$1(char);
  77539. },
  77540. _writeBetween$1$3(iterable, text, callback) {
  77541. var t1, t2, first, value;
  77542. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  77543. value = t1.get$current(t1);
  77544. if (first)
  77545. first = false;
  77546. else
  77547. t2.write$1(0, text);
  77548. callback.call$1(value);
  77549. }
  77550. },
  77551. _writeBetween$3(iterable, text, callback) {
  77552. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  77553. }
  77554. };
  77555. A._SerializeVisitor_visitCssComment_closure.prototype = {
  77556. call$0() {
  77557. var t2, t3, _0_0, minimumIndentation,
  77558. t1 = this.$this;
  77559. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  77560. return;
  77561. t2 = this.node;
  77562. t3 = t2.text;
  77563. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  77564. return;
  77565. _0_0 = t1._minimumIndentation$1(t3);
  77566. if (_0_0 != null) {
  77567. t2 = t2.span;
  77568. t2 = t2.get$start(t2);
  77569. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  77570. t1._writeIndentation$0();
  77571. t1._writeWithIndent$2(t3, minimumIndentation);
  77572. } else {
  77573. t1._writeIndentation$0();
  77574. t1._serialize$_buffer.write$1(0, t3);
  77575. }
  77576. },
  77577. $signature: 1
  77578. };
  77579. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  77580. call$0() {
  77581. var t3, _0_0,
  77582. t1 = this.$this,
  77583. t2 = t1._serialize$_buffer;
  77584. t2.writeCharCode$1(64);
  77585. t3 = this.node;
  77586. t1._serialize$_write$1(t3.name);
  77587. _0_0 = t3.value;
  77588. if (_0_0 != null) {
  77589. t2.writeCharCode$1(32);
  77590. t1._serialize$_write$1(_0_0);
  77591. }
  77592. },
  77593. $signature: 1
  77594. };
  77595. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  77596. call$0() {
  77597. var t3, firstQuery, t4, t5,
  77598. t1 = this.$this,
  77599. t2 = t1._serialize$_buffer;
  77600. t2.write$1(0, "@media");
  77601. t3 = this.node.queries;
  77602. firstQuery = B.JSArray_methods.get$first(t3);
  77603. t4 = t1._style === B.OutputStyle_1;
  77604. t5 = true;
  77605. if (t4)
  77606. if (firstQuery.modifier == null)
  77607. if (firstQuery.type == null) {
  77608. t5 = firstQuery.conditions;
  77609. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  77610. }
  77611. if (t5)
  77612. t2.writeCharCode$1(32);
  77613. t2 = t4 ? "," : ", ";
  77614. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  77615. },
  77616. $signature: 1
  77617. };
  77618. A._SerializeVisitor_visitCssImport_closure.prototype = {
  77619. call$0() {
  77620. var t3, t4, _0_0,
  77621. t1 = this.$this,
  77622. t2 = t1._serialize$_buffer;
  77623. t2.write$1(0, "@import");
  77624. t3 = t1._style !== B.OutputStyle_1;
  77625. if (t3)
  77626. t2.writeCharCode$1(32);
  77627. t4 = this.node;
  77628. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  77629. _0_0 = t4.modifiers;
  77630. if (_0_0 != null) {
  77631. if (t3)
  77632. t2.writeCharCode$1(32);
  77633. t2.write$1(0, _0_0);
  77634. }
  77635. },
  77636. $signature: 1
  77637. };
  77638. A._SerializeVisitor_visitCssImport__closure.prototype = {
  77639. call$0() {
  77640. return this.$this._writeImportUrl$1(this.node.url.value);
  77641. },
  77642. $signature: 0
  77643. };
  77644. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  77645. call$0() {
  77646. var t1 = this.$this,
  77647. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  77648. t3 = t1._serialize$_buffer;
  77649. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  77650. },
  77651. $signature: 0
  77652. };
  77653. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  77654. call$0() {
  77655. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  77656. },
  77657. $signature: 0
  77658. };
  77659. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  77660. call$0() {
  77661. var t1 = this.$this,
  77662. t2 = t1._serialize$_buffer;
  77663. t2.write$1(0, "@supports");
  77664. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  77665. t2.writeCharCode$1(32);
  77666. t1._serialize$_write$1(this.node.condition);
  77667. },
  77668. $signature: 1
  77669. };
  77670. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  77671. call$0() {
  77672. var t1 = this.$this,
  77673. t2 = this.node;
  77674. if (t1._style === B.OutputStyle_1)
  77675. t1._writeFoldedValue$1(t2);
  77676. else
  77677. t1._writeReindentedValue$1(t2);
  77678. },
  77679. $signature: 1
  77680. };
  77681. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  77682. call$0() {
  77683. return this.node.value.value.accept$1(this.$this);
  77684. },
  77685. $signature: 0
  77686. };
  77687. A._SerializeVisitor_visitList_closure.prototype = {
  77688. call$1(element) {
  77689. return !element.get$isBlank();
  77690. },
  77691. $signature: 72
  77692. };
  77693. A._SerializeVisitor_visitList_closure0.prototype = {
  77694. call$1(element) {
  77695. var t1 = this.$this,
  77696. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  77697. if (needsParens)
  77698. t1._serialize$_buffer.writeCharCode$1(40);
  77699. element.accept$1(t1);
  77700. if (needsParens)
  77701. t1._serialize$_buffer.writeCharCode$1(41);
  77702. },
  77703. $signature: 57
  77704. };
  77705. A._SerializeVisitor_visitList_closure1.prototype = {
  77706. call$1(element) {
  77707. element.accept$1(this.$this);
  77708. },
  77709. $signature: 57
  77710. };
  77711. A._SerializeVisitor_visitMap_closure.prototype = {
  77712. call$1(entry) {
  77713. var t1 = this.$this;
  77714. t1._writeMapElement$1(entry.key);
  77715. t1._serialize$_buffer.write$1(0, ": ");
  77716. t1._writeMapElement$1(entry.value);
  77717. },
  77718. $signature: 273
  77719. };
  77720. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  77721. call$1(complex) {
  77722. return !complex.accept$1(B._IsInvisibleVisitor_true);
  77723. },
  77724. $signature: 17
  77725. };
  77726. A._SerializeVisitor__write_closure.prototype = {
  77727. call$0() {
  77728. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  77729. },
  77730. $signature: 0
  77731. };
  77732. A._SerializeVisitor__visitChildren_closure.prototype = {
  77733. call$0() {
  77734. return this.child.accept$1(this.$this);
  77735. },
  77736. $signature: 0
  77737. };
  77738. A._SerializeVisitor__visitChildren_closure0.prototype = {
  77739. call$0() {
  77740. this.child.accept$1(this.$this);
  77741. },
  77742. $signature: 0
  77743. };
  77744. A.OutputStyle.prototype = {
  77745. _enumToString$0() {
  77746. return "OutputStyle." + this._name;
  77747. }
  77748. };
  77749. A.LineFeed.prototype = {
  77750. _enumToString$0() {
  77751. return "LineFeed." + this._name;
  77752. },
  77753. toString$0(_) {
  77754. return "lf";
  77755. }
  77756. };
  77757. A.StatementSearchVisitor.prototype = {
  77758. visitAtRootRule$1(_, node) {
  77759. return this.visitChildren$1(node.children);
  77760. },
  77761. visitAtRule$1(_, node) {
  77762. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77763. },
  77764. visitContentBlock$1(_, node) {
  77765. return this.visitChildren$1(node.children);
  77766. },
  77767. visitContentRule$1(_, node) {
  77768. return null;
  77769. },
  77770. visitDebugRule$1(_, node) {
  77771. return null;
  77772. },
  77773. visitDeclaration$1(_, node) {
  77774. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77775. },
  77776. visitEachRule$1(_, node) {
  77777. return this.visitChildren$1(node.children);
  77778. },
  77779. visitErrorRule$1(_, node) {
  77780. return null;
  77781. },
  77782. visitExtendRule$1(_, node) {
  77783. return null;
  77784. },
  77785. visitForRule$1(_, node) {
  77786. return this.visitChildren$1(node.children);
  77787. },
  77788. visitForwardRule$1(_, node) {
  77789. return null;
  77790. },
  77791. visitFunctionRule$1(_, node) {
  77792. return this.visitChildren$1(node.children);
  77793. },
  77794. visitIfRule$1(_, node) {
  77795. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  77796. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  77797. },
  77798. visitImportRule$1(_, node) {
  77799. return null;
  77800. },
  77801. visitIncludeRule$1(_, node) {
  77802. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  77803. },
  77804. visitLoudComment$1(_, node) {
  77805. return null;
  77806. },
  77807. visitMediaRule$1(_, node) {
  77808. return this.visitChildren$1(node.children);
  77809. },
  77810. visitMixinRule$1(_, node) {
  77811. return this.visitChildren$1(node.children);
  77812. },
  77813. visitReturnRule$1(_, node) {
  77814. return null;
  77815. },
  77816. visitSilentComment$1(_, node) {
  77817. return null;
  77818. },
  77819. visitStyleRule$1(_, node) {
  77820. return this.visitChildren$1(node.children);
  77821. },
  77822. visitStylesheet$1(_, node) {
  77823. return this.visitChildren$1(node.children);
  77824. },
  77825. visitSupportsRule$1(_, node) {
  77826. return this.visitChildren$1(node.children);
  77827. },
  77828. visitUseRule$1(_, node) {
  77829. return null;
  77830. },
  77831. visitVariableDeclaration$1(_, node) {
  77832. return null;
  77833. },
  77834. visitWarnRule$1(_, node) {
  77835. return null;
  77836. },
  77837. visitWhileRule$1(_, node) {
  77838. return this.visitChildren$1(node.children);
  77839. },
  77840. visitChildren$1(children) {
  77841. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  77842. }
  77843. };
  77844. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  77845. call$1(clause) {
  77846. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  77847. },
  77848. $signature() {
  77849. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  77850. }
  77851. };
  77852. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  77853. call$1(child) {
  77854. return child.accept$1(this.$this);
  77855. },
  77856. $signature() {
  77857. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77858. }
  77859. };
  77860. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  77861. call$1(lastClause) {
  77862. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  77863. },
  77864. $signature() {
  77865. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  77866. }
  77867. };
  77868. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  77869. call$1(child) {
  77870. return child.accept$1(this.$this);
  77871. },
  77872. $signature() {
  77873. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77874. }
  77875. };
  77876. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  77877. call$1(child) {
  77878. return child.accept$1(this.$this);
  77879. },
  77880. $signature() {
  77881. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77882. }
  77883. };
  77884. A.Entry.prototype = {
  77885. compareTo$1(_, other) {
  77886. var t1, t2,
  77887. res = this.target.compareTo$1(0, other.target);
  77888. if (res !== 0)
  77889. return res;
  77890. t1 = this.source;
  77891. t2 = other.source;
  77892. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  77893. if (res !== 0)
  77894. return res;
  77895. return t1.compareTo$1(0, t2);
  77896. },
  77897. $isComparable: 1
  77898. };
  77899. A.Mapping.prototype = {};
  77900. A.SingleMapping.prototype = {
  77901. toJson$1$includeSourceContents(includeSourceContents) {
  77902. 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,
  77903. buff = new A.StringBuffer("");
  77904. 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) {
  77905. entry = t1[_i];
  77906. nextLine = entry.line;
  77907. if (nextLine > line) {
  77908. for (i = line; i < nextLine; ++i)
  77909. buff._contents += ";";
  77910. line = nextLine;
  77911. column = 0;
  77912. first = true;
  77913. }
  77914. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  77915. t4 = t3.get$current(t3);
  77916. if (!first)
  77917. buff._contents += ",";
  77918. column0 = t4.column;
  77919. t5 = A.encodeVlq(column0 - column);
  77920. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  77921. buff._contents = t5;
  77922. newUrlId = t4.sourceUrlId;
  77923. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  77924. buff._contents = t5;
  77925. srcLine0 = t4.sourceLine;
  77926. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  77927. buff._contents = t5;
  77928. srcColumn0 = t4.sourceColumn;
  77929. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  77930. buff._contents = t5;
  77931. srcNameId0 = t4.sourceNameId;
  77932. if (srcNameId0 == null) {
  77933. srcUrlId = newUrlId;
  77934. srcColumn = srcColumn0;
  77935. srcLine = srcLine0;
  77936. continue;
  77937. }
  77938. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  77939. srcNameId = srcNameId0;
  77940. srcUrlId = newUrlId;
  77941. srcColumn = srcColumn0;
  77942. srcLine = srcLine0;
  77943. }
  77944. }
  77945. t1 = _this.sourceRoot;
  77946. if (t1 == null)
  77947. t1 = "";
  77948. t2 = buff._contents;
  77949. 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);
  77950. t1 = _this.targetUrl;
  77951. if (t1 != null)
  77952. result.$indexSet(0, "file", t1);
  77953. if (includeSourceContents) {
  77954. t1 = _this.files;
  77955. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  77956. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  77957. }
  77958. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  77959. return result;
  77960. },
  77961. toJson$0() {
  77962. return this.toJson$1$includeSourceContents(false);
  77963. },
  77964. toString$0(_) {
  77965. var _this = this,
  77966. 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) + "]";
  77967. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77968. }
  77969. };
  77970. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  77971. call$0() {
  77972. return this.urls.__js_helper$_length;
  77973. },
  77974. $signature: 10
  77975. };
  77976. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  77977. call$0() {
  77978. return this.sourceEntry.source.file;
  77979. },
  77980. $signature: 274
  77981. };
  77982. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  77983. call$1(i) {
  77984. return this.files.$index(0, i);
  77985. },
  77986. $signature: 275
  77987. };
  77988. A.SingleMapping_toJson_closure.prototype = {
  77989. call$1(file) {
  77990. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  77991. },
  77992. $signature: 276
  77993. };
  77994. A.SingleMapping_toJson_closure0.prototype = {
  77995. call$2($name, value) {
  77996. this.result.$indexSet(0, $name, value);
  77997. return value;
  77998. },
  77999. $signature: 134
  78000. };
  78001. A.TargetLineEntry.prototype = {
  78002. toString$0(_) {
  78003. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  78004. }
  78005. };
  78006. A.TargetEntry.prototype = {
  78007. toString$0(_) {
  78008. var _this = this;
  78009. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  78010. }
  78011. };
  78012. A.SourceFile.prototype = {
  78013. get$length(_) {
  78014. return this._decodedChars.length;
  78015. },
  78016. get$lines() {
  78017. return this._lineStarts.length;
  78018. },
  78019. SourceFile$decoded$2$url(decodedChars, url) {
  78020. var t1, t2, t3, i, c, j;
  78021. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  78022. c = t1[i];
  78023. if (c === 13) {
  78024. j = i + 1;
  78025. if (j >= t2 || t1[j] !== 10)
  78026. c = 10;
  78027. }
  78028. if (c === 10)
  78029. t3.push(i + 1);
  78030. }
  78031. },
  78032. span$2(_, start, end) {
  78033. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  78034. },
  78035. span$1(_, start) {
  78036. return this.span$2(0, start, null);
  78037. },
  78038. getLine$1(offset) {
  78039. var t1, _this = this;
  78040. if (offset < 0)
  78041. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  78042. else if (offset > _this._decodedChars.length)
  78043. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  78044. t1 = _this._lineStarts;
  78045. if (offset < B.JSArray_methods.get$first(t1))
  78046. return -1;
  78047. if (offset >= B.JSArray_methods.get$last(t1))
  78048. return t1.length - 1;
  78049. if (_this._isNearCachedLine$1(offset)) {
  78050. t1 = _this._cachedLine;
  78051. t1.toString;
  78052. return t1;
  78053. }
  78054. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  78055. },
  78056. _isNearCachedLine$1(offset) {
  78057. var t2, t3,
  78058. t1 = this._cachedLine;
  78059. if (t1 == null)
  78060. return false;
  78061. t2 = this._lineStarts;
  78062. if (offset < t2[t1])
  78063. return false;
  78064. t3 = t2.length;
  78065. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  78066. return true;
  78067. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  78068. this._cachedLine = t1 + 1;
  78069. return true;
  78070. }
  78071. return false;
  78072. },
  78073. _binarySearch$1(offset) {
  78074. var min, half,
  78075. t1 = this._lineStarts,
  78076. max = t1.length - 1;
  78077. for (min = 0; min < max;) {
  78078. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  78079. if (t1[half] > offset)
  78080. max = half;
  78081. else
  78082. min = half + 1;
  78083. }
  78084. return max;
  78085. },
  78086. getColumn$1(offset) {
  78087. var line, lineStart, _this = this;
  78088. if (offset < 0)
  78089. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  78090. else if (offset > _this._decodedChars.length)
  78091. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  78092. line = _this.getLine$1(offset);
  78093. lineStart = _this._lineStarts[line];
  78094. if (lineStart > offset)
  78095. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  78096. return offset - lineStart;
  78097. },
  78098. getOffset$1(line) {
  78099. var t1, t2, result, t3;
  78100. if (line < 0)
  78101. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  78102. else {
  78103. t1 = this._lineStarts;
  78104. t2 = t1.length;
  78105. if (line >= t2)
  78106. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  78107. }
  78108. result = t1[line];
  78109. if (result <= this._decodedChars.length) {
  78110. t3 = line + 1;
  78111. t1 = t3 < t2 && result >= t1[t3];
  78112. } else
  78113. t1 = true;
  78114. if (t1)
  78115. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  78116. return result;
  78117. }
  78118. };
  78119. A.FileLocation.prototype = {
  78120. get$sourceUrl(_) {
  78121. return this.file.url;
  78122. },
  78123. get$line() {
  78124. return this.file.getLine$1(this.offset);
  78125. },
  78126. get$column() {
  78127. return this.file.getColumn$1(this.offset);
  78128. },
  78129. FileLocation$_$2(file, offset) {
  78130. var t2,
  78131. t1 = this.offset;
  78132. if (t1 < 0)
  78133. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  78134. else {
  78135. t2 = this.file;
  78136. if (t1 > t2._decodedChars.length)
  78137. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  78138. }
  78139. },
  78140. pointSpan$0() {
  78141. var t1 = this.offset;
  78142. return A._FileSpan$(this.file, t1, t1);
  78143. },
  78144. get$offset() {
  78145. return this.offset;
  78146. }
  78147. };
  78148. A._FileSpan.prototype = {
  78149. get$sourceUrl(_) {
  78150. return this.file.url;
  78151. },
  78152. get$length(_) {
  78153. return this._end - this._file$_start;
  78154. },
  78155. get$start(_) {
  78156. return A.FileLocation$_(this.file, this._file$_start);
  78157. },
  78158. get$end(_) {
  78159. return A.FileLocation$_(this.file, this._end);
  78160. },
  78161. get$text() {
  78162. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  78163. },
  78164. get$context(_) {
  78165. var _this = this,
  78166. t1 = _this.file,
  78167. endOffset = _this._end,
  78168. endLine = t1.getLine$1(endOffset);
  78169. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  78170. if (endOffset - _this._file$_start === 0)
  78171. 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);
  78172. } else
  78173. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  78174. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  78175. },
  78176. _FileSpan$3(file, _start, _end) {
  78177. var t3,
  78178. t1 = this._end,
  78179. t2 = this._file$_start;
  78180. if (t1 < t2)
  78181. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  78182. else {
  78183. t3 = this.file;
  78184. if (t1 > t3._decodedChars.length)
  78185. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  78186. else if (t2 < 0)
  78187. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  78188. }
  78189. },
  78190. compareTo$1(_, other) {
  78191. var result;
  78192. if (!(other instanceof A._FileSpan))
  78193. return this.super$SourceSpanMixin$compareTo(0, other);
  78194. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  78195. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  78196. },
  78197. $eq(_, other) {
  78198. var _this = this;
  78199. if (other == null)
  78200. return false;
  78201. if (!type$.FileSpan._is(other))
  78202. return _this.super$SourceSpanMixin$$eq(0, other);
  78203. if (!(other instanceof A._FileSpan))
  78204. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  78205. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  78206. },
  78207. get$hashCode(_) {
  78208. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  78209. },
  78210. expand$1(_, other) {
  78211. var t2, t3, _this = this,
  78212. t1 = _this.file;
  78213. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  78214. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78215. t2 = _this._file$_start;
  78216. t3 = _this._end;
  78217. if (other instanceof A._FileSpan)
  78218. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  78219. else
  78220. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  78221. },
  78222. $isFileSpan: 1,
  78223. $isSourceSpanWithContext: 1,
  78224. get$file(receiver) {
  78225. return this.file;
  78226. }
  78227. };
  78228. A.Highlighter.prototype = {
  78229. highlight$0() {
  78230. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  78231. t1 = _this._lines;
  78232. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  78233. t2 = _this._maxMultilineSpans;
  78234. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  78235. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  78236. line = t1[i];
  78237. if (i > 0) {
  78238. lastLine = t1[i - 1];
  78239. t5 = lastLine.url;
  78240. t6 = line.url;
  78241. if (!J.$eq$(t5, t6)) {
  78242. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78243. t3._contents += "\n";
  78244. _this._writeFileStart$1(t6);
  78245. } else if (lastLine.number + 1 !== line.number) {
  78246. _this._writeSidebar$1$text("...");
  78247. t3._contents += "\n";
  78248. }
  78249. }
  78250. 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();) {
  78251. t10 = t7.__internal$_current;
  78252. if (t10 == null)
  78253. t10 = t6._as(t10);
  78254. t11 = t10.span;
  78255. 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()))) {
  78256. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  78257. if (index < 0)
  78258. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  78259. highlightsByColumn[index] = t10;
  78260. }
  78261. }
  78262. _this._writeSidebar$1$line(t8);
  78263. t3._contents += " ";
  78264. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  78265. if (t2)
  78266. t3._contents += " ";
  78267. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  78268. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  78269. t6 = primary != null;
  78270. if (t6) {
  78271. t7 = primary.span;
  78272. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  78273. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  78274. } else
  78275. _this._writeText$1(t9);
  78276. t3._contents += "\n";
  78277. if (t6)
  78278. _this._writeIndicator$3(line, primary, highlightsByColumn);
  78279. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  78280. highlight = t5[_i];
  78281. if (highlight.isPrimary)
  78282. continue;
  78283. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  78284. }
  78285. }
  78286. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78287. t1 = t3._contents;
  78288. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78289. },
  78290. _writeFileStart$1(url) {
  78291. var _this = this,
  78292. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  78293. t2 = $._glyphs;
  78294. if (t1)
  78295. _this._writeSidebar$1$end(t2.get$downEnd());
  78296. else {
  78297. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  78298. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  78299. t1 = _this._highlighter$_buffer;
  78300. t2 = " " + $.$get$context().prettyUri$1(url);
  78301. t1._contents += t2;
  78302. }
  78303. _this._highlighter$_buffer._contents += "\n";
  78304. },
  78305. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  78306. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  78307. _box_0.openedOnThisLine = false;
  78308. _box_0.openedOnThisLineColor = null;
  78309. t1 = current == null;
  78310. if (t1)
  78311. currentColor = null;
  78312. else
  78313. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78314. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  78315. highlight = highlightsByColumn[_i];
  78316. t6 = highlight == null;
  78317. if (t6)
  78318. startLine = null;
  78319. else {
  78320. t7 = highlight.span;
  78321. startLine = t7.get$start(t7).get$line();
  78322. }
  78323. if (t6)
  78324. endLine = null;
  78325. else {
  78326. t7 = highlight.span;
  78327. endLine = t7.get$end(t7).get$line();
  78328. }
  78329. if (t1 && highlight === current) {
  78330. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  78331. foundCurrent = true;
  78332. } else if (foundCurrent)
  78333. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  78334. else if (t6)
  78335. if (_box_0.openedOnThisLine)
  78336. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  78337. else
  78338. t5._contents += " ";
  78339. else {
  78340. t6 = highlight.isPrimary ? t4 : t3;
  78341. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  78342. }
  78343. }
  78344. },
  78345. _writeMultilineHighlights$2(line, highlightsByColumn) {
  78346. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  78347. },
  78348. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  78349. var _this = this;
  78350. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  78351. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  78352. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  78353. },
  78354. _writeIndicator$3(line, highlight, highlightsByColumn) {
  78355. var t2, coversWholeLine, _this = this,
  78356. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  78357. t1 = highlight.span;
  78358. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  78359. _this._writeSidebar$0();
  78360. t1 = _this._highlighter$_buffer;
  78361. t1._contents += " ";
  78362. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78363. if (highlightsByColumn.length !== 0)
  78364. t1._contents += " ";
  78365. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  78366. } else {
  78367. t2 = line.number;
  78368. if (t1.get$start(t1).get$line() === t2) {
  78369. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  78370. return;
  78371. A.replaceFirstNull(highlightsByColumn, highlight);
  78372. _this._writeSidebar$0();
  78373. t1 = _this._highlighter$_buffer;
  78374. t1._contents += " ";
  78375. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78376. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  78377. t1._contents += "\n";
  78378. } else if (t1.get$end(t1).get$line() === t2) {
  78379. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  78380. if (coversWholeLine && highlight.label == null) {
  78381. A.replaceWithNull(highlightsByColumn, highlight);
  78382. return;
  78383. }
  78384. _this._writeSidebar$0();
  78385. _this._highlighter$_buffer._contents += " ";
  78386. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78387. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  78388. A.replaceWithNull(highlightsByColumn, highlight);
  78389. }
  78390. }
  78391. },
  78392. _writeArrow$3$beginning(line, column, beginning) {
  78393. var t2,
  78394. t1 = beginning ? 0 : 1,
  78395. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  78396. t1 = this._highlighter$_buffer;
  78397. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  78398. t2 = t1._contents += t2;
  78399. t1._contents = t2 + "^";
  78400. },
  78401. _writeArrow$2(line, column) {
  78402. return this._writeArrow$3$beginning(line, column, true);
  78403. },
  78404. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  78405. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  78406. label = highlight.label;
  78407. if (label == null) {
  78408. _this._highlighter$_buffer._contents += "\n";
  78409. return;
  78410. }
  78411. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  78412. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78413. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  78414. t1 = _this._highlighter$_buffer;
  78415. t1._contents += "\n";
  78416. 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();) {
  78417. t5 = t2.__internal$_current;
  78418. if (t5 == null)
  78419. t5 = t3._as(t5);
  78420. _this._writeSidebar$0();
  78421. t6 = t1._contents += " ";
  78422. for (_i = 0; _i < t4; ++_i) {
  78423. columnHighlight = highlightsByColumn[_i];
  78424. if (columnHighlight == null || columnHighlight === highlight) {
  78425. t6 += " ";
  78426. t1._contents = t6;
  78427. } else {
  78428. t6 = $._glyphs.get$verticalLine();
  78429. t6 = t1._contents += t6;
  78430. }
  78431. }
  78432. t6 = B.JSString_methods.$mul(" ", underlineLength);
  78433. t1._contents += t6;
  78434. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  78435. t1._contents += "\n";
  78436. }
  78437. },
  78438. _writeText$1(text) {
  78439. var t1, t2, t3, t4;
  78440. 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();) {
  78441. t4 = t1.__internal$_current;
  78442. if (t4 == null)
  78443. t4 = t2._as(t4);
  78444. if (t4 === 9) {
  78445. t4 = B.JSString_methods.$mul(" ", 4);
  78446. t3._contents += t4;
  78447. } else {
  78448. t4 = A.Primitives_stringFromCharCode(t4);
  78449. t3._contents += t4;
  78450. }
  78451. }
  78452. },
  78453. _writeSidebar$3$end$line$text(end, line, text) {
  78454. var t1 = {};
  78455. t1.text = text;
  78456. if (line != null)
  78457. t1.text = B.JSInt_methods.toString$0(line + 1);
  78458. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  78459. },
  78460. _writeSidebar$1$end(end) {
  78461. return this._writeSidebar$3$end$line$text(end, null, null);
  78462. },
  78463. _writeSidebar$1$text(text) {
  78464. return this._writeSidebar$3$end$line$text(null, null, text);
  78465. },
  78466. _writeSidebar$1$line(line) {
  78467. return this._writeSidebar$3$end$line$text(null, line, null);
  78468. },
  78469. _writeSidebar$0() {
  78470. return this._writeSidebar$3$end$line$text(null, null, null);
  78471. },
  78472. _countTabs$1(text) {
  78473. var t1, t2, count, t3;
  78474. 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();) {
  78475. t3 = t1.__internal$_current;
  78476. if ((t3 == null ? t2._as(t3) : t3) === 9)
  78477. ++count;
  78478. }
  78479. return count;
  78480. },
  78481. _isOnlyWhitespace$1(text) {
  78482. var t1, t2, t3;
  78483. 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();) {
  78484. t3 = t1.__internal$_current;
  78485. if (t3 == null)
  78486. t3 = t2._as(t3);
  78487. if (t3 !== 32 && t3 !== 9)
  78488. return false;
  78489. }
  78490. return true;
  78491. },
  78492. _colorize$1$2$color(callback, color) {
  78493. var result,
  78494. t1 = this._primaryColor != null;
  78495. if (t1 && color != null)
  78496. this._highlighter$_buffer._contents += color;
  78497. result = callback.call$0();
  78498. if (t1 && color != null)
  78499. this._highlighter$_buffer._contents += "\x1b[0m";
  78500. return result;
  78501. },
  78502. _colorize$2$color(callback, color) {
  78503. return this._colorize$1$2$color(callback, color, type$.dynamic);
  78504. }
  78505. };
  78506. A.Highlighter_closure.prototype = {
  78507. call$0() {
  78508. var t1 = this.color,
  78509. t2 = J.getInterceptor$(t1);
  78510. if (t2.$eq(t1, true))
  78511. return "\x1b[31m";
  78512. if (t2.$eq(t1, false))
  78513. return null;
  78514. return A._asStringQ(t1);
  78515. },
  78516. $signature: 44
  78517. };
  78518. A.Highlighter$__closure.prototype = {
  78519. call$1(line) {
  78520. var t1 = line.highlights;
  78521. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  78522. },
  78523. $signature: 277
  78524. };
  78525. A.Highlighter$___closure.prototype = {
  78526. call$1(highlight) {
  78527. var t1 = highlight.span;
  78528. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  78529. },
  78530. $signature: 130
  78531. };
  78532. A.Highlighter$__closure0.prototype = {
  78533. call$1(line) {
  78534. return line.url;
  78535. },
  78536. $signature: 279
  78537. };
  78538. A.Highlighter__collateLines_closure.prototype = {
  78539. call$1(highlight) {
  78540. var t1 = highlight.span;
  78541. t1 = t1.get$sourceUrl(t1);
  78542. return t1 == null ? new A.Object() : t1;
  78543. },
  78544. $signature: 280
  78545. };
  78546. A.Highlighter__collateLines_closure0.prototype = {
  78547. call$2(highlight1, highlight2) {
  78548. return highlight1.span.compareTo$1(0, highlight2.span);
  78549. },
  78550. $signature: 281
  78551. };
  78552. A.Highlighter__collateLines_closure1.prototype = {
  78553. call$1(entry) {
  78554. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6,
  78555. url = entry.key,
  78556. highlightsForFile = entry.value,
  78557. lines = A._setArrayType([], type$.JSArray__Line);
  78558. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  78559. t4 = t2.get$current(t2).span;
  78560. context = t4.get$context(t4);
  78561. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  78562. t5.toString;
  78563. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  78564. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  78565. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  78566. line = t4[_i];
  78567. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  78568. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  78569. ++lineNumber;
  78570. }
  78571. }
  78572. activeHighlights = A._setArrayType([], t3);
  78573. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  78574. line = lines[_i];
  78575. if (!!activeHighlights.fixed$length)
  78576. A.throwExpression(A.UnsupportedError$("removeWhere"));
  78577. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  78578. oldHighlightLength = activeHighlights.length;
  78579. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), 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();) {
  78580. t5 = t3.__internal$_current;
  78581. if (t5 == null)
  78582. t5 = t4._as(t5);
  78583. t6 = t5.span;
  78584. if (t6.get$start(t6).get$line() > line.number)
  78585. break;
  78586. activeHighlights.push(t5);
  78587. }
  78588. highlightIndex += activeHighlights.length - oldHighlightLength;
  78589. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  78590. }
  78591. return lines;
  78592. },
  78593. $signature: 282
  78594. };
  78595. A.Highlighter__collateLines__closure.prototype = {
  78596. call$1(highlight) {
  78597. var t1 = highlight.span;
  78598. return t1.get$end(t1).get$line() < this.line.number;
  78599. },
  78600. $signature: 130
  78601. };
  78602. A.Highlighter_highlight_closure.prototype = {
  78603. call$1(highlight) {
  78604. return highlight.isPrimary;
  78605. },
  78606. $signature: 130
  78607. };
  78608. A.Highlighter__writeFileStart_closure.prototype = {
  78609. call$0() {
  78610. var t1 = this.$this._highlighter$_buffer,
  78611. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  78612. t1._contents += t2;
  78613. return null;
  78614. },
  78615. $signature: 0
  78616. };
  78617. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  78618. call$0() {
  78619. var t1 = this.$this._highlighter$_buffer,
  78620. t2 = $._glyphs;
  78621. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  78622. t1._contents += t2;
  78623. },
  78624. $signature: 1
  78625. };
  78626. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  78627. call$0() {
  78628. var t1 = this.$this._highlighter$_buffer,
  78629. t2 = $._glyphs;
  78630. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  78631. t1._contents += t2;
  78632. },
  78633. $signature: 1
  78634. };
  78635. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  78636. call$0() {
  78637. var t1 = this.$this._highlighter$_buffer,
  78638. t2 = $._glyphs.get$horizontalLine();
  78639. t1._contents += t2;
  78640. return null;
  78641. },
  78642. $signature: 0
  78643. };
  78644. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  78645. call$0() {
  78646. var _this = this,
  78647. t1 = _this._box_0,
  78648. t2 = t1.openedOnThisLine,
  78649. t3 = $._glyphs,
  78650. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  78651. if (_this.current != null)
  78652. _this.$this._highlighter$_buffer._contents += vertical;
  78653. else {
  78654. t2 = _this.line;
  78655. t3 = t2.number;
  78656. if (_this.startLine === t3) {
  78657. t2 = _this.$this;
  78658. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  78659. t1.openedOnThisLine = true;
  78660. if (t1.openedOnThisLineColor == null)
  78661. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  78662. } else {
  78663. if (_this.endLine === t3) {
  78664. t3 = _this.highlight.span;
  78665. t2 = t3.get$end(t3).get$column() === t2.text.length;
  78666. } else
  78667. t2 = false;
  78668. t3 = _this.$this;
  78669. if (t2) {
  78670. t1 = t3._highlighter$_buffer;
  78671. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  78672. t1._contents += t2;
  78673. } else
  78674. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  78675. }
  78676. }
  78677. },
  78678. $signature: 1
  78679. };
  78680. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  78681. call$0() {
  78682. var t1 = this.$this._highlighter$_buffer,
  78683. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  78684. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  78685. t1._contents += t2;
  78686. },
  78687. $signature: 1
  78688. };
  78689. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  78690. call$0() {
  78691. this.$this._highlighter$_buffer._contents += this.vertical;
  78692. },
  78693. $signature: 1
  78694. };
  78695. A.Highlighter__writeHighlightedText_closure.prototype = {
  78696. call$0() {
  78697. var _this = this;
  78698. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  78699. },
  78700. $signature: 0
  78701. };
  78702. A.Highlighter__writeIndicator_closure.prototype = {
  78703. call$0() {
  78704. var startColumn, endColumn, tabsBefore, tabsInside,
  78705. t1 = this.$this,
  78706. t2 = t1._highlighter$_buffer,
  78707. t3 = t2._contents,
  78708. t4 = this.highlight,
  78709. t5 = t4.span;
  78710. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  78711. startColumn = t5.get$start(t5).get$column();
  78712. endColumn = t5.get$end(t5).get$column();
  78713. t5 = this.line.text;
  78714. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  78715. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  78716. startColumn += tabsBefore * 3;
  78717. t5 = B.JSString_methods.$mul(" ", startColumn);
  78718. t2._contents += t5;
  78719. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  78720. t4 = t2._contents += t4;
  78721. return t4.length - t3.length;
  78722. },
  78723. $signature: 10
  78724. };
  78725. A.Highlighter__writeIndicator_closure0.prototype = {
  78726. call$0() {
  78727. var t1 = this.highlight.span;
  78728. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  78729. },
  78730. $signature: 0
  78731. };
  78732. A.Highlighter__writeIndicator_closure1.prototype = {
  78733. call$0() {
  78734. var t4, _this = this,
  78735. t1 = _this.$this,
  78736. t2 = t1._highlighter$_buffer,
  78737. t3 = t2._contents;
  78738. if (_this.coversWholeLine) {
  78739. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  78740. t2._contents += t1;
  78741. } else {
  78742. t4 = _this.highlight.span;
  78743. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  78744. }
  78745. return t2._contents.length - t3.length;
  78746. },
  78747. $signature: 10
  78748. };
  78749. A.Highlighter__writeLabel_closure.prototype = {
  78750. call$0() {
  78751. var t1 = this.$this._highlighter$_buffer,
  78752. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  78753. t1._contents += t2;
  78754. return null;
  78755. },
  78756. $signature: 0
  78757. };
  78758. A.Highlighter__writeLabel_closure0.prototype = {
  78759. call$0() {
  78760. this.$this._highlighter$_buffer._contents += " " + this.text;
  78761. return null;
  78762. },
  78763. $signature: 0
  78764. };
  78765. A.Highlighter__writeSidebar_closure.prototype = {
  78766. call$0() {
  78767. var t1 = this.$this,
  78768. t2 = t1._highlighter$_buffer,
  78769. t3 = this._box_0.text;
  78770. if (t3 == null)
  78771. t3 = "";
  78772. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  78773. t2._contents += t1;
  78774. t1 = this.end;
  78775. if (t1 == null)
  78776. t1 = $._glyphs.get$verticalLine();
  78777. t2._contents += t1;
  78778. },
  78779. $signature: 1
  78780. };
  78781. A._Highlight.prototype = {
  78782. toString$0(_) {
  78783. var t1 = this.isPrimary ? "" + "primary " : "",
  78784. t2 = this.span;
  78785. 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());
  78786. t1 = this.label;
  78787. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  78788. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78789. }
  78790. };
  78791. A._Highlight_closure.prototype = {
  78792. call$0() {
  78793. var t2, t3, t4, t5,
  78794. t1 = this.span;
  78795. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  78796. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  78797. t3 = t1.get$end(t1).get$offset();
  78798. t4 = t1.get$sourceUrl(t1);
  78799. t5 = A.countCodeUnits(t1.get$text(), 10);
  78800. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  78801. }
  78802. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  78803. },
  78804. $signature: 283
  78805. };
  78806. A._Line.prototype = {
  78807. toString$0(_) {
  78808. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  78809. }
  78810. };
  78811. A.SourceLocation.prototype = {
  78812. distance$1(other) {
  78813. var t1 = this.sourceUrl;
  78814. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78815. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78816. return Math.abs(this.offset - other.get$offset());
  78817. },
  78818. compareTo$1(_, other) {
  78819. var t1 = this.sourceUrl;
  78820. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78821. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78822. return this.offset - other.get$offset();
  78823. },
  78824. $eq(_, other) {
  78825. if (other == null)
  78826. return false;
  78827. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78828. },
  78829. get$hashCode(_) {
  78830. var t1 = this.sourceUrl;
  78831. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78832. if (t1 == null)
  78833. t1 = 0;
  78834. return t1 + this.offset;
  78835. },
  78836. toString$0(_) {
  78837. var _this = this,
  78838. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  78839. source = _this.sourceUrl;
  78840. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  78841. },
  78842. $isComparable: 1,
  78843. get$sourceUrl(receiver) {
  78844. return this.sourceUrl;
  78845. },
  78846. get$offset() {
  78847. return this.offset;
  78848. },
  78849. get$line() {
  78850. return this.line;
  78851. },
  78852. get$column() {
  78853. return this.column;
  78854. }
  78855. };
  78856. A.SourceLocationMixin.prototype = {
  78857. distance$1(other) {
  78858. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78859. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78860. return Math.abs(this.offset - other.get$offset());
  78861. },
  78862. compareTo$1(_, other) {
  78863. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78864. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78865. return this.offset - other.get$offset();
  78866. },
  78867. $eq(_, other) {
  78868. if (other == null)
  78869. return false;
  78870. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78871. },
  78872. get$hashCode(_) {
  78873. var t1 = this.file.url;
  78874. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78875. if (t1 == null)
  78876. t1 = 0;
  78877. return t1 + this.offset;
  78878. },
  78879. toString$0(_) {
  78880. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  78881. t2 = this.offset,
  78882. t3 = this.file,
  78883. source = t3.url;
  78884. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  78885. },
  78886. $isComparable: 1,
  78887. $isSourceLocation: 1
  78888. };
  78889. A.SourceSpanBase.prototype = {
  78890. SourceSpanBase$3(start, end, text) {
  78891. var t3,
  78892. t1 = this.end,
  78893. t2 = this.start;
  78894. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  78895. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  78896. else if (t1.get$offset() < t2.get$offset())
  78897. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  78898. else {
  78899. t3 = this.text;
  78900. if (t3.length !== t2.distance$1(t1))
  78901. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  78902. }
  78903. },
  78904. get$start(receiver) {
  78905. return this.start;
  78906. },
  78907. get$end(receiver) {
  78908. return this.end;
  78909. },
  78910. get$text() {
  78911. return this.text;
  78912. }
  78913. };
  78914. A.SourceSpanException.prototype = {
  78915. get$message(_) {
  78916. return this._span_exception$_message;
  78917. },
  78918. get$span(_) {
  78919. return this._span;
  78920. },
  78921. toString$1$color(_, color) {
  78922. var _this = this;
  78923. _this.get$span(_this);
  78924. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  78925. },
  78926. toString$0(_) {
  78927. return this.toString$1$color(0, null);
  78928. },
  78929. $isException: 1
  78930. };
  78931. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  78932. get$source() {
  78933. return this.source;
  78934. }
  78935. };
  78936. A.MultiSourceSpanException.prototype = {
  78937. toString$0(_) {
  78938. var _this = this;
  78939. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  78940. },
  78941. get$primaryLabel() {
  78942. return this.primaryLabel;
  78943. },
  78944. get$secondarySpans() {
  78945. return this.secondarySpans;
  78946. }
  78947. };
  78948. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  78949. A.SourceSpanMixin.prototype = {
  78950. get$sourceUrl(_) {
  78951. var t1 = this.get$start(this);
  78952. return t1.get$sourceUrl(t1);
  78953. },
  78954. get$length(_) {
  78955. var _this = this;
  78956. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  78957. },
  78958. compareTo$1(_, other) {
  78959. var _this = this,
  78960. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  78961. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  78962. },
  78963. message$2$color(_, message, color) {
  78964. var t2, t3, highlight, _this = this,
  78965. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  78966. if (_this.get$sourceUrl(_this) != null) {
  78967. t2 = _this.get$sourceUrl(_this);
  78968. t3 = $.$get$context();
  78969. t2.toString;
  78970. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  78971. t1 = t2;
  78972. }
  78973. t1 += ": " + message;
  78974. highlight = _this.highlight$1$color(color);
  78975. if (highlight.length !== 0)
  78976. t1 = t1 + "\n" + highlight;
  78977. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78978. },
  78979. message$1(_, message) {
  78980. return this.message$2$color(0, message, null);
  78981. },
  78982. highlight$1$color(color) {
  78983. var _this = this;
  78984. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  78985. return "";
  78986. return A.Highlighter$(_this, color).highlight$0();
  78987. },
  78988. $eq(_, other) {
  78989. var _this = this;
  78990. if (other == null)
  78991. return false;
  78992. 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));
  78993. },
  78994. get$hashCode(_) {
  78995. var _this = this;
  78996. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  78997. },
  78998. toString$0(_) {
  78999. var _this = this;
  79000. 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() + '">';
  79001. },
  79002. $isComparable: 1,
  79003. $isSourceSpan: 1
  79004. };
  79005. A.SourceSpanWithContext.prototype = {
  79006. get$context(_) {
  79007. return this._context;
  79008. }
  79009. };
  79010. A.Chain.prototype = {
  79011. toTrace$0() {
  79012. var t1 = this.traces;
  79013. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  79014. },
  79015. toString$0(_) {
  79016. var t1 = this.traces,
  79017. t2 = A._arrayInstanceType(t1);
  79018. 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_____);
  79019. },
  79020. $isStackTrace: 1
  79021. };
  79022. A.Chain_Chain$parse_closure.prototype = {
  79023. call$1(line) {
  79024. return line.length !== 0;
  79025. },
  79026. $signature: 4
  79027. };
  79028. A.Chain_toTrace_closure.prototype = {
  79029. call$1(trace) {
  79030. return trace.get$frames();
  79031. },
  79032. $signature: 284
  79033. };
  79034. A.Chain_toString_closure0.prototype = {
  79035. call$1(trace) {
  79036. var t1 = trace.get$frames();
  79037. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  79038. },
  79039. $signature: 285
  79040. };
  79041. A.Chain_toString__closure0.prototype = {
  79042. call$1(frame) {
  79043. return frame.get$location().length;
  79044. },
  79045. $signature: 264
  79046. };
  79047. A.Chain_toString_closure.prototype = {
  79048. call$1(trace) {
  79049. var t1 = trace.get$frames();
  79050. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  79051. },
  79052. $signature: 287
  79053. };
  79054. A.Chain_toString__closure.prototype = {
  79055. call$1(frame) {
  79056. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  79057. },
  79058. $signature: 263
  79059. };
  79060. A.Frame.prototype = {
  79061. get$isCore() {
  79062. return this.uri.get$scheme() === "dart";
  79063. },
  79064. get$library() {
  79065. var t1 = this.uri;
  79066. if (t1.get$scheme() === "data")
  79067. return "data:...";
  79068. return $.$get$context().prettyUri$1(t1);
  79069. },
  79070. get$$package() {
  79071. var t1 = this.uri;
  79072. if (t1.get$scheme() !== "package")
  79073. return null;
  79074. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  79075. },
  79076. get$location() {
  79077. var t2, _this = this,
  79078. t1 = _this.line;
  79079. if (t1 == null)
  79080. return _this.get$library();
  79081. t2 = _this.column;
  79082. if (t2 == null)
  79083. return _this.get$library() + " " + A.S(t1);
  79084. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  79085. },
  79086. toString$0(_) {
  79087. return this.get$location() + " in " + A.S(this.member);
  79088. },
  79089. get$uri() {
  79090. return this.uri;
  79091. },
  79092. get$line() {
  79093. return this.line;
  79094. },
  79095. get$column() {
  79096. return this.column;
  79097. },
  79098. get$member() {
  79099. return this.member;
  79100. }
  79101. };
  79102. A.Frame_Frame$parseVM_closure.prototype = {
  79103. call$0() {
  79104. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  79105. t1 = this.frame;
  79106. if (t1 === "...")
  79107. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  79108. match = $.$get$_vmFrame().firstMatch$1(t1);
  79109. if (match == null)
  79110. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79111. t1 = match._match;
  79112. t2 = t1[1];
  79113. t2.toString;
  79114. t3 = $.$get$_asyncBody();
  79115. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  79116. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  79117. t2 = t1[2];
  79118. t3 = t2;
  79119. t3.toString;
  79120. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  79121. uri = A.Uri_Uri$dataFromString("", _null, _null);
  79122. else {
  79123. t2 = t2;
  79124. t2.toString;
  79125. uri = A.Uri_parse(t2);
  79126. }
  79127. lineAndColumn = t1[3].split(":");
  79128. t1 = lineAndColumn.length;
  79129. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  79130. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  79131. },
  79132. $signature: 68
  79133. };
  79134. A.Frame_Frame$parseV8_closure.prototype = {
  79135. call$0() {
  79136. var t2, t3, _s4_ = "<fn>",
  79137. t1 = this.frame,
  79138. match = $.$get$_v8Frame().firstMatch$1(t1);
  79139. if (match == null)
  79140. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  79141. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  79142. t2 = match._match;
  79143. t3 = t2[2];
  79144. if (t3 != null) {
  79145. t3 = t3;
  79146. t3.toString;
  79147. t2 = t2[1];
  79148. t2.toString;
  79149. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  79150. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  79151. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  79152. } else {
  79153. t2 = t2[3];
  79154. t2.toString;
  79155. return t1.call$2(t2, _s4_);
  79156. }
  79157. },
  79158. $signature: 68
  79159. };
  79160. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  79161. call$2($location, member) {
  79162. var t2, urlMatch, uri, line, columnMatch, _null = null,
  79163. t1 = $.$get$_v8EvalLocation(),
  79164. evalMatch = t1.firstMatch$1($location);
  79165. for (; evalMatch != null; $location = t2) {
  79166. t2 = evalMatch._match[1];
  79167. t2.toString;
  79168. evalMatch = t1.firstMatch$1(t2);
  79169. }
  79170. if ($location === "native")
  79171. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  79172. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  79173. if (urlMatch == null)
  79174. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  79175. t1 = urlMatch._match;
  79176. t2 = t1[1];
  79177. t2.toString;
  79178. uri = A.Frame__uriOrPathToUri(t2);
  79179. t2 = t1[2];
  79180. t2.toString;
  79181. line = A.int_parse(t2, _null);
  79182. columnMatch = t1[3];
  79183. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  79184. },
  79185. $signature: 290
  79186. };
  79187. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  79188. call$0() {
  79189. var t2, member, uri, line, _null = null,
  79190. t1 = this.frame,
  79191. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  79192. if (match == null)
  79193. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79194. t1 = match._match;
  79195. t2 = t1[1];
  79196. t2.toString;
  79197. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  79198. t2 = t1[2];
  79199. t2.toString;
  79200. uri = A.Frame__uriOrPathToUri(t2);
  79201. t1 = t1[3];
  79202. t1.toString;
  79203. line = A.int_parse(t1, _null);
  79204. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  79205. },
  79206. $signature: 68
  79207. };
  79208. A.Frame_Frame$parseFirefox_closure.prototype = {
  79209. call$0() {
  79210. var t2, t3, t4, uri, member, line, column, _null = null,
  79211. t1 = this.frame,
  79212. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  79213. if (match == null)
  79214. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79215. t2 = match._match;
  79216. t3 = t2[3];
  79217. t4 = t3;
  79218. t4.toString;
  79219. if (B.JSString_methods.contains$1(t4, " line "))
  79220. return A.Frame_Frame$_parseFirefoxEval(t1);
  79221. t1 = t3;
  79222. t1.toString;
  79223. uri = A.Frame__uriOrPathToUri(t1);
  79224. member = t2[1];
  79225. if (member != null) {
  79226. t1 = t2[2];
  79227. t1.toString;
  79228. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  79229. if (member === "")
  79230. member = "<fn>";
  79231. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  79232. } else
  79233. member = "<fn>";
  79234. t1 = t2[4];
  79235. if (t1 === "")
  79236. line = _null;
  79237. else {
  79238. t1 = t1;
  79239. t1.toString;
  79240. line = A.int_parse(t1, _null);
  79241. }
  79242. t1 = t2[5];
  79243. if (t1 == null || t1 === "")
  79244. column = _null;
  79245. else {
  79246. t1 = t1;
  79247. t1.toString;
  79248. column = A.int_parse(t1, _null);
  79249. }
  79250. return new A.Frame(uri, line, column, member);
  79251. },
  79252. $signature: 68
  79253. };
  79254. A.Frame_Frame$parseFriendly_closure.prototype = {
  79255. call$0() {
  79256. var t2, uri, line, column, _null = null,
  79257. t1 = this.frame,
  79258. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  79259. if (match == null)
  79260. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  79261. t1 = match._match;
  79262. t2 = t1[1];
  79263. if (t2 === "data:...")
  79264. uri = A.Uri_Uri$dataFromString("", _null, _null);
  79265. else {
  79266. t2 = t2;
  79267. t2.toString;
  79268. uri = A.Uri_parse(t2);
  79269. }
  79270. if (uri.get$scheme() === "") {
  79271. t2 = $.$get$context();
  79272. 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));
  79273. }
  79274. t2 = t1[2];
  79275. if (t2 == null)
  79276. line = _null;
  79277. else {
  79278. t2 = t2;
  79279. t2.toString;
  79280. line = A.int_parse(t2, _null);
  79281. }
  79282. t2 = t1[3];
  79283. if (t2 == null)
  79284. column = _null;
  79285. else {
  79286. t2 = t2;
  79287. t2.toString;
  79288. column = A.int_parse(t2, _null);
  79289. }
  79290. return new A.Frame(uri, line, column, t1[4]);
  79291. },
  79292. $signature: 68
  79293. };
  79294. A.LazyTrace.prototype = {
  79295. get$_lazy_trace$_trace() {
  79296. var result, _this = this,
  79297. value = _this.__LazyTrace__trace_FI;
  79298. if (value === $) {
  79299. result = _this._thunk.call$0();
  79300. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  79301. _this.__LazyTrace__trace_FI = result;
  79302. value = result;
  79303. }
  79304. return value;
  79305. },
  79306. get$frames() {
  79307. return this.get$_lazy_trace$_trace().get$frames();
  79308. },
  79309. get$terse() {
  79310. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  79311. },
  79312. toString$0(_) {
  79313. return this.get$_lazy_trace$_trace().toString$0(0);
  79314. },
  79315. $isStackTrace: 1,
  79316. $isTrace: 1
  79317. };
  79318. A.LazyTrace_terse_closure.prototype = {
  79319. call$0() {
  79320. return this.$this.get$_lazy_trace$_trace().get$terse();
  79321. },
  79322. $signature: 261
  79323. };
  79324. A.Trace.prototype = {
  79325. get$terse() {
  79326. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  79327. },
  79328. foldFrames$2$terse(predicate, terse) {
  79329. var newFrames, t1, t2, t3, _box_0 = {};
  79330. _box_0.predicate = predicate;
  79331. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  79332. newFrames = A._setArrayType([], type$.JSArray_Frame);
  79333. 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();) {
  79334. t3 = t1.__internal$_current;
  79335. if (t3 == null)
  79336. t3 = t2._as(t3);
  79337. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  79338. newFrames.push(t3);
  79339. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  79340. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  79341. }
  79342. t1 = type$.MappedListIterable_Frame_Frame;
  79343. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  79344. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  79345. B.JSArray_methods.removeAt$1(newFrames, 0);
  79346. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  79347. },
  79348. toString$0(_) {
  79349. var t1 = this.frames,
  79350. t2 = A._arrayInstanceType(t1);
  79351. 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);
  79352. },
  79353. $isStackTrace: 1,
  79354. get$frames() {
  79355. return this.frames;
  79356. }
  79357. };
  79358. A.Trace_Trace$from_closure.prototype = {
  79359. call$0() {
  79360. return A.Trace_Trace$parse(this.trace.toString$0(0));
  79361. },
  79362. $signature: 261
  79363. };
  79364. A.Trace__parseVM_closure.prototype = {
  79365. call$1(line) {
  79366. return line.length !== 0;
  79367. },
  79368. $signature: 4
  79369. };
  79370. A.Trace$parseV8_closure.prototype = {
  79371. call$1(line) {
  79372. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  79373. },
  79374. $signature: 4
  79375. };
  79376. A.Trace$parseJSCore_closure.prototype = {
  79377. call$1(line) {
  79378. return line !== "\tat ";
  79379. },
  79380. $signature: 4
  79381. };
  79382. A.Trace$parseFirefox_closure.prototype = {
  79383. call$1(line) {
  79384. return line.length !== 0 && line !== "[native code]";
  79385. },
  79386. $signature: 4
  79387. };
  79388. A.Trace$parseFriendly_closure.prototype = {
  79389. call$1(line) {
  79390. return !B.JSString_methods.startsWith$1(line, "=====");
  79391. },
  79392. $signature: 4
  79393. };
  79394. A.Trace_terse_closure.prototype = {
  79395. call$1(_) {
  79396. return false;
  79397. },
  79398. $signature: 259
  79399. };
  79400. A.Trace_foldFrames_closure.prototype = {
  79401. call$1(frame) {
  79402. var t1;
  79403. if (this.oldPredicate.call$1(frame))
  79404. return true;
  79405. if (frame.get$isCore())
  79406. return true;
  79407. if (frame.get$$package() === "stack_trace")
  79408. return true;
  79409. t1 = frame.get$member();
  79410. t1.toString;
  79411. if (!B.JSString_methods.contains$1(t1, "<async>"))
  79412. return false;
  79413. return frame.get$line() == null;
  79414. },
  79415. $signature: 259
  79416. };
  79417. A.Trace_foldFrames_closure0.prototype = {
  79418. call$1(frame) {
  79419. var t1, t2;
  79420. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  79421. return frame;
  79422. t1 = frame.get$library();
  79423. t2 = $.$get$_terseRegExp();
  79424. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  79425. },
  79426. $signature: 293
  79427. };
  79428. A.Trace_toString_closure0.prototype = {
  79429. call$1(frame) {
  79430. return frame.get$location().length;
  79431. },
  79432. $signature: 264
  79433. };
  79434. A.Trace_toString_closure.prototype = {
  79435. call$1(frame) {
  79436. if (frame instanceof A.UnparsedFrame)
  79437. return frame.toString$0(0) + "\n";
  79438. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  79439. },
  79440. $signature: 263
  79441. };
  79442. A.UnparsedFrame.prototype = {
  79443. toString$0(_) {
  79444. return this.member;
  79445. },
  79446. $isFrame: 1,
  79447. get$uri() {
  79448. return this.uri;
  79449. },
  79450. get$line() {
  79451. return null;
  79452. },
  79453. get$column() {
  79454. return null;
  79455. },
  79456. get$isCore() {
  79457. return false;
  79458. },
  79459. get$library() {
  79460. return "unparsed";
  79461. },
  79462. get$$package() {
  79463. return null;
  79464. },
  79465. get$location() {
  79466. return "unparsed";
  79467. },
  79468. get$member() {
  79469. return this.member;
  79470. }
  79471. };
  79472. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  79473. call$0() {
  79474. var t2, subscription, t3, t4, _this = this, t1 = {};
  79475. t1.valuesDone = false;
  79476. t2 = _this.controller;
  79477. 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));
  79478. t3 = _this._box_1;
  79479. t3.subscription = subscription;
  79480. t2.set$onPause(subscription.get$pause(subscription));
  79481. t4 = t3.subscription;
  79482. t2.set$onResume(t4.get$resume(t4));
  79483. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  79484. },
  79485. $signature: 0
  79486. };
  79487. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  79488. call$1(value) {
  79489. return this.handleData.call$2(value, this.controller);
  79490. },
  79491. $signature() {
  79492. return this.S._eval$1("~(0)");
  79493. }
  79494. };
  79495. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  79496. call$2(error, stackTrace) {
  79497. this.handleError.call$3(error, stackTrace, this.controller);
  79498. },
  79499. $signature: 50
  79500. };
  79501. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  79502. call$0() {
  79503. this._box_0.valuesDone = true;
  79504. this.handleDone.call$1(this.controller);
  79505. },
  79506. $signature: 0
  79507. };
  79508. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  79509. call$0() {
  79510. var t1 = this._box_1,
  79511. toCancel = t1.subscription;
  79512. t1.subscription = null;
  79513. if (!this._box_0.valuesDone)
  79514. return toCancel.cancel$0();
  79515. return null;
  79516. },
  79517. $signature: 191
  79518. };
  79519. A.RateLimit__debounceAggregate_closure.prototype = {
  79520. call$2(value, sink) {
  79521. var _this = this,
  79522. t1 = _this._box_0,
  79523. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  79524. t3 = t1.timer;
  79525. if (t3 != null)
  79526. t3.cancel$0();
  79527. t1.soFar = _this.collect.call$2(value, t1.soFar);
  79528. t1.hasPending = true;
  79529. if (t1.timer == null && _this.leading) {
  79530. t1.emittedLatestAsLeading = true;
  79531. t2.call$0();
  79532. } else
  79533. t1.emittedLatestAsLeading = false;
  79534. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  79535. },
  79536. $signature() {
  79537. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  79538. }
  79539. };
  79540. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  79541. call$0() {
  79542. var t1 = this._box_0,
  79543. t2 = t1.soFar;
  79544. if (t2 == null)
  79545. t2 = this.S._as(t2);
  79546. this.sink.add$1(0, t2);
  79547. t1.soFar = null;
  79548. t1.hasPending = false;
  79549. },
  79550. $signature: 0
  79551. };
  79552. A.RateLimit__debounceAggregate__closure.prototype = {
  79553. call$0() {
  79554. var t1 = this._box_0,
  79555. t2 = t1.emittedLatestAsLeading;
  79556. if (!t2)
  79557. this.emit.call$0();
  79558. if (t1.shouldClose)
  79559. this.sink.close$0(0);
  79560. t1.timer = null;
  79561. },
  79562. $signature: 0
  79563. };
  79564. A.RateLimit__debounceAggregate_closure0.prototype = {
  79565. call$1(sink) {
  79566. var t1 = this._box_0;
  79567. if (t1.hasPending && this.trailing)
  79568. t1.shouldClose = true;
  79569. else {
  79570. t1 = t1.timer;
  79571. if (t1 != null)
  79572. t1.cancel$0();
  79573. sink.close$0(0);
  79574. }
  79575. },
  79576. $signature() {
  79577. return this.S._eval$1("~(EventSink<0>)");
  79578. }
  79579. };
  79580. A.StringScannerException.prototype = {
  79581. get$source() {
  79582. return A._asString(this.source);
  79583. }
  79584. };
  79585. A.LineScanner.prototype = {
  79586. scanChar$1(character) {
  79587. if (!this.super$StringScanner$scanChar(character))
  79588. return false;
  79589. this._adjustLineAndColumn$1(character);
  79590. return true;
  79591. },
  79592. readChar$0() {
  79593. var character = this.super$StringScanner$readChar();
  79594. this._adjustLineAndColumn$1(character);
  79595. return character;
  79596. },
  79597. _adjustLineAndColumn$1(character) {
  79598. var t1, _this = this;
  79599. if (character !== 10)
  79600. t1 = character === 13 && _this.peekChar$0() !== 10;
  79601. else
  79602. t1 = true;
  79603. if (t1) {
  79604. ++_this._line_scanner$_line;
  79605. _this._line_scanner$_column = 0;
  79606. } else {
  79607. t1 = _this._line_scanner$_column;
  79608. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  79609. }
  79610. },
  79611. scan$1(pattern) {
  79612. var t1, newlines, t2, _this = this;
  79613. if (!_this.super$StringScanner$scan(pattern))
  79614. return false;
  79615. t1 = _this.get$lastMatch();
  79616. newlines = _this._newlinesIn$1(t1.pattern);
  79617. t1 = _this._line_scanner$_line;
  79618. t2 = newlines.length;
  79619. _this._line_scanner$_line = t1 + t2;
  79620. if (t2 === 0) {
  79621. t1 = _this._line_scanner$_column;
  79622. t2 = _this.get$lastMatch();
  79623. _this._line_scanner$_column = t1 + t2.pattern.length;
  79624. } else {
  79625. t1 = _this.get$lastMatch();
  79626. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  79627. }
  79628. return true;
  79629. },
  79630. _newlinesIn$1(text) {
  79631. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  79632. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  79633. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  79634. B.JSArray_methods.removeLast$0(newlines);
  79635. return newlines;
  79636. }
  79637. };
  79638. A.SpanScanner.prototype = {
  79639. set$state(state) {
  79640. if (state._scanner !== this)
  79641. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  79642. this.set$position(state.position);
  79643. },
  79644. spanFrom$2(startState, endState) {
  79645. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  79646. return this._sourceFile.span$2(0, startState.position, endPosition);
  79647. },
  79648. spanFrom$1(startState) {
  79649. return this.spanFrom$2(startState, null);
  79650. },
  79651. matches$1(pattern) {
  79652. var t1, t2, _this = this;
  79653. if (!_this.super$StringScanner$matches(pattern))
  79654. return false;
  79655. t1 = _this._string_scanner$_position;
  79656. t2 = _this.get$lastMatch();
  79657. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  79658. return true;
  79659. },
  79660. error$3$length$position(_, message, $length, position) {
  79661. var match, t2, _this = this,
  79662. t1 = _this.string;
  79663. A.validateErrorArgs(t1, null, position, $length);
  79664. match = position == null && $length == null ? _this.get$lastMatch() : null;
  79665. if (position == null)
  79666. position = match == null ? _this._string_scanner$_position : match.start;
  79667. if ($length == null)
  79668. if (match == null)
  79669. $length = 0;
  79670. else {
  79671. t2 = match.start;
  79672. $length = t2 + match.pattern.length - t2;
  79673. }
  79674. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  79675. },
  79676. error$1(_, message) {
  79677. return this.error$3$length$position(0, message, null, null);
  79678. },
  79679. error$2$position(_, message, position) {
  79680. return this.error$3$length$position(0, message, null, position);
  79681. },
  79682. error$2$length(_, message, $length) {
  79683. return this.error$3$length$position(0, message, $length, null);
  79684. }
  79685. };
  79686. A._SpanScannerState.prototype = {};
  79687. A.StringScanner.prototype = {
  79688. set$position(position) {
  79689. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  79690. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  79691. this._string_scanner$_position = position;
  79692. this._lastMatch = null;
  79693. },
  79694. get$lastMatch() {
  79695. var _this = this;
  79696. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  79697. _this._lastMatch = null;
  79698. return _this._lastMatch;
  79699. },
  79700. readChar$0() {
  79701. var _this = this,
  79702. t1 = _this.string;
  79703. if (_this._string_scanner$_position === t1.length)
  79704. _this._fail$1("more input");
  79705. return t1.charCodeAt(_this._string_scanner$_position++);
  79706. },
  79707. peekChar$1(offset) {
  79708. var index;
  79709. if (offset == null)
  79710. offset = 0;
  79711. index = this._string_scanner$_position + offset;
  79712. if (index < 0 || index >= this.string.length)
  79713. return null;
  79714. return this.string.charCodeAt(index);
  79715. },
  79716. peekChar$0() {
  79717. return this.peekChar$1(null);
  79718. },
  79719. scanChar$1(character) {
  79720. var t1, t2, t3, t4, _this = this;
  79721. if (character >= 65536 && character <= 1114111) {
  79722. t1 = _this._string_scanner$_position;
  79723. t2 = t1 + 1;
  79724. t3 = _this.string;
  79725. if (t2 < t3.length) {
  79726. t4 = character - 65536;
  79727. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  79728. } else
  79729. t2 = true;
  79730. if (t2)
  79731. return false;
  79732. else {
  79733. _this._string_scanner$_position = t1 + 2;
  79734. return true;
  79735. }
  79736. } else {
  79737. t1 = _this._string_scanner$_position;
  79738. t2 = _this.string;
  79739. if (t1 === t2.length)
  79740. return false;
  79741. if (t2.charCodeAt(t1) !== character)
  79742. return false;
  79743. _this._string_scanner$_position = t1 + 1;
  79744. return true;
  79745. }
  79746. },
  79747. expectChar$2$name(character, $name) {
  79748. if (this.scanChar$1(character))
  79749. return;
  79750. if ($name == null)
  79751. if (character === 92)
  79752. $name = '"\\"';
  79753. else
  79754. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  79755. this._fail$1($name);
  79756. },
  79757. expectChar$1(character) {
  79758. return this.expectChar$2$name(character, null);
  79759. },
  79760. scan$1(pattern) {
  79761. var t1, _this = this,
  79762. success = _this.matches$1(pattern);
  79763. if (success) {
  79764. t1 = _this._lastMatch;
  79765. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  79766. }
  79767. return success;
  79768. },
  79769. expect$1(pattern) {
  79770. var t1, $name;
  79771. if (this.scan$1(pattern))
  79772. return;
  79773. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  79774. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  79775. this._fail$1($name);
  79776. },
  79777. expectDone$0() {
  79778. if (this._string_scanner$_position === this.string.length)
  79779. return;
  79780. this._fail$1("no more input");
  79781. },
  79782. matches$1(pattern) {
  79783. var _this = this,
  79784. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  79785. _this._lastMatch = t1;
  79786. _this._lastMatchPosition = _this._string_scanner$_position;
  79787. return t1 != null;
  79788. },
  79789. substring$1(_, start) {
  79790. var end = this._string_scanner$_position;
  79791. return B.JSString_methods.substring$2(this.string, start, end);
  79792. },
  79793. error$3$length$position(_, message, $length, position) {
  79794. var match, t2, _this = this,
  79795. t1 = _this.string;
  79796. A.validateErrorArgs(t1, null, position, $length);
  79797. match = position == null && $length == null ? _this.get$lastMatch() : null;
  79798. if (position == null)
  79799. position = match == null ? _this._string_scanner$_position : match.start;
  79800. if ($length == null)
  79801. if (match == null)
  79802. $length = 0;
  79803. else {
  79804. t2 = match.start;
  79805. $length = t2 + match.pattern.length - t2;
  79806. }
  79807. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  79808. },
  79809. error$1(_, message) {
  79810. return this.error$3$length$position(0, message, null, null);
  79811. },
  79812. _fail$1($name) {
  79813. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  79814. }
  79815. };
  79816. A.AsciiGlyphSet.prototype = {
  79817. glyphOrAscii$2(glyph, alternative) {
  79818. return alternative;
  79819. },
  79820. get$horizontalLine() {
  79821. return "-";
  79822. },
  79823. get$verticalLine() {
  79824. return "|";
  79825. },
  79826. get$topLeftCorner() {
  79827. return ",";
  79828. },
  79829. get$bottomLeftCorner() {
  79830. return "'";
  79831. },
  79832. get$cross() {
  79833. return "+";
  79834. },
  79835. get$upEnd() {
  79836. return "'";
  79837. },
  79838. get$downEnd() {
  79839. return ",";
  79840. },
  79841. get$horizontalLineBold() {
  79842. return "=";
  79843. }
  79844. };
  79845. A.UnicodeGlyphSet.prototype = {
  79846. glyphOrAscii$2(glyph, alternative) {
  79847. return glyph;
  79848. },
  79849. get$horizontalLine() {
  79850. return "\u2500";
  79851. },
  79852. get$verticalLine() {
  79853. return "\u2502";
  79854. },
  79855. get$topLeftCorner() {
  79856. return "\u250c";
  79857. },
  79858. get$bottomLeftCorner() {
  79859. return "\u2514";
  79860. },
  79861. get$cross() {
  79862. return "\u253c";
  79863. },
  79864. get$upEnd() {
  79865. return "\u2575";
  79866. },
  79867. get$downEnd() {
  79868. return "\u2577";
  79869. },
  79870. get$horizontalLineBold() {
  79871. return "\u2501";
  79872. }
  79873. };
  79874. A.WatchEvent.prototype = {
  79875. toString$0(_) {
  79876. return this.type.toString$0(0) + " " + this.path;
  79877. }
  79878. };
  79879. A.ChangeType.prototype = {
  79880. toString$0(_) {
  79881. return this._watch_event$_name;
  79882. }
  79883. };
  79884. A.AnySelectorVisitor0.prototype = {
  79885. visitComplexSelector$1(complex) {
  79886. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  79887. },
  79888. visitCompoundSelector$1(compound) {
  79889. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  79890. },
  79891. visitPseudoSelector$1(pseudo) {
  79892. var selector = pseudo.selector;
  79893. return selector == null ? false : this.visitSelectorList$1(selector);
  79894. },
  79895. visitSelectorList$1(list) {
  79896. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  79897. },
  79898. visitAttributeSelector$1(attribute) {
  79899. return false;
  79900. },
  79901. visitClassSelector$1(klass) {
  79902. return false;
  79903. },
  79904. visitIDSelector$1(id) {
  79905. return false;
  79906. },
  79907. visitParentSelector$1($parent) {
  79908. return false;
  79909. },
  79910. visitPlaceholderSelector$1(placeholder) {
  79911. return false;
  79912. },
  79913. visitTypeSelector$1(type) {
  79914. return false;
  79915. },
  79916. visitUniversalSelector$1(universal) {
  79917. return false;
  79918. }
  79919. };
  79920. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  79921. call$1(component) {
  79922. return this.$this.visitCompoundSelector$1(component.selector);
  79923. },
  79924. $signature: 52
  79925. };
  79926. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  79927. call$1(simple) {
  79928. return simple.accept$1(this.$this);
  79929. },
  79930. $signature: 14
  79931. };
  79932. A.SupportsAnything0.prototype = {
  79933. toString$0(_) {
  79934. return "(" + this.contents.toString$0(0) + ")";
  79935. },
  79936. $isAstNode0: 1,
  79937. $isSassNode: 1,
  79938. get$span(receiver) {
  79939. return this.span;
  79940. }
  79941. };
  79942. A.Argument0.prototype = {
  79943. toString$0(_) {
  79944. var t1 = this.defaultValue,
  79945. t2 = this.name;
  79946. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  79947. },
  79948. $isAstNode0: 1,
  79949. $isSassNode: 1,
  79950. get$span(receiver) {
  79951. return this.span;
  79952. }
  79953. };
  79954. A.ArgumentDeclaration0.prototype = {
  79955. get$spanWithName() {
  79956. var t3, t4,
  79957. t1 = this.span,
  79958. t2 = t1.file,
  79959. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  79960. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  79961. while (true) {
  79962. if (i > 0) {
  79963. t3 = text.charCodeAt(i);
  79964. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  79965. } else
  79966. t3 = false;
  79967. if (!t3)
  79968. break;
  79969. --i;
  79970. }
  79971. t3 = text.charCodeAt(i);
  79972. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  79973. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79974. else
  79975. t3 = true;
  79976. if (!t3)
  79977. return t1;
  79978. --i;
  79979. while (true) {
  79980. if (i >= 0) {
  79981. t3 = text.charCodeAt(i);
  79982. if (t3 !== 95) {
  79983. if (!(t3 >= 97 && t3 <= 122))
  79984. t4 = t3 >= 65 && t3 <= 90;
  79985. else
  79986. t4 = true;
  79987. t4 = t4 || t3 >= 128;
  79988. } else
  79989. t4 = true;
  79990. if (!t4)
  79991. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79992. else
  79993. t3 = true;
  79994. } else
  79995. t3 = false;
  79996. if (!t3)
  79997. break;
  79998. --i;
  79999. }
  80000. t3 = i + 1;
  80001. t4 = text.charCodeAt(t3);
  80002. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  80003. return t1;
  80004. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  80005. },
  80006. verify$2(positional, names) {
  80007. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  80008. _s10_ = "invocation",
  80009. _s8_ = "argument";
  80010. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  80011. argument = t1[i];
  80012. if (i < positional) {
  80013. t4 = argument.name;
  80014. if (t3.containsKey$1(t4))
  80015. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  80016. } else {
  80017. t4 = argument.name;
  80018. if (t3.containsKey$1(t4))
  80019. ++namedUsed;
  80020. else if (argument.defaultValue == null)
  80021. 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)));
  80022. }
  80023. }
  80024. if (_this.restArgument != null)
  80025. return;
  80026. if (positional > t2) {
  80027. t1 = names.get$isEmpty(0) ? "" : "positional ";
  80028. 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)));
  80029. }
  80030. if (namedUsed < t3.get$length(t3)) {
  80031. t2 = type$.String;
  80032. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  80033. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  80034. 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)));
  80035. }
  80036. },
  80037. _argument_declaration$_originalArgumentName$1($name) {
  80038. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  80039. if ($name === this.restArgument) {
  80040. t1 = this.span;
  80041. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  80042. 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, "."));
  80043. }
  80044. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80045. argument = t1[_i];
  80046. if (argument.name === $name) {
  80047. t1 = argument.defaultValue;
  80048. t2 = argument.span;
  80049. t3 = t2.file;
  80050. t4 = t2._file$_start;
  80051. t2 = t2._end;
  80052. if (t1 == null) {
  80053. t1 = t3._decodedChars;
  80054. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  80055. } else {
  80056. t1 = t3._decodedChars;
  80057. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  80058. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  80059. end = A._lastNonWhitespace0(t1, false);
  80060. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  80061. }
  80062. return t1;
  80063. }
  80064. }
  80065. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  80066. },
  80067. matches$2(positional, names) {
  80068. var t1, t2, t3, namedUsed, i, argument;
  80069. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  80070. argument = t1[i];
  80071. if (i < positional) {
  80072. if (t3.containsKey$1(argument.name))
  80073. return false;
  80074. } else if (t3.containsKey$1(argument.name))
  80075. ++namedUsed;
  80076. else if (argument.defaultValue == null)
  80077. return false;
  80078. }
  80079. if (this.restArgument != null)
  80080. return true;
  80081. if (positional > t2)
  80082. return false;
  80083. if (namedUsed < t3.get$length(t3))
  80084. return false;
  80085. return true;
  80086. },
  80087. toString$0(_) {
  80088. var t2, t3, _i,
  80089. t1 = A._setArrayType([], type$.JSArray_String);
  80090. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80091. t1.push("$" + A.S(t2[_i]));
  80092. t2 = this.restArgument;
  80093. if (t2 != null)
  80094. t1.push("$" + t2 + "...");
  80095. return B.JSArray_methods.join$1(t1, ", ");
  80096. },
  80097. $isAstNode0: 1,
  80098. $isSassNode: 1,
  80099. get$span(receiver) {
  80100. return this.span;
  80101. }
  80102. };
  80103. A.ArgumentDeclaration_verify_closure1.prototype = {
  80104. call$1(argument) {
  80105. return argument.name;
  80106. },
  80107. $signature: 297
  80108. };
  80109. A.ArgumentDeclaration_verify_closure2.prototype = {
  80110. call$1($name) {
  80111. return "$" + $name;
  80112. },
  80113. $signature: 5
  80114. };
  80115. A.ArgumentInvocation0.prototype = {
  80116. get$isEmpty(_) {
  80117. var t1;
  80118. if (this.positional.length === 0) {
  80119. t1 = this.named;
  80120. t1 = t1.get$isEmpty(t1) && this.rest == null;
  80121. } else
  80122. t1 = false;
  80123. return t1;
  80124. },
  80125. toString$0(_) {
  80126. var t2, t3, _i, _1_0, _2_0, _this = this,
  80127. t1 = A._setArrayType([], type$.JSArray_String);
  80128. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80129. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  80130. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  80131. t3 = t2.get$current(t2);
  80132. t1.push("$" + t3._0 + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3._1));
  80133. }
  80134. _1_0 = _this.rest;
  80135. if (_1_0 != null)
  80136. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_1_0) + "...");
  80137. _2_0 = _this.keywordRest;
  80138. if (_2_0 != null)
  80139. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_2_0) + "...");
  80140. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  80141. },
  80142. _argument_invocation$_parenthesizeArgument$1(argument) {
  80143. var t1;
  80144. $label0$0: {
  80145. if (argument instanceof A.ListExpression0 && B.ListSeparator_ECn0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  80146. t1 = "(" + argument.toString$0(0) + ")";
  80147. break $label0$0;
  80148. }
  80149. t1 = argument.toString$0(0);
  80150. break $label0$0;
  80151. }
  80152. return t1;
  80153. },
  80154. $isAstNode0: 1,
  80155. $isSassNode: 1,
  80156. get$span(receiver) {
  80157. return this.span;
  80158. }
  80159. };
  80160. A.argumentListClass_closure.prototype = {
  80161. call$0() {
  80162. var t1 = type$.JSClass,
  80163. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  80164. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  80165. 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);
  80166. return jsClass;
  80167. },
  80168. $signature: 15
  80169. };
  80170. A.argumentListClass__closure.prototype = {
  80171. call$4($self, contents, keywords, separator) {
  80172. var t3,
  80173. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  80174. t2 = type$.Value_2;
  80175. t1 = J.cast$1$0$ax(t1, t2);
  80176. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  80177. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  80178. },
  80179. call$3($self, contents, keywords) {
  80180. return this.call$4($self, contents, keywords, ",");
  80181. },
  80182. "call*": "call$4",
  80183. $requiredArgCount: 3,
  80184. $defaultValues() {
  80185. return [","];
  80186. },
  80187. $signature: 299
  80188. };
  80189. A.argumentListClass__closure0.prototype = {
  80190. call$1($self) {
  80191. $self._argument_list$_wereKeywordsAccessed = true;
  80192. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  80193. },
  80194. $signature: 300
  80195. };
  80196. A.SassArgumentList0.prototype = {};
  80197. A.JSArray1.prototype = {};
  80198. A.AsyncImporter0.prototype = {
  80199. isNonCanonicalScheme$1(scheme) {
  80200. return false;
  80201. }
  80202. };
  80203. A.JSToDartAsyncImporter.prototype = {
  80204. canonicalize$1(_, url) {
  80205. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  80206. },
  80207. canonicalize$body$JSToDartAsyncImporter(_, url) {
  80208. var $async$goto = 0,
  80209. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  80210. $async$returnValue, $async$self = this, t1, result;
  80211. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80212. if ($async$errorCode === 1)
  80213. return A._asyncRethrow($async$result, $async$completer);
  80214. while (true)
  80215. switch ($async$goto) {
  80216. case 0:
  80217. // Function start
  80218. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  80219. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  80220. break;
  80221. case 3:
  80222. // then
  80223. $async$goto = 5;
  80224. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  80225. case 5:
  80226. // returning from await.
  80227. result = $async$result;
  80228. case 4:
  80229. // join
  80230. if (result == null) {
  80231. $async$returnValue = null;
  80232. // goto return
  80233. $async$goto = 1;
  80234. break;
  80235. }
  80236. t1 = self.URL;
  80237. if (result instanceof t1) {
  80238. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  80239. // goto return
  80240. $async$goto = 1;
  80241. break;
  80242. }
  80243. A.jsThrow(new self.Error(string$.The_ca));
  80244. case 1:
  80245. // return
  80246. return A._asyncReturn($async$returnValue, $async$completer);
  80247. }
  80248. });
  80249. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  80250. },
  80251. load$1(_, url) {
  80252. return this.load$body$JSToDartAsyncImporter(0, url);
  80253. },
  80254. load$body$JSToDartAsyncImporter(_, url) {
  80255. var $async$goto = 0,
  80256. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  80257. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  80258. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80259. if ($async$errorCode === 1)
  80260. return A._asyncRethrow($async$result, $async$completer);
  80261. while (true)
  80262. switch ($async$goto) {
  80263. case 0:
  80264. // Function start
  80265. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  80266. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  80267. break;
  80268. case 3:
  80269. // then
  80270. $async$goto = 5;
  80271. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  80272. case 5:
  80273. // returning from await.
  80274. result = $async$result;
  80275. case 4:
  80276. // join
  80277. if (result == null) {
  80278. $async$returnValue = null;
  80279. // goto return
  80280. $async$goto = 1;
  80281. break;
  80282. }
  80283. type$.JSImporterResult._as(result);
  80284. t1 = J.getInterceptor$x(result);
  80285. contents = t1.get$contents(result);
  80286. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  80287. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  80288. syntax = t1.get$syntax(result);
  80289. if (contents == null || syntax == null)
  80290. A.jsThrow(new self.Error(string$.The_lo));
  80291. t2 = A.parseSyntax(syntax);
  80292. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  80293. // goto return
  80294. $async$goto = 1;
  80295. break;
  80296. case 1:
  80297. // return
  80298. return A._asyncReturn($async$returnValue, $async$completer);
  80299. }
  80300. });
  80301. return A._asyncStartSync($async$load$1, $async$completer);
  80302. },
  80303. isNonCanonicalScheme$1(scheme) {
  80304. return this._nonCanonicalSchemes.contains$1(0, scheme);
  80305. }
  80306. };
  80307. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  80308. call$0() {
  80309. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  80310. },
  80311. $signature: 31
  80312. };
  80313. A.JSToDartAsyncImporter_load_closure.prototype = {
  80314. call$0() {
  80315. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  80316. },
  80317. $signature: 31
  80318. };
  80319. A.AsyncBuiltInCallable0.prototype = {
  80320. callbackFor$2(positional, names) {
  80321. return new A._Record_2(this._async_built_in0$_arguments, this._async_built_in0$_callback);
  80322. },
  80323. $isAsyncCallable0: 1,
  80324. get$name(receiver) {
  80325. return this.name;
  80326. },
  80327. get$acceptsContent() {
  80328. return this.acceptsContent;
  80329. }
  80330. };
  80331. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  80332. call$1($arguments) {
  80333. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  80334. },
  80335. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  80336. var $async$goto = 0,
  80337. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  80338. $async$returnValue, $async$self = this, t1;
  80339. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80340. if ($async$errorCode === 1)
  80341. return A._asyncRethrow($async$result, $async$completer);
  80342. while (true)
  80343. switch ($async$goto) {
  80344. case 0:
  80345. // Function start
  80346. t1 = $async$self.callback.call$1($arguments);
  80347. $async$goto = 3;
  80348. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  80349. case 3:
  80350. // returning from await.
  80351. $async$returnValue = B.C__SassNull0;
  80352. // goto return
  80353. $async$goto = 1;
  80354. break;
  80355. case 1:
  80356. // return
  80357. return A._asyncReturn($async$returnValue, $async$completer);
  80358. }
  80359. });
  80360. return A._asyncStartSync($async$call$1, $async$completer);
  80361. },
  80362. $signature: 86
  80363. };
  80364. A._compileStylesheet_closure2.prototype = {
  80365. call$1(url) {
  80366. 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);
  80367. },
  80368. $signature: 5
  80369. };
  80370. A.AsyncEnvironment0.prototype = {
  80371. closure$0() {
  80372. var t4, t5, t6, _this = this,
  80373. t1 = _this._async_environment0$_forwardedModules,
  80374. t2 = _this._async_environment0$_nestedForwardedModules,
  80375. t3 = _this._async_environment0$_variables;
  80376. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  80377. t4 = _this._async_environment0$_variableNodes;
  80378. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  80379. t5 = _this._async_environment0$_functions;
  80380. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  80381. t6 = _this._async_environment0$_mixins;
  80382. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  80383. 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);
  80384. },
  80385. forwardModule$2(module, rule) {
  80386. var view, t1, t2, _this = this,
  80387. forwardedModules = _this._async_environment0$_forwardedModules;
  80388. if (forwardedModules == null)
  80389. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80390. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  80391. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  80392. t2 = t1.__js_helper$_current;
  80393. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  80394. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  80395. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  80396. }
  80397. _this._async_environment0$_allModules.push(module);
  80398. forwardedModules.$indexSet(0, view, rule);
  80399. },
  80400. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  80401. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  80402. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  80403. larger = oldMembers;
  80404. smaller = newMembers;
  80405. } else {
  80406. larger = newMembers;
  80407. smaller = oldMembers;
  80408. }
  80409. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  80410. t4 = t2.get$current(t2);
  80411. $name = t4._0;
  80412. small = t4._1;
  80413. large = larger.$index(0, $name);
  80414. if (large == null)
  80415. continue;
  80416. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  80417. continue;
  80418. if (t3)
  80419. $name = "$" + $name;
  80420. t2 = this._async_environment0$_forwardedModules;
  80421. if (t2 == null)
  80422. span = null;
  80423. else {
  80424. t2 = t2.$index(0, oldModule);
  80425. span = t2 == null ? null : J.get$span$z(t2);
  80426. }
  80427. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  80428. if (span != null)
  80429. t2.$indexSet(0, span, "original @forward");
  80430. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  80431. }
  80432. },
  80433. importForwards$1(module) {
  80434. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, _length, _list, _this = this,
  80435. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  80436. if (forwarded == null)
  80437. return;
  80438. forwardedModules = _this._async_environment0$_forwardedModules;
  80439. if (forwardedModules != null) {
  80440. t1 = type$.Module_AsyncCallable_2;
  80441. t2 = type$.AstNode_2;
  80442. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  80443. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  80444. t4 = t1.get$current(t1);
  80445. module = t4._0;
  80446. node = t4._1;
  80447. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  80448. t3.$indexSet(0, module, node);
  80449. }
  80450. forwarded = t3;
  80451. } else
  80452. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80453. t1 = type$.String;
  80454. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80455. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  80456. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  80457. t2.add$1(0, t4.get$current(t4));
  80458. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80459. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  80460. t5 = t4.__js_helper$_current;
  80461. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80462. t3.add$1(0, t5.get$current(t5));
  80463. }
  80464. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80465. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  80466. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80467. t1.add$1(0, t5.get$current(t5));
  80468. t4 = _this._async_environment0$_variables;
  80469. t5 = t4.length;
  80470. if (t5 === 1) {
  80471. 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) {
  80472. t11 = t8[_i];
  80473. module = t11._0;
  80474. node = t11._1;
  80475. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80476. if (shadowed != null) {
  80477. t5.remove$1(0, module);
  80478. t11 = shadowed.variables;
  80479. t12 = false;
  80480. if (t11.get$isEmpty(t11)) {
  80481. t11 = shadowed.functions;
  80482. if (t11.get$isEmpty(t11)) {
  80483. t11 = shadowed.mixins;
  80484. if (t11.get$isEmpty(t11)) {
  80485. t11 = shadowed._shadowed_view0$_inner;
  80486. t11 = t11.get$css(t11);
  80487. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  80488. } else
  80489. t11 = t12;
  80490. } else
  80491. t11 = t12;
  80492. } else
  80493. t11 = t12;
  80494. if (!t11)
  80495. t5.$indexSet(0, shadowed, node);
  80496. }
  80497. }
  80498. 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) {
  80499. t8 = t6[_i];
  80500. module = t8._0;
  80501. node = t8._1;
  80502. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80503. if (shadowed != null) {
  80504. forwardedModules.remove$1(0, module);
  80505. t8 = shadowed.variables;
  80506. t9 = false;
  80507. if (t8.get$isEmpty(t8)) {
  80508. t8 = shadowed.functions;
  80509. if (t8.get$isEmpty(t8)) {
  80510. t8 = shadowed.mixins;
  80511. if (t8.get$isEmpty(t8)) {
  80512. t8 = shadowed._shadowed_view0$_inner;
  80513. t8 = t8.get$css(t8);
  80514. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  80515. } else
  80516. t8 = t9;
  80517. } else
  80518. t8 = t9;
  80519. } else
  80520. t8 = t9;
  80521. if (!t8)
  80522. forwardedModules.$indexSet(0, shadowed, node);
  80523. }
  80524. }
  80525. t5.addAll$1(0, forwarded);
  80526. forwardedModules.addAll$1(0, forwarded);
  80527. } else {
  80528. t6 = _this._async_environment0$_nestedForwardedModules;
  80529. if (t6 == null) {
  80530. _length = t5 - 1;
  80531. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  80532. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  80533. _list[_i] = A._setArrayType([], t5);
  80534. _this._async_environment0$_nestedForwardedModules = _list;
  80535. t5 = _list;
  80536. } else
  80537. t5 = t6;
  80538. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  80539. }
  80540. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80541. t8 = t2._collection$_current;
  80542. if (t8 == null)
  80543. t8 = t7._as(t8);
  80544. t5.remove$1(0, t8);
  80545. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  80546. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  80547. }
  80548. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80549. t6 = t2._collection$_current;
  80550. if (t6 == null)
  80551. t6 = t5._as(t6);
  80552. t3.remove$1(0, t6);
  80553. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  80554. }
  80555. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  80556. t5 = t1._collection$_current;
  80557. if (t5 == null)
  80558. t5 = t4._as(t5);
  80559. t2.remove$1(0, t5);
  80560. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  80561. }
  80562. },
  80563. getVariable$2$namespace($name, namespace) {
  80564. var t1, _0_0, _1_0, _this = this;
  80565. if (namespace != null)
  80566. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  80567. if (_this._async_environment0$_lastVariableName === $name) {
  80568. t1 = _this._async_environment0$_lastVariableIndex;
  80569. t1.toString;
  80570. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  80571. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80572. }
  80573. t1 = _this._async_environment0$_variableIndices;
  80574. _0_0 = t1.$index(0, $name);
  80575. if (_0_0 != null) {
  80576. _this._async_environment0$_lastVariableName = $name;
  80577. _this._async_environment0$_lastVariableIndex = _0_0;
  80578. t1 = J.$index$asx(_this._async_environment0$_variables[_0_0], $name);
  80579. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80580. } else {
  80581. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80582. if (_1_0 != null) {
  80583. _this._async_environment0$_lastVariableName = $name;
  80584. _this._async_environment0$_lastVariableIndex = _1_0;
  80585. t1.$indexSet(0, $name, _1_0);
  80586. t1 = J.$index$asx(_this._async_environment0$_variables[_1_0], $name);
  80587. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80588. } else
  80589. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  80590. }
  80591. },
  80592. getVariable$1($name) {
  80593. return this.getVariable$2$namespace($name, null);
  80594. },
  80595. _async_environment0$_getVariableFromGlobalModule$1($name) {
  80596. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  80597. },
  80598. getVariableNode$2$namespace($name, namespace) {
  80599. var t1, _0_0, _1_0, _this = this;
  80600. if (namespace != null)
  80601. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  80602. if (_this._async_environment0$_lastVariableName === $name) {
  80603. t1 = _this._async_environment0$_lastVariableIndex;
  80604. t1.toString;
  80605. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  80606. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80607. }
  80608. t1 = _this._async_environment0$_variableIndices;
  80609. _0_0 = t1.$index(0, $name);
  80610. if (_0_0 != null) {
  80611. _this._async_environment0$_lastVariableName = $name;
  80612. _this._async_environment0$_lastVariableIndex = _0_0;
  80613. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_0_0], $name);
  80614. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80615. } else {
  80616. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80617. if (_1_0 != null) {
  80618. _this._async_environment0$_lastVariableName = $name;
  80619. _this._async_environment0$_lastVariableIndex = _1_0;
  80620. t1.$indexSet(0, $name, _1_0);
  80621. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_1_0], $name);
  80622. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80623. } else
  80624. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  80625. }
  80626. },
  80627. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  80628. var t1, t2, _0_0;
  80629. 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();) {
  80630. t1 = t2._currentIterator;
  80631. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  80632. if (_0_0 != null)
  80633. return _0_0;
  80634. }
  80635. return null;
  80636. },
  80637. globalVariableExists$2$namespace($name, namespace) {
  80638. if (namespace != null)
  80639. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  80640. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  80641. return true;
  80642. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  80643. },
  80644. globalVariableExists$1($name) {
  80645. return this.globalVariableExists$2$namespace($name, null);
  80646. },
  80647. _async_environment0$_variableIndex$1($name) {
  80648. var t1, i;
  80649. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  80650. if (t1[i].containsKey$1($name))
  80651. return i;
  80652. return null;
  80653. },
  80654. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  80655. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  80656. if (namespace != null) {
  80657. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  80658. return;
  80659. }
  80660. if (global || _this._async_environment0$_variables.length === 1) {
  80661. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  80662. t1 = _this._async_environment0$_variables;
  80663. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  80664. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  80665. if (moduleWithName != null) {
  80666. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  80667. return;
  80668. }
  80669. }
  80670. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  80671. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  80672. return;
  80673. }
  80674. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  80675. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  80676. for (t1 = A._arrayInstanceType(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();) {
  80677. t3 = t2.__internal$_current;
  80678. 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();) {
  80679. t5 = t3.__internal$_current;
  80680. if (t5 == null)
  80681. t5 = t4._as(t5);
  80682. if (t5.get$variables().containsKey$1($name)) {
  80683. t5.setVariable$3($name, value, nodeWithSpan);
  80684. return;
  80685. }
  80686. }
  80687. }
  80688. if (_this._async_environment0$_lastVariableName === $name) {
  80689. t1 = _this._async_environment0$_lastVariableIndex;
  80690. t1.toString;
  80691. index = t1;
  80692. } else
  80693. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  80694. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  80695. index = _this._async_environment0$_variables.length - 1;
  80696. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80697. }
  80698. _this._async_environment0$_lastVariableName = $name;
  80699. _this._async_environment0$_lastVariableIndex = index;
  80700. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  80701. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80702. },
  80703. setVariable$4$global($name, value, nodeWithSpan, global) {
  80704. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  80705. },
  80706. setLocalVariable$3($name, value, nodeWithSpan) {
  80707. var index, _this = this,
  80708. t1 = _this._async_environment0$_variables,
  80709. t2 = t1.length;
  80710. _this._async_environment0$_lastVariableName = $name;
  80711. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  80712. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80713. J.$indexSet$ax(t1[index], $name, value);
  80714. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80715. },
  80716. getFunction$2$namespace($name, namespace) {
  80717. var t1, _0_0, _1_0, _this = this;
  80718. if (namespace != null) {
  80719. t1 = _this._async_environment0$_getModule$1(namespace);
  80720. return t1.get$functions(t1).$index(0, $name);
  80721. }
  80722. t1 = _this._async_environment0$_functionIndices;
  80723. _0_0 = t1.$index(0, $name);
  80724. if (_0_0 != null) {
  80725. t1 = J.$index$asx(_this._async_environment0$_functions[_0_0], $name);
  80726. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80727. } else {
  80728. _1_0 = _this._async_environment0$_functionIndex$1($name);
  80729. if (_1_0 != null) {
  80730. t1.$indexSet(0, $name, _1_0);
  80731. t1 = J.$index$asx(_this._async_environment0$_functions[_1_0], $name);
  80732. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80733. } else
  80734. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  80735. }
  80736. },
  80737. getFunction$1($name) {
  80738. return this.getFunction$2$namespace($name, null);
  80739. },
  80740. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  80741. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  80742. },
  80743. _async_environment0$_functionIndex$1($name) {
  80744. var t1, i;
  80745. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  80746. if (t1[i].containsKey$1($name))
  80747. return i;
  80748. return null;
  80749. },
  80750. getMixin$2$namespace($name, namespace) {
  80751. var t1, _0_0, _1_0, _this = this;
  80752. if (namespace != null)
  80753. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  80754. t1 = _this._async_environment0$_mixinIndices;
  80755. _0_0 = t1.$index(0, $name);
  80756. if (_0_0 != null) {
  80757. t1 = J.$index$asx(_this._async_environment0$_mixins[_0_0], $name);
  80758. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80759. } else {
  80760. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  80761. if (_1_0 != null) {
  80762. t1.$indexSet(0, $name, _1_0);
  80763. t1 = J.$index$asx(_this._async_environment0$_mixins[_1_0], $name);
  80764. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80765. } else
  80766. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  80767. }
  80768. },
  80769. _async_environment0$_getMixinFromGlobalModule$1($name) {
  80770. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  80771. },
  80772. _async_environment0$_mixinIndex$1($name) {
  80773. var t1, i;
  80774. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80775. if (t1[i].containsKey$1($name))
  80776. return i;
  80777. return null;
  80778. },
  80779. withContent$2($content, callback) {
  80780. return this.withContent$body$AsyncEnvironment0($content, callback);
  80781. },
  80782. withContent$body$AsyncEnvironment0($content, callback) {
  80783. var $async$goto = 0,
  80784. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80785. $async$self = this, oldContent;
  80786. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80787. if ($async$errorCode === 1)
  80788. return A._asyncRethrow($async$result, $async$completer);
  80789. while (true)
  80790. switch ($async$goto) {
  80791. case 0:
  80792. // Function start
  80793. oldContent = $async$self._async_environment0$_content;
  80794. $async$self._async_environment0$_content = $content;
  80795. $async$goto = 2;
  80796. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  80797. case 2:
  80798. // returning from await.
  80799. $async$self._async_environment0$_content = oldContent;
  80800. // implicit return
  80801. return A._asyncReturn(null, $async$completer);
  80802. }
  80803. });
  80804. return A._asyncStartSync($async$withContent$2, $async$completer);
  80805. },
  80806. asMixin$1(callback) {
  80807. var $async$goto = 0,
  80808. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80809. $async$self = this, oldInMixin;
  80810. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80811. if ($async$errorCode === 1)
  80812. return A._asyncRethrow($async$result, $async$completer);
  80813. while (true)
  80814. switch ($async$goto) {
  80815. case 0:
  80816. // Function start
  80817. oldInMixin = $async$self._async_environment0$_inMixin;
  80818. $async$self._async_environment0$_inMixin = true;
  80819. $async$goto = 2;
  80820. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  80821. case 2:
  80822. // returning from await.
  80823. $async$self._async_environment0$_inMixin = oldInMixin;
  80824. // implicit return
  80825. return A._asyncReturn(null, $async$completer);
  80826. }
  80827. });
  80828. return A._asyncStartSync($async$asMixin$1, $async$completer);
  80829. },
  80830. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  80831. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  80832. },
  80833. scope$1$1(callback, $T) {
  80834. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80835. },
  80836. scope$1$2$when(callback, when, $T) {
  80837. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80838. },
  80839. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80840. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80841. },
  80842. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  80843. var $async$goto = 0,
  80844. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  80845. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  80846. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80847. if ($async$errorCode === 1) {
  80848. $async$currentError = $async$result;
  80849. $async$goto = $async$handler;
  80850. }
  80851. while (true)
  80852. switch ($async$goto) {
  80853. case 0:
  80854. // Function start
  80855. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  80856. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  80857. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  80858. $async$goto = !when ? 3 : 4;
  80859. break;
  80860. case 3:
  80861. // then
  80862. $async$handler = 5;
  80863. $async$goto = 8;
  80864. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80865. case 8:
  80866. // returning from await.
  80867. t1 = $async$result;
  80868. $async$returnValue = t1;
  80869. $async$next = [1];
  80870. // goto finally
  80871. $async$goto = 6;
  80872. break;
  80873. $async$next.push(7);
  80874. // goto finally
  80875. $async$goto = 6;
  80876. break;
  80877. case 5:
  80878. // uncaught
  80879. $async$next = [2];
  80880. case 6:
  80881. // finally
  80882. $async$handler = 2;
  80883. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80884. // goto the next finally handler
  80885. $async$goto = $async$next.pop();
  80886. break;
  80887. case 7:
  80888. // after finally
  80889. case 4:
  80890. // join
  80891. t1 = $async$self._async_environment0$_variables;
  80892. t2 = type$.String;
  80893. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80894. t3 = $async$self._async_environment0$_variableNodes;
  80895. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80896. t4 = $async$self._async_environment0$_functions;
  80897. t5 = type$.AsyncCallable_2;
  80898. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80899. t6 = $async$self._async_environment0$_mixins;
  80900. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80901. t5 = $async$self._async_environment0$_nestedForwardedModules;
  80902. if (t5 != null)
  80903. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  80904. $async$handler = 9;
  80905. $async$goto = 12;
  80906. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80907. case 12:
  80908. // returning from await.
  80909. t2 = $async$result;
  80910. $async$returnValue = t2;
  80911. $async$next = [1];
  80912. // goto finally
  80913. $async$goto = 10;
  80914. break;
  80915. $async$next.push(11);
  80916. // goto finally
  80917. $async$goto = 10;
  80918. break;
  80919. case 9:
  80920. // uncaught
  80921. $async$next = [2];
  80922. case 10:
  80923. // finally
  80924. $async$handler = 2;
  80925. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80926. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  80927. 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();) {
  80928. $name = t1.get$current(t1);
  80929. t2.remove$1(0, $name);
  80930. }
  80931. B.JSArray_methods.removeLast$0(t3);
  80932. 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();) {
  80933. name0 = t1.get$current(t1);
  80934. t2.remove$1(0, name0);
  80935. }
  80936. 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();) {
  80937. name1 = t1.get$current(t1);
  80938. t2.remove$1(0, name1);
  80939. }
  80940. t1 = $async$self._async_environment0$_nestedForwardedModules;
  80941. if (t1 != null)
  80942. t1.pop();
  80943. // goto the next finally handler
  80944. $async$goto = $async$next.pop();
  80945. break;
  80946. case 11:
  80947. // after finally
  80948. case 1:
  80949. // return
  80950. return A._asyncReturn($async$returnValue, $async$completer);
  80951. case 2:
  80952. // rethrow
  80953. return A._asyncRethrow($async$currentError, $async$completer);
  80954. }
  80955. });
  80956. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  80957. },
  80958. toImplicitConfiguration$0() {
  80959. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  80960. t1 = type$.String,
  80961. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  80962. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  80963. values = t2[i];
  80964. nodes = t4[i];
  80965. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80966. t6 = t5.get$current(t5);
  80967. $name = t6._0;
  80968. value = t6._1;
  80969. t6 = nodes.$index(0, $name);
  80970. t6.toString;
  80971. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  80972. }
  80973. }
  80974. return new A.Configuration0(configuration, null);
  80975. },
  80976. toModule$3(css, preModuleComments, extensionStore) {
  80977. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  80978. },
  80979. toDummyModule$0() {
  80980. 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()));
  80981. },
  80982. _async_environment0$_getModule$1(namespace) {
  80983. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  80984. if (_0_0 != null)
  80985. return _0_0;
  80986. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80987. },
  80988. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  80989. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  80990. _0_0 = this._async_environment0$_nestedForwardedModules;
  80991. if (_0_0 != null)
  80992. 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();) {
  80993. t3 = t2.__internal$_current;
  80994. 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();) {
  80995. t5 = t3.__internal$_current;
  80996. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80997. if (_1_0 != null)
  80998. return _1_0;
  80999. }
  81000. }
  81001. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  81002. _2_0 = callback.call$1(t1.__js_helper$_current);
  81003. if (_2_0 != null)
  81004. return _2_0;
  81005. }
  81006. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  81007. t4 = t2.__js_helper$_current;
  81008. valueInModule = callback.call$1(t4);
  81009. if (valueInModule == null)
  81010. continue;
  81011. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  81012. if (identityFromModule.$eq(0, identity))
  81013. continue;
  81014. if (value != null) {
  81015. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81016. 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();) {
  81017. t1 = t3.get$current(t3);
  81018. module = t1._0;
  81019. node = t1._1;
  81020. if (callback.call$1(module) != null)
  81021. t2.$indexSet(0, node.get$span(node), t4);
  81022. }
  81023. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  81024. }
  81025. identity = identityFromModule;
  81026. value = valueInModule;
  81027. }
  81028. return value;
  81029. },
  81030. _async_environment0$_fromOneModule$3($name, type, callback) {
  81031. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  81032. }
  81033. };
  81034. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  81035. call$1(module) {
  81036. return module.get$variables().$index(0, this.name);
  81037. },
  81038. $signature: 303
  81039. };
  81040. A.AsyncEnvironment_setVariable_closure2.prototype = {
  81041. call$0() {
  81042. var t1 = this.$this;
  81043. t1._async_environment0$_lastVariableName = this.name;
  81044. return t1._async_environment0$_lastVariableIndex = 0;
  81045. },
  81046. $signature: 10
  81047. };
  81048. A.AsyncEnvironment_setVariable_closure3.prototype = {
  81049. call$1(module) {
  81050. return module.get$variables().containsKey$1(this.name) ? module : null;
  81051. },
  81052. $signature: 304
  81053. };
  81054. A.AsyncEnvironment_setVariable_closure4.prototype = {
  81055. call$0() {
  81056. var t1 = this.$this,
  81057. t2 = t1._async_environment0$_variableIndex$1(this.name);
  81058. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  81059. },
  81060. $signature: 10
  81061. };
  81062. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  81063. call$1(module) {
  81064. return module.get$functions(module).$index(0, this.name);
  81065. },
  81066. $signature: 137
  81067. };
  81068. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  81069. call$1(module) {
  81070. return module.get$mixins().$index(0, this.name);
  81071. },
  81072. $signature: 137
  81073. };
  81074. A.AsyncEnvironment_toModule_closure0.prototype = {
  81075. call$1(modules) {
  81076. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  81077. },
  81078. $signature: 256
  81079. };
  81080. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  81081. call$1(modules) {
  81082. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  81083. },
  81084. $signature: 256
  81085. };
  81086. A._EnvironmentModule2.prototype = {
  81087. get$url(_) {
  81088. var t1 = this.css;
  81089. return t1.get$span(t1).file.url;
  81090. },
  81091. setVariable$3($name, value, nodeWithSpan) {
  81092. var t1, t2,
  81093. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  81094. if (_0_0 != null) {
  81095. _0_0.setVariable$3($name, value, nodeWithSpan);
  81096. return;
  81097. }
  81098. t1 = this._async_environment0$_environment;
  81099. t2 = t1._async_environment0$_variables;
  81100. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  81101. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  81102. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  81103. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  81104. return;
  81105. },
  81106. variableIdentity$1($name) {
  81107. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  81108. return module == null ? this : module.variableIdentity$1($name);
  81109. },
  81110. cloneCss$0() {
  81111. var _0_0, _this = this;
  81112. if (!_this.transitivelyContainsCss)
  81113. return _this;
  81114. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  81115. 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);
  81116. },
  81117. toString$0(_) {
  81118. var t2,
  81119. t1 = this.css;
  81120. if (t1.get$span(t1).file.url == null)
  81121. t1 = "<unknown url>";
  81122. else {
  81123. t1 = t1.get$span(t1).file.url;
  81124. t2 = $.$get$context();
  81125. t1.toString;
  81126. t1 = t2.prettyUri$1(t1);
  81127. }
  81128. return t1;
  81129. },
  81130. $isModule1: 1,
  81131. get$upstream() {
  81132. return this.upstream;
  81133. },
  81134. get$variables() {
  81135. return this.variables;
  81136. },
  81137. get$variableNodes() {
  81138. return this.variableNodes;
  81139. },
  81140. get$functions(receiver) {
  81141. return this.functions;
  81142. },
  81143. get$mixins() {
  81144. return this.mixins;
  81145. },
  81146. get$extensionStore() {
  81147. return this.extensionStore;
  81148. },
  81149. get$css(receiver) {
  81150. return this.css;
  81151. },
  81152. get$preModuleComments() {
  81153. return this.preModuleComments;
  81154. },
  81155. get$transitivelyContainsCss() {
  81156. return this.transitivelyContainsCss;
  81157. },
  81158. get$transitivelyContainsExtensions() {
  81159. return this.transitivelyContainsExtensions;
  81160. }
  81161. };
  81162. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  81163. call$1(module) {
  81164. return module.get$variables();
  81165. },
  81166. $signature: 307
  81167. };
  81168. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  81169. call$1(module) {
  81170. return module.get$variableNodes();
  81171. },
  81172. $signature: 308
  81173. };
  81174. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  81175. call$1(module) {
  81176. return module.get$functions(module);
  81177. },
  81178. $signature: 255
  81179. };
  81180. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  81181. call$1(module) {
  81182. return module.get$mixins();
  81183. },
  81184. $signature: 255
  81185. };
  81186. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  81187. call$1(module) {
  81188. return module.get$transitivelyContainsCss();
  81189. },
  81190. $signature: 121
  81191. };
  81192. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  81193. call$1(module) {
  81194. return module.get$transitivelyContainsExtensions();
  81195. },
  81196. $signature: 121
  81197. };
  81198. A._EvaluateVisitor2.prototype = {
  81199. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  81200. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  81201. _s20_ = "$name, $module: null",
  81202. _s9_ = "sass:meta",
  81203. _s7_ = "$module",
  81204. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  81205. 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),
  81206. 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);
  81207. t1 = type$.AsyncBuiltInCallable_2;
  81208. t2 = A.List_List$of($.$get$global6(), true, t1);
  81209. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  81210. B.JSArray_methods.addAll$1(t2, metaFunctions);
  81211. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  81212. 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) {
  81213. module = t1[_i];
  81214. t3.$indexSet(0, module.url, module);
  81215. }
  81216. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  81217. B.JSArray_methods.addAll$1(t1, functions);
  81218. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  81219. B.JSArray_methods.addAll$1(t1, metaFunctions);
  81220. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  81221. $function = t1[_i];
  81222. t4 = J.get$name$x($function);
  81223. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  81224. }
  81225. },
  81226. run$2(_, importer, node) {
  81227. return this.run$body$_EvaluateVisitor0(0, importer, node);
  81228. },
  81229. run$body$_EvaluateVisitor0(_, importer, node) {
  81230. var $async$goto = 0,
  81231. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  81232. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  81233. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81234. if ($async$errorCode === 1) {
  81235. $async$currentError = $async$result;
  81236. $async$goto = $async$handler;
  81237. }
  81238. while (true)
  81239. switch ($async$goto) {
  81240. case 0:
  81241. // Function start
  81242. $async$handler = 4;
  81243. t1 = type$.nullable_Object;
  81244. 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);
  81245. $async$goto = 7;
  81246. 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);
  81247. case 7:
  81248. // returning from await.
  81249. t1 = $async$result;
  81250. $async$returnValue = t1;
  81251. // goto return
  81252. $async$goto = 1;
  81253. break;
  81254. $async$handler = 2;
  81255. // goto after finally
  81256. $async$goto = 6;
  81257. break;
  81258. case 4:
  81259. // catch
  81260. $async$handler = 3;
  81261. $async$exception = $async$currentError;
  81262. t1 = A.unwrapException($async$exception);
  81263. if (t1 instanceof A.SassException0) {
  81264. error = t1;
  81265. stackTrace = A.getTraceFromException($async$exception);
  81266. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  81267. } else
  81268. throw $async$exception;
  81269. // goto after finally
  81270. $async$goto = 6;
  81271. break;
  81272. case 3:
  81273. // uncaught
  81274. // goto rethrow
  81275. $async$goto = 2;
  81276. break;
  81277. case 6:
  81278. // after finally
  81279. case 1:
  81280. // return
  81281. return A._asyncReturn($async$returnValue, $async$completer);
  81282. case 2:
  81283. // rethrow
  81284. return A._asyncRethrow($async$currentError, $async$completer);
  81285. }
  81286. });
  81287. return A._asyncStartSync($async$run$2, $async$completer);
  81288. },
  81289. _async_evaluate0$_assertInModule$1$2(value, $name) {
  81290. if (value != null)
  81291. return value;
  81292. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  81293. },
  81294. _async_evaluate0$_assertInModule$2(value, $name) {
  81295. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  81296. },
  81297. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81298. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  81299. },
  81300. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  81301. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  81302. },
  81303. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  81304. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  81305. },
  81306. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81307. var $async$goto = 0,
  81308. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  81309. $async$returnValue, $async$self = this, t2, t1, _0_0;
  81310. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81311. if ($async$errorCode === 1)
  81312. return A._asyncRethrow($async$result, $async$completer);
  81313. while (true)
  81314. switch ($async$goto) {
  81315. case 0:
  81316. // Function start
  81317. t1 = {};
  81318. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  81319. t1.builtInModule = null;
  81320. $async$goto = _0_0 != null ? 3 : 4;
  81321. break;
  81322. case 3:
  81323. // then
  81324. t1.builtInModule = _0_0;
  81325. if (configuration instanceof A.ExplicitConfiguration0) {
  81326. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  81327. t2 = configuration.nodeWithSpan;
  81328. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  81329. }
  81330. $async$goto = 5;
  81331. 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);
  81332. case 5:
  81333. // returning from await.
  81334. // goto return
  81335. $async$goto = 1;
  81336. break;
  81337. case 4:
  81338. // join
  81339. $async$goto = 6;
  81340. 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);
  81341. case 6:
  81342. // returning from await.
  81343. case 1:
  81344. // return
  81345. return A._asyncReturn($async$returnValue, $async$completer);
  81346. }
  81347. });
  81348. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  81349. },
  81350. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81351. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  81352. },
  81353. _async_evaluate0$_execute$2(importer, stylesheet) {
  81354. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  81355. },
  81356. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81357. var $async$goto = 0,
  81358. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  81359. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  81360. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81361. if ($async$errorCode === 1)
  81362. return A._asyncRethrow($async$result, $async$completer);
  81363. while (true)
  81364. switch ($async$goto) {
  81365. case 0:
  81366. // Function start
  81367. url = stylesheet.span.file.url;
  81368. t1 = $async$self._async_evaluate0$_modules;
  81369. _0_0 = t1.$index(0, url);
  81370. if (_0_0 != null) {
  81371. t1 = configuration == null;
  81372. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  81373. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  81374. t3 = t2._configuration0$__originalConfiguration;
  81375. t2 = t3 == null ? t2 : t3;
  81376. t3 = currentConfiguration._configuration0$__originalConfiguration;
  81377. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  81378. if (namesInErrors) {
  81379. t2 = $.$get$context();
  81380. url.toString;
  81381. message = t2.prettyUri$1(url) + string$.x20was_a;
  81382. } else
  81383. message = string$.This_mw;
  81384. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  81385. existingSpan = t2 == null ? null : t2.get$span(t2);
  81386. if (t1) {
  81387. t1 = currentConfiguration.nodeWithSpan;
  81388. configurationSpan = t1.get$span(t1);
  81389. } else
  81390. configurationSpan = null;
  81391. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81392. if (existingSpan != null)
  81393. t1.$indexSet(0, existingSpan, "original load");
  81394. if (configurationSpan != null)
  81395. t1.$indexSet(0, configurationSpan, "configuration");
  81396. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  81397. }
  81398. $async$returnValue = _0_0;
  81399. // goto return
  81400. $async$goto = 1;
  81401. break;
  81402. }
  81403. environment = A.AsyncEnvironment$0();
  81404. css = A._Cell$();
  81405. preModuleComments = A._Cell$();
  81406. extensionStore = A.ExtensionStore$0();
  81407. $async$goto = 3;
  81408. 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);
  81409. case 3:
  81410. // returning from await.
  81411. t2 = css._readLocal$0();
  81412. t3 = preModuleComments._readLocal$0();
  81413. module = environment.toModule$3(t2, t3 == null ? B.Map_empty15 : t3, extensionStore);
  81414. if (url != null) {
  81415. t1.$indexSet(0, url, module);
  81416. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  81417. if (nodeWithSpan != null)
  81418. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  81419. }
  81420. $async$returnValue = module;
  81421. // goto return
  81422. $async$goto = 1;
  81423. break;
  81424. case 1:
  81425. // return
  81426. return A._asyncReturn($async$returnValue, $async$completer);
  81427. }
  81428. });
  81429. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  81430. },
  81431. _async_evaluate0$_addOutOfOrderImports$0() {
  81432. var t1, t2, _this = this, _s5_ = "_root",
  81433. _s13_ = "_endOfImports",
  81434. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  81435. $label0$0: {
  81436. if (_0_0 == null) {
  81437. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81438. break $label0$0;
  81439. }
  81440. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81441. 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);
  81442. B.JSArray_methods.addAll$1(t1, _0_0);
  81443. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81444. 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")));
  81445. break $label0$0;
  81446. }
  81447. return t1;
  81448. },
  81449. _async_evaluate0$_combineCss$2$clone(root, clone) {
  81450. var selectors, _0_0, t1, imports, css, sorted, t2;
  81451. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  81452. selectors = root.get$extensionStore().get$simpleSelectors();
  81453. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  81454. if (_0_0 != null)
  81455. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  81456. return root.get$css(root);
  81457. }
  81458. t1 = type$.JSArray_CssNode_2;
  81459. imports = A._setArrayType([], t1);
  81460. css = A._setArrayType([], t1);
  81461. t1 = type$.Module_AsyncCallable_2;
  81462. sorted = A.ListQueue$(t1);
  81463. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  81464. if (root.get$transitivelyContainsExtensions())
  81465. this._async_evaluate0$_extendModules$1(sorted);
  81466. t1 = B.JSArray_methods.$add(imports, css);
  81467. t2 = root.get$css(root);
  81468. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  81469. },
  81470. _async_evaluate0$_combineCss$1(root) {
  81471. return this._async_evaluate0$_combineCss$2$clone(root, false);
  81472. },
  81473. _async_evaluate0$_extendModules$1(sortedModules) {
  81474. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  81475. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  81476. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  81477. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  81478. t3 = t1._collection$_current;
  81479. if (t3 == null)
  81480. t3 = t2._as(t3);
  81481. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  81482. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  81483. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  81484. t4 = t3.get$extensionStore().get$addExtensions();
  81485. if ($self != null)
  81486. t4.call$1($self);
  81487. t4 = t3.get$extensionStore();
  81488. if (t4.get$isEmpty(t4))
  81489. continue;
  81490. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  81491. upstream = t4[_i];
  81492. _0_0 = upstream.get$url(upstream);
  81493. if (_0_0 != null)
  81494. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  81495. }
  81496. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  81497. }
  81498. if (unsatisfiedExtensions._collection$_length !== 0)
  81499. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  81500. },
  81501. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  81502. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  81503. },
  81504. _async_evaluate0$_indexAfterImports$1(statements) {
  81505. var t1, lastImport, i, _0_0;
  81506. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  81507. $label0$0: {
  81508. _0_0 = t1.$index(statements, i);
  81509. if (_0_0 instanceof A.ModifiableCssImport0)
  81510. break $label0$0;
  81511. if (_0_0 instanceof A.ModifiableCssComment0)
  81512. continue;
  81513. break;
  81514. }
  81515. lastImport = i;
  81516. }
  81517. return lastImport + 1;
  81518. },
  81519. visitStylesheet$1(_, node) {
  81520. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  81521. },
  81522. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  81523. var $async$goto = 0,
  81524. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81525. $async$returnValue, $async$self = this, t1, t2, _i;
  81526. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81527. if ($async$errorCode === 1)
  81528. return A._asyncRethrow($async$result, $async$completer);
  81529. while (true)
  81530. switch ($async$goto) {
  81531. case 0:
  81532. // Function start
  81533. t1 = node.children, t2 = t1.length, _i = 0;
  81534. case 3:
  81535. // for condition
  81536. if (!(_i < t2)) {
  81537. // goto after for
  81538. $async$goto = 5;
  81539. break;
  81540. }
  81541. $async$goto = 6;
  81542. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  81543. case 6:
  81544. // returning from await.
  81545. case 4:
  81546. // for update
  81547. ++_i;
  81548. // goto for condition
  81549. $async$goto = 3;
  81550. break;
  81551. case 5:
  81552. // after for
  81553. $async$returnValue = null;
  81554. // goto return
  81555. $async$goto = 1;
  81556. break;
  81557. case 1:
  81558. // return
  81559. return A._asyncReturn($async$returnValue, $async$completer);
  81560. }
  81561. });
  81562. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  81563. },
  81564. visitAtRootRule$1(_, node) {
  81565. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  81566. },
  81567. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  81568. var $async$goto = 0,
  81569. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81570. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  81571. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81572. if ($async$errorCode === 1)
  81573. return A._asyncRethrow($async$result, $async$completer);
  81574. while (true)
  81575. switch ($async$goto) {
  81576. case 0:
  81577. // Function start
  81578. _0_0 = node.query;
  81579. $async$goto = _0_0 != null ? 3 : 5;
  81580. break;
  81581. case 3:
  81582. // then
  81583. $async$goto = 6;
  81584. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  81585. case 6:
  81586. // returning from await.
  81587. _1_0 = $async$result;
  81588. resolved = _1_0._0;
  81589. _1_0._1;
  81590. query = A.AtRootQueryParser$0(resolved, $async$self._async_evaluate0$_logger, null).parse$0(0);
  81591. // goto join
  81592. $async$goto = 4;
  81593. break;
  81594. case 5:
  81595. // else
  81596. query = B.AtRootQuery_n2q0;
  81597. case 4:
  81598. // join
  81599. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81600. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  81601. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  81602. if (!query.excludes$1($parent))
  81603. included.push($parent);
  81604. _2_0 = $parent._node$_parent;
  81605. if (_2_0 == null)
  81606. throw A.wrapException(A.StateError$(string$.CssNod));
  81607. }
  81608. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  81609. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  81610. break;
  81611. case 7:
  81612. // then
  81613. $async$goto = 9;
  81614. 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);
  81615. case 9:
  81616. // returning from await.
  81617. $async$returnValue = null;
  81618. // goto return
  81619. $async$goto = 1;
  81620. break;
  81621. case 8:
  81622. // join
  81623. if (included.length >= 1) {
  81624. first = included[0];
  81625. rest = B.JSArray_methods.sublist$1(included, 1);
  81626. innerCopy = first.copyWithoutChildren$0();
  81627. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  81628. copy = rest[_i].copyWithoutChildren$0();
  81629. copy.addChild$1(outerCopy);
  81630. }
  81631. root.addChild$1(outerCopy);
  81632. } else
  81633. innerCopy = root;
  81634. $async$goto = 10;
  81635. 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);
  81636. case 10:
  81637. // returning from await.
  81638. $async$returnValue = null;
  81639. // goto return
  81640. $async$goto = 1;
  81641. break;
  81642. case 1:
  81643. // return
  81644. return A._asyncReturn($async$returnValue, $async$completer);
  81645. }
  81646. });
  81647. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  81648. },
  81649. _async_evaluate0$_trimIncluded$1(nodes) {
  81650. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  81651. _s22_ = " to be an ancestor of ";
  81652. if (nodes.length === 0)
  81653. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81654. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  81655. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  81656. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  81657. _0_0 = $parent._node$_parent;
  81658. if (_0_0 == null)
  81659. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81660. }
  81661. if (innermostContiguous == null)
  81662. innermostContiguous = i;
  81663. _1_0 = $parent._node$_parent;
  81664. if (_1_0 == null)
  81665. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81666. }
  81667. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  81668. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81669. innermostContiguous.toString;
  81670. root = nodes[innermostContiguous];
  81671. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  81672. return root;
  81673. },
  81674. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  81675. var _this = this,
  81676. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  81677. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  81678. if (t1 !== query.include)
  81679. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  81680. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  81681. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  81682. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  81683. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  81684. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  81685. },
  81686. visitContentBlock$1(_, node) {
  81687. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  81688. },
  81689. visitContentRule$1(_, node) {
  81690. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  81691. },
  81692. visitContentRule$body$_EvaluateVisitor0(_, node) {
  81693. var $async$goto = 0,
  81694. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81695. $async$returnValue, $async$self = this, $content;
  81696. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81697. if ($async$errorCode === 1)
  81698. return A._asyncRethrow($async$result, $async$completer);
  81699. while (true)
  81700. switch ($async$goto) {
  81701. case 0:
  81702. // Function start
  81703. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  81704. if ($content == null) {
  81705. $async$returnValue = null;
  81706. // goto return
  81707. $async$goto = 1;
  81708. break;
  81709. }
  81710. $async$goto = 3;
  81711. 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);
  81712. case 3:
  81713. // returning from await.
  81714. $async$returnValue = null;
  81715. // goto return
  81716. $async$goto = 1;
  81717. break;
  81718. case 1:
  81719. // return
  81720. return A._asyncReturn($async$returnValue, $async$completer);
  81721. }
  81722. });
  81723. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  81724. },
  81725. visitDebugRule$1(_, node) {
  81726. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  81727. },
  81728. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  81729. var $async$goto = 0,
  81730. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81731. $async$returnValue, $async$self = this, value, t1;
  81732. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81733. if ($async$errorCode === 1)
  81734. return A._asyncRethrow($async$result, $async$completer);
  81735. while (true)
  81736. switch ($async$goto) {
  81737. case 0:
  81738. // Function start
  81739. $async$goto = 3;
  81740. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  81741. case 3:
  81742. // returning from await.
  81743. value = $async$result;
  81744. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  81745. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  81746. $async$returnValue = null;
  81747. // goto return
  81748. $async$goto = 1;
  81749. break;
  81750. case 1:
  81751. // return
  81752. return A._asyncReturn($async$returnValue, $async$completer);
  81753. }
  81754. });
  81755. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  81756. },
  81757. visitDeclaration$1(_, node) {
  81758. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  81759. },
  81760. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  81761. var $async$goto = 0,
  81762. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81763. $async$returnValue, $async$self = this, t2, _0_0, t3, $name, _1_0, _2_0, value, t4, t5, _3_0, oldDeclarationName, t1;
  81764. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81765. if ($async$errorCode === 1)
  81766. return A._asyncRethrow($async$result, $async$completer);
  81767. while (true)
  81768. switch ($async$goto) {
  81769. case 0:
  81770. // Function start
  81771. t1 = {};
  81772. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  81773. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  81774. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  81775. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  81776. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  81777. _0_0 = t2.get$last(t2);
  81778. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81779. if (t2 !== _0_0) {
  81780. t2 = type$.SourceSpan;
  81781. t3 = type$.String;
  81782. $async$self._async_evaluate0$_warn$3(string$.Sassx27s, new A.MultiSpan0(node.span, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([_0_0.get$span(_0_0), "nested rule"], t2, t3), t2, t3)), B.Deprecation_FGJ);
  81783. }
  81784. t2 = node.name;
  81785. $async$goto = 3;
  81786. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  81787. case 3:
  81788. // returning from await.
  81789. $name = $async$result;
  81790. _1_0 = $async$self._async_evaluate0$_declarationName;
  81791. if (_1_0 != null)
  81792. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  81793. _2_0 = node.value;
  81794. $async$goto = _2_0 != null ? 4 : 5;
  81795. break;
  81796. case 4:
  81797. // then
  81798. $async$goto = 6;
  81799. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  81800. case 6:
  81801. // returning from await.
  81802. value = $async$result;
  81803. if (!value.get$isBlank() || value.get$asList().length === 0) {
  81804. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81805. t4 = _2_0.get$span(_2_0);
  81806. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  81807. if ($async$self._async_evaluate0$_sourceMap) {
  81808. t5 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  81809. t5 = t5 == null ? null : J.get$span$z(t5);
  81810. } else
  81811. t5 = null;
  81812. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  81813. } else if (J.startsWith$1$s($name.value, "--"))
  81814. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  81815. case 5:
  81816. // join
  81817. _3_0 = node.children;
  81818. t1.children = null;
  81819. $async$goto = _3_0 != null ? 7 : 8;
  81820. break;
  81821. case 7:
  81822. // then
  81823. t1.children = _3_0;
  81824. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  81825. $async$self._async_evaluate0$_declarationName = $name.value;
  81826. $async$goto = 9;
  81827. 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);
  81828. case 9:
  81829. // returning from await.
  81830. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  81831. case 8:
  81832. // join
  81833. $async$returnValue = null;
  81834. // goto return
  81835. $async$goto = 1;
  81836. break;
  81837. case 1:
  81838. // return
  81839. return A._asyncReturn($async$returnValue, $async$completer);
  81840. }
  81841. });
  81842. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  81843. },
  81844. visitEachRule$1(_, node) {
  81845. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  81846. },
  81847. visitEachRule$body$_EvaluateVisitor0(_, node) {
  81848. var $async$goto = 0,
  81849. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81850. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  81851. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81852. if ($async$errorCode === 1)
  81853. return A._asyncRethrow($async$result, $async$completer);
  81854. while (true)
  81855. switch ($async$goto) {
  81856. case 0:
  81857. // Function start
  81858. _box_0 = {};
  81859. t1 = node.list;
  81860. $async$goto = 3;
  81861. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  81862. case 3:
  81863. // returning from await.
  81864. list = $async$result;
  81865. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  81866. _0_0 = node.variables;
  81867. $label0$0: {
  81868. _box_0.variable = null;
  81869. if (_0_0.length === 1) {
  81870. _box_0.variable = _0_0[0];
  81871. t1 = new A._EvaluateVisitor_visitEachRule_closure8(_box_0, $async$self, nodeWithSpan);
  81872. break $label0$0;
  81873. }
  81874. _box_0.variables = null;
  81875. _box_0.variables = _0_0;
  81876. t1 = new A._EvaluateVisitor_visitEachRule_closure9(_box_0, $async$self, nodeWithSpan);
  81877. break $label0$0;
  81878. }
  81879. $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);
  81880. // goto return
  81881. $async$goto = 1;
  81882. break;
  81883. case 1:
  81884. // return
  81885. return A._asyncReturn($async$returnValue, $async$completer);
  81886. }
  81887. });
  81888. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  81889. },
  81890. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  81891. var i,
  81892. list = value.get$asList(),
  81893. t1 = variables.length,
  81894. minLength = Math.min(t1, list.length);
  81895. for (i = 0; i < minLength; ++i)
  81896. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  81897. for (i = minLength; i < t1; ++i)
  81898. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  81899. },
  81900. visitErrorRule$1(_, node) {
  81901. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  81902. },
  81903. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  81904. var $async$goto = 0,
  81905. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  81906. $async$self = this, $async$temp1, $async$temp2;
  81907. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81908. if ($async$errorCode === 1)
  81909. return A._asyncRethrow($async$result, $async$completer);
  81910. while (true)
  81911. switch ($async$goto) {
  81912. case 0:
  81913. // Function start
  81914. $async$temp1 = A;
  81915. $async$temp2 = J;
  81916. $async$goto = 2;
  81917. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  81918. case 2:
  81919. // returning from await.
  81920. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  81921. // implicit return
  81922. return A._asyncReturn(null, $async$completer);
  81923. }
  81924. });
  81925. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  81926. },
  81927. visitExtendRule$1(_, node) {
  81928. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  81929. },
  81930. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  81931. var $async$goto = 0,
  81932. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81933. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  81934. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81935. if ($async$errorCode === 1)
  81936. return A._asyncRethrow($async$result, $async$completer);
  81937. while (true)
  81938. switch ($async$goto) {
  81939. case 0:
  81940. // Function start
  81941. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  81942. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  81943. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  81944. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  81945. complex = t1[_i];
  81946. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81947. continue;
  81948. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  81949. complex.accept$1(visitor);
  81950. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81951. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  81952. $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_5pG);
  81953. }
  81954. $async$goto = 3;
  81955. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  81956. case 3:
  81957. // returning from await.
  81958. _0_0 = $async$result;
  81959. targetText = _0_0._0;
  81960. targetMap = _0_0._1;
  81961. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, targetMap, $async$self._async_evaluate0$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  81962. complex = t1[_i];
  81963. compound = complex.get$singleCompound();
  81964. if (compound == null)
  81965. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  81966. t4 = compound.components;
  81967. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  81968. if (t5 == null)
  81969. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  81970. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  81971. }
  81972. $async$returnValue = null;
  81973. // goto return
  81974. $async$goto = 1;
  81975. break;
  81976. case 1:
  81977. // return
  81978. return A._asyncReturn($async$returnValue, $async$completer);
  81979. }
  81980. });
  81981. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  81982. },
  81983. visitAtRule$1(_, node) {
  81984. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  81985. },
  81986. visitAtRule$body$_EvaluateVisitor0(_, node) {
  81987. var $async$goto = 0,
  81988. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81989. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  81990. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81991. if ($async$errorCode === 1)
  81992. return A._asyncRethrow($async$result, $async$completer);
  81993. while (true)
  81994. switch ($async$goto) {
  81995. case 0:
  81996. // Function start
  81997. if ($async$self._async_evaluate0$_declarationName != null)
  81998. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  81999. $async$goto = 3;
  82000. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  82001. case 3:
  82002. // returning from await.
  82003. $name = $async$result;
  82004. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  82005. $async$goto = 4;
  82006. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  82007. case 4:
  82008. // returning from await.
  82009. value = $async$result;
  82010. children = node.children;
  82011. if (children == null) {
  82012. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  82013. $async$returnValue = null;
  82014. // goto return
  82015. $async$goto = 1;
  82016. break;
  82017. }
  82018. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  82019. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  82020. if (A.unvendor0($name.value) === "keyframes")
  82021. $async$self._async_evaluate0$_inKeyframes = true;
  82022. else
  82023. $async$self._async_evaluate0$_inUnknownAtRule = true;
  82024. $async$goto = 5;
  82025. 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);
  82026. case 5:
  82027. // returning from await.
  82028. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  82029. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  82030. $async$returnValue = null;
  82031. // goto return
  82032. $async$goto = 1;
  82033. break;
  82034. case 1:
  82035. // return
  82036. return A._asyncReturn($async$returnValue, $async$completer);
  82037. }
  82038. });
  82039. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  82040. },
  82041. visitForRule$1(_, node) {
  82042. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  82043. },
  82044. visitForRule$body$_EvaluateVisitor0(_, node) {
  82045. var $async$goto = 0,
  82046. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82047. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  82048. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82049. if ($async$errorCode === 1)
  82050. return A._asyncRethrow($async$result, $async$completer);
  82051. while (true)
  82052. switch ($async$goto) {
  82053. case 0:
  82054. // Function start
  82055. t1 = {};
  82056. t2 = node.from;
  82057. t3 = type$.SassNumber_2;
  82058. $async$goto = 3;
  82059. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  82060. case 3:
  82061. // returning from await.
  82062. fromNumber = $async$result;
  82063. t4 = node.to;
  82064. $async$goto = 4;
  82065. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  82066. case 4:
  82067. // returning from await.
  82068. toNumber = $async$result;
  82069. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  82070. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  82071. direction = from > to ? -1 : 1;
  82072. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  82073. $async$returnValue = null;
  82074. // goto return
  82075. $async$goto = 1;
  82076. break;
  82077. }
  82078. $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);
  82079. // goto return
  82080. $async$goto = 1;
  82081. break;
  82082. case 1:
  82083. // return
  82084. return A._asyncReturn($async$returnValue, $async$completer);
  82085. }
  82086. });
  82087. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  82088. },
  82089. visitForwardRule$1(_, node) {
  82090. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  82091. },
  82092. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  82093. var $async$goto = 0,
  82094. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82095. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  82096. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82097. if ($async$errorCode === 1)
  82098. return A._asyncRethrow($async$result, $async$completer);
  82099. while (true)
  82100. switch ($async$goto) {
  82101. case 0:
  82102. // Function start
  82103. oldConfiguration = $async$self._async_evaluate0$_configuration;
  82104. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  82105. t1 = node.configuration;
  82106. t2 = t1.length;
  82107. t3 = node.url;
  82108. $async$goto = t2 !== 0 ? 3 : 5;
  82109. break;
  82110. case 3:
  82111. // then
  82112. $async$goto = 6;
  82113. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  82114. case 6:
  82115. // returning from await.
  82116. newConfiguration = $async$result;
  82117. $async$goto = 7;
  82118. 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);
  82119. case 7:
  82120. // returning from await.
  82121. t3 = type$.String;
  82122. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82123. for (_i = 0; _i < t2; ++_i) {
  82124. variable = t1[_i];
  82125. if (!variable.isGuarded)
  82126. t4.add$1(0, variable.name);
  82127. }
  82128. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  82129. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82130. for (_i = 0; _i < t2; ++_i)
  82131. t3.add$1(0, t1[_i].name);
  82132. 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) {
  82133. $name = t2[_i];
  82134. if (!t3.contains$1(0, $name))
  82135. if (!t1.get$isEmpty(t1))
  82136. t1.remove$1(0, $name);
  82137. }
  82138. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  82139. // goto join
  82140. $async$goto = 4;
  82141. break;
  82142. case 5:
  82143. // else
  82144. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  82145. $async$goto = 8;
  82146. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  82147. case 8:
  82148. // returning from await.
  82149. $async$self._async_evaluate0$_configuration = oldConfiguration;
  82150. case 4:
  82151. // join
  82152. $async$returnValue = null;
  82153. // goto return
  82154. $async$goto = 1;
  82155. break;
  82156. case 1:
  82157. // return
  82158. return A._asyncReturn($async$returnValue, $async$completer);
  82159. }
  82160. });
  82161. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  82162. },
  82163. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  82164. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  82165. },
  82166. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  82167. var $async$goto = 0,
  82168. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  82169. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  82170. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82171. if ($async$errorCode === 1)
  82172. return A._asyncRethrow($async$result, $async$completer);
  82173. while (true)
  82174. switch ($async$goto) {
  82175. case 0:
  82176. // Function start
  82177. t1 = configuration._configuration0$_values;
  82178. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  82179. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  82180. case 3:
  82181. // for condition
  82182. if (!(_i < t3)) {
  82183. // goto after for
  82184. $async$goto = 5;
  82185. break;
  82186. }
  82187. variable = t2[_i];
  82188. if (variable.isGuarded) {
  82189. t6 = variable.name;
  82190. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  82191. if (oldValue != null)
  82192. t7 = !oldValue.value.$eq(0, B.C__SassNull0);
  82193. else {
  82194. oldValue = null;
  82195. t7 = false;
  82196. }
  82197. if (t7) {
  82198. newValues.$indexSet(0, t6, oldValue);
  82199. // goto for update
  82200. $async$goto = 4;
  82201. break;
  82202. }
  82203. }
  82204. t6 = variable.expression;
  82205. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  82206. t7 = variable.name;
  82207. t6 = t6.accept$1($async$self);
  82208. if (!t5._is(t6)) {
  82209. t8 = new A._Future($.Zone__current, t4);
  82210. t8._state = 8;
  82211. t8._resultOrListeners = t6;
  82212. t6 = t8;
  82213. }
  82214. $async$temp1 = newValues;
  82215. $async$temp2 = t7;
  82216. $async$temp3 = A;
  82217. $async$goto = 6;
  82218. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  82219. case 6:
  82220. // returning from await.
  82221. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  82222. case 4:
  82223. // for update
  82224. ++_i;
  82225. // goto for condition
  82226. $async$goto = 3;
  82227. break;
  82228. case 5:
  82229. // after for
  82230. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  82231. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  82232. // goto return
  82233. $async$goto = 1;
  82234. break;
  82235. } else {
  82236. $async$returnValue = new A.Configuration0(newValues, null);
  82237. // goto return
  82238. $async$goto = 1;
  82239. break;
  82240. }
  82241. case 1:
  82242. // return
  82243. return A._asyncReturn($async$returnValue, $async$completer);
  82244. }
  82245. });
  82246. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  82247. },
  82248. _async_evaluate0$_registerCommentsForModule$1(module) {
  82249. var _this = this, _s5_ = "_root",
  82250. t1 = _this._async_evaluate0$__root;
  82251. if (t1 == null)
  82252. return;
  82253. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  82254. return;
  82255. t1 = _this._async_evaluate0$_preModuleComments;
  82256. if (t1 == null)
  82257. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  82258. 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));
  82259. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  82260. _this._async_evaluate0$__endOfImports = 0;
  82261. },
  82262. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  82263. var t1, t2, t3, t4, _i, $name;
  82264. 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) {
  82265. $name = t2[_i];
  82266. if (except.contains$1(0, $name))
  82267. continue;
  82268. if (!t4.containsKey$1($name))
  82269. if (!t1.get$isEmpty(t1))
  82270. t1.remove$1(0, $name);
  82271. }
  82272. },
  82273. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  82274. var t1, _0_0, $name, value;
  82275. if (!(configuration instanceof A.ExplicitConfiguration0))
  82276. return;
  82277. t1 = configuration._configuration0$_values;
  82278. if (t1.get$isEmpty(t1))
  82279. return;
  82280. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  82281. _0_0 = t1.get$first(t1);
  82282. $name = _0_0._0;
  82283. value = _0_0._1;
  82284. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  82285. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  82286. },
  82287. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  82288. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  82289. },
  82290. visitFunctionRule$1(_, node) {
  82291. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  82292. },
  82293. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  82294. var $async$goto = 0,
  82295. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82296. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82297. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82298. if ($async$errorCode === 1)
  82299. return A._asyncRethrow($async$result, $async$completer);
  82300. while (true)
  82301. switch ($async$goto) {
  82302. case 0:
  82303. // Function start
  82304. t1 = $async$self._async_evaluate0$_environment;
  82305. t2 = t1.closure$0();
  82306. t3 = $async$self._async_evaluate0$_inDependency;
  82307. t4 = t1._async_environment0$_functions;
  82308. index = t4.length - 1;
  82309. t5 = node.name;
  82310. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  82311. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82312. $async$returnValue = null;
  82313. // goto return
  82314. $async$goto = 1;
  82315. break;
  82316. case 1:
  82317. // return
  82318. return A._asyncReturn($async$returnValue, $async$completer);
  82319. }
  82320. });
  82321. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  82322. },
  82323. visitIfRule$1(_, node) {
  82324. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  82325. },
  82326. visitIfRule$body$_EvaluateVisitor0(_, node) {
  82327. var $async$goto = 0,
  82328. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82329. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  82330. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82331. if ($async$errorCode === 1)
  82332. return A._asyncRethrow($async$result, $async$completer);
  82333. while (true)
  82334. switch ($async$goto) {
  82335. case 0:
  82336. // Function start
  82337. clause = node.lastClause;
  82338. t1 = node.clauses, t2 = t1.length, _i = 0;
  82339. case 3:
  82340. // for condition
  82341. if (!(_i < t2)) {
  82342. // goto after for
  82343. $async$goto = 5;
  82344. break;
  82345. }
  82346. clauseToCheck = t1[_i];
  82347. $async$goto = 6;
  82348. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  82349. case 6:
  82350. // returning from await.
  82351. if ($async$result.get$isTruthy()) {
  82352. clause = clauseToCheck;
  82353. // goto after for
  82354. $async$goto = 5;
  82355. break;
  82356. }
  82357. case 4:
  82358. // for update
  82359. ++_i;
  82360. // goto for condition
  82361. $async$goto = 3;
  82362. break;
  82363. case 5:
  82364. // after for
  82365. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  82366. $async$goto = 7;
  82367. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  82368. case 7:
  82369. // returning from await.
  82370. $async$returnValue = $async$result;
  82371. // goto return
  82372. $async$goto = 1;
  82373. break;
  82374. case 1:
  82375. // return
  82376. return A._asyncReturn($async$returnValue, $async$completer);
  82377. }
  82378. });
  82379. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  82380. },
  82381. visitImportRule$1(_, node) {
  82382. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  82383. },
  82384. visitImportRule$body$_EvaluateVisitor0(_, node) {
  82385. var $async$goto = 0,
  82386. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82387. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  82388. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82389. if ($async$errorCode === 1)
  82390. return A._asyncRethrow($async$result, $async$completer);
  82391. while (true)
  82392. switch ($async$goto) {
  82393. case 0:
  82394. // Function start
  82395. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  82396. case 3:
  82397. // for condition
  82398. if (!(_i < t2)) {
  82399. // goto after for
  82400. $async$goto = 5;
  82401. break;
  82402. }
  82403. $import = t1[_i];
  82404. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  82405. break;
  82406. case 6:
  82407. // then
  82408. $async$goto = 9;
  82409. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  82410. case 9:
  82411. // returning from await.
  82412. // goto join
  82413. $async$goto = 7;
  82414. break;
  82415. case 8:
  82416. // else
  82417. $async$goto = 10;
  82418. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  82419. case 10:
  82420. // returning from await.
  82421. case 7:
  82422. // join
  82423. case 4:
  82424. // for update
  82425. ++_i;
  82426. // goto for condition
  82427. $async$goto = 3;
  82428. break;
  82429. case 5:
  82430. // after for
  82431. $async$returnValue = null;
  82432. // goto return
  82433. $async$goto = 1;
  82434. break;
  82435. case 1:
  82436. // return
  82437. return A._asyncReturn($async$returnValue, $async$completer);
  82438. }
  82439. });
  82440. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  82441. },
  82442. _async_evaluate0$_visitDynamicImport$1($import) {
  82443. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  82444. },
  82445. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  82446. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  82447. },
  82448. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  82449. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  82450. },
  82451. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  82452. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  82453. },
  82454. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  82455. var $async$goto = 0,
  82456. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  82457. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  82458. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82459. if ($async$errorCode === 1) {
  82460. $async$currentError = $async$result;
  82461. $async$goto = $async$handler;
  82462. }
  82463. while (true)
  82464. switch ($async$goto) {
  82465. case 0:
  82466. // Function start
  82467. baseUrl = baseUrl;
  82468. $async$handler = 4;
  82469. $async$self._async_evaluate0$_importSpan = span;
  82470. _0_0 = $async$self._async_evaluate0$_importCache;
  82471. importCache = null;
  82472. $async$goto = _0_0 != null ? 7 : 8;
  82473. break;
  82474. case 7:
  82475. // then
  82476. importCache = _0_0;
  82477. if (baseUrl == null)
  82478. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  82479. $async$goto = 9;
  82480. 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);
  82481. case 9:
  82482. // returning from await.
  82483. _1_0 = $async$result;
  82484. importer = null;
  82485. canonicalUrl = null;
  82486. originalUrl = null;
  82487. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  82488. break;
  82489. case 10:
  82490. // then
  82491. importer = _1_0._0;
  82492. canonicalUrl = _1_0._1;
  82493. originalUrl = _1_0._2;
  82494. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  82495. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  82496. t1 = importCache;
  82497. t2 = importer;
  82498. t3 = canonicalUrl;
  82499. t4 = originalUrl;
  82500. $async$goto = 12;
  82501. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate0$_quietDeps && isDependency), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  82502. case 12:
  82503. // returning from await.
  82504. _2_0 = $async$result;
  82505. stylesheet = null;
  82506. if (_2_0 != null) {
  82507. stylesheet = _2_0;
  82508. t1 = stylesheet;
  82509. t2 = importer;
  82510. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  82511. $async$next = [1];
  82512. // goto finally
  82513. $async$goto = 5;
  82514. break;
  82515. }
  82516. case 11:
  82517. // join
  82518. case 8:
  82519. // join
  82520. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  82521. break;
  82522. case 13:
  82523. // then
  82524. t1 = baseUrl;
  82525. $async$goto = 15;
  82526. 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);
  82527. case 15:
  82528. // returning from await.
  82529. _3_0 = $async$result;
  82530. result = null;
  82531. if (_3_0 != null) {
  82532. result = _3_0;
  82533. t1 = $async$self._async_evaluate0$_loadedUrls;
  82534. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  82535. t1 = result;
  82536. $async$returnValue = t1;
  82537. $async$next = [1];
  82538. // goto finally
  82539. $async$goto = 5;
  82540. break;
  82541. }
  82542. case 14:
  82543. // join
  82544. t1 = B.JSString_methods.startsWith$1(url, "package:");
  82545. if (t1)
  82546. throw A.wrapException(string$.x22packa);
  82547. else
  82548. throw A.wrapException("Can't find stylesheet to import.");
  82549. $async$next.push(6);
  82550. // goto finally
  82551. $async$goto = 5;
  82552. break;
  82553. case 4:
  82554. // catch
  82555. $async$handler = 3;
  82556. $async$exception = $async$currentError;
  82557. t1 = A.unwrapException($async$exception);
  82558. if (t1 instanceof A.SassException0)
  82559. throw $async$exception;
  82560. else if (t1 instanceof A.ArgumentError) {
  82561. error = t1;
  82562. stackTrace = A.getTraceFromException($async$exception);
  82563. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  82564. } else {
  82565. error0 = t1;
  82566. stackTrace0 = A.getTraceFromException($async$exception);
  82567. message = null;
  82568. try {
  82569. message = A._asString(J.get$message$x(error0));
  82570. } catch (exception) {
  82571. message0 = J.toString$0$(error0);
  82572. message = message0;
  82573. }
  82574. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), error0, stackTrace0);
  82575. }
  82576. $async$next.push(6);
  82577. // goto finally
  82578. $async$goto = 5;
  82579. break;
  82580. case 3:
  82581. // uncaught
  82582. $async$next = [2];
  82583. case 5:
  82584. // finally
  82585. $async$handler = 2;
  82586. $async$self._async_evaluate0$_importSpan = null;
  82587. // goto the next finally handler
  82588. $async$goto = $async$next.pop();
  82589. break;
  82590. case 6:
  82591. // after finally
  82592. case 1:
  82593. // return
  82594. return A._asyncReturn($async$returnValue, $async$completer);
  82595. case 2:
  82596. // rethrow
  82597. return A._asyncRethrow($async$currentError, $async$completer);
  82598. }
  82599. });
  82600. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  82601. },
  82602. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  82603. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  82604. },
  82605. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  82606. var $async$goto = 0,
  82607. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  82608. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  82609. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82610. if ($async$errorCode === 1)
  82611. return A._asyncRethrow($async$result, $async$completer);
  82612. while (true)
  82613. switch ($async$goto) {
  82614. case 0:
  82615. // Function start
  82616. t1 = $async$self._async_evaluate0$_nodeImporter;
  82617. result = t1.loadRelative$3(originalUrl, previous, forImport);
  82618. $async$goto = result != null ? 3 : 5;
  82619. break;
  82620. case 3:
  82621. // then
  82622. isDependency = $async$self._async_evaluate0$_inDependency;
  82623. // goto join
  82624. $async$goto = 4;
  82625. break;
  82626. case 5:
  82627. // else
  82628. $async$goto = 6;
  82629. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  82630. case 6:
  82631. // returning from await.
  82632. result = $async$result;
  82633. if (result == null) {
  82634. $async$returnValue = null;
  82635. // goto return
  82636. $async$goto = 1;
  82637. break;
  82638. }
  82639. isDependency = true;
  82640. case 4:
  82641. // join
  82642. url = result._1;
  82643. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  82644. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  82645. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  82646. // goto return
  82647. $async$goto = 1;
  82648. break;
  82649. case 1:
  82650. // return
  82651. return A._asyncReturn($async$returnValue, $async$completer);
  82652. }
  82653. });
  82654. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  82655. },
  82656. _async_evaluate0$_visitStaticImport$1($import) {
  82657. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  82658. },
  82659. _visitStaticImport$body$_EvaluateVisitor0($import) {
  82660. var $async$goto = 0,
  82661. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82662. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  82663. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82664. if ($async$errorCode === 1)
  82665. return A._asyncRethrow($async$result, $async$completer);
  82666. while (true)
  82667. switch ($async$goto) {
  82668. case 0:
  82669. // Function start
  82670. $async$goto = 2;
  82671. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  82672. case 2:
  82673. // returning from await.
  82674. t1 = $async$result;
  82675. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  82676. $async$temp1 = A;
  82677. $async$temp2 = t1;
  82678. $async$goto = 3;
  82679. 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);
  82680. case 3:
  82681. // returning from await.
  82682. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  82683. 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"))
  82684. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  82685. 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)) {
  82686. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  82687. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82688. } else {
  82689. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  82690. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  82691. }
  82692. // implicit return
  82693. return A._asyncReturn(null, $async$completer);
  82694. }
  82695. });
  82696. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  82697. },
  82698. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82699. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  82700. },
  82701. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82702. var $async$goto = 0,
  82703. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82704. $async$self = this, t1, _0_0, t2, _1_8;
  82705. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82706. if ($async$errorCode === 1)
  82707. return A._asyncRethrow($async$result, $async$completer);
  82708. while (true)
  82709. switch ($async$goto) {
  82710. case 0:
  82711. // Function start
  82712. if (mixin == null)
  82713. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  82714. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  82715. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  82716. break;
  82717. case 3:
  82718. // then
  82719. $async$goto = 5;
  82720. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  82721. case 5:
  82722. // returning from await.
  82723. t1 = $async$result._values;
  82724. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  82725. 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));
  82726. case 4:
  82727. // join
  82728. $async$goto = t1 ? 6 : 7;
  82729. break;
  82730. case 6:
  82731. // then
  82732. $async$goto = 8;
  82733. 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);
  82734. case 8:
  82735. // returning from await.
  82736. // goto break $label0$0
  82737. $async$goto = 2;
  82738. break;
  82739. case 7:
  82740. // join
  82741. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  82742. t2 = false;
  82743. if (t1) {
  82744. _1_8 = mixin.declaration;
  82745. if (_1_8 instanceof A.MixinRule0)
  82746. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  82747. }
  82748. if (t2)
  82749. 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));
  82750. $async$goto = t1 ? 9 : 10;
  82751. break;
  82752. case 9:
  82753. // then
  82754. $async$goto = 11;
  82755. 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);
  82756. case 11:
  82757. // returning from await.
  82758. // goto break $label0$0
  82759. $async$goto = 2;
  82760. break;
  82761. case 10:
  82762. // join
  82763. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  82764. case 2:
  82765. // break $label0$0
  82766. // implicit return
  82767. return A._asyncReturn(null, $async$completer);
  82768. }
  82769. });
  82770. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  82771. },
  82772. visitIncludeRule$1(_, node) {
  82773. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  82774. },
  82775. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  82776. var $async$goto = 0,
  82777. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82778. $async$returnValue, $async$self = this, mixin;
  82779. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82780. if ($async$errorCode === 1)
  82781. return A._asyncRethrow($async$result, $async$completer);
  82782. while (true)
  82783. switch ($async$goto) {
  82784. case 0:
  82785. // Function start
  82786. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  82787. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  82788. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_qBS);
  82789. $async$goto = 3;
  82790. return A._asyncAwait($async$self._async_evaluate0$_applyMixin$5(mixin, 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);
  82791. case 3:
  82792. // returning from await.
  82793. $async$returnValue = null;
  82794. // goto return
  82795. $async$goto = 1;
  82796. break;
  82797. case 1:
  82798. // return
  82799. return A._asyncReturn($async$returnValue, $async$completer);
  82800. }
  82801. });
  82802. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  82803. },
  82804. visitMixinRule$1(_, node) {
  82805. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  82806. },
  82807. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  82808. var $async$goto = 0,
  82809. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82810. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82811. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82812. if ($async$errorCode === 1)
  82813. return A._asyncRethrow($async$result, $async$completer);
  82814. while (true)
  82815. switch ($async$goto) {
  82816. case 0:
  82817. // Function start
  82818. t1 = $async$self._async_evaluate0$_environment;
  82819. t2 = t1.closure$0();
  82820. t3 = $async$self._async_evaluate0$_inDependency;
  82821. t4 = t1._async_environment0$_mixins;
  82822. index = t4.length - 1;
  82823. t5 = node.name;
  82824. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  82825. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82826. $async$returnValue = null;
  82827. // goto return
  82828. $async$goto = 1;
  82829. break;
  82830. case 1:
  82831. // return
  82832. return A._asyncReturn($async$returnValue, $async$completer);
  82833. }
  82834. });
  82835. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  82836. },
  82837. visitLoudComment$1(_, node) {
  82838. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  82839. },
  82840. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  82841. var $async$goto = 0,
  82842. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82843. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82844. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82845. if ($async$errorCode === 1)
  82846. return A._asyncRethrow($async$result, $async$completer);
  82847. while (true)
  82848. switch ($async$goto) {
  82849. case 0:
  82850. // Function start
  82851. if ($async$self._async_evaluate0$_inFunction) {
  82852. $async$returnValue = null;
  82853. // goto return
  82854. $async$goto = 1;
  82855. break;
  82856. }
  82857. 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))
  82858. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82859. t1 = node.text;
  82860. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  82861. $async$temp2 = A;
  82862. $async$goto = 3;
  82863. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  82864. case 3:
  82865. // returning from await.
  82866. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  82867. $async$returnValue = null;
  82868. // goto return
  82869. $async$goto = 1;
  82870. break;
  82871. case 1:
  82872. // return
  82873. return A._asyncReturn($async$returnValue, $async$completer);
  82874. }
  82875. });
  82876. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  82877. },
  82878. visitMediaRule$1(_, node) {
  82879. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  82880. },
  82881. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  82882. var $async$goto = 0,
  82883. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82884. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  82885. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82886. if ($async$errorCode === 1)
  82887. return A._asyncRethrow($async$result, $async$completer);
  82888. while (true)
  82889. switch ($async$goto) {
  82890. case 0:
  82891. // Function start
  82892. if ($async$self._async_evaluate0$_declarationName != null)
  82893. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  82894. $async$goto = 3;
  82895. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  82896. case 3:
  82897. // returning from await.
  82898. queries = $async$result;
  82899. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  82900. t1 = mergedQueries == null;
  82901. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  82902. $async$returnValue = null;
  82903. // goto return
  82904. $async$goto = 1;
  82905. break;
  82906. }
  82907. if (t1)
  82908. mergedSources = B.Set_empty5;
  82909. else {
  82910. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  82911. t2.toString;
  82912. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  82913. t3 = $async$self._async_evaluate0$_mediaQueries;
  82914. t3.toString;
  82915. t2.addAll$1(0, t3);
  82916. t2.addAll$1(0, queries);
  82917. mergedSources = t2;
  82918. }
  82919. t1 = t1 ? queries : mergedQueries;
  82920. $async$goto = 4;
  82921. 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);
  82922. case 4:
  82923. // returning from await.
  82924. $async$returnValue = null;
  82925. // goto return
  82926. $async$goto = 1;
  82927. break;
  82928. case 1:
  82929. // return
  82930. return A._asyncReturn($async$returnValue, $async$completer);
  82931. }
  82932. });
  82933. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  82934. },
  82935. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  82936. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  82937. },
  82938. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  82939. var $async$goto = 0,
  82940. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  82941. $async$returnValue, $async$self = this, _0_0;
  82942. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82943. if ($async$errorCode === 1)
  82944. return A._asyncRethrow($async$result, $async$completer);
  82945. while (true)
  82946. switch ($async$goto) {
  82947. case 0:
  82948. // Function start
  82949. $async$goto = 3;
  82950. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  82951. case 3:
  82952. // returning from await.
  82953. _0_0 = $async$result;
  82954. $async$returnValue = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, $async$self._async_evaluate0$_logger);
  82955. // goto return
  82956. $async$goto = 1;
  82957. break;
  82958. case 1:
  82959. // return
  82960. return A._asyncReturn($async$returnValue, $async$completer);
  82961. }
  82962. });
  82963. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  82964. },
  82965. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  82966. var t1, t2, t3, t4, _0_0, t5, result,
  82967. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  82968. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  82969. t3 = t1.get$current(t1);
  82970. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  82971. $label0$1: {
  82972. _0_0 = t3.merge$1(t4.get$current(t4));
  82973. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  82974. continue;
  82975. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  82976. return null;
  82977. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  82978. result = t5 ? _0_0 : null;
  82979. if (t5)
  82980. queries.push(result.query);
  82981. break $label0$1;
  82982. }
  82983. }
  82984. return queries;
  82985. },
  82986. visitReturnRule$1(_, node) {
  82987. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  82988. },
  82989. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  82990. var $async$goto = 0,
  82991. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  82992. $async$returnValue, $async$self = this, t1, t2;
  82993. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82994. if ($async$errorCode === 1)
  82995. return A._asyncRethrow($async$result, $async$completer);
  82996. while (true)
  82997. switch ($async$goto) {
  82998. case 0:
  82999. // Function start
  83000. t1 = node.expression;
  83001. t2 = t1.accept$1($async$self);
  83002. $async$goto = 3;
  83003. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  83004. case 3:
  83005. // returning from await.
  83006. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  83007. // goto return
  83008. $async$goto = 1;
  83009. break;
  83010. case 1:
  83011. // return
  83012. return A._asyncReturn($async$returnValue, $async$completer);
  83013. }
  83014. });
  83015. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  83016. },
  83017. visitSilentComment$1(_, node) {
  83018. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  83019. },
  83020. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  83021. var $async$goto = 0,
  83022. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83023. $async$returnValue;
  83024. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83025. if ($async$errorCode === 1)
  83026. return A._asyncRethrow($async$result, $async$completer);
  83027. while (true)
  83028. switch ($async$goto) {
  83029. case 0:
  83030. // Function start
  83031. $async$returnValue = null;
  83032. // goto return
  83033. $async$goto = 1;
  83034. break;
  83035. case 1:
  83036. // return
  83037. return A._asyncReturn($async$returnValue, $async$completer);
  83038. }
  83039. });
  83040. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  83041. },
  83042. visitStyleRule$1(_, node) {
  83043. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  83044. },
  83045. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  83046. var $async$goto = 0,
  83047. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83048. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  83049. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83050. if ($async$errorCode === 1)
  83051. return A._asyncRethrow($async$result, $async$completer);
  83052. while (true)
  83053. switch ($async$goto) {
  83054. case 0:
  83055. // Function start
  83056. if ($async$self._async_evaluate0$_declarationName != null)
  83057. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  83058. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  83059. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  83060. t1 = node.selector;
  83061. $async$goto = 3;
  83062. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  83063. case 3:
  83064. // returning from await.
  83065. _0_0 = $async$result;
  83066. selectorText = _0_0._0;
  83067. selectorMap = _0_0._1;
  83068. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  83069. break;
  83070. case 4:
  83071. // then
  83072. $async$goto = 6;
  83073. 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(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure11($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  83074. case 6:
  83075. // returning from await.
  83076. $async$returnValue = null;
  83077. // goto return
  83078. $async$goto = 1;
  83079. break;
  83080. case 5:
  83081. // join
  83082. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_logger, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  83083. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  83084. t1 = t1 == null ? null : t1.fromPlainCss;
  83085. nest = t1 !== true;
  83086. if (nest) {
  83087. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  83088. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83089. _1_0 = t1[_i].leadingCombinators;
  83090. if (_1_0.length >= 1) {
  83091. first = _1_0[0];
  83092. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet");
  83093. t3 = t3.plainCss;
  83094. } else {
  83095. first = null;
  83096. t3 = false;
  83097. }
  83098. if (t3)
  83099. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  83100. }
  83101. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  83102. t1 = t1 == null ? null : t1.originalSelector;
  83103. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate0$_atRootExcludingStyleRule, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  83104. }
  83105. 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, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, parsedSelector);
  83106. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  83107. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  83108. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  83109. $async$goto = 7;
  83110. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure14($async$self, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  83111. case 7:
  83112. // returning from await.
  83113. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  83114. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  83115. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  83116. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  83117. t1 = !t1.get$isEmpty(t1);
  83118. }
  83119. if (t1) {
  83120. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  83121. t1.get$last(t1).isGroupEnd = true;
  83122. }
  83123. $async$returnValue = null;
  83124. // goto return
  83125. $async$goto = 1;
  83126. break;
  83127. case 1:
  83128. // return
  83129. return A._asyncReturn($async$returnValue, $async$completer);
  83130. }
  83131. });
  83132. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  83133. },
  83134. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  83135. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  83136. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  83137. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  83138. complex = t1[_i];
  83139. if (!complex.accept$1(B._IsBogusVisitor_true0))
  83140. continue;
  83141. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  83142. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83143. complex.accept$1(visitor);
  83144. _this._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_5pG);
  83145. } else if (complex.leadingCombinators.length !== 0) {
  83146. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83147. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83148. complex.accept$1(visitor);
  83149. _this._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_5pG);
  83150. }
  83151. } else {
  83152. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  83153. complex.accept$1(visitor);
  83154. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  83155. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  83156. t8 = A.SpanExtensions_trimRight0(complex.span);
  83157. if (t5.get$length(0) === 0)
  83158. A.throwExpression(A.IterableElementError_noElement());
  83159. t9 = J.get$span$z(t5.$index(0, 0));
  83160. _this._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__warnForBogusCombinators_closure2()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_5pG);
  83161. }
  83162. }
  83163. },
  83164. visitSupportsRule$1(_, node) {
  83165. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  83166. },
  83167. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  83168. var $async$goto = 0,
  83169. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83170. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  83171. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83172. if ($async$errorCode === 1)
  83173. return A._asyncRethrow($async$result, $async$completer);
  83174. while (true)
  83175. switch ($async$goto) {
  83176. case 0:
  83177. // Function start
  83178. if ($async$self._async_evaluate0$_declarationName != null)
  83179. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  83180. t1 = node.condition;
  83181. $async$temp1 = A;
  83182. $async$temp2 = A;
  83183. $async$goto = 4;
  83184. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  83185. case 4:
  83186. // returning from await.
  83187. $async$goto = 3;
  83188. 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);
  83189. case 3:
  83190. // returning from await.
  83191. $async$returnValue = null;
  83192. // goto return
  83193. $async$goto = 1;
  83194. break;
  83195. case 1:
  83196. // return
  83197. return A._asyncReturn($async$returnValue, $async$completer);
  83198. }
  83199. });
  83200. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  83201. },
  83202. _async_evaluate0$_visitSupportsCondition$1(condition) {
  83203. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  83204. },
  83205. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  83206. var $async$goto = 0,
  83207. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  83208. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  83209. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83210. if ($async$errorCode === 1)
  83211. return A._asyncRethrow($async$result, $async$completer);
  83212. while (true)
  83213. switch ($async$goto) {
  83214. case 0:
  83215. // Function start
  83216. _box_0 = {};
  83217. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  83218. break;
  83219. case 4:
  83220. // then
  83221. t1 = condition.operator;
  83222. $async$temp1 = A;
  83223. $async$goto = 6;
  83224. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  83225. case 6:
  83226. // returning from await.
  83227. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  83228. $async$temp2 = A;
  83229. $async$goto = 7;
  83230. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  83231. case 7:
  83232. // returning from await.
  83233. t1 = $async$temp1 + $async$temp2.S($async$result);
  83234. // goto break $label0$0
  83235. $async$goto = 3;
  83236. break;
  83237. case 5:
  83238. // join
  83239. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  83240. break;
  83241. case 8:
  83242. // then
  83243. $async$temp1 = A;
  83244. $async$goto = 10;
  83245. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  83246. case 10:
  83247. // returning from await.
  83248. t1 = "not " + $async$temp1.S($async$result);
  83249. // goto break $label0$0
  83250. $async$goto = 3;
  83251. break;
  83252. case 9:
  83253. // join
  83254. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  83255. break;
  83256. case 11:
  83257. // then
  83258. $async$goto = 13;
  83259. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  83260. case 13:
  83261. // returning from await.
  83262. t1 = $async$result;
  83263. // goto break $label0$0
  83264. $async$goto = 3;
  83265. break;
  83266. case 12:
  83267. // join
  83268. _box_0.declaration = null;
  83269. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  83270. break;
  83271. case 14:
  83272. // then
  83273. _box_0.declaration = condition;
  83274. $async$goto = 16;
  83275. 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);
  83276. case 16:
  83277. // returning from await.
  83278. t1 = $async$result;
  83279. // goto break $label0$0
  83280. $async$goto = 3;
  83281. break;
  83282. case 15:
  83283. // join
  83284. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  83285. break;
  83286. case 17:
  83287. // then
  83288. $async$temp1 = A;
  83289. $async$goto = 19;
  83290. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  83291. case 19:
  83292. // returning from await.
  83293. $async$temp1 = $async$temp1.S($async$result) + "(";
  83294. $async$temp2 = A;
  83295. $async$goto = 20;
  83296. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  83297. case 20:
  83298. // returning from await.
  83299. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  83300. // goto break $label0$0
  83301. $async$goto = 3;
  83302. break;
  83303. case 18:
  83304. // join
  83305. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  83306. break;
  83307. case 21:
  83308. // then
  83309. $async$temp1 = A;
  83310. $async$goto = 23;
  83311. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  83312. case 23:
  83313. // returning from await.
  83314. t1 = "(" + $async$temp1.S($async$result) + ")";
  83315. // goto break $label0$0
  83316. $async$goto = 3;
  83317. break;
  83318. case 22:
  83319. // join
  83320. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  83321. case 3:
  83322. // break $label0$0
  83323. $async$returnValue = t1;
  83324. // goto return
  83325. $async$goto = 1;
  83326. break;
  83327. case 1:
  83328. // return
  83329. return A._asyncReturn($async$returnValue, $async$completer);
  83330. }
  83331. });
  83332. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  83333. },
  83334. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  83335. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  83336. },
  83337. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  83338. var $async$goto = 0,
  83339. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  83340. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  83341. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83342. if ($async$errorCode === 1) {
  83343. $async$currentError = $async$result;
  83344. $async$goto = $async$handler;
  83345. }
  83346. while (true)
  83347. switch ($async$goto) {
  83348. case 0:
  83349. // Function start
  83350. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  83351. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  83352. $async$handler = 3;
  83353. t1 = callback.call$0();
  83354. $async$goto = 6;
  83355. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  83356. case 6:
  83357. // returning from await.
  83358. t1 = $async$result;
  83359. $async$returnValue = t1;
  83360. $async$next = [1];
  83361. // goto finally
  83362. $async$goto = 4;
  83363. break;
  83364. $async$next.push(5);
  83365. // goto finally
  83366. $async$goto = 4;
  83367. break;
  83368. case 3:
  83369. // uncaught
  83370. $async$next = [2];
  83371. case 4:
  83372. // finally
  83373. $async$handler = 2;
  83374. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83375. // goto the next finally handler
  83376. $async$goto = $async$next.pop();
  83377. break;
  83378. case 5:
  83379. // after finally
  83380. case 1:
  83381. // return
  83382. return A._asyncReturn($async$returnValue, $async$completer);
  83383. case 2:
  83384. // rethrow
  83385. return A._asyncRethrow($async$currentError, $async$completer);
  83386. }
  83387. });
  83388. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  83389. },
  83390. _async_evaluate0$_parenthesize$2(condition, operator) {
  83391. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  83392. },
  83393. _async_evaluate0$_parenthesize$1(condition) {
  83394. return this._async_evaluate0$_parenthesize$2(condition, null);
  83395. },
  83396. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  83397. var $async$goto = 0,
  83398. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  83399. $async$returnValue, $async$self = this, t1, $async$temp1;
  83400. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83401. if ($async$errorCode === 1)
  83402. return A._asyncRethrow($async$result, $async$completer);
  83403. while (true)
  83404. switch ($async$goto) {
  83405. case 0:
  83406. // Function start
  83407. if (!(condition instanceof A.SupportsNegation0))
  83408. if (condition instanceof A.SupportsOperation0)
  83409. t1 = operator == null || operator !== condition.operator;
  83410. else
  83411. t1 = false;
  83412. else
  83413. t1 = true;
  83414. $async$goto = t1 ? 3 : 4;
  83415. break;
  83416. case 3:
  83417. // then
  83418. $async$temp1 = A;
  83419. $async$goto = 5;
  83420. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83421. case 5:
  83422. // returning from await.
  83423. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  83424. // goto return
  83425. $async$goto = 1;
  83426. break;
  83427. case 4:
  83428. // join
  83429. $async$goto = 6;
  83430. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83431. case 6:
  83432. // returning from await.
  83433. $async$returnValue = $async$result;
  83434. // goto return
  83435. $async$goto = 1;
  83436. break;
  83437. case 1:
  83438. // return
  83439. return A._asyncReturn($async$returnValue, $async$completer);
  83440. }
  83441. });
  83442. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  83443. },
  83444. visitVariableDeclaration$1(_, node) {
  83445. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  83446. },
  83447. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  83448. var $async$goto = 0,
  83449. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83450. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  83451. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83452. if ($async$errorCode === 1)
  83453. return A._asyncRethrow($async$result, $async$completer);
  83454. while (true)
  83455. switch ($async$goto) {
  83456. case 0:
  83457. // Function start
  83458. t1 = {};
  83459. if (node.isGuarded) {
  83460. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  83461. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  83462. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  83463. t1.override = null;
  83464. if (t2 != null) {
  83465. t1.override = t2;
  83466. t2 = !t2.value.$eq(0, B.C__SassNull0);
  83467. } else
  83468. t2 = false;
  83469. if (t2) {
  83470. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  83471. $async$returnValue = null;
  83472. // goto return
  83473. $async$goto = 1;
  83474. break;
  83475. }
  83476. }
  83477. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  83478. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  83479. $async$returnValue = null;
  83480. // goto return
  83481. $async$goto = 1;
  83482. break;
  83483. }
  83484. }
  83485. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  83486. 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.";
  83487. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_W6Z);
  83488. }
  83489. t1 = node.expression;
  83490. t2 = t1.accept$1($async$self);
  83491. $async$temp1 = node;
  83492. $async$temp2 = A;
  83493. $async$temp3 = node;
  83494. $async$goto = 3;
  83495. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  83496. case 3:
  83497. // returning from await.
  83498. $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)));
  83499. $async$returnValue = null;
  83500. // goto return
  83501. $async$goto = 1;
  83502. break;
  83503. case 1:
  83504. // return
  83505. return A._asyncReturn($async$returnValue, $async$completer);
  83506. }
  83507. });
  83508. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  83509. },
  83510. visitUseRule$1(_, node) {
  83511. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  83512. },
  83513. visitUseRule$body$_EvaluateVisitor0(_, node) {
  83514. var $async$goto = 0,
  83515. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83516. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  83517. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83518. if ($async$errorCode === 1)
  83519. return A._asyncRethrow($async$result, $async$completer);
  83520. while (true)
  83521. switch ($async$goto) {
  83522. case 0:
  83523. // Function start
  83524. t1 = node.configuration;
  83525. t2 = t1.length;
  83526. $async$goto = t2 !== 0 ? 3 : 5;
  83527. break;
  83528. case 3:
  83529. // then
  83530. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  83531. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  83532. case 6:
  83533. // for condition
  83534. if (!(_i < t2)) {
  83535. // goto after for
  83536. $async$goto = 8;
  83537. break;
  83538. }
  83539. variable = t1[_i];
  83540. t5 = variable.expression;
  83541. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  83542. t6 = variable.name;
  83543. t5 = t5.accept$1($async$self);
  83544. if (!t4._is(t5)) {
  83545. t7 = new A._Future($.Zone__current, t3);
  83546. t7._state = 8;
  83547. t7._resultOrListeners = t5;
  83548. t5 = t7;
  83549. }
  83550. $async$temp1 = values;
  83551. $async$temp2 = t6;
  83552. $async$temp3 = A;
  83553. $async$goto = 9;
  83554. return A._asyncAwait(t5, $async$visitUseRule$1);
  83555. case 9:
  83556. // returning from await.
  83557. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83558. case 7:
  83559. // for update
  83560. ++_i;
  83561. // goto for condition
  83562. $async$goto = 6;
  83563. break;
  83564. case 8:
  83565. // after for
  83566. configuration = new A.ExplicitConfiguration0(node, values, null);
  83567. // goto join
  83568. $async$goto = 4;
  83569. break;
  83570. case 5:
  83571. // else
  83572. configuration = B.Configuration_Map_empty_null0;
  83573. case 4:
  83574. // join
  83575. $async$goto = 10;
  83576. 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);
  83577. case 10:
  83578. // returning from await.
  83579. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  83580. $async$returnValue = null;
  83581. // goto return
  83582. $async$goto = 1;
  83583. break;
  83584. case 1:
  83585. // return
  83586. return A._asyncReturn($async$returnValue, $async$completer);
  83587. }
  83588. });
  83589. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  83590. },
  83591. visitWarnRule$1(_, node) {
  83592. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  83593. },
  83594. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  83595. var $async$goto = 0,
  83596. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83597. $async$returnValue, $async$self = this, value, t1;
  83598. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83599. if ($async$errorCode === 1)
  83600. return A._asyncRethrow($async$result, $async$completer);
  83601. while (true)
  83602. switch ($async$goto) {
  83603. case 0:
  83604. // Function start
  83605. $async$goto = 3;
  83606. 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);
  83607. case 3:
  83608. // returning from await.
  83609. value = $async$result;
  83610. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  83611. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  83612. $async$returnValue = null;
  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$visitWarnRule$1, $async$completer);
  83622. },
  83623. visitWhileRule$1(_, node) {
  83624. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83625. },
  83626. visitBinaryOperationExpression$1(_, node) {
  83627. var t1, _this = this;
  83628. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83629. t1 = node.operator;
  83630. t1 = t1 !== B.BinaryOperator_wdM0 && t1 !== B.BinaryOperator_U770;
  83631. } else
  83632. t1 = false;
  83633. if (t1)
  83634. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  83635. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  83636. },
  83637. _async_evaluate0$_slash$3(left, right, node) {
  83638. var t2, _1_1,
  83639. result = left.dividedBy$1(right),
  83640. _1_2_isSet = left instanceof A.SassNumber0,
  83641. _1_2 = null, right0 = null,
  83642. t1 = false;
  83643. if (_1_2_isSet) {
  83644. t2 = type$.SassNumber_2;
  83645. t2._as(left);
  83646. if (right instanceof A.SassNumber0) {
  83647. t2._as(right);
  83648. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  83649. right0 = right;
  83650. _1_2 = right0;
  83651. } else
  83652. _1_2 = right;
  83653. _1_1 = left;
  83654. } else {
  83655. _1_1 = left;
  83656. left = null;
  83657. }
  83658. if (t1)
  83659. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  83660. if (_1_1 instanceof A.SassNumber0)
  83661. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  83662. else
  83663. t1 = false;
  83664. if (t1) {
  83665. 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_E8a);
  83666. return result;
  83667. }
  83668. return result;
  83669. },
  83670. _async_evaluate0$_operandAllowsSlash$1(node) {
  83671. var t1;
  83672. if (node instanceof A.FunctionExpression0)
  83673. if (node.namespace == null) {
  83674. t1 = node.name;
  83675. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  83676. } else
  83677. t1 = false;
  83678. else
  83679. t1 = true;
  83680. return t1;
  83681. },
  83682. visitValueExpression$1(_, node) {
  83683. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  83684. },
  83685. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  83686. var $async$goto = 0,
  83687. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83688. $async$returnValue;
  83689. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83690. if ($async$errorCode === 1)
  83691. return A._asyncRethrow($async$result, $async$completer);
  83692. while (true)
  83693. switch ($async$goto) {
  83694. case 0:
  83695. // Function start
  83696. $async$returnValue = node.value;
  83697. // goto return
  83698. $async$goto = 1;
  83699. break;
  83700. case 1:
  83701. // return
  83702. return A._asyncReturn($async$returnValue, $async$completer);
  83703. }
  83704. });
  83705. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  83706. },
  83707. visitVariableExpression$1(_, node) {
  83708. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  83709. },
  83710. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  83711. var $async$goto = 0,
  83712. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83713. $async$returnValue, $async$self = this, result;
  83714. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83715. if ($async$errorCode === 1)
  83716. return A._asyncRethrow($async$result, $async$completer);
  83717. while (true)
  83718. switch ($async$goto) {
  83719. case 0:
  83720. // Function start
  83721. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  83722. if (result != null) {
  83723. $async$returnValue = result;
  83724. // goto return
  83725. $async$goto = 1;
  83726. break;
  83727. }
  83728. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  83729. case 1:
  83730. // return
  83731. return A._asyncReturn($async$returnValue, $async$completer);
  83732. }
  83733. });
  83734. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  83735. },
  83736. visitUnaryOperationExpression$1(_, node) {
  83737. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  83738. },
  83739. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  83740. var $async$goto = 0,
  83741. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83742. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  83743. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83744. if ($async$errorCode === 1)
  83745. return A._asyncRethrow($async$result, $async$completer);
  83746. while (true)
  83747. switch ($async$goto) {
  83748. case 0:
  83749. // Function start
  83750. $async$temp1 = node;
  83751. $async$temp2 = A;
  83752. $async$temp3 = node;
  83753. $async$goto = 3;
  83754. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  83755. case 3:
  83756. // returning from await.
  83757. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  83758. // goto return
  83759. $async$goto = 1;
  83760. break;
  83761. case 1:
  83762. // return
  83763. return A._asyncReturn($async$returnValue, $async$completer);
  83764. }
  83765. });
  83766. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  83767. },
  83768. visitBooleanExpression$1(_, node) {
  83769. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  83770. },
  83771. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  83772. var $async$goto = 0,
  83773. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  83774. $async$returnValue;
  83775. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83776. if ($async$errorCode === 1)
  83777. return A._asyncRethrow($async$result, $async$completer);
  83778. while (true)
  83779. switch ($async$goto) {
  83780. case 0:
  83781. // Function start
  83782. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83783. // goto return
  83784. $async$goto = 1;
  83785. break;
  83786. case 1:
  83787. // return
  83788. return A._asyncReturn($async$returnValue, $async$completer);
  83789. }
  83790. });
  83791. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  83792. },
  83793. visitIfExpression$1(_, node) {
  83794. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  83795. },
  83796. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  83797. var $async$goto = 0,
  83798. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83799. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  83800. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83801. if ($async$errorCode === 1)
  83802. return A._asyncRethrow($async$result, $async$completer);
  83803. while (true)
  83804. switch ($async$goto) {
  83805. case 0:
  83806. // Function start
  83807. $async$goto = 3;
  83808. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  83809. case 3:
  83810. // returning from await.
  83811. _0_0 = $async$result;
  83812. positional = _0_0._0;
  83813. named = _0_0._1;
  83814. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  83815. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  83816. if (condition == null) {
  83817. t1 = named.$index(0, "condition");
  83818. t1.toString;
  83819. condition = t1;
  83820. }
  83821. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  83822. if (ifTrue == null) {
  83823. t1 = named.$index(0, "if-true");
  83824. t1.toString;
  83825. ifTrue = t1;
  83826. }
  83827. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  83828. if (ifFalse == null) {
  83829. t1 = named.$index(0, "if-false");
  83830. t1.toString;
  83831. ifFalse = t1;
  83832. }
  83833. $async$goto = 4;
  83834. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  83835. case 4:
  83836. // returning from await.
  83837. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  83838. t1 = result.accept$1($async$self);
  83839. $async$goto = 5;
  83840. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  83841. case 5:
  83842. // returning from await.
  83843. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  83844. // goto return
  83845. $async$goto = 1;
  83846. break;
  83847. case 1:
  83848. // return
  83849. return A._asyncReturn($async$returnValue, $async$completer);
  83850. }
  83851. });
  83852. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  83853. },
  83854. visitNullExpression$1(_, node) {
  83855. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  83856. },
  83857. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  83858. var $async$goto = 0,
  83859. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83860. $async$returnValue;
  83861. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83862. if ($async$errorCode === 1)
  83863. return A._asyncRethrow($async$result, $async$completer);
  83864. while (true)
  83865. switch ($async$goto) {
  83866. case 0:
  83867. // Function start
  83868. $async$returnValue = B.C__SassNull0;
  83869. // goto return
  83870. $async$goto = 1;
  83871. break;
  83872. case 1:
  83873. // return
  83874. return A._asyncReturn($async$returnValue, $async$completer);
  83875. }
  83876. });
  83877. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  83878. },
  83879. visitNumberExpression$1(_, node) {
  83880. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  83881. },
  83882. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  83883. var $async$goto = 0,
  83884. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  83885. $async$returnValue;
  83886. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83887. if ($async$errorCode === 1)
  83888. return A._asyncRethrow($async$result, $async$completer);
  83889. while (true)
  83890. switch ($async$goto) {
  83891. case 0:
  83892. // Function start
  83893. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  83894. // goto return
  83895. $async$goto = 1;
  83896. break;
  83897. case 1:
  83898. // return
  83899. return A._asyncReturn($async$returnValue, $async$completer);
  83900. }
  83901. });
  83902. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  83903. },
  83904. visitParenthesizedExpression$1(_, node) {
  83905. var _this = this;
  83906. 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);
  83907. },
  83908. visitColorExpression$1(_, node) {
  83909. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  83910. },
  83911. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  83912. var $async$goto = 0,
  83913. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  83914. $async$returnValue;
  83915. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83916. if ($async$errorCode === 1)
  83917. return A._asyncRethrow($async$result, $async$completer);
  83918. while (true)
  83919. switch ($async$goto) {
  83920. case 0:
  83921. // Function start
  83922. $async$returnValue = node.value;
  83923. // goto return
  83924. $async$goto = 1;
  83925. break;
  83926. case 1:
  83927. // return
  83928. return A._asyncReturn($async$returnValue, $async$completer);
  83929. }
  83930. });
  83931. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  83932. },
  83933. visitListExpression$1(_, node) {
  83934. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  83935. },
  83936. visitListExpression$body$_EvaluateVisitor0(_, node) {
  83937. var $async$goto = 0,
  83938. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  83939. $async$returnValue, $async$self = this, $async$temp1;
  83940. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83941. if ($async$errorCode === 1)
  83942. return A._asyncRethrow($async$result, $async$completer);
  83943. while (true)
  83944. switch ($async$goto) {
  83945. case 0:
  83946. // Function start
  83947. $async$temp1 = A;
  83948. $async$goto = 3;
  83949. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  83950. case 3:
  83951. // returning from await.
  83952. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  83953. // goto return
  83954. $async$goto = 1;
  83955. break;
  83956. case 1:
  83957. // return
  83958. return A._asyncReturn($async$returnValue, $async$completer);
  83959. }
  83960. });
  83961. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  83962. },
  83963. visitMapExpression$1(_, node) {
  83964. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  83965. },
  83966. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  83967. var $async$goto = 0,
  83968. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  83969. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  83970. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83971. if ($async$errorCode === 1)
  83972. return A._asyncRethrow($async$result, $async$completer);
  83973. while (true)
  83974. switch ($async$goto) {
  83975. case 0:
  83976. // Function start
  83977. t1 = type$.Value_2;
  83978. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  83979. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83980. t2 = node.pairs, t3 = t2.length, _i = 0;
  83981. case 3:
  83982. // for condition
  83983. if (!(_i < t3)) {
  83984. // goto after for
  83985. $async$goto = 5;
  83986. break;
  83987. }
  83988. t4 = t2[_i];
  83989. key = t4._0;
  83990. value = t4._1;
  83991. $async$goto = 6;
  83992. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  83993. case 6:
  83994. // returning from await.
  83995. keyValue = $async$result;
  83996. $async$goto = 7;
  83997. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  83998. case 7:
  83999. // returning from await.
  84000. valueValue = $async$result;
  84001. if (map.containsKey$1(keyValue)) {
  84002. t1 = keyNodes.$index(0, keyValue);
  84003. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  84004. t1 = key.get$span(key);
  84005. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  84006. if (oldValueSpan != null)
  84007. t2.$indexSet(0, oldValueSpan, "first key");
  84008. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  84009. }
  84010. map.$indexSet(0, keyValue, valueValue);
  84011. keyNodes.$indexSet(0, keyValue, key);
  84012. case 4:
  84013. // for update
  84014. ++_i;
  84015. // goto for condition
  84016. $async$goto = 3;
  84017. break;
  84018. case 5:
  84019. // after for
  84020. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  84021. // goto return
  84022. $async$goto = 1;
  84023. break;
  84024. case 1:
  84025. // return
  84026. return A._asyncReturn($async$returnValue, $async$completer);
  84027. }
  84028. });
  84029. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  84030. },
  84031. visitFunctionExpression$1(_, node) {
  84032. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  84033. },
  84034. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  84035. var $async$goto = 0,
  84036. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84037. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  84038. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84039. if ($async$errorCode === 1)
  84040. return A._asyncRethrow($async$result, $async$completer);
  84041. while (true)
  84042. switch ($async$goto) {
  84043. case 0:
  84044. // Function start
  84045. t1 = {};
  84046. $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));
  84047. t1.$function = $function;
  84048. $async$goto = $function == null ? 3 : 5;
  84049. break;
  84050. case 3:
  84051. // then
  84052. if (node.namespace != null)
  84053. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  84054. t2 = node.name;
  84055. _0_0 = t2.toLowerCase();
  84056. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  84057. t3 = node.$arguments;
  84058. t4 = t3.named;
  84059. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  84060. } else
  84061. t3 = false;
  84062. $async$goto = t3 ? 6 : 7;
  84063. break;
  84064. case 6:
  84065. // then
  84066. $async$goto = 8;
  84067. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  84068. case 8:
  84069. // returning from await.
  84070. $async$returnValue = $async$result;
  84071. // goto return
  84072. $async$goto = 1;
  84073. break;
  84074. case 7:
  84075. // join
  84076. $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 ? 9 : 10;
  84077. break;
  84078. case 9:
  84079. // then
  84080. $async$goto = 11;
  84081. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  84082. case 11:
  84083. // returning from await.
  84084. $async$returnValue = $async$result;
  84085. // goto return
  84086. $async$goto = 1;
  84087. break;
  84088. case 10:
  84089. // join
  84090. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  84091. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  84092. // goto join
  84093. $async$goto = 4;
  84094. break;
  84095. case 5:
  84096. // else
  84097. t2 = $function;
  84098. case 4:
  84099. // join
  84100. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  84101. $async$self._async_evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_qBS);
  84102. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84103. $async$self._async_evaluate0$_inFunction = true;
  84104. $async$goto = 12;
  84105. 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);
  84106. case 12:
  84107. // returning from await.
  84108. result = $async$result;
  84109. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84110. $async$returnValue = result;
  84111. // goto return
  84112. $async$goto = 1;
  84113. break;
  84114. case 1:
  84115. // return
  84116. return A._asyncReturn($async$returnValue, $async$completer);
  84117. }
  84118. });
  84119. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  84120. },
  84121. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  84122. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  84123. },
  84124. _async_evaluate0$_visitCalculation$1(node) {
  84125. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  84126. },
  84127. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  84128. var $async$goto = 0,
  84129. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84130. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  84131. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84132. if ($async$errorCode === 1)
  84133. return A._asyncRethrow($async$result, $async$completer);
  84134. while (true)
  84135. switch ($async$goto) {
  84136. case 0:
  84137. // Function start
  84138. t2 = node.$arguments;
  84139. t3 = t2.named;
  84140. if (t3.get$isNotEmpty(t3))
  84141. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  84142. else if (t2.rest != null)
  84143. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  84144. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  84145. t3 = A._setArrayType([], type$.JSArray_Object);
  84146. t2 = t2.positional, t4 = t2.length, _i = 0;
  84147. case 3:
  84148. // for condition
  84149. if (!(_i < t4)) {
  84150. // goto after for
  84151. $async$goto = 5;
  84152. break;
  84153. }
  84154. $async$temp1 = t3;
  84155. $async$goto = 6;
  84156. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  84157. case 6:
  84158. // returning from await.
  84159. $async$temp1.push($async$result);
  84160. case 4:
  84161. // for update
  84162. ++_i;
  84163. // goto for condition
  84164. $async$goto = 3;
  84165. break;
  84166. case 5:
  84167. // after for
  84168. $arguments = t3;
  84169. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  84170. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  84171. // goto return
  84172. $async$goto = 1;
  84173. break;
  84174. }
  84175. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84176. $async$self._async_evaluate0$_callableNode = node;
  84177. try {
  84178. t1 = null;
  84179. t3 = node.name;
  84180. _0_0 = t3.toLowerCase();
  84181. $label0$0: {
  84182. if ("calc" === _0_0) {
  84183. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  84184. break $label0$0;
  84185. }
  84186. if ("sqrt" === _0_0) {
  84187. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  84188. break $label0$0;
  84189. }
  84190. if ("sin" === _0_0) {
  84191. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  84192. break $label0$0;
  84193. }
  84194. if ("cos" === _0_0) {
  84195. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  84196. break $label0$0;
  84197. }
  84198. if ("tan" === _0_0) {
  84199. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  84200. break $label0$0;
  84201. }
  84202. if ("asin" === _0_0) {
  84203. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  84204. break $label0$0;
  84205. }
  84206. if ("acos" === _0_0) {
  84207. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  84208. break $label0$0;
  84209. }
  84210. if ("atan" === _0_0) {
  84211. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  84212. break $label0$0;
  84213. }
  84214. if ("abs" === _0_0) {
  84215. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  84216. break $label0$0;
  84217. }
  84218. if ("exp" === _0_0) {
  84219. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  84220. break $label0$0;
  84221. }
  84222. if ("sign" === _0_0) {
  84223. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  84224. break $label0$0;
  84225. }
  84226. if ("min" === _0_0) {
  84227. t1 = A.SassCalculation_min0($arguments);
  84228. break $label0$0;
  84229. }
  84230. if ("max" === _0_0) {
  84231. t1 = A.SassCalculation_max0($arguments);
  84232. break $label0$0;
  84233. }
  84234. if ("hypot" === _0_0) {
  84235. t1 = A.SassCalculation_hypot0($arguments);
  84236. break $label0$0;
  84237. }
  84238. if ("pow" === _0_0) {
  84239. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84240. break $label0$0;
  84241. }
  84242. if ("atan2" === _0_0) {
  84243. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84244. break $label0$0;
  84245. }
  84246. if ("log" === _0_0) {
  84247. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84248. break $label0$0;
  84249. }
  84250. if ("mod" === _0_0) {
  84251. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84252. break $label0$0;
  84253. }
  84254. if ("rem" === _0_0) {
  84255. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84256. break $label0$0;
  84257. }
  84258. if ("round" === _0_0) {
  84259. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  84260. break $label0$0;
  84261. }
  84262. if ("clamp" === _0_0) {
  84263. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  84264. break $label0$0;
  84265. }
  84266. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  84267. t1 = A.throwExpression(t3);
  84268. }
  84269. t1 = t1;
  84270. $async$returnValue = t1;
  84271. // goto return
  84272. $async$goto = 1;
  84273. break;
  84274. } catch (exception) {
  84275. t1 = A.unwrapException(exception);
  84276. if (t1 instanceof A.SassScriptException0) {
  84277. error = t1;
  84278. stackTrace = A.getTraceFromException(exception);
  84279. if (B.JSString_methods.contains$1(error.message, "compatible"))
  84280. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  84281. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  84282. } else
  84283. throw exception;
  84284. } finally {
  84285. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84286. }
  84287. case 1:
  84288. // return
  84289. return A._asyncReturn($async$returnValue, $async$completer);
  84290. }
  84291. });
  84292. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  84293. },
  84294. _async_evaluate0$_checkCalculationArguments$1(node) {
  84295. var t1, _0_0,
  84296. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  84297. $label0$0: {
  84298. t1 = node.name;
  84299. _0_0 = t1.toLowerCase();
  84300. 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) {
  84301. check.call$1(1);
  84302. break $label0$0;
  84303. }
  84304. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  84305. check.call$0();
  84306. break $label0$0;
  84307. }
  84308. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  84309. check.call$1(2);
  84310. break $label0$0;
  84311. }
  84312. if ("round" === _0_0 || "clamp" === _0_0) {
  84313. check.call$1(3);
  84314. break $label0$0;
  84315. }
  84316. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  84317. }
  84318. },
  84319. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  84320. var i, t1, _0_0, arg, number1, j, number2;
  84321. for (i = 0; t1 = args.length, i < t1; ++i) {
  84322. _0_0 = args[i];
  84323. if (_0_0 instanceof A.SassNumber0) {
  84324. t1 = _0_0.get$hasComplexUnits();
  84325. arg = _0_0;
  84326. } else {
  84327. arg = null;
  84328. t1 = false;
  84329. }
  84330. if (t1)
  84331. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  84332. }
  84333. for (i = 0; i < t1 - 1; ++i) {
  84334. number1 = args[i];
  84335. if (!(number1 instanceof A.SassNumber0))
  84336. continue;
  84337. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  84338. number2 = args[j];
  84339. if (!(number2 instanceof A.SassNumber0))
  84340. continue;
  84341. if (number1.hasPossiblyCompatibleUnits$1(number2))
  84342. continue;
  84343. 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));
  84344. }
  84345. }
  84346. },
  84347. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  84348. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  84349. },
  84350. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  84351. var $async$goto = 0,
  84352. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  84353. $async$returnValue, $async$self = this, result, t2, _0_0, _1_0, t3, _i, i, _box_0, t1, inner, $async$temp1;
  84354. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84355. if ($async$errorCode === 1)
  84356. return A._asyncRethrow($async$result, $async$completer);
  84357. while (true)
  84358. switch ($async$goto) {
  84359. case 0:
  84360. // Function start
  84361. _box_0 = {};
  84362. t1 = node instanceof A.ParenthesizedExpression0;
  84363. inner = t1 ? node.expression : null;
  84364. $async$goto = t1 ? 3 : 4;
  84365. break;
  84366. case 3:
  84367. // then
  84368. $async$goto = 5;
  84369. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84370. case 5:
  84371. // returning from await.
  84372. result = $async$result;
  84373. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  84374. // goto return
  84375. $async$goto = 1;
  84376. break;
  84377. case 4:
  84378. // join
  84379. $async$goto = node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0()) ? 6 : 7;
  84380. break;
  84381. case 6:
  84382. // then
  84383. t1 = node.text;
  84384. t2 = t1.get$asPlain();
  84385. _0_0 = t2 == null ? null : t2.toLowerCase();
  84386. if ("pi" === _0_0) {
  84387. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  84388. // goto break $label0$0
  84389. $async$goto = 8;
  84390. break;
  84391. }
  84392. if ("e" === _0_0) {
  84393. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  84394. // goto break $label0$0
  84395. $async$goto = 8;
  84396. break;
  84397. }
  84398. if ("infinity" === _0_0) {
  84399. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  84400. // goto break $label0$0
  84401. $async$goto = 8;
  84402. break;
  84403. }
  84404. if ("-infinity" === _0_0) {
  84405. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  84406. // goto break $label0$0
  84407. $async$goto = 8;
  84408. break;
  84409. }
  84410. if ("nan" === _0_0) {
  84411. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  84412. // goto break $label0$0
  84413. $async$goto = 8;
  84414. break;
  84415. }
  84416. $async$temp1 = A;
  84417. $async$goto = 9;
  84418. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84419. case 9:
  84420. // returning from await.
  84421. t1 = new $async$temp1.SassString0($async$result, false);
  84422. // goto break $label0$0
  84423. $async$goto = 8;
  84424. break;
  84425. case 8:
  84426. // break $label0$0
  84427. $async$returnValue = t1;
  84428. // goto return
  84429. $async$goto = 1;
  84430. break;
  84431. case 7:
  84432. // join
  84433. _box_0.right = _box_0.left = _box_0.operator = null;
  84434. t1 = node instanceof A.BinaryOperationExpression0;
  84435. if (t1) {
  84436. _box_0.operator = node.operator;
  84437. _box_0.left = node.left;
  84438. _box_0.right = node.right;
  84439. }
  84440. $async$goto = t1 ? 10 : 11;
  84441. break;
  84442. case 10:
  84443. // then
  84444. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  84445. $async$goto = 12;
  84446. 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);
  84447. case 12:
  84448. // returning from await.
  84449. $async$returnValue = $async$result;
  84450. // goto return
  84451. $async$goto = 1;
  84452. break;
  84453. case 11:
  84454. // join
  84455. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  84456. break;
  84457. case 13:
  84458. // then
  84459. $async$goto = 15;
  84460. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84461. case 15:
  84462. // returning from await.
  84463. _1_0 = $async$result;
  84464. $label1$1: {
  84465. if (_1_0 instanceof A.SassNumber0) {
  84466. t1 = _1_0;
  84467. break $label1$1;
  84468. }
  84469. if (_1_0 instanceof A.SassCalculation0) {
  84470. t1 = _1_0;
  84471. break $label1$1;
  84472. }
  84473. if (_1_0 instanceof A.SassString0) {
  84474. t1 = !_1_0._string0$_hasQuotes;
  84475. result = _1_0;
  84476. } else {
  84477. result = null;
  84478. t1 = false;
  84479. }
  84480. if (t1) {
  84481. t1 = result;
  84482. break $label1$1;
  84483. }
  84484. 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)));
  84485. }
  84486. $async$returnValue = t1;
  84487. // goto return
  84488. $async$goto = 1;
  84489. break;
  84490. case 14:
  84491. // join
  84492. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_nbm0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  84493. break;
  84494. case 16:
  84495. // then
  84496. t1 = A._setArrayType([], type$.JSArray_Object);
  84497. t2 = node.contents, t3 = t2.length, _i = 0;
  84498. case 18:
  84499. // for condition
  84500. if (!(_i < t3)) {
  84501. // goto after for
  84502. $async$goto = 20;
  84503. break;
  84504. }
  84505. $async$temp1 = t1;
  84506. $async$goto = 21;
  84507. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84508. case 21:
  84509. // returning from await.
  84510. $async$temp1.push($async$result);
  84511. case 19:
  84512. // for update
  84513. ++_i;
  84514. // goto for condition
  84515. $async$goto = 18;
  84516. break;
  84517. case 20:
  84518. // after for
  84519. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  84520. for (i = 0; i < t1.length; ++i) {
  84521. t3 = t1[i];
  84522. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  84523. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  84524. }
  84525. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  84526. // goto return
  84527. $async$goto = 1;
  84528. break;
  84529. case 17:
  84530. // join
  84531. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  84532. case 1:
  84533. // return
  84534. return A._asyncReturn($async$returnValue, $async$completer);
  84535. }
  84536. });
  84537. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  84538. },
  84539. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  84540. var t2, t3, t4, textBetweenOperands, first, last,
  84541. t1 = node.operator;
  84542. if (t1 !== B.BinaryOperator_u150 && t1 !== B.BinaryOperator_SjO0)
  84543. return;
  84544. t1 = node.left;
  84545. t2 = t1.get$span(t1);
  84546. t2 = t2.get$file(t2);
  84547. t3 = node.right;
  84548. t4 = t3.get$span(t3);
  84549. if (t2 !== t4.get$file(t4))
  84550. return;
  84551. t2 = t1.get$span(t1);
  84552. t2 = t2.get$end(t2);
  84553. t4 = t3.get$span(t3);
  84554. if (t2.offset >= t4.get$start(t4).offset)
  84555. return;
  84556. t2 = t1.get$span(t1);
  84557. t2 = t2.get$file(t2);
  84558. t1 = t1.get$span(t1);
  84559. t1 = t1.get$end(t1);
  84560. t3 = t3.get$span(t3);
  84561. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  84562. first = textBetweenOperands.charCodeAt(0);
  84563. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  84564. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  84565. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  84566. else
  84567. t1 = true;
  84568. if (t1)
  84569. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  84570. },
  84571. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  84572. var t1;
  84573. $label0$0: {
  84574. if (B.BinaryOperator_u150 === operator) {
  84575. t1 = B.CalculationOperator_g2q0;
  84576. break $label0$0;
  84577. }
  84578. if (B.BinaryOperator_SjO0 === operator) {
  84579. t1 = B.CalculationOperator_CxF0;
  84580. break $label0$0;
  84581. }
  84582. if (B.BinaryOperator_2No0 === operator) {
  84583. t1 = B.CalculationOperator_1710;
  84584. break $label0$0;
  84585. }
  84586. if (B.BinaryOperator_U770 === operator) {
  84587. t1 = B.CalculationOperator_Qf10;
  84588. break $label0$0;
  84589. }
  84590. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  84591. }
  84592. return t1;
  84593. },
  84594. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  84595. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  84596. for (t1 = elements.length, i = 1; i < t1; ++i) {
  84597. t2 = i - 1;
  84598. previous = elements[t2];
  84599. current = elements[i];
  84600. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  84601. continue;
  84602. t1 = node.contents;
  84603. previousNode = t1[t2];
  84604. currentNode = t1[i];
  84605. if (currentNode instanceof A.UnaryOperationExpression0) {
  84606. _0_2 = currentNode.operator;
  84607. if (B.UnaryOperator_AiQ0 !== _0_2)
  84608. t1 = B.UnaryOperator_cLp0 === _0_2;
  84609. else
  84610. t1 = true;
  84611. } else
  84612. t1 = false;
  84613. if (!t1)
  84614. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  84615. else
  84616. t1 = true;
  84617. if (t1)
  84618. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  84619. else
  84620. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  84621. }
  84622. },
  84623. visitInterpolatedFunctionExpression$1(_, node) {
  84624. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  84625. },
  84626. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  84627. var $async$goto = 0,
  84628. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84629. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  84630. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84631. if ($async$errorCode === 1)
  84632. return A._asyncRethrow($async$result, $async$completer);
  84633. while (true)
  84634. switch ($async$goto) {
  84635. case 0:
  84636. // Function start
  84637. $async$goto = 3;
  84638. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  84639. case 3:
  84640. // returning from await.
  84641. t1 = $async$result;
  84642. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84643. $async$self._async_evaluate0$_inFunction = true;
  84644. $async$goto = 4;
  84645. 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);
  84646. case 4:
  84647. // returning from await.
  84648. result = $async$result;
  84649. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84650. $async$returnValue = result;
  84651. // goto return
  84652. $async$goto = 1;
  84653. break;
  84654. case 1:
  84655. // return
  84656. return A._asyncReturn($async$returnValue, $async$completer);
  84657. }
  84658. });
  84659. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  84660. },
  84661. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  84662. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  84663. },
  84664. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  84665. var $async$goto = 0,
  84666. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  84667. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  84668. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84669. if ($async$errorCode === 1)
  84670. return A._asyncRethrow($async$result, $async$completer);
  84671. while (true)
  84672. switch ($async$goto) {
  84673. case 0:
  84674. // Function start
  84675. $async$goto = 3;
  84676. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  84677. case 3:
  84678. // returning from await.
  84679. evaluated = $async$result;
  84680. $name = callable.declaration.name;
  84681. if ($name !== "@content")
  84682. $name += "()";
  84683. oldCallable = $async$self._async_evaluate0$_currentCallable;
  84684. $async$self._async_evaluate0$_currentCallable = callable;
  84685. $async$goto = 4;
  84686. 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);
  84687. case 4:
  84688. // returning from await.
  84689. result = $async$result;
  84690. $async$self._async_evaluate0$_currentCallable = oldCallable;
  84691. $async$returnValue = result;
  84692. // goto return
  84693. $async$goto = 1;
  84694. break;
  84695. case 1:
  84696. // return
  84697. return A._asyncReturn($async$returnValue, $async$completer);
  84698. }
  84699. });
  84700. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  84701. },
  84702. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  84703. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84704. },
  84705. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84706. var $async$goto = 0,
  84707. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84708. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  84709. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84710. if ($async$errorCode === 1) {
  84711. $async$currentError = $async$result;
  84712. $async$goto = $async$handler;
  84713. }
  84714. while (true)
  84715. switch ($async$goto) {
  84716. case 0:
  84717. // Function start
  84718. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  84719. break;
  84720. case 3:
  84721. // then
  84722. $async$goto = 6;
  84723. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  84724. case 6:
  84725. // returning from await.
  84726. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  84727. // goto return
  84728. $async$goto = 1;
  84729. break;
  84730. // goto join
  84731. $async$goto = 4;
  84732. break;
  84733. case 5:
  84734. // else
  84735. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  84736. break;
  84737. case 7:
  84738. // then
  84739. $async$goto = 10;
  84740. 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);
  84741. case 10:
  84742. // returning from await.
  84743. $async$returnValue = $async$result;
  84744. // goto return
  84745. $async$goto = 1;
  84746. break;
  84747. // goto join
  84748. $async$goto = 8;
  84749. break;
  84750. case 9:
  84751. // else
  84752. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  84753. break;
  84754. case 11:
  84755. // then
  84756. t1 = $arguments.named;
  84757. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  84758. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  84759. buffer = new A.StringBuffer(callable.name + "(");
  84760. $async$handler = 15;
  84761. first = true;
  84762. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  84763. case 18:
  84764. // for condition
  84765. if (!(_i < t2)) {
  84766. // goto after for
  84767. $async$goto = 20;
  84768. break;
  84769. }
  84770. argument = t1[_i];
  84771. if (first)
  84772. first = false;
  84773. else
  84774. buffer._contents += ", ";
  84775. t3 = buffer;
  84776. $async$temp1 = A;
  84777. $async$goto = 21;
  84778. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  84779. case 21:
  84780. // returning from await.
  84781. t4 = $async$temp1.S($async$result);
  84782. t3._contents += t4;
  84783. case 19:
  84784. // for update
  84785. ++_i;
  84786. // goto for condition
  84787. $async$goto = 18;
  84788. break;
  84789. case 20:
  84790. // after for
  84791. restArg = $arguments.rest;
  84792. $async$goto = restArg != null ? 22 : 23;
  84793. break;
  84794. case 22:
  84795. // then
  84796. $async$goto = 24;
  84797. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  84798. case 24:
  84799. // returning from await.
  84800. rest = $async$result;
  84801. if (!first)
  84802. buffer._contents += ", ";
  84803. t1 = buffer;
  84804. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  84805. t1._contents += t2;
  84806. case 23:
  84807. // join
  84808. $async$handler = 2;
  84809. // goto after finally
  84810. $async$goto = 17;
  84811. break;
  84812. case 15:
  84813. // catch
  84814. $async$handler = 14;
  84815. $async$exception = $async$currentError;
  84816. t1 = A.unwrapException($async$exception);
  84817. if (type$.SassRuntimeException_2._is(t1)) {
  84818. error = t1;
  84819. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  84820. throw $async$exception;
  84821. 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));
  84822. } else
  84823. throw $async$exception;
  84824. // goto after finally
  84825. $async$goto = 17;
  84826. break;
  84827. case 14:
  84828. // uncaught
  84829. // goto rethrow
  84830. $async$goto = 2;
  84831. break;
  84832. case 17:
  84833. // after finally
  84834. t1 = buffer;
  84835. t2 = A.Primitives_stringFromCharCode(41);
  84836. t1._contents += t2;
  84837. t2 = buffer._contents;
  84838. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  84839. // goto return
  84840. $async$goto = 1;
  84841. break;
  84842. // goto join
  84843. $async$goto = 12;
  84844. break;
  84845. case 13:
  84846. // else
  84847. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  84848. case 12:
  84849. // join
  84850. case 8:
  84851. // join
  84852. case 4:
  84853. // join
  84854. case 1:
  84855. // return
  84856. return A._asyncReturn($async$returnValue, $async$completer);
  84857. case 2:
  84858. // rethrow
  84859. return A._asyncRethrow($async$currentError, $async$completer);
  84860. }
  84861. });
  84862. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  84863. },
  84864. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  84865. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84866. },
  84867. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84868. var $async$goto = 0,
  84869. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84870. $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;
  84871. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84872. if ($async$errorCode === 1) {
  84873. $async$currentError = $async$result;
  84874. $async$goto = $async$handler;
  84875. }
  84876. while (true)
  84877. switch ($async$goto) {
  84878. case 0:
  84879. // Function start
  84880. _box_0 = {};
  84881. $async$goto = 3;
  84882. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  84883. case 3:
  84884. // returning from await.
  84885. evaluated = $async$result;
  84886. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84887. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  84888. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  84889. _box_0.callback = _box_0.overload = null;
  84890. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  84891. _box_0.overload = _0_0._0;
  84892. _box_0.callback = _0_0._1;
  84893. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  84894. declaredArguments = _box_0.overload.$arguments;
  84895. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  84896. case 4:
  84897. // for condition
  84898. if (!(i < t1)) {
  84899. // goto after for
  84900. $async$goto = 6;
  84901. break;
  84902. }
  84903. argument = declaredArguments[i];
  84904. t4 = evaluated._values[2];
  84905. t5 = evaluated._values[0].remove$1(0, argument.name);
  84906. $async$goto = t5 == null ? 7 : 8;
  84907. break;
  84908. case 7:
  84909. // then
  84910. t5 = argument.defaultValue;
  84911. t6 = t5.accept$1($async$self);
  84912. if (!t3._is(t6)) {
  84913. t7 = new A._Future($.Zone__current, t2);
  84914. t7._state = 8;
  84915. t7._resultOrListeners = t6;
  84916. t6 = t7;
  84917. }
  84918. $async$goto = 9;
  84919. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  84920. case 9:
  84921. // returning from await.
  84922. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  84923. case 8:
  84924. // join
  84925. J.add$1$ax(t4, t5);
  84926. case 5:
  84927. // for update
  84928. ++i;
  84929. // goto for condition
  84930. $async$goto = 4;
  84931. break;
  84932. case 6:
  84933. // after for
  84934. if (_box_0.overload.restArgument != null) {
  84935. if (J.get$length$asx(evaluated._values[2]) > t1) {
  84936. rest = J.sublist$1$ax(evaluated._values[2], t1);
  84937. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  84938. } else
  84939. rest = B.List_empty19;
  84940. t1 = evaluated._values[0];
  84941. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : evaluated._values[4]);
  84942. J.add$1$ax(evaluated._values[2], argumentList);
  84943. } else
  84944. argumentList = null;
  84945. result = null;
  84946. $async$handler = 11;
  84947. $async$goto = 14;
  84948. 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);
  84949. case 14:
  84950. // returning from await.
  84951. result = $async$result;
  84952. $async$handler = 2;
  84953. // goto after finally
  84954. $async$goto = 13;
  84955. break;
  84956. case 11:
  84957. // catch
  84958. $async$handler = 10;
  84959. $async$exception = $async$currentError;
  84960. t1 = A.unwrapException($async$exception);
  84961. if (t1 instanceof A.SassException0)
  84962. throw $async$exception;
  84963. else {
  84964. error = t1;
  84965. stackTrace = A.getTraceFromException($async$exception);
  84966. message = null;
  84967. try {
  84968. message = A._asString(J.get$message$x(error));
  84969. } catch (exception) {
  84970. message0 = J.toString$0$(error);
  84971. message = message0;
  84972. }
  84973. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  84974. }
  84975. // goto after finally
  84976. $async$goto = 13;
  84977. break;
  84978. case 10:
  84979. // uncaught
  84980. // goto rethrow
  84981. $async$goto = 2;
  84982. break;
  84983. case 13:
  84984. // after finally
  84985. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84986. if (argumentList == null) {
  84987. $async$returnValue = result;
  84988. // goto return
  84989. $async$goto = 1;
  84990. break;
  84991. }
  84992. t1 = evaluated._values[0];
  84993. if (t1.get$isEmpty(t1)) {
  84994. $async$returnValue = result;
  84995. // goto return
  84996. $async$goto = 1;
  84997. break;
  84998. }
  84999. if (argumentList._argument_list$_wereKeywordsAccessed) {
  85000. $async$returnValue = result;
  85001. // goto return
  85002. $async$goto = 1;
  85003. break;
  85004. }
  85005. t1 = evaluated._values[0];
  85006. t1 = A.pluralize0("argument", J.get$length$asx(t1.get$keys(t1)), null);
  85007. t2 = evaluated._values[0];
  85008. 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));
  85009. case 1:
  85010. // return
  85011. return A._asyncReturn($async$returnValue, $async$completer);
  85012. case 2:
  85013. // rethrow
  85014. return A._asyncRethrow($async$currentError, $async$completer);
  85015. }
  85016. });
  85017. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  85018. },
  85019. _async_evaluate0$_evaluateArguments$1($arguments) {
  85020. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  85021. },
  85022. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  85023. var $async$goto = 0,
  85024. $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),
  85025. $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;
  85026. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85027. if ($async$errorCode === 1)
  85028. return A._asyncRethrow($async$result, $async$completer);
  85029. while (true)
  85030. switch ($async$goto) {
  85031. case 0:
  85032. // Function start
  85033. positional = A._setArrayType([], type$.JSArray_Value_2);
  85034. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  85035. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  85036. case 3:
  85037. // for condition
  85038. if (!(_i < t2)) {
  85039. // goto after for
  85040. $async$goto = 5;
  85041. break;
  85042. }
  85043. expression = t1[_i];
  85044. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  85045. t5 = expression.accept$1($async$self);
  85046. if (!t4._is(t5)) {
  85047. t6 = new A._Future($.Zone__current, t3);
  85048. t6._state = 8;
  85049. t6._resultOrListeners = t5;
  85050. t5 = t6;
  85051. }
  85052. $async$temp1 = positional;
  85053. $async$goto = 6;
  85054. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  85055. case 6:
  85056. // returning from await.
  85057. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  85058. positionalNodes.push(nodeForSpan);
  85059. case 4:
  85060. // for update
  85061. ++_i;
  85062. // goto for condition
  85063. $async$goto = 3;
  85064. break;
  85065. case 5:
  85066. // after for
  85067. t1 = type$.String;
  85068. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  85069. t2 = type$.AstNode_2;
  85070. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85071. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  85072. case 7:
  85073. // for condition
  85074. if (!t5.moveNext$0()) {
  85075. // goto after for
  85076. $async$goto = 8;
  85077. break;
  85078. }
  85079. t6 = t5.get$current(t5);
  85080. $name = t6._0;
  85081. value = t6._1;
  85082. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  85083. t6 = value.accept$1($async$self);
  85084. if (!t4._is(t6)) {
  85085. t7 = new A._Future($.Zone__current, t3);
  85086. t7._state = 8;
  85087. t7._resultOrListeners = t6;
  85088. t6 = t7;
  85089. }
  85090. $async$temp1 = named;
  85091. $async$temp2 = $name;
  85092. $async$goto = 9;
  85093. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  85094. case 9:
  85095. // returning from await.
  85096. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  85097. namedNodes.$indexSet(0, $name, nodeForSpan);
  85098. // goto for condition
  85099. $async$goto = 7;
  85100. break;
  85101. case 8:
  85102. // after for
  85103. restArgs = $arguments.rest;
  85104. if (restArgs == null) {
  85105. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  85106. // goto return
  85107. $async$goto = 1;
  85108. break;
  85109. }
  85110. $async$goto = 10;
  85111. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  85112. case 10:
  85113. // returning from await.
  85114. rest = $async$result;
  85115. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  85116. if (rest instanceof A.SassMap0) {
  85117. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  85118. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85119. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  85120. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  85121. namedNodes.addAll$1(0, t3);
  85122. separator = B.ListSeparator_undecided_null_undecided0;
  85123. } else if (rest instanceof A.SassList0) {
  85124. t3 = rest._list1$_contents;
  85125. 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>")));
  85126. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  85127. separator = rest._list1$_separator;
  85128. if (rest instanceof A.SassArgumentList0) {
  85129. rest._argument_list$_wereKeywordsAccessed = true;
  85130. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  85131. }
  85132. } else {
  85133. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  85134. positionalNodes.push(restNodeForSpan);
  85135. separator = B.ListSeparator_undecided_null_undecided0;
  85136. }
  85137. keywordRestArgs = $arguments.keywordRest;
  85138. if (keywordRestArgs == null) {
  85139. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  85140. // goto return
  85141. $async$goto = 1;
  85142. break;
  85143. }
  85144. $async$goto = 11;
  85145. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  85146. case 11:
  85147. // returning from await.
  85148. keywordRest = $async$result;
  85149. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  85150. if (keywordRest instanceof A.SassMap0) {
  85151. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  85152. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85153. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  85154. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  85155. namedNodes.addAll$1(0, t1);
  85156. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  85157. // goto return
  85158. $async$goto = 1;
  85159. break;
  85160. } else
  85161. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  85162. case 1:
  85163. // return
  85164. return A._asyncReturn($async$returnValue, $async$completer);
  85165. }
  85166. });
  85167. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  85168. },
  85169. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  85170. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  85171. },
  85172. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  85173. var $async$goto = 0,
  85174. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  85175. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  85176. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85177. if ($async$errorCode === 1)
  85178. return A._asyncRethrow($async$result, $async$completer);
  85179. while (true)
  85180. switch ($async$goto) {
  85181. case 0:
  85182. // Function start
  85183. t1 = invocation.$arguments;
  85184. restArgs_ = t1.rest;
  85185. if (restArgs_ == null) {
  85186. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  85187. // goto return
  85188. $async$goto = 1;
  85189. break;
  85190. }
  85191. t2 = t1.positional;
  85192. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  85193. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  85194. $async$goto = 3;
  85195. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  85196. case 3:
  85197. // returning from await.
  85198. rest = $async$result;
  85199. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  85200. if (rest instanceof A.SassMap0)
  85201. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  85202. else if (rest instanceof A.SassList0) {
  85203. t2 = rest._list1$_contents;
  85204. 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>")));
  85205. if (rest instanceof A.SassArgumentList0) {
  85206. rest._argument_list$_wereKeywordsAccessed = true;
  85207. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  85208. }
  85209. } else
  85210. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  85211. keywordRestArgs_ = t1.keywordRest;
  85212. if (keywordRestArgs_ == null) {
  85213. $async$returnValue = new A._Record_2(positional, named);
  85214. // goto return
  85215. $async$goto = 1;
  85216. break;
  85217. }
  85218. $async$goto = 4;
  85219. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  85220. case 4:
  85221. // returning from await.
  85222. keywordRest = $async$result;
  85223. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  85224. if (keywordRest instanceof A.SassMap0) {
  85225. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  85226. $async$returnValue = new A._Record_2(positional, named);
  85227. // goto return
  85228. $async$goto = 1;
  85229. break;
  85230. } else
  85231. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  85232. case 1:
  85233. // return
  85234. return A._asyncReturn($async$returnValue, $async$completer);
  85235. }
  85236. });
  85237. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  85238. },
  85239. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  85240. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  85241. },
  85242. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  85243. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  85244. },
  85245. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  85246. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  85247. },
  85248. visitSelectorExpression$1(_, node) {
  85249. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  85250. },
  85251. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  85252. var $async$goto = 0,
  85253. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85254. $async$returnValue, $async$self = this, t1;
  85255. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85256. if ($async$errorCode === 1)
  85257. return A._asyncRethrow($async$result, $async$completer);
  85258. while (true)
  85259. switch ($async$goto) {
  85260. case 0:
  85261. // Function start
  85262. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85263. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  85264. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  85265. // goto return
  85266. $async$goto = 1;
  85267. break;
  85268. case 1:
  85269. // return
  85270. return A._asyncReturn($async$returnValue, $async$completer);
  85271. }
  85272. });
  85273. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  85274. },
  85275. visitStringExpression$1(_, node) {
  85276. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  85277. },
  85278. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  85279. var $async$goto = 0,
  85280. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  85281. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  85282. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85283. if ($async$errorCode === 1)
  85284. return A._asyncRethrow($async$result, $async$completer);
  85285. while (true)
  85286. switch ($async$goto) {
  85287. case 0:
  85288. // Function start
  85289. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85290. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85291. t1 = A._setArrayType([], type$.JSArray_String);
  85292. t2 = node.text.contents, t3 = t2.length, _i = 0;
  85293. case 3:
  85294. // for condition
  85295. if (!(_i < t3)) {
  85296. // goto after for
  85297. $async$goto = 5;
  85298. break;
  85299. }
  85300. value = t2[_i];
  85301. if (typeof value == "string") {
  85302. t4 = value;
  85303. // goto break $label0$0
  85304. $async$goto = 6;
  85305. break;
  85306. }
  85307. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  85308. break;
  85309. case 7:
  85310. // then
  85311. $async$goto = 9;
  85312. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  85313. case 9:
  85314. // returning from await.
  85315. _0_0 = $async$result;
  85316. $label1$1: {
  85317. if (_0_0 instanceof A.SassString0) {
  85318. text = _0_0._string0$_text;
  85319. t4 = text;
  85320. break $label1$1;
  85321. }
  85322. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  85323. break $label1$1;
  85324. }
  85325. // goto break $label0$0
  85326. $async$goto = 6;
  85327. break;
  85328. case 8:
  85329. // join
  85330. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  85331. case 6:
  85332. // break $label0$0
  85333. t1.push(t4);
  85334. case 4:
  85335. // for update
  85336. ++_i;
  85337. // goto for condition
  85338. $async$goto = 3;
  85339. break;
  85340. case 5:
  85341. // after for
  85342. t1 = B.JSArray_methods.join$0(t1);
  85343. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85344. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  85345. // goto return
  85346. $async$goto = 1;
  85347. break;
  85348. case 1:
  85349. // return
  85350. return A._asyncReturn($async$returnValue, $async$completer);
  85351. }
  85352. });
  85353. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  85354. },
  85355. visitSupportsExpression$1(_, expression) {
  85356. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  85357. },
  85358. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  85359. var $async$goto = 0,
  85360. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  85361. $async$returnValue, $async$self = this, $async$temp1;
  85362. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85363. if ($async$errorCode === 1)
  85364. return A._asyncRethrow($async$result, $async$completer);
  85365. while (true)
  85366. switch ($async$goto) {
  85367. case 0:
  85368. // Function start
  85369. $async$temp1 = A;
  85370. $async$goto = 3;
  85371. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  85372. case 3:
  85373. // returning from await.
  85374. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  85375. // goto return
  85376. $async$goto = 1;
  85377. break;
  85378. case 1:
  85379. // return
  85380. return A._asyncReturn($async$returnValue, $async$completer);
  85381. }
  85382. });
  85383. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  85384. },
  85385. visitCssAtRule$1(node) {
  85386. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  85387. },
  85388. visitCssAtRule$body$_EvaluateVisitor0(node) {
  85389. var $async$goto = 0,
  85390. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85391. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  85392. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85393. if ($async$errorCode === 1)
  85394. return A._asyncRethrow($async$result, $async$completer);
  85395. while (true)
  85396. switch ($async$goto) {
  85397. case 0:
  85398. // Function start
  85399. if ($async$self._async_evaluate0$_declarationName != null)
  85400. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  85401. if (node.isChildless) {
  85402. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  85403. // goto return
  85404. $async$goto = 1;
  85405. break;
  85406. }
  85407. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  85408. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  85409. t1 = node.name;
  85410. if (A.unvendor0(t1.value) === "keyframes")
  85411. $async$self._async_evaluate0$_inKeyframes = true;
  85412. else
  85413. $async$self._async_evaluate0$_inUnknownAtRule = true;
  85414. $async$goto = 3;
  85415. 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);
  85416. case 3:
  85417. // returning from await.
  85418. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  85419. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  85420. case 1:
  85421. // return
  85422. return A._asyncReturn($async$returnValue, $async$completer);
  85423. }
  85424. });
  85425. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  85426. },
  85427. visitCssComment$1(node) {
  85428. return this.visitCssComment$body$_EvaluateVisitor0(node);
  85429. },
  85430. visitCssComment$body$_EvaluateVisitor0(node) {
  85431. var $async$goto = 0,
  85432. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85433. $async$self = this;
  85434. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85435. if ($async$errorCode === 1)
  85436. return A._asyncRethrow($async$result, $async$completer);
  85437. while (true)
  85438. switch ($async$goto) {
  85439. case 0:
  85440. // Function start
  85441. 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))
  85442. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85443. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  85444. // implicit return
  85445. return A._asyncReturn(null, $async$completer);
  85446. }
  85447. });
  85448. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  85449. },
  85450. visitCssDeclaration$1(node) {
  85451. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  85452. },
  85453. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  85454. var $async$goto = 0,
  85455. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85456. $async$self = this;
  85457. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85458. if ($async$errorCode === 1)
  85459. return A._asyncRethrow($async$result, $async$completer);
  85460. while (true)
  85461. switch ($async$goto) {
  85462. case 0:
  85463. // Function start
  85464. $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));
  85465. // implicit return
  85466. return A._asyncReturn(null, $async$completer);
  85467. }
  85468. });
  85469. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  85470. },
  85471. visitCssImport$1(node) {
  85472. return this.visitCssImport$body$_EvaluateVisitor0(node);
  85473. },
  85474. visitCssImport$body$_EvaluateVisitor0(node) {
  85475. var $async$goto = 0,
  85476. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85477. $async$self = this, t1, modifiableNode;
  85478. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85479. if ($async$errorCode === 1)
  85480. return A._asyncRethrow($async$result, $async$completer);
  85481. while (true)
  85482. switch ($async$goto) {
  85483. case 0:
  85484. // Function start
  85485. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  85486. 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"))
  85487. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  85488. 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)) {
  85489. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  85490. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85491. } else {
  85492. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  85493. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  85494. }
  85495. // implicit return
  85496. return A._asyncReturn(null, $async$completer);
  85497. }
  85498. });
  85499. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  85500. },
  85501. visitCssKeyframeBlock$1(node) {
  85502. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  85503. },
  85504. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  85505. var $async$goto = 0,
  85506. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85507. $async$self = this;
  85508. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85509. if ($async$errorCode === 1)
  85510. return A._asyncRethrow($async$result, $async$completer);
  85511. while (true)
  85512. switch ($async$goto) {
  85513. case 0:
  85514. // Function start
  85515. $async$goto = 2;
  85516. 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);
  85517. case 2:
  85518. // returning from await.
  85519. // implicit return
  85520. return A._asyncReturn(null, $async$completer);
  85521. }
  85522. });
  85523. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  85524. },
  85525. visitCssMediaRule$1(node) {
  85526. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  85527. },
  85528. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  85529. var $async$goto = 0,
  85530. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85531. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  85532. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85533. if ($async$errorCode === 1)
  85534. return A._asyncRethrow($async$result, $async$completer);
  85535. while (true)
  85536. switch ($async$goto) {
  85537. case 0:
  85538. // Function start
  85539. if ($async$self._async_evaluate0$_declarationName != null)
  85540. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  85541. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  85542. t1 = mergedQueries == null;
  85543. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  85544. // goto return
  85545. $async$goto = 1;
  85546. break;
  85547. }
  85548. if (t1)
  85549. mergedSources = B.Set_empty5;
  85550. else {
  85551. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  85552. t2.toString;
  85553. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  85554. t3 = $async$self._async_evaluate0$_mediaQueries;
  85555. t3.toString;
  85556. t2.addAll$1(0, t3);
  85557. t2.addAll$1(0, node.queries);
  85558. mergedSources = t2;
  85559. }
  85560. t1 = t1 ? node.queries : mergedQueries;
  85561. $async$goto = 3;
  85562. 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);
  85563. case 3:
  85564. // returning from await.
  85565. case 1:
  85566. // return
  85567. return A._asyncReturn($async$returnValue, $async$completer);
  85568. }
  85569. });
  85570. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  85571. },
  85572. visitCssStyleRule$1(node) {
  85573. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  85574. },
  85575. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  85576. var $async$goto = 0,
  85577. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85578. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  85579. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85580. if ($async$errorCode === 1)
  85581. return A._asyncRethrow($async$result, $async$completer);
  85582. while (true)
  85583. switch ($async$goto) {
  85584. case 0:
  85585. // Function start
  85586. if ($async$self._async_evaluate0$_declarationName != null)
  85587. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  85588. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  85589. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  85590. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85591. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85592. t2 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85593. t2 = t2 == null ? null : t2.fromPlainCss;
  85594. nest = t2 !== true;
  85595. t2 = node._style_rule0$_selector._box0$_inner;
  85596. if (nest) {
  85597. t2 = t2.value;
  85598. t3 = styleRule == null ? null : styleRule.originalSelector;
  85599. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  85600. } else
  85601. originalSelector = t2.value;
  85602. 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, node.fromPlainCss, originalSelector);
  85603. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85604. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  85605. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  85606. $async$goto = 2;
  85607. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure6($async$self, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  85608. case 2:
  85609. // returning from await.
  85610. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  85611. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  85612. t2 = J.getInterceptor$asx(t1);
  85613. _0_1 = t2.get$length(t1);
  85614. if (_0_1 >= 1) {
  85615. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  85616. t1 = styleRule == null;
  85617. } else {
  85618. lastChild = null;
  85619. t1 = false;
  85620. }
  85621. if (t1)
  85622. lastChild.isGroupEnd = true;
  85623. // implicit return
  85624. return A._asyncReturn(null, $async$completer);
  85625. }
  85626. });
  85627. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  85628. },
  85629. visitCssStylesheet$1(node) {
  85630. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  85631. },
  85632. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  85633. var $async$goto = 0,
  85634. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85635. $async$self = this, t1;
  85636. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85637. if ($async$errorCode === 1)
  85638. return A._asyncRethrow($async$result, $async$completer);
  85639. while (true)
  85640. switch ($async$goto) {
  85641. case 0:
  85642. // Function start
  85643. t1 = J.get$iterator$ax(node.get$children(node));
  85644. case 2:
  85645. // for condition
  85646. if (!t1.moveNext$0()) {
  85647. // goto after for
  85648. $async$goto = 3;
  85649. break;
  85650. }
  85651. $async$goto = 4;
  85652. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  85653. case 4:
  85654. // returning from await.
  85655. // goto for condition
  85656. $async$goto = 2;
  85657. break;
  85658. case 3:
  85659. // after for
  85660. // implicit return
  85661. return A._asyncReturn(null, $async$completer);
  85662. }
  85663. });
  85664. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  85665. },
  85666. visitCssSupportsRule$1(node) {
  85667. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  85668. },
  85669. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  85670. var $async$goto = 0,
  85671. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85672. $async$self = this;
  85673. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85674. if ($async$errorCode === 1)
  85675. return A._asyncRethrow($async$result, $async$completer);
  85676. while (true)
  85677. switch ($async$goto) {
  85678. case 0:
  85679. // Function start
  85680. if ($async$self._async_evaluate0$_declarationName != null)
  85681. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  85682. $async$goto = 2;
  85683. 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);
  85684. case 2:
  85685. // returning from await.
  85686. // implicit return
  85687. return A._asyncReturn(null, $async$completer);
  85688. }
  85689. });
  85690. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  85691. },
  85692. _async_evaluate0$_handleReturn$1$2(list, callback) {
  85693. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  85694. },
  85695. _async_evaluate0$_handleReturn$2(list, callback) {
  85696. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  85697. },
  85698. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  85699. var $async$goto = 0,
  85700. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  85701. $async$returnValue, t1, _i, _0_0;
  85702. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85703. if ($async$errorCode === 1)
  85704. return A._asyncRethrow($async$result, $async$completer);
  85705. while (true)
  85706. switch ($async$goto) {
  85707. case 0:
  85708. // Function start
  85709. t1 = list.length, _i = 0;
  85710. case 3:
  85711. // for condition
  85712. if (!(_i < list.length)) {
  85713. // goto after for
  85714. $async$goto = 5;
  85715. break;
  85716. }
  85717. $async$goto = 6;
  85718. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  85719. case 6:
  85720. // returning from await.
  85721. _0_0 = $async$result;
  85722. if (_0_0 != null) {
  85723. $async$returnValue = _0_0;
  85724. // goto return
  85725. $async$goto = 1;
  85726. break;
  85727. }
  85728. case 4:
  85729. // for update
  85730. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  85731. // goto for condition
  85732. $async$goto = 3;
  85733. break;
  85734. case 5:
  85735. // after for
  85736. $async$returnValue = null;
  85737. // goto return
  85738. $async$goto = 1;
  85739. break;
  85740. case 1:
  85741. // return
  85742. return A._asyncReturn($async$returnValue, $async$completer);
  85743. }
  85744. });
  85745. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  85746. },
  85747. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  85748. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  85749. },
  85750. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  85751. var $async$goto = 0,
  85752. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85753. $async$returnValue, $async$self = this, result, oldEnvironment;
  85754. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85755. if ($async$errorCode === 1)
  85756. return A._asyncRethrow($async$result, $async$completer);
  85757. while (true)
  85758. switch ($async$goto) {
  85759. case 0:
  85760. // Function start
  85761. oldEnvironment = $async$self._async_evaluate0$_environment;
  85762. $async$self._async_evaluate0$_environment = environment;
  85763. $async$goto = 3;
  85764. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  85765. case 3:
  85766. // returning from await.
  85767. result = $async$result;
  85768. $async$self._async_evaluate0$_environment = oldEnvironment;
  85769. $async$returnValue = result;
  85770. // goto return
  85771. $async$goto = 1;
  85772. break;
  85773. case 1:
  85774. // return
  85775. return A._asyncReturn($async$returnValue, $async$completer);
  85776. }
  85777. });
  85778. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  85779. },
  85780. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  85781. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  85782. },
  85783. _async_evaluate0$_interpolationToValue$1(interpolation) {
  85784. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  85785. },
  85786. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  85787. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  85788. },
  85789. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  85790. var $async$goto = 0,
  85791. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  85792. $async$returnValue, $async$self = this, result, t1;
  85793. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85794. if ($async$errorCode === 1)
  85795. return A._asyncRethrow($async$result, $async$completer);
  85796. while (true)
  85797. switch ($async$goto) {
  85798. case 0:
  85799. // Function start
  85800. $async$goto = 3;
  85801. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  85802. case 3:
  85803. // returning from await.
  85804. result = $async$result;
  85805. t1 = trim ? A.trimAscii0(result, true) : result;
  85806. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  85807. // goto return
  85808. $async$goto = 1;
  85809. break;
  85810. case 1:
  85811. // return
  85812. return A._asyncReturn($async$returnValue, $async$completer);
  85813. }
  85814. });
  85815. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  85816. },
  85817. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  85818. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  85819. },
  85820. _async_evaluate0$_performInterpolation$1(interpolation) {
  85821. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  85822. },
  85823. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85824. var $async$goto = 0,
  85825. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85826. $async$returnValue, $async$self = this;
  85827. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85828. if ($async$errorCode === 1)
  85829. return A._asyncRethrow($async$result, $async$completer);
  85830. while (true)
  85831. switch ($async$goto) {
  85832. case 0:
  85833. // Function start
  85834. $async$goto = 3;
  85835. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  85836. case 3:
  85837. // returning from await.
  85838. $async$returnValue = $async$result._0;
  85839. // goto return
  85840. $async$goto = 1;
  85841. break;
  85842. case 1:
  85843. // return
  85844. return A._asyncReturn($async$returnValue, $async$completer);
  85845. }
  85846. });
  85847. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  85848. },
  85849. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  85850. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  85851. },
  85852. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85853. var $async$goto = 0,
  85854. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  85855. $async$returnValue, $async$self = this, _0_0, result, map;
  85856. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85857. if ($async$errorCode === 1)
  85858. return A._asyncRethrow($async$result, $async$completer);
  85859. while (true)
  85860. switch ($async$goto) {
  85861. case 0:
  85862. // Function start
  85863. $async$goto = 3;
  85864. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  85865. case 3:
  85866. // returning from await.
  85867. _0_0 = $async$result;
  85868. result = _0_0._0;
  85869. map = _0_0._1;
  85870. map.toString;
  85871. $async$returnValue = new A._Record_2(result, map);
  85872. // goto return
  85873. $async$goto = 1;
  85874. break;
  85875. case 1:
  85876. // return
  85877. return A._asyncReturn($async$returnValue, $async$completer);
  85878. }
  85879. });
  85880. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  85881. },
  85882. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  85883. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  85884. },
  85885. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  85886. var $async$goto = 0,
  85887. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  85888. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  85889. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85890. if ($async$errorCode === 1)
  85891. return A._asyncRethrow($async$result, $async$completer);
  85892. while (true)
  85893. switch ($async$goto) {
  85894. case 0:
  85895. // Function start
  85896. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  85897. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85898. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85899. 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 = "";
  85900. case 3:
  85901. // for condition
  85902. if (!(_i < t2)) {
  85903. // goto after for
  85904. $async$goto = 5;
  85905. break;
  85906. }
  85907. value = t1[_i];
  85908. if (!first)
  85909. if (!t4)
  85910. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  85911. if (typeof value == "string") {
  85912. t8 += value;
  85913. // goto for update
  85914. $async$goto = 4;
  85915. break;
  85916. }
  85917. t3._as(value);
  85918. $async$goto = 6;
  85919. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  85920. case 6:
  85921. // returning from await.
  85922. result = $async$result;
  85923. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  85924. t9 = A._setArrayType([""], t5);
  85925. result0 = A.List_List$from(t9, false, t7);
  85926. result0.fixed$length = Array;
  85927. result0.immutable$list = Array;
  85928. result0 = new A.Interpolation0(result0, t6);
  85929. result0.Interpolation$20(t9, t6);
  85930. t9 = $.$get$namesByColor0();
  85931. $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_u150, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  85932. }
  85933. t8 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  85934. case 4:
  85935. // for update
  85936. ++_i, first = false;
  85937. // goto for condition
  85938. $async$goto = 3;
  85939. break;
  85940. case 5:
  85941. // after for
  85942. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85943. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  85944. // goto return
  85945. $async$goto = 1;
  85946. break;
  85947. case 1:
  85948. // return
  85949. return A._asyncReturn($async$returnValue, $async$completer);
  85950. }
  85951. });
  85952. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  85953. },
  85954. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  85955. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  85956. },
  85957. _async_evaluate0$_evaluateToCss$1(expression) {
  85958. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  85959. },
  85960. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  85961. var $async$goto = 0,
  85962. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85963. $async$returnValue, $async$self = this, t1;
  85964. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85965. if ($async$errorCode === 1)
  85966. return A._asyncRethrow($async$result, $async$completer);
  85967. while (true)
  85968. switch ($async$goto) {
  85969. case 0:
  85970. // Function start
  85971. t1 = expression.accept$1($async$self);
  85972. $async$goto = 3;
  85973. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  85974. case 3:
  85975. // returning from await.
  85976. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  85977. // goto return
  85978. $async$goto = 1;
  85979. break;
  85980. case 1:
  85981. // return
  85982. return A._asyncReturn($async$returnValue, $async$completer);
  85983. }
  85984. });
  85985. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  85986. },
  85987. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  85988. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  85989. },
  85990. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  85991. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  85992. },
  85993. _async_evaluate0$_expressionNode$1(expression) {
  85994. var t1;
  85995. if (expression instanceof A.VariableExpression0) {
  85996. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  85997. return t1 == null ? expression : t1;
  85998. } else
  85999. return expression;
  86000. },
  86001. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  86002. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  86003. },
  86004. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  86005. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  86006. },
  86007. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  86008. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  86009. },
  86010. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  86011. var $async$goto = 0,
  86012. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86013. $async$returnValue, $async$self = this, t1, result;
  86014. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86015. if ($async$errorCode === 1)
  86016. return A._asyncRethrow($async$result, $async$completer);
  86017. while (true)
  86018. switch ($async$goto) {
  86019. case 0:
  86020. // Function start
  86021. $async$self._async_evaluate0$_addChild$2$through(node, through);
  86022. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86023. $async$self._async_evaluate0$__parent = node;
  86024. $async$goto = 3;
  86025. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  86026. case 3:
  86027. // returning from await.
  86028. result = $async$result;
  86029. $async$self._async_evaluate0$__parent = t1;
  86030. $async$returnValue = result;
  86031. // goto return
  86032. $async$goto = 1;
  86033. break;
  86034. case 1:
  86035. // return
  86036. return A._asyncReturn($async$returnValue, $async$completer);
  86037. }
  86038. });
  86039. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  86040. },
  86041. _async_evaluate0$_addChild$2$through(node, through) {
  86042. var _0_0, grandparent, t1,
  86043. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  86044. if (through != null) {
  86045. for (; through.call$1($parent); $parent = _0_0) {
  86046. _0_0 = $parent._node$_parent;
  86047. if (_0_0 == null)
  86048. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  86049. }
  86050. if ($parent.get$hasFollowingSibling()) {
  86051. grandparent = $parent._node$_parent;
  86052. t1 = grandparent.children;
  86053. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  86054. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  86055. else {
  86056. $parent = $parent.copyWithoutChildren$0();
  86057. grandparent.addChild$1($parent);
  86058. }
  86059. }
  86060. }
  86061. $parent.addChild$1(node);
  86062. },
  86063. _async_evaluate0$_addChild$1(node) {
  86064. return this._async_evaluate0$_addChild$2$through(node, null);
  86065. },
  86066. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  86067. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  86068. },
  86069. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  86070. var $async$goto = 0,
  86071. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86072. $async$returnValue, $async$self = this, result, oldRule;
  86073. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86074. if ($async$errorCode === 1)
  86075. return A._asyncRethrow($async$result, $async$completer);
  86076. while (true)
  86077. switch ($async$goto) {
  86078. case 0:
  86079. // Function start
  86080. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86081. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  86082. $async$goto = 3;
  86083. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  86084. case 3:
  86085. // returning from await.
  86086. result = $async$result;
  86087. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  86088. $async$returnValue = result;
  86089. // goto return
  86090. $async$goto = 1;
  86091. break;
  86092. case 1:
  86093. // return
  86094. return A._asyncReturn($async$returnValue, $async$completer);
  86095. }
  86096. });
  86097. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  86098. },
  86099. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  86100. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  86101. },
  86102. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  86103. var $async$goto = 0,
  86104. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86105. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  86106. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86107. if ($async$errorCode === 1)
  86108. return A._asyncRethrow($async$result, $async$completer);
  86109. while (true)
  86110. switch ($async$goto) {
  86111. case 0:
  86112. // Function start
  86113. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  86114. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  86115. $async$self._async_evaluate0$_mediaQueries = queries;
  86116. $async$self._async_evaluate0$_mediaQuerySources = sources;
  86117. $async$goto = 3;
  86118. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  86119. case 3:
  86120. // returning from await.
  86121. result = $async$result;
  86122. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  86123. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  86124. $async$returnValue = result;
  86125. // goto return
  86126. $async$goto = 1;
  86127. break;
  86128. case 1:
  86129. // return
  86130. return A._asyncReturn($async$returnValue, $async$completer);
  86131. }
  86132. });
  86133. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  86134. },
  86135. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  86136. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  86137. },
  86138. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  86139. var $async$goto = 0,
  86140. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86141. $async$returnValue, $async$self = this, oldMember, result, t1;
  86142. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86143. if ($async$errorCode === 1)
  86144. return A._asyncRethrow($async$result, $async$completer);
  86145. while (true)
  86146. switch ($async$goto) {
  86147. case 0:
  86148. // Function start
  86149. t1 = $async$self._async_evaluate0$_stack;
  86150. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  86151. oldMember = $async$self._async_evaluate0$_member;
  86152. $async$self._async_evaluate0$_member = member;
  86153. $async$goto = 3;
  86154. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  86155. case 3:
  86156. // returning from await.
  86157. result = $async$result;
  86158. $async$self._async_evaluate0$_member = oldMember;
  86159. t1.pop();
  86160. $async$returnValue = result;
  86161. // goto return
  86162. $async$goto = 1;
  86163. break;
  86164. case 1:
  86165. // return
  86166. return A._asyncReturn($async$returnValue, $async$completer);
  86167. }
  86168. });
  86169. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  86170. },
  86171. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  86172. var t1;
  86173. if (value instanceof A.SassNumber0)
  86174. t1 = value.asSlash != null;
  86175. else
  86176. t1 = false;
  86177. if (t1)
  86178. 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_E8a);
  86179. return value.withoutSlash$0();
  86180. },
  86181. _async_evaluate0$_stackFrame$2(member, span) {
  86182. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  86183. },
  86184. _async_evaluate0$_stackTrace$1(span) {
  86185. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  86186. t1 = A._setArrayType([], type$.JSArray_Frame);
  86187. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86188. t4 = t2[_i];
  86189. nodeWithSpan = t4._1;
  86190. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  86191. }
  86192. if (span != null)
  86193. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  86194. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  86195. },
  86196. _async_evaluate0$_stackTrace$0() {
  86197. return this._async_evaluate0$_stackTrace$1(null);
  86198. },
  86199. _async_evaluate0$_warn$3(message, span, deprecation) {
  86200. var t1, trace, _this = this;
  86201. if (_this._async_evaluate0$_quietDeps)
  86202. if (!_this._async_evaluate0$_inDependency) {
  86203. t1 = _this._async_evaluate0$_currentCallable;
  86204. t1 = t1 == null ? null : t1.inDependency;
  86205. t1 = t1 === true;
  86206. } else
  86207. t1 = true;
  86208. else
  86209. t1 = false;
  86210. if (t1)
  86211. return;
  86212. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  86213. return;
  86214. trace = _this._async_evaluate0$_stackTrace$1(span);
  86215. t1 = _this._async_evaluate0$_logger;
  86216. if (deprecation == null)
  86217. t1.warn$3$span$trace(0, message, span, trace);
  86218. else
  86219. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  86220. },
  86221. _async_evaluate0$_warn$2(message, span) {
  86222. return this._async_evaluate0$_warn$3(message, span, null);
  86223. },
  86224. _async_evaluate0$_exception$2(message, span) {
  86225. var t1, t2;
  86226. if (span == null) {
  86227. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  86228. t1 = t1.get$span(t1);
  86229. } else
  86230. t1 = span;
  86231. t2 = this._async_evaluate0$_stackTrace$1(span);
  86232. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  86233. },
  86234. _async_evaluate0$_exception$1(message) {
  86235. return this._async_evaluate0$_exception$2(message, null);
  86236. },
  86237. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  86238. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  86239. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  86240. },
  86241. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  86242. var error, stackTrace, t1, exception,
  86243. addStackFrame = true;
  86244. try {
  86245. t1 = callback.call$0();
  86246. return t1;
  86247. } catch (exception) {
  86248. t1 = A.unwrapException(exception);
  86249. if (t1 instanceof A.SassScriptException0) {
  86250. error = t1;
  86251. stackTrace = A.getTraceFromException(exception);
  86252. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  86253. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  86254. } else
  86255. throw exception;
  86256. }
  86257. },
  86258. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  86259. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  86260. },
  86261. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  86262. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  86263. },
  86264. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  86265. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  86266. },
  86267. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  86268. var $async$goto = 0,
  86269. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86270. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86271. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86272. if ($async$errorCode === 1) {
  86273. $async$currentError = $async$result;
  86274. $async$goto = $async$handler;
  86275. }
  86276. while (true)
  86277. switch ($async$goto) {
  86278. case 0:
  86279. // Function start
  86280. $async$handler = 4;
  86281. t1 = callback.call$0();
  86282. $async$goto = 7;
  86283. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  86284. case 7:
  86285. // returning from await.
  86286. t1 = $async$result;
  86287. $async$returnValue = t1;
  86288. // goto return
  86289. $async$goto = 1;
  86290. break;
  86291. $async$handler = 2;
  86292. // goto after finally
  86293. $async$goto = 6;
  86294. break;
  86295. case 4:
  86296. // catch
  86297. $async$handler = 3;
  86298. $async$exception = $async$currentError;
  86299. t1 = A.unwrapException($async$exception);
  86300. if (t1 instanceof A.SassScriptException0) {
  86301. error = t1;
  86302. stackTrace = A.getTraceFromException($async$exception);
  86303. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  86304. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  86305. } else
  86306. throw $async$exception;
  86307. // goto after finally
  86308. $async$goto = 6;
  86309. break;
  86310. case 3:
  86311. // uncaught
  86312. // goto rethrow
  86313. $async$goto = 2;
  86314. break;
  86315. case 6:
  86316. // after finally
  86317. case 1:
  86318. // return
  86319. return A._asyncReturn($async$returnValue, $async$completer);
  86320. case 2:
  86321. // rethrow
  86322. return A._asyncRethrow($async$currentError, $async$completer);
  86323. }
  86324. });
  86325. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  86326. },
  86327. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  86328. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  86329. },
  86330. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  86331. var $async$goto = 0,
  86332. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86333. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  86334. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86335. if ($async$errorCode === 1) {
  86336. $async$currentError = $async$result;
  86337. $async$goto = $async$handler;
  86338. }
  86339. while (true)
  86340. switch ($async$goto) {
  86341. case 0:
  86342. // Function start
  86343. $async$handler = 4;
  86344. t1 = callback.call$0();
  86345. $async$goto = 7;
  86346. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  86347. case 7:
  86348. // returning from await.
  86349. t1 = $async$result;
  86350. $async$returnValue = t1;
  86351. // goto return
  86352. $async$goto = 1;
  86353. break;
  86354. $async$handler = 2;
  86355. // goto after finally
  86356. $async$goto = 6;
  86357. break;
  86358. case 4:
  86359. // catch
  86360. $async$handler = 3;
  86361. $async$exception = $async$currentError;
  86362. t1 = A.unwrapException($async$exception);
  86363. if (type$.SassRuntimeException_2._is(t1))
  86364. throw $async$exception;
  86365. else if (t1 instanceof A.SassException0) {
  86366. error = t1;
  86367. stackTrace = A.getTraceFromException($async$exception);
  86368. t1 = error;
  86369. t2 = J.getInterceptor$z(t1);
  86370. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  86371. } else
  86372. throw $async$exception;
  86373. // goto after finally
  86374. $async$goto = 6;
  86375. break;
  86376. case 3:
  86377. // uncaught
  86378. // goto rethrow
  86379. $async$goto = 2;
  86380. break;
  86381. case 6:
  86382. // after finally
  86383. case 1:
  86384. // return
  86385. return A._asyncReturn($async$returnValue, $async$completer);
  86386. case 2:
  86387. // rethrow
  86388. return A._asyncRethrow($async$currentError, $async$completer);
  86389. }
  86390. });
  86391. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  86392. },
  86393. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  86394. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  86395. },
  86396. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  86397. var $async$goto = 0,
  86398. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86399. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  86400. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86401. if ($async$errorCode === 1) {
  86402. $async$currentError = $async$result;
  86403. $async$goto = $async$handler;
  86404. }
  86405. while (true)
  86406. switch ($async$goto) {
  86407. case 0:
  86408. // Function start
  86409. $async$handler = 4;
  86410. $async$goto = 7;
  86411. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  86412. case 7:
  86413. // returning from await.
  86414. t1 = $async$result;
  86415. $async$returnValue = t1;
  86416. // goto return
  86417. $async$goto = 1;
  86418. break;
  86419. $async$handler = 2;
  86420. // goto after finally
  86421. $async$goto = 6;
  86422. break;
  86423. case 4:
  86424. // catch
  86425. $async$handler = 3;
  86426. $async$exception = $async$currentError;
  86427. t1 = A.unwrapException($async$exception);
  86428. if (type$.SassRuntimeException_2._is(t1)) {
  86429. error = t1;
  86430. stackTrace = A.getTraceFromException($async$exception);
  86431. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  86432. throw $async$exception;
  86433. t1 = error._span_exception$_message;
  86434. t2 = nodeWithSpan.get$span(nodeWithSpan);
  86435. t3 = $async$self._async_evaluate0$_stackTrace$0();
  86436. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  86437. } else
  86438. throw $async$exception;
  86439. // goto after finally
  86440. $async$goto = 6;
  86441. break;
  86442. case 3:
  86443. // uncaught
  86444. // goto rethrow
  86445. $async$goto = 2;
  86446. break;
  86447. case 6:
  86448. // after finally
  86449. case 1:
  86450. // return
  86451. return A._asyncReturn($async$returnValue, $async$completer);
  86452. case 2:
  86453. // rethrow
  86454. return A._asyncRethrow($async$currentError, $async$completer);
  86455. }
  86456. });
  86457. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  86458. },
  86459. $isExpressionVisitor: 1,
  86460. $isStatementVisitor: 1
  86461. };
  86462. A._EvaluateVisitor_closure38.prototype = {
  86463. call$1($arguments) {
  86464. var module, t2,
  86465. t1 = J.getInterceptor$asx($arguments),
  86466. variable = t1.$index($arguments, 0).assertString$1("name");
  86467. t1 = t1.$index($arguments, 1).get$realNull();
  86468. module = t1 == null ? null : t1.assertString$1("module");
  86469. t1 = this.$this._async_evaluate0$_environment;
  86470. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86471. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86472. },
  86473. $signature: 21
  86474. };
  86475. A._EvaluateVisitor_closure39.prototype = {
  86476. call$1($arguments) {
  86477. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  86478. t1 = this.$this._async_evaluate0$_environment;
  86479. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86480. },
  86481. $signature: 21
  86482. };
  86483. A._EvaluateVisitor_closure40.prototype = {
  86484. call$1($arguments) {
  86485. var module, t2, t3, t4,
  86486. t1 = J.getInterceptor$asx($arguments),
  86487. variable = t1.$index($arguments, 0).assertString$1("name");
  86488. t1 = t1.$index($arguments, 1).get$realNull();
  86489. module = t1 == null ? null : t1.assertString$1("module");
  86490. t1 = this.$this;
  86491. t2 = t1._async_evaluate0$_environment;
  86492. t3 = variable._string0$_text;
  86493. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  86494. 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;
  86495. },
  86496. $signature: 21
  86497. };
  86498. A._EvaluateVisitor_closure41.prototype = {
  86499. call$1($arguments) {
  86500. var module, t2,
  86501. t1 = J.getInterceptor$asx($arguments),
  86502. variable = t1.$index($arguments, 0).assertString$1("name");
  86503. t1 = t1.$index($arguments, 1).get$realNull();
  86504. module = t1 == null ? null : t1.assertString$1("module");
  86505. t1 = this.$this._async_evaluate0$_environment;
  86506. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86507. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86508. },
  86509. $signature: 21
  86510. };
  86511. A._EvaluateVisitor_closure42.prototype = {
  86512. call$1($arguments) {
  86513. var t1 = this.$this._async_evaluate0$_environment;
  86514. if (!t1._async_environment0$_inMixin)
  86515. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  86516. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86517. },
  86518. $signature: 21
  86519. };
  86520. A._EvaluateVisitor_closure43.prototype = {
  86521. call$1($arguments) {
  86522. var t2, t3, t4,
  86523. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86524. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86525. if (module == null)
  86526. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86527. t1 = type$.Value_2;
  86528. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86529. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86530. t4 = t3.get$current(t3);
  86531. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  86532. }
  86533. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86534. },
  86535. $signature: 33
  86536. };
  86537. A._EvaluateVisitor_closure44.prototype = {
  86538. call$1($arguments) {
  86539. var t2, t3, t4,
  86540. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86541. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86542. if (module == null)
  86543. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86544. t1 = type$.Value_2;
  86545. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86546. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86547. t4 = t3.get$current(t3);
  86548. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  86549. }
  86550. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86551. },
  86552. $signature: 33
  86553. };
  86554. A._EvaluateVisitor_closure45.prototype = {
  86555. call$1($arguments) {
  86556. var t2, t3, t4,
  86557. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86558. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86559. if (module == null)
  86560. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86561. t1 = type$.Value_2;
  86562. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86563. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86564. t4 = t3.get$current(t3);
  86565. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  86566. }
  86567. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86568. },
  86569. $signature: 33
  86570. };
  86571. A._EvaluateVisitor_closure46.prototype = {
  86572. call$1($arguments) {
  86573. var module, t2, callable,
  86574. t1 = J.getInterceptor$asx($arguments),
  86575. $name = t1.$index($arguments, 0).assertString$1("name"),
  86576. css = t1.$index($arguments, 1).get$isTruthy();
  86577. t1 = t1.$index($arguments, 2).get$realNull();
  86578. module = t1 == null ? null : t1.assertString$1("module");
  86579. if (css) {
  86580. if (module != null)
  86581. throw A.wrapException(string$.x24css_a);
  86582. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  86583. }
  86584. t1 = this.$this;
  86585. t2 = t1._async_evaluate0$_callableNode;
  86586. t2.toString;
  86587. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  86588. if (callable == null)
  86589. throw A.wrapException("Function not found: " + $name.toString$0(0));
  86590. return new A.SassFunction0(callable);
  86591. },
  86592. $signature: 246
  86593. };
  86594. A._EvaluateVisitor__closure14.prototype = {
  86595. call$0() {
  86596. var local,
  86597. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86598. t1 = this.module,
  86599. namespace = t1 == null ? null : t1._string0$_text;
  86600. t1 = this.$this;
  86601. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  86602. if (local != null || namespace != null)
  86603. return local;
  86604. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  86605. },
  86606. $signature: 89
  86607. };
  86608. A._EvaluateVisitor_closure47.prototype = {
  86609. call$1($arguments) {
  86610. var module, t2, callable,
  86611. t1 = J.getInterceptor$asx($arguments),
  86612. $name = t1.$index($arguments, 0).assertString$1("name");
  86613. t1 = t1.$index($arguments, 1).get$realNull();
  86614. module = t1 == null ? null : t1.assertString$1("module");
  86615. t1 = this.$this;
  86616. t2 = t1._async_evaluate0$_callableNode;
  86617. t2.toString;
  86618. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  86619. if (callable == null)
  86620. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  86621. return new A.SassMixin0(callable);
  86622. },
  86623. $signature: 244
  86624. };
  86625. A._EvaluateVisitor__closure13.prototype = {
  86626. call$0() {
  86627. var t1 = this.$this._async_evaluate0$_environment,
  86628. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86629. t3 = this.module;
  86630. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  86631. },
  86632. $signature: 89
  86633. };
  86634. A._EvaluateVisitor_closure48.prototype = {
  86635. call$1($arguments) {
  86636. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  86637. },
  86638. $call$body$_EvaluateVisitor_closure4($arguments) {
  86639. var $async$goto = 0,
  86640. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86641. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  86642. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86643. if ($async$errorCode === 1)
  86644. return A._asyncRethrow($async$result, $async$completer);
  86645. while (true)
  86646. switch ($async$goto) {
  86647. case 0:
  86648. // Function start
  86649. t1 = J.getInterceptor$asx($arguments);
  86650. $function = t1.$index($arguments, 0);
  86651. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86652. t1 = $async$self.$this;
  86653. t2 = t1._async_evaluate0$_callableNode;
  86654. t2.toString;
  86655. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  86656. t4 = type$.String;
  86657. t5 = type$.Expression_2;
  86658. t6 = t2.get$span(t2);
  86659. t7 = t2.get$span(t2);
  86660. args._argument_list$_wereKeywordsAccessed = true;
  86661. t8 = args._argument_list$_keywords;
  86662. if (t8.get$isEmpty(t8))
  86663. t2 = null;
  86664. else {
  86665. t9 = type$.Value_2;
  86666. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  86667. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  86668. t11 = t8.get$current(t8);
  86669. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  86670. }
  86671. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  86672. }
  86673. 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);
  86674. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  86675. break;
  86676. case 3:
  86677. // then
  86678. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_MMc);
  86679. callableNode = t1._async_evaluate0$_callableNode;
  86680. t2 = $function._string0$_text;
  86681. t3 = callableNode.get$span(callableNode);
  86682. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  86683. $async$goto = 5;
  86684. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  86685. case 5:
  86686. // returning from await.
  86687. $async$returnValue = $async$result;
  86688. // goto return
  86689. $async$goto = 1;
  86690. break;
  86691. case 4:
  86692. // join
  86693. t2 = $function.assertFunction$1("function");
  86694. t3 = t1._async_evaluate0$_callableNode;
  86695. t3.toString;
  86696. $async$goto = 6;
  86697. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  86698. case 6:
  86699. // returning from await.
  86700. t3 = $async$result;
  86701. $async$returnValue = t3;
  86702. // goto return
  86703. $async$goto = 1;
  86704. break;
  86705. case 1:
  86706. // return
  86707. return A._asyncReturn($async$returnValue, $async$completer);
  86708. }
  86709. });
  86710. return A._asyncStartSync($async$call$1, $async$completer);
  86711. },
  86712. $signature: 86
  86713. };
  86714. A._EvaluateVisitor_closure49.prototype = {
  86715. call$1($arguments) {
  86716. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  86717. },
  86718. $call$body$_EvaluateVisitor_closure3($arguments) {
  86719. var $async$goto = 0,
  86720. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86721. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  86722. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86723. if ($async$errorCode === 1)
  86724. return A._asyncRethrow($async$result, $async$completer);
  86725. while (true)
  86726. switch ($async$goto) {
  86727. case 0:
  86728. // Function start
  86729. t1 = J.getInterceptor$asx($arguments);
  86730. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  86731. t1 = t1.$index($arguments, 1).get$realNull();
  86732. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  86733. t1 = $async$self.$this;
  86734. t2 = t1._async_evaluate0$_callableNode;
  86735. t2.toString;
  86736. if (withMap != null) {
  86737. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  86738. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  86739. configuration = new A.ExplicitConfiguration0(t2, values, null);
  86740. } else
  86741. configuration = B.Configuration_Map_empty_null0;
  86742. t3 = t2.get$span(t2);
  86743. $async$goto = 2;
  86744. 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);
  86745. case 2:
  86746. // returning from await.
  86747. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  86748. // implicit return
  86749. return A._asyncReturn(null, $async$completer);
  86750. }
  86751. });
  86752. return A._asyncStartSync($async$call$1, $async$completer);
  86753. },
  86754. $signature: 243
  86755. };
  86756. A._EvaluateVisitor__closure11.prototype = {
  86757. call$2(variable, value) {
  86758. var t1 = variable.assertString$1("with key"),
  86759. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  86760. t1 = this.values;
  86761. if (t1.containsKey$1($name))
  86762. throw A.wrapException("The variable $" + $name + " was configured twice.");
  86763. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  86764. },
  86765. $signature: 76
  86766. };
  86767. A._EvaluateVisitor__closure12.prototype = {
  86768. call$2(module, _) {
  86769. var t1 = this.$this;
  86770. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  86771. },
  86772. $signature: 640
  86773. };
  86774. A._EvaluateVisitor_closure50.prototype = {
  86775. call$1($arguments) {
  86776. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  86777. },
  86778. $call$body$_EvaluateVisitor_closure2($arguments) {
  86779. var $async$goto = 0,
  86780. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86781. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  86782. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86783. if ($async$errorCode === 1)
  86784. return A._asyncRethrow($async$result, $async$completer);
  86785. while (true)
  86786. switch ($async$goto) {
  86787. case 0:
  86788. // Function start
  86789. t1 = J.getInterceptor$asx($arguments);
  86790. mixin = t1.$index($arguments, 0);
  86791. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86792. t1 = $async$self.$this;
  86793. callableNode = t1._async_evaluate0$_callableNode;
  86794. t2 = callableNode.get$span(callableNode);
  86795. t3 = callableNode.get$span(callableNode);
  86796. t4 = type$.Expression_2;
  86797. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  86798. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  86799. $async$goto = 2;
  86800. 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);
  86801. case 2:
  86802. // returning from await.
  86803. // implicit return
  86804. return A._asyncReturn(null, $async$completer);
  86805. }
  86806. });
  86807. return A._asyncStartSync($async$call$1, $async$completer);
  86808. },
  86809. $signature: 243
  86810. };
  86811. A._EvaluateVisitor_run_closure2.prototype = {
  86812. call$0() {
  86813. var $async$goto = 0,
  86814. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86815. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  86816. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86817. if ($async$errorCode === 1)
  86818. return A._asyncRethrow($async$result, $async$completer);
  86819. while (true)
  86820. switch ($async$goto) {
  86821. case 0:
  86822. // Function start
  86823. t1 = $async$self.node;
  86824. _0_0 = t1.span.file.url;
  86825. url = null;
  86826. if (_0_0 != null) {
  86827. url = _0_0;
  86828. t2 = $async$self.$this;
  86829. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  86830. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  86831. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  86832. }
  86833. t2 = $async$self.$this;
  86834. $async$goto = 3;
  86835. 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);
  86836. case 3:
  86837. // returning from await.
  86838. module = $async$result;
  86839. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  86840. // goto return
  86841. $async$goto = 1;
  86842. break;
  86843. case 1:
  86844. // return
  86845. return A._asyncReturn($async$returnValue, $async$completer);
  86846. }
  86847. });
  86848. return A._asyncStartSync($async$call$0, $async$completer);
  86849. },
  86850. $signature: 321
  86851. };
  86852. A._EvaluateVisitor_run__closure2.prototype = {
  86853. call$0() {
  86854. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  86855. },
  86856. $signature: 322
  86857. };
  86858. A._EvaluateVisitor__loadModule_closure5.prototype = {
  86859. call$0() {
  86860. return this.callback.call$2(this._box_1.builtInModule, false);
  86861. },
  86862. $signature: 0
  86863. };
  86864. A._EvaluateVisitor__loadModule_closure6.prototype = {
  86865. call$0() {
  86866. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  86867. },
  86868. $call$body$_EvaluateVisitor__loadModule_closure0() {
  86869. var $async$goto = 0,
  86870. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86871. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  86872. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86873. if ($async$errorCode === 1) {
  86874. $async$currentError = $async$result;
  86875. $async$goto = $async$handler;
  86876. }
  86877. while (true)
  86878. switch ($async$goto) {
  86879. case 0:
  86880. // Function start
  86881. t1 = {};
  86882. stylesheet = null;
  86883. importer = null;
  86884. t2 = $async$self.$this;
  86885. t3 = $async$self.nodeWithSpan;
  86886. $async$goto = 2;
  86887. 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);
  86888. case 2:
  86889. // returning from await.
  86890. _1_0 = $async$result;
  86891. stylesheet = _1_0._0;
  86892. importer = _1_0._1;
  86893. isDependency = _1_0._2;
  86894. canonicalUrl = stylesheet.span.file.url;
  86895. if (canonicalUrl != null) {
  86896. t4 = t2._async_evaluate0$_activeModules;
  86897. if (t4.containsKey$1(canonicalUrl)) {
  86898. if ($async$self.namesInErrors) {
  86899. t1 = canonicalUrl;
  86900. t3 = $.$get$context();
  86901. t1.toString;
  86902. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  86903. } else
  86904. message = string$.Modulel;
  86905. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  86906. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  86907. } else
  86908. t4.$indexSet(0, canonicalUrl, t3);
  86909. }
  86910. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  86911. oldInDependency = t2._async_evaluate0$_inDependency;
  86912. t2._async_evaluate0$_inDependency = isDependency;
  86913. t1.module = null;
  86914. $async$handler = 3;
  86915. $async$temp1 = t1;
  86916. $async$goto = 6;
  86917. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  86918. case 6:
  86919. // returning from await.
  86920. $async$temp1.module = $async$result;
  86921. $async$next.push(5);
  86922. // goto finally
  86923. $async$goto = 4;
  86924. break;
  86925. case 3:
  86926. // uncaught
  86927. $async$next = [1];
  86928. case 4:
  86929. // finally
  86930. $async$handler = 1;
  86931. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  86932. t2._async_evaluate0$_inDependency = oldInDependency;
  86933. // goto the next finally handler
  86934. $async$goto = $async$next.pop();
  86935. break;
  86936. case 5:
  86937. // after finally
  86938. $async$goto = 7;
  86939. 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);
  86940. case 7:
  86941. // returning from await.
  86942. // implicit return
  86943. return A._asyncReturn(null, $async$completer);
  86944. case 1:
  86945. // rethrow
  86946. return A._asyncRethrow($async$currentError, $async$completer);
  86947. }
  86948. });
  86949. return A._asyncStartSync($async$call$0, $async$completer);
  86950. },
  86951. $signature: 2
  86952. };
  86953. A._EvaluateVisitor__loadModule__closure5.prototype = {
  86954. call$1(previousLoad) {
  86955. 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));
  86956. },
  86957. $signature: 91
  86958. };
  86959. A._EvaluateVisitor__loadModule__closure6.prototype = {
  86960. call$0() {
  86961. return this.callback.call$2(this._box_0.module, this.firstLoad);
  86962. },
  86963. $signature: 0
  86964. };
  86965. A._EvaluateVisitor__execute_closure2.prototype = {
  86966. call$0() {
  86967. var $async$goto = 0,
  86968. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86969. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  86970. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86971. if ($async$errorCode === 1)
  86972. return A._asyncRethrow($async$result, $async$completer);
  86973. while (true)
  86974. switch ($async$goto) {
  86975. case 0:
  86976. // Function start
  86977. t1 = $async$self.$this;
  86978. oldImporter = t1._async_evaluate0$_importer;
  86979. oldStylesheet = t1._async_evaluate0$__stylesheet;
  86980. oldRoot = t1._async_evaluate0$__root;
  86981. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  86982. oldParent = t1._async_evaluate0$__parent;
  86983. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  86984. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  86985. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  86986. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  86987. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  86988. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  86989. oldDeclarationName = t1._async_evaluate0$_declarationName;
  86990. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86991. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  86992. oldConfiguration = t1._async_evaluate0$_configuration;
  86993. t1._async_evaluate0$_importer = $async$self.importer;
  86994. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  86995. t4 = t3.span;
  86996. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  86997. t1._async_evaluate0$__endOfImports = 0;
  86998. t1._async_evaluate0$_outOfOrderImports = null;
  86999. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  87000. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  87001. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  87002. t6 = $async$self.configuration;
  87003. if (t6 != null)
  87004. t1._async_evaluate0$_configuration = t6;
  87005. $async$goto = 2;
  87006. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  87007. case 2:
  87008. // returning from await.
  87009. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  87010. $async$self.css.__late_helper$_value = t3;
  87011. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  87012. t1._async_evaluate0$_importer = oldImporter;
  87013. t1._async_evaluate0$__stylesheet = oldStylesheet;
  87014. t1._async_evaluate0$__root = oldRoot;
  87015. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  87016. t1._async_evaluate0$__parent = oldParent;
  87017. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  87018. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  87019. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  87020. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  87021. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  87022. t1._async_evaluate0$_declarationName = oldDeclarationName;
  87023. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  87024. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  87025. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  87026. t1._async_evaluate0$_configuration = oldConfiguration;
  87027. // implicit return
  87028. return A._asyncReturn(null, $async$completer);
  87029. }
  87030. });
  87031. return A._asyncStartSync($async$call$0, $async$completer);
  87032. },
  87033. $signature: 2
  87034. };
  87035. A._EvaluateVisitor__combineCss_closure5.prototype = {
  87036. call$1(module) {
  87037. return module.get$transitivelyContainsCss();
  87038. },
  87039. $signature: 121
  87040. };
  87041. A._EvaluateVisitor__combineCss_closure6.prototype = {
  87042. call$1(target) {
  87043. return !this.selectors.contains$1(0, target);
  87044. },
  87045. $signature: 14
  87046. };
  87047. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  87048. call$1(module) {
  87049. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  87050. if (!_this.seen.add$1(0, module))
  87051. return;
  87052. if (_this.clone)
  87053. module = module.cloneCss$0();
  87054. 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) {
  87055. upstream = t1[_i];
  87056. if (upstream.get$transitivelyContainsCss()) {
  87057. _1_0 = module.get$preModuleComments().$index(0, upstream);
  87058. if (_1_0 != null)
  87059. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  87060. _this.call$1(upstream);
  87061. }
  87062. }
  87063. _this.sorted.addFirst$1(module);
  87064. t1 = module.get$css(module);
  87065. statements = t1.get$children(t1);
  87066. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  87067. t1 = J.getInterceptor$ax(statements);
  87068. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  87069. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  87070. },
  87071. $signature: 324
  87072. };
  87073. A._EvaluateVisitor__extendModules_closure5.prototype = {
  87074. call$1(target) {
  87075. return !this.originalSelectors.contains$1(0, target);
  87076. },
  87077. $signature: 14
  87078. };
  87079. A._EvaluateVisitor__extendModules_closure6.prototype = {
  87080. call$0() {
  87081. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  87082. },
  87083. $signature: 237
  87084. };
  87085. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  87086. call$0() {
  87087. var $async$goto = 0,
  87088. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87089. $async$self = this, t1, t2, t3, _i;
  87090. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87091. if ($async$errorCode === 1)
  87092. return A._asyncRethrow($async$result, $async$completer);
  87093. while (true)
  87094. switch ($async$goto) {
  87095. case 0:
  87096. // Function start
  87097. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87098. case 2:
  87099. // for condition
  87100. if (!(_i < t2)) {
  87101. // goto after for
  87102. $async$goto = 4;
  87103. break;
  87104. }
  87105. $async$goto = 5;
  87106. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87107. case 5:
  87108. // returning from await.
  87109. case 3:
  87110. // for update
  87111. ++_i;
  87112. // goto for condition
  87113. $async$goto = 2;
  87114. break;
  87115. case 4:
  87116. // after for
  87117. // implicit return
  87118. return A._asyncReturn(null, $async$completer);
  87119. }
  87120. });
  87121. return A._asyncStartSync($async$call$0, $async$completer);
  87122. },
  87123. $signature: 2
  87124. };
  87125. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  87126. call$0() {
  87127. var $async$goto = 0,
  87128. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87129. $async$self = this, t1, t2, t3, _i;
  87130. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87131. if ($async$errorCode === 1)
  87132. return A._asyncRethrow($async$result, $async$completer);
  87133. while (true)
  87134. switch ($async$goto) {
  87135. case 0:
  87136. // Function start
  87137. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87138. case 2:
  87139. // for condition
  87140. if (!(_i < t2)) {
  87141. // goto after for
  87142. $async$goto = 4;
  87143. break;
  87144. }
  87145. $async$goto = 5;
  87146. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87147. case 5:
  87148. // returning from await.
  87149. case 3:
  87150. // for update
  87151. ++_i;
  87152. // goto for condition
  87153. $async$goto = 2;
  87154. break;
  87155. case 4:
  87156. // after for
  87157. // implicit return
  87158. return A._asyncReturn(null, $async$completer);
  87159. }
  87160. });
  87161. return A._asyncStartSync($async$call$0, $async$completer);
  87162. },
  87163. $signature: 25
  87164. };
  87165. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  87166. call$1(callback) {
  87167. var $async$goto = 0,
  87168. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87169. $async$self = this, t1, t2;
  87170. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87171. if ($async$errorCode === 1)
  87172. return A._asyncRethrow($async$result, $async$completer);
  87173. while (true)
  87174. switch ($async$goto) {
  87175. case 0:
  87176. // Function start
  87177. t1 = $async$self.$this;
  87178. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87179. t1._async_evaluate0$__parent = $async$self.newParent;
  87180. $async$goto = 2;
  87181. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  87182. case 2:
  87183. // returning from await.
  87184. t1._async_evaluate0$__parent = t2;
  87185. // implicit return
  87186. return A._asyncReturn(null, $async$completer);
  87187. }
  87188. });
  87189. return A._asyncStartSync($async$call$1, $async$completer);
  87190. },
  87191. $signature: 38
  87192. };
  87193. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  87194. call$1(callback) {
  87195. var $async$goto = 0,
  87196. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87197. $async$self = this, t1, oldAtRootExcludingStyleRule;
  87198. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87199. if ($async$errorCode === 1)
  87200. return A._asyncRethrow($async$result, $async$completer);
  87201. while (true)
  87202. switch ($async$goto) {
  87203. case 0:
  87204. // Function start
  87205. t1 = $async$self.$this;
  87206. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  87207. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  87208. $async$goto = 2;
  87209. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87210. case 2:
  87211. // returning from await.
  87212. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  87213. // implicit return
  87214. return A._asyncReturn(null, $async$completer);
  87215. }
  87216. });
  87217. return A._asyncStartSync($async$call$1, $async$completer);
  87218. },
  87219. $signature: 38
  87220. };
  87221. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  87222. call$1(callback) {
  87223. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  87224. },
  87225. $signature: 38
  87226. };
  87227. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  87228. call$0() {
  87229. return this.innerScope.call$1(this.callback);
  87230. },
  87231. $signature: 2
  87232. };
  87233. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  87234. call$1(callback) {
  87235. var $async$goto = 0,
  87236. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87237. $async$self = this, t1, wasInKeyframes;
  87238. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87239. if ($async$errorCode === 1)
  87240. return A._asyncRethrow($async$result, $async$completer);
  87241. while (true)
  87242. switch ($async$goto) {
  87243. case 0:
  87244. // Function start
  87245. t1 = $async$self.$this;
  87246. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  87247. t1._async_evaluate0$_inKeyframes = false;
  87248. $async$goto = 2;
  87249. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87250. case 2:
  87251. // returning from await.
  87252. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  87253. // implicit return
  87254. return A._asyncReturn(null, $async$completer);
  87255. }
  87256. });
  87257. return A._asyncStartSync($async$call$1, $async$completer);
  87258. },
  87259. $signature: 38
  87260. };
  87261. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  87262. call$1($parent) {
  87263. return $parent instanceof A.ModifiableCssAtRule0;
  87264. },
  87265. $signature: 234
  87266. };
  87267. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  87268. call$1(callback) {
  87269. var $async$goto = 0,
  87270. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87271. $async$self = this, t1, wasInUnknownAtRule;
  87272. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87273. if ($async$errorCode === 1)
  87274. return A._asyncRethrow($async$result, $async$completer);
  87275. while (true)
  87276. switch ($async$goto) {
  87277. case 0:
  87278. // Function start
  87279. t1 = $async$self.$this;
  87280. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  87281. t1._async_evaluate0$_inUnknownAtRule = false;
  87282. $async$goto = 2;
  87283. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87284. case 2:
  87285. // returning from await.
  87286. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  87287. // implicit return
  87288. return A._asyncReturn(null, $async$completer);
  87289. }
  87290. });
  87291. return A._asyncStartSync($async$call$1, $async$completer);
  87292. },
  87293. $signature: 38
  87294. };
  87295. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  87296. call$0() {
  87297. var $async$goto = 0,
  87298. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87299. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  87300. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87301. if ($async$errorCode === 1)
  87302. return A._asyncRethrow($async$result, $async$completer);
  87303. while (true)
  87304. switch ($async$goto) {
  87305. case 0:
  87306. // Function start
  87307. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87308. case 3:
  87309. // for condition
  87310. if (!(_i < t2)) {
  87311. // goto after for
  87312. $async$goto = 5;
  87313. break;
  87314. }
  87315. $async$goto = 6;
  87316. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87317. case 6:
  87318. // returning from await.
  87319. case 4:
  87320. // for update
  87321. ++_i;
  87322. // goto for condition
  87323. $async$goto = 3;
  87324. break;
  87325. case 5:
  87326. // after for
  87327. $async$returnValue = null;
  87328. // goto return
  87329. $async$goto = 1;
  87330. break;
  87331. case 1:
  87332. // return
  87333. return A._asyncReturn($async$returnValue, $async$completer);
  87334. }
  87335. });
  87336. return A._asyncStartSync($async$call$0, $async$completer);
  87337. },
  87338. $signature: 2
  87339. };
  87340. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  87341. call$0() {
  87342. var $async$goto = 0,
  87343. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87344. $async$self = this, t1, t2, t3, _i;
  87345. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87346. if ($async$errorCode === 1)
  87347. return A._asyncRethrow($async$result, $async$completer);
  87348. while (true)
  87349. switch ($async$goto) {
  87350. case 0:
  87351. // Function start
  87352. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87353. case 2:
  87354. // for condition
  87355. if (!(_i < t2)) {
  87356. // goto after for
  87357. $async$goto = 4;
  87358. break;
  87359. }
  87360. $async$goto = 5;
  87361. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87362. case 5:
  87363. // returning from await.
  87364. case 3:
  87365. // for update
  87366. ++_i;
  87367. // goto for condition
  87368. $async$goto = 2;
  87369. break;
  87370. case 4:
  87371. // after for
  87372. // implicit return
  87373. return A._asyncReturn(null, $async$completer);
  87374. }
  87375. });
  87376. return A._asyncStartSync($async$call$0, $async$completer);
  87377. },
  87378. $signature: 2
  87379. };
  87380. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  87381. call$1(value) {
  87382. var t1 = this.$this,
  87383. t2 = this.nodeWithSpan;
  87384. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  87385. },
  87386. $signature: 58
  87387. };
  87388. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  87389. call$1(value) {
  87390. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  87391. },
  87392. $signature: 58
  87393. };
  87394. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  87395. call$0() {
  87396. var _this = this,
  87397. t1 = _this.$this;
  87398. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  87399. },
  87400. $signature: 66
  87401. };
  87402. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  87403. call$1(element) {
  87404. var t1;
  87405. this.setVariables.call$1(element);
  87406. t1 = this.$this;
  87407. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  87408. },
  87409. $signature: 329
  87410. };
  87411. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  87412. call$1(child) {
  87413. return child.accept$1(this.$this);
  87414. },
  87415. $signature: 93
  87416. };
  87417. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  87418. call$1(value) {
  87419. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  87420. },
  87421. $signature: 331
  87422. };
  87423. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  87424. call$0() {
  87425. var $async$goto = 0,
  87426. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87427. $async$self = this, t2, t3, _i, t1, styleRule;
  87428. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87429. if ($async$errorCode === 1)
  87430. return A._asyncRethrow($async$result, $async$completer);
  87431. while (true)
  87432. switch ($async$goto) {
  87433. case 0:
  87434. // Function start
  87435. t1 = $async$self.$this;
  87436. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87437. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  87438. break;
  87439. case 2:
  87440. // then
  87441. t2 = $async$self.children, t3 = t2.length, _i = 0;
  87442. case 5:
  87443. // for condition
  87444. if (!(_i < t3)) {
  87445. // goto after for
  87446. $async$goto = 7;
  87447. break;
  87448. }
  87449. $async$goto = 8;
  87450. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87451. case 8:
  87452. // returning from await.
  87453. case 6:
  87454. // for update
  87455. ++_i;
  87456. // goto for condition
  87457. $async$goto = 5;
  87458. break;
  87459. case 7:
  87460. // after for
  87461. // goto join
  87462. $async$goto = 3;
  87463. break;
  87464. case 4:
  87465. // else
  87466. $async$goto = 9;
  87467. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  87468. case 9:
  87469. // returning from await.
  87470. case 3:
  87471. // join
  87472. // implicit return
  87473. return A._asyncReturn(null, $async$completer);
  87474. }
  87475. });
  87476. return A._asyncStartSync($async$call$0, $async$completer);
  87477. },
  87478. $signature: 2
  87479. };
  87480. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  87481. call$0() {
  87482. var $async$goto = 0,
  87483. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87484. $async$self = this, t1, t2, t3, _i;
  87485. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87486. if ($async$errorCode === 1)
  87487. return A._asyncRethrow($async$result, $async$completer);
  87488. while (true)
  87489. switch ($async$goto) {
  87490. case 0:
  87491. // Function start
  87492. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87493. case 2:
  87494. // for condition
  87495. if (!(_i < t2)) {
  87496. // goto after for
  87497. $async$goto = 4;
  87498. break;
  87499. }
  87500. $async$goto = 5;
  87501. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87502. case 5:
  87503. // returning from await.
  87504. case 3:
  87505. // for update
  87506. ++_i;
  87507. // goto for condition
  87508. $async$goto = 2;
  87509. break;
  87510. case 4:
  87511. // after for
  87512. // implicit return
  87513. return A._asyncReturn(null, $async$completer);
  87514. }
  87515. });
  87516. return A._asyncStartSync($async$call$0, $async$completer);
  87517. },
  87518. $signature: 2
  87519. };
  87520. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  87521. call$1(node) {
  87522. return node instanceof A.ModifiableCssStyleRule0;
  87523. },
  87524. $signature: 8
  87525. };
  87526. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  87527. call$0() {
  87528. var $async$goto = 0,
  87529. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87530. $async$returnValue, $async$self = this;
  87531. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87532. if ($async$errorCode === 1)
  87533. return A._asyncRethrow($async$result, $async$completer);
  87534. while (true)
  87535. switch ($async$goto) {
  87536. case 0:
  87537. // Function start
  87538. $async$goto = 3;
  87539. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  87540. case 3:
  87541. // returning from await.
  87542. $async$returnValue = $async$result.assertNumber$0();
  87543. // goto return
  87544. $async$goto = 1;
  87545. break;
  87546. case 1:
  87547. // return
  87548. return A._asyncReturn($async$returnValue, $async$completer);
  87549. }
  87550. });
  87551. return A._asyncStartSync($async$call$0, $async$completer);
  87552. },
  87553. $signature: 230
  87554. };
  87555. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  87556. call$0() {
  87557. var $async$goto = 0,
  87558. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87559. $async$returnValue, $async$self = this;
  87560. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87561. if ($async$errorCode === 1)
  87562. return A._asyncRethrow($async$result, $async$completer);
  87563. while (true)
  87564. switch ($async$goto) {
  87565. case 0:
  87566. // Function start
  87567. $async$goto = 3;
  87568. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  87569. case 3:
  87570. // returning from await.
  87571. $async$returnValue = $async$result.assertNumber$0();
  87572. // goto return
  87573. $async$goto = 1;
  87574. break;
  87575. case 1:
  87576. // return
  87577. return A._asyncReturn($async$returnValue, $async$completer);
  87578. }
  87579. });
  87580. return A._asyncStartSync($async$call$0, $async$completer);
  87581. },
  87582. $signature: 230
  87583. };
  87584. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  87585. call$0() {
  87586. return this.fromNumber.assertInt$0();
  87587. },
  87588. $signature: 10
  87589. };
  87590. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  87591. call$0() {
  87592. var t1 = this.fromNumber;
  87593. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  87594. },
  87595. $signature: 10
  87596. };
  87597. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  87598. call$0() {
  87599. var $async$goto = 0,
  87600. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87601. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  87602. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87603. if ($async$errorCode === 1)
  87604. return A._asyncRethrow($async$result, $async$completer);
  87605. while (true)
  87606. switch ($async$goto) {
  87607. case 0:
  87608. // Function start
  87609. t1 = $async$self.$this;
  87610. t2 = $async$self.node;
  87611. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  87612. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  87613. case 3:
  87614. // for condition
  87615. if (!(i !== t3.to)) {
  87616. // goto after for
  87617. $async$goto = 5;
  87618. break;
  87619. }
  87620. t7 = t1._async_evaluate0$_environment;
  87621. t8 = t6.get$numeratorUnits(t6);
  87622. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  87623. $async$goto = 6;
  87624. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  87625. case 6:
  87626. // returning from await.
  87627. _0_0 = $async$result;
  87628. if (_0_0 != null) {
  87629. $async$returnValue = _0_0;
  87630. // goto return
  87631. $async$goto = 1;
  87632. break;
  87633. }
  87634. case 4:
  87635. // for update
  87636. i += t4;
  87637. // goto for condition
  87638. $async$goto = 3;
  87639. break;
  87640. case 5:
  87641. // after for
  87642. $async$returnValue = null;
  87643. // goto return
  87644. $async$goto = 1;
  87645. break;
  87646. case 1:
  87647. // return
  87648. return A._asyncReturn($async$returnValue, $async$completer);
  87649. }
  87650. });
  87651. return A._asyncStartSync($async$call$0, $async$completer);
  87652. },
  87653. $signature: 66
  87654. };
  87655. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  87656. call$1(child) {
  87657. return child.accept$1(this.$this);
  87658. },
  87659. $signature: 93
  87660. };
  87661. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  87662. call$2(module, firstLoad) {
  87663. if (firstLoad)
  87664. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87665. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87666. },
  87667. $signature: 115
  87668. };
  87669. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  87670. call$2(module, firstLoad) {
  87671. if (firstLoad)
  87672. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87673. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87674. },
  87675. $signature: 115
  87676. };
  87677. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  87678. call$0() {
  87679. return A._setArrayType([], type$.JSArray_CssComment_2);
  87680. },
  87681. $signature: 228
  87682. };
  87683. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  87684. call$1(clause) {
  87685. var t1 = this.$this;
  87686. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  87687. },
  87688. $signature: 336
  87689. };
  87690. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  87691. call$0() {
  87692. var t1 = this.$this;
  87693. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  87694. },
  87695. $signature: 66
  87696. };
  87697. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  87698. call$1(child) {
  87699. return child.accept$1(this.$this);
  87700. },
  87701. $signature: 93
  87702. };
  87703. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  87704. call$0() {
  87705. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  87706. },
  87707. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  87708. var $async$goto = 0,
  87709. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87710. $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;
  87711. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87712. if ($async$errorCode === 1)
  87713. return A._asyncRethrow($async$result, $async$completer);
  87714. while (true)
  87715. switch ($async$goto) {
  87716. case 0:
  87717. // Function start
  87718. _box_0 = {};
  87719. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  87720. t1 = $async$self.$this;
  87721. t2 = $async$self.$import;
  87722. $async$goto = 3;
  87723. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  87724. case 3:
  87725. // returning from await.
  87726. _0_0 = $async$result;
  87727. stylesheet = _box_0.stylesheet = _0_0._0;
  87728. importer = _0_0._1;
  87729. _box_0.importer = importer;
  87730. isDependency = _0_0._2;
  87731. _box_0.isDependency = isDependency;
  87732. url = stylesheet.span.file.url;
  87733. if (url != null) {
  87734. t3 = t1._async_evaluate0$_activeModules;
  87735. if (t3.containsKey$1(url)) {
  87736. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  87737. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  87738. }
  87739. t3.$indexSet(0, url, t2);
  87740. }
  87741. t2 = stylesheet._stylesheet1$_uses;
  87742. t3 = type$.UnmodifiableListView_UseRule_2;
  87743. $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;
  87744. break;
  87745. case 4:
  87746. // then
  87747. oldImporter = t1._async_evaluate0$_importer;
  87748. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87749. oldInDependency = t1._async_evaluate0$_inDependency;
  87750. t1._async_evaluate0$_importer = importer;
  87751. t1._async_evaluate0$__stylesheet = stylesheet;
  87752. t1._async_evaluate0$_inDependency = isDependency;
  87753. $async$goto = 6;
  87754. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  87755. case 6:
  87756. // returning from await.
  87757. t1._async_evaluate0$_importer = oldImporter;
  87758. t1._async_evaluate0$__stylesheet = t2;
  87759. t1._async_evaluate0$_inDependency = oldInDependency;
  87760. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87761. // goto return
  87762. $async$goto = 1;
  87763. break;
  87764. case 5:
  87765. // join
  87766. t2 = new A.UnmodifiableListView(t2, t3);
  87767. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  87768. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87769. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  87770. } else
  87771. loadsUserDefinedModules = true;
  87772. children = A._Cell$();
  87773. t2 = t1._async_evaluate0$_environment;
  87774. t3 = type$.String;
  87775. t4 = type$.Module_AsyncCallable_2;
  87776. t5 = type$.AstNode_2;
  87777. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  87778. t7 = t2._async_environment0$_variables;
  87779. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  87780. t8 = t2._async_environment0$_variableNodes;
  87781. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  87782. t9 = t2._async_environment0$_functions;
  87783. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  87784. t10 = t2._async_environment0$_mixins;
  87785. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  87786. 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);
  87787. $async$goto = 7;
  87788. 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);
  87789. case 7:
  87790. // returning from await.
  87791. module = environment.toDummyModule$0();
  87792. t1._async_evaluate0$_environment.importForwards$1(module);
  87793. $async$goto = loadsUserDefinedModules ? 8 : 9;
  87794. break;
  87795. case 8:
  87796. // then
  87797. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  87798. break;
  87799. case 10:
  87800. // then
  87801. $async$goto = 12;
  87802. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  87803. case 12:
  87804. // returning from await.
  87805. case 11:
  87806. // join
  87807. visitor = new A._ImportedCssVisitor2(t1);
  87808. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  87809. t2.get$current(t2).accept$1(visitor);
  87810. case 9:
  87811. // join
  87812. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87813. case 1:
  87814. // return
  87815. return A._asyncReturn($async$returnValue, $async$completer);
  87816. }
  87817. });
  87818. return A._asyncStartSync($async$call$0, $async$completer);
  87819. },
  87820. $signature: 25
  87821. };
  87822. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  87823. call$1(previousLoad) {
  87824. 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));
  87825. },
  87826. $signature: 91
  87827. };
  87828. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  87829. call$1(rule) {
  87830. return rule.url.get$scheme() !== "sass";
  87831. },
  87832. $signature: 227
  87833. };
  87834. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  87835. call$1(rule) {
  87836. return rule.url.get$scheme() !== "sass";
  87837. },
  87838. $signature: 225
  87839. };
  87840. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  87841. call$0() {
  87842. var $async$goto = 0,
  87843. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87844. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  87845. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87846. if ($async$errorCode === 1)
  87847. return A._asyncRethrow($async$result, $async$completer);
  87848. while (true)
  87849. switch ($async$goto) {
  87850. case 0:
  87851. // Function start
  87852. t1 = $async$self.$this;
  87853. oldImporter = t1._async_evaluate0$_importer;
  87854. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87855. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  87856. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87857. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  87858. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  87859. oldConfiguration = t1._async_evaluate0$_configuration;
  87860. oldInDependency = t1._async_evaluate0$_inDependency;
  87861. t6 = $async$self._box_0;
  87862. t1._async_evaluate0$_importer = t6.importer;
  87863. t7 = t6.stylesheet;
  87864. t1._async_evaluate0$__stylesheet = t7;
  87865. t8 = $async$self.loadsUserDefinedModules;
  87866. if (t8) {
  87867. t7 = A.ModifiableCssStylesheet$0(t7.span);
  87868. t1._async_evaluate0$__root = t7;
  87869. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t7, "_root");
  87870. t1._async_evaluate0$__endOfImports = 0;
  87871. t1._async_evaluate0$_outOfOrderImports = null;
  87872. }
  87873. t1._async_evaluate0$_inDependency = t6.isDependency;
  87874. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87875. if (!t7.get$isEmpty(t7))
  87876. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  87877. $async$goto = 2;
  87878. return A._asyncAwait(t1.visitStylesheet$1(0, t6.stylesheet), $async$call$0);
  87879. case 2:
  87880. // returning from await.
  87881. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  87882. $async$self.children.__late_helper$_value = t6;
  87883. t1._async_evaluate0$_importer = oldImporter;
  87884. t1._async_evaluate0$__stylesheet = t2;
  87885. if (t8) {
  87886. t1._async_evaluate0$__root = t3;
  87887. t1._async_evaluate0$__parent = t4;
  87888. t1._async_evaluate0$__endOfImports = t5;
  87889. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  87890. }
  87891. t1._async_evaluate0$_configuration = oldConfiguration;
  87892. t1._async_evaluate0$_inDependency = oldInDependency;
  87893. // implicit return
  87894. return A._asyncReturn(null, $async$completer);
  87895. }
  87896. });
  87897. return A._asyncStartSync($async$call$0, $async$completer);
  87898. },
  87899. $signature: 2
  87900. };
  87901. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  87902. call$0() {
  87903. var $async$goto = 0,
  87904. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87905. $async$self = this, t1;
  87906. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87907. if ($async$errorCode === 1)
  87908. return A._asyncRethrow($async$result, $async$completer);
  87909. while (true)
  87910. switch ($async$goto) {
  87911. case 0:
  87912. // Function start
  87913. t1 = $async$self.$this;
  87914. $async$goto = 2;
  87915. 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);
  87916. case 2:
  87917. // returning from await.
  87918. // implicit return
  87919. return A._asyncReturn(null, $async$completer);
  87920. }
  87921. });
  87922. return A._asyncStartSync($async$call$0, $async$completer);
  87923. },
  87924. $signature: 25
  87925. };
  87926. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  87927. call$0() {
  87928. var $async$goto = 0,
  87929. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87930. $async$self = this;
  87931. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87932. if ($async$errorCode === 1)
  87933. return A._asyncRethrow($async$result, $async$completer);
  87934. while (true)
  87935. switch ($async$goto) {
  87936. case 0:
  87937. // Function start
  87938. $async$goto = 2;
  87939. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  87940. case 2:
  87941. // returning from await.
  87942. // implicit return
  87943. return A._asyncReturn(null, $async$completer);
  87944. }
  87945. });
  87946. return A._asyncStartSync($async$call$0, $async$completer);
  87947. },
  87948. $signature: 25
  87949. };
  87950. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  87951. call$0() {
  87952. var $async$goto = 0,
  87953. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87954. $async$self = this, t1;
  87955. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87956. if ($async$errorCode === 1)
  87957. return A._asyncRethrow($async$result, $async$completer);
  87958. while (true)
  87959. switch ($async$goto) {
  87960. case 0:
  87961. // Function start
  87962. t1 = $async$self.$this;
  87963. $async$goto = 2;
  87964. 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);
  87965. case 2:
  87966. // returning from await.
  87967. // implicit return
  87968. return A._asyncReturn(null, $async$completer);
  87969. }
  87970. });
  87971. return A._asyncStartSync($async$call$0, $async$completer);
  87972. },
  87973. $signature: 2
  87974. };
  87975. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  87976. call$0() {
  87977. var $async$goto = 0,
  87978. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87979. $async$self = this, t1;
  87980. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87981. if ($async$errorCode === 1)
  87982. return A._asyncRethrow($async$result, $async$completer);
  87983. while (true)
  87984. switch ($async$goto) {
  87985. case 0:
  87986. // Function start
  87987. t1 = $async$self.$this;
  87988. $async$goto = 2;
  87989. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87990. case 2:
  87991. // returning from await.
  87992. // implicit return
  87993. return A._asyncReturn(null, $async$completer);
  87994. }
  87995. });
  87996. return A._asyncStartSync($async$call$0, $async$completer);
  87997. },
  87998. $signature: 25
  87999. };
  88000. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  88001. call$0() {
  88002. var $async$goto = 0,
  88003. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  88004. $async$self = this, t1, t2, t3, t4, t5, _i;
  88005. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88006. if ($async$errorCode === 1)
  88007. return A._asyncRethrow($async$result, $async$completer);
  88008. while (true)
  88009. switch ($async$goto) {
  88010. case 0:
  88011. // Function start
  88012. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  88013. case 2:
  88014. // for condition
  88015. if (!(_i < t2)) {
  88016. // goto after for
  88017. $async$goto = 4;
  88018. break;
  88019. }
  88020. $async$goto = 5;
  88021. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  88022. case 5:
  88023. // returning from await.
  88024. case 3:
  88025. // for update
  88026. ++_i;
  88027. // goto for condition
  88028. $async$goto = 2;
  88029. break;
  88030. case 4:
  88031. // after for
  88032. // implicit return
  88033. return A._asyncReturn(null, $async$completer);
  88034. }
  88035. });
  88036. return A._asyncStartSync($async$call$0, $async$completer);
  88037. },
  88038. $signature: 25
  88039. };
  88040. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  88041. call$0() {
  88042. return this.statement.accept$1(this.$this);
  88043. },
  88044. $signature: 66
  88045. };
  88046. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  88047. call$0() {
  88048. var t1 = this.node;
  88049. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  88050. },
  88051. $signature: 89
  88052. };
  88053. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  88054. call$1($content) {
  88055. var t1 = this.$this;
  88056. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  88057. },
  88058. $signature: 339
  88059. };
  88060. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  88061. call$0() {
  88062. return this.node.get$spanWithoutContent();
  88063. },
  88064. $signature: 27
  88065. };
  88066. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  88067. call$1(mediaQueries) {
  88068. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  88069. },
  88070. $signature: 95
  88071. };
  88072. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  88073. call$0() {
  88074. var $async$goto = 0,
  88075. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88076. $async$self = this, t1, t2;
  88077. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88078. if ($async$errorCode === 1)
  88079. return A._asyncRethrow($async$result, $async$completer);
  88080. while (true)
  88081. switch ($async$goto) {
  88082. case 0:
  88083. // Function start
  88084. t1 = $async$self.$this;
  88085. t2 = $async$self.mergedQueries;
  88086. if (t2 == null)
  88087. t2 = $async$self.queries;
  88088. $async$goto = 2;
  88089. 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);
  88090. case 2:
  88091. // returning from await.
  88092. // implicit return
  88093. return A._asyncReturn(null, $async$completer);
  88094. }
  88095. });
  88096. return A._asyncStartSync($async$call$0, $async$completer);
  88097. },
  88098. $signature: 2
  88099. };
  88100. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  88101. call$0() {
  88102. var $async$goto = 0,
  88103. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88104. $async$self = this, t2, t3, _i, t1, _0_0;
  88105. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88106. if ($async$errorCode === 1)
  88107. return A._asyncRethrow($async$result, $async$completer);
  88108. while (true)
  88109. switch ($async$goto) {
  88110. case 0:
  88111. // Function start
  88112. t1 = $async$self.$this;
  88113. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88114. $async$goto = _0_0 != null ? 2 : 4;
  88115. break;
  88116. case 2:
  88117. // then
  88118. $async$goto = 5;
  88119. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  88120. case 5:
  88121. // returning from await.
  88122. // goto join
  88123. $async$goto = 3;
  88124. break;
  88125. case 4:
  88126. // else
  88127. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  88128. case 6:
  88129. // for condition
  88130. if (!(_i < t3)) {
  88131. // goto after for
  88132. $async$goto = 8;
  88133. break;
  88134. }
  88135. $async$goto = 9;
  88136. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  88137. case 9:
  88138. // returning from await.
  88139. case 7:
  88140. // for update
  88141. ++_i;
  88142. // goto for condition
  88143. $async$goto = 6;
  88144. break;
  88145. case 8:
  88146. // after for
  88147. case 3:
  88148. // join
  88149. // implicit return
  88150. return A._asyncReturn(null, $async$completer);
  88151. }
  88152. });
  88153. return A._asyncStartSync($async$call$0, $async$completer);
  88154. },
  88155. $signature: 2
  88156. };
  88157. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  88158. call$0() {
  88159. var $async$goto = 0,
  88160. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88161. $async$self = this, t1, t2, t3, _i;
  88162. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88163. if ($async$errorCode === 1)
  88164. return A._asyncRethrow($async$result, $async$completer);
  88165. while (true)
  88166. switch ($async$goto) {
  88167. case 0:
  88168. // Function start
  88169. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88170. case 2:
  88171. // for condition
  88172. if (!(_i < t2)) {
  88173. // goto after for
  88174. $async$goto = 4;
  88175. break;
  88176. }
  88177. $async$goto = 5;
  88178. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88179. case 5:
  88180. // returning from await.
  88181. case 3:
  88182. // for update
  88183. ++_i;
  88184. // goto for condition
  88185. $async$goto = 2;
  88186. break;
  88187. case 4:
  88188. // after for
  88189. // implicit return
  88190. return A._asyncReturn(null, $async$completer);
  88191. }
  88192. });
  88193. return A._asyncStartSync($async$call$0, $async$completer);
  88194. },
  88195. $signature: 2
  88196. };
  88197. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  88198. call$1(node) {
  88199. var t1;
  88200. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  88201. t1 = this.mergedSources;
  88202. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  88203. } else
  88204. t1 = true;
  88205. return t1;
  88206. },
  88207. $signature: 8
  88208. };
  88209. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  88210. call$0() {
  88211. var $async$goto = 0,
  88212. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88213. $async$self = this, t1, t2, t3, _i;
  88214. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88215. if ($async$errorCode === 1)
  88216. return A._asyncRethrow($async$result, $async$completer);
  88217. while (true)
  88218. switch ($async$goto) {
  88219. case 0:
  88220. // Function start
  88221. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88222. case 2:
  88223. // for condition
  88224. if (!(_i < t2)) {
  88225. // goto after for
  88226. $async$goto = 4;
  88227. break;
  88228. }
  88229. $async$goto = 5;
  88230. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88231. case 5:
  88232. // returning from await.
  88233. case 3:
  88234. // for update
  88235. ++_i;
  88236. // goto for condition
  88237. $async$goto = 2;
  88238. break;
  88239. case 4:
  88240. // after for
  88241. // implicit return
  88242. return A._asyncReturn(null, $async$completer);
  88243. }
  88244. });
  88245. return A._asyncStartSync($async$call$0, $async$completer);
  88246. },
  88247. $signature: 2
  88248. };
  88249. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  88250. call$1(node) {
  88251. return node instanceof A.ModifiableCssStyleRule0;
  88252. },
  88253. $signature: 8
  88254. };
  88255. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  88256. call$0() {
  88257. var $async$goto = 0,
  88258. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88259. $async$self = this, t1;
  88260. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88261. if ($async$errorCode === 1)
  88262. return A._asyncRethrow($async$result, $async$completer);
  88263. while (true)
  88264. switch ($async$goto) {
  88265. case 0:
  88266. // Function start
  88267. t1 = $async$self.$this;
  88268. $async$goto = 2;
  88269. 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);
  88270. case 2:
  88271. // returning from await.
  88272. // implicit return
  88273. return A._asyncReturn(null, $async$completer);
  88274. }
  88275. });
  88276. return A._asyncStartSync($async$call$0, $async$completer);
  88277. },
  88278. $signature: 2
  88279. };
  88280. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  88281. call$0() {
  88282. var $async$goto = 0,
  88283. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88284. $async$self = this, t1, t2, t3, _i;
  88285. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88286. if ($async$errorCode === 1)
  88287. return A._asyncRethrow($async$result, $async$completer);
  88288. while (true)
  88289. switch ($async$goto) {
  88290. case 0:
  88291. // Function start
  88292. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88293. case 2:
  88294. // for condition
  88295. if (!(_i < t2)) {
  88296. // goto after for
  88297. $async$goto = 4;
  88298. break;
  88299. }
  88300. $async$goto = 5;
  88301. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88302. case 5:
  88303. // returning from await.
  88304. case 3:
  88305. // for update
  88306. ++_i;
  88307. // goto for condition
  88308. $async$goto = 2;
  88309. break;
  88310. case 4:
  88311. // after for
  88312. // implicit return
  88313. return A._asyncReturn(null, $async$completer);
  88314. }
  88315. });
  88316. return A._asyncStartSync($async$call$0, $async$completer);
  88317. },
  88318. $signature: 2
  88319. };
  88320. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  88321. call$1(node) {
  88322. return node instanceof A.ModifiableCssStyleRule0;
  88323. },
  88324. $signature: 8
  88325. };
  88326. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  88327. call$1(child) {
  88328. return child instanceof A.ModifiableCssComment0;
  88329. },
  88330. $signature: 8
  88331. };
  88332. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  88333. call$0() {
  88334. var $async$goto = 0,
  88335. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88336. $async$self = this, t2, t3, _i, t1, _0_0;
  88337. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88338. if ($async$errorCode === 1)
  88339. return A._asyncRethrow($async$result, $async$completer);
  88340. while (true)
  88341. switch ($async$goto) {
  88342. case 0:
  88343. // Function start
  88344. t1 = $async$self.$this;
  88345. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88346. $async$goto = _0_0 != null ? 2 : 4;
  88347. break;
  88348. case 2:
  88349. // then
  88350. $async$goto = 5;
  88351. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  88352. case 5:
  88353. // returning from await.
  88354. // goto join
  88355. $async$goto = 3;
  88356. break;
  88357. case 4:
  88358. // else
  88359. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  88360. case 6:
  88361. // for condition
  88362. if (!(_i < t3)) {
  88363. // goto after for
  88364. $async$goto = 8;
  88365. break;
  88366. }
  88367. $async$goto = 9;
  88368. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  88369. case 9:
  88370. // returning from await.
  88371. case 7:
  88372. // for update
  88373. ++_i;
  88374. // goto for condition
  88375. $async$goto = 6;
  88376. break;
  88377. case 8:
  88378. // after for
  88379. case 3:
  88380. // join
  88381. // implicit return
  88382. return A._asyncReturn(null, $async$completer);
  88383. }
  88384. });
  88385. return A._asyncStartSync($async$call$0, $async$completer);
  88386. },
  88387. $signature: 2
  88388. };
  88389. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  88390. call$0() {
  88391. var $async$goto = 0,
  88392. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88393. $async$self = this, t1, t2, t3, _i;
  88394. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88395. if ($async$errorCode === 1)
  88396. return A._asyncRethrow($async$result, $async$completer);
  88397. while (true)
  88398. switch ($async$goto) {
  88399. case 0:
  88400. // Function start
  88401. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88402. case 2:
  88403. // for condition
  88404. if (!(_i < t2)) {
  88405. // goto after for
  88406. $async$goto = 4;
  88407. break;
  88408. }
  88409. $async$goto = 5;
  88410. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88411. case 5:
  88412. // returning from await.
  88413. case 3:
  88414. // for update
  88415. ++_i;
  88416. // goto for condition
  88417. $async$goto = 2;
  88418. break;
  88419. case 4:
  88420. // after for
  88421. // implicit return
  88422. return A._asyncReturn(null, $async$completer);
  88423. }
  88424. });
  88425. return A._asyncStartSync($async$call$0, $async$completer);
  88426. },
  88427. $signature: 2
  88428. };
  88429. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  88430. call$1(node) {
  88431. return node instanceof A.ModifiableCssStyleRule0;
  88432. },
  88433. $signature: 8
  88434. };
  88435. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  88436. call$0() {
  88437. var $async$goto = 0,
  88438. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88439. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  88440. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88441. if ($async$errorCode === 1)
  88442. return A._asyncRethrow($async$result, $async$completer);
  88443. while (true)
  88444. switch ($async$goto) {
  88445. case 0:
  88446. // Function start
  88447. t1 = $async$self.$this;
  88448. t2 = $async$self._box_0;
  88449. $async$temp1 = A;
  88450. $async$goto = 3;
  88451. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  88452. case 3:
  88453. // returning from await.
  88454. t3 = $async$temp1.S($async$result);
  88455. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  88456. $async$temp1 = "(" + t3 + ":" + t4;
  88457. $async$temp2 = A;
  88458. $async$goto = 4;
  88459. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  88460. case 4:
  88461. // returning from await.
  88462. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  88463. // goto return
  88464. $async$goto = 1;
  88465. break;
  88466. case 1:
  88467. // return
  88468. return A._asyncReturn($async$returnValue, $async$completer);
  88469. }
  88470. });
  88471. return A._asyncStartSync($async$call$0, $async$completer);
  88472. },
  88473. $signature: 175
  88474. };
  88475. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  88476. call$0() {
  88477. var t1 = this.$this._async_evaluate0$_environment,
  88478. t2 = this._box_0.override;
  88479. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  88480. },
  88481. $signature: 1
  88482. };
  88483. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  88484. call$0() {
  88485. var t1 = this.node;
  88486. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88487. },
  88488. $signature: 42
  88489. };
  88490. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  88491. call$0() {
  88492. var t1 = this.$this,
  88493. t2 = this.node;
  88494. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  88495. },
  88496. $signature: 1
  88497. };
  88498. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  88499. call$2(module, firstLoad) {
  88500. var t1, t2, t3, _0_0, t4, t5, span;
  88501. if (firstLoad)
  88502. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  88503. t1 = this.$this._async_evaluate0$_environment;
  88504. t2 = this.node;
  88505. t3 = t2.namespace;
  88506. if (t3 == null) {
  88507. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  88508. t1._async_environment0$_allModules.push(module);
  88509. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  88510. if (_0_0 != null)
  88511. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  88512. } else {
  88513. t4 = t1._async_environment0$_modules;
  88514. if (t4.containsKey$1(t3)) {
  88515. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  88516. span = t5 == null ? null : t5.span;
  88517. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88518. if (span != null)
  88519. t5.$indexSet(0, span, "original @use");
  88520. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  88521. }
  88522. t4.$indexSet(0, t3, module);
  88523. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  88524. t1._async_environment0$_allModules.push(module);
  88525. }
  88526. },
  88527. $signature: 115
  88528. };
  88529. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  88530. call$0() {
  88531. return this.node.expression.accept$1(this.$this);
  88532. },
  88533. $signature: 71
  88534. };
  88535. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  88536. call$0() {
  88537. var $async$goto = 0,
  88538. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88539. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  88540. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88541. if ($async$errorCode === 1)
  88542. return A._asyncRethrow($async$result, $async$completer);
  88543. while (true)
  88544. switch ($async$goto) {
  88545. case 0:
  88546. // Function start
  88547. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  88548. case 3:
  88549. // for condition
  88550. $async$goto = 5;
  88551. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  88552. case 5:
  88553. // returning from await.
  88554. if (!$async$result.get$isTruthy()) {
  88555. // goto after for
  88556. $async$goto = 4;
  88557. break;
  88558. }
  88559. $async$goto = 6;
  88560. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  88561. case 6:
  88562. // returning from await.
  88563. _0_0 = $async$result;
  88564. if (_0_0 != null) {
  88565. $async$returnValue = _0_0;
  88566. // goto return
  88567. $async$goto = 1;
  88568. break;
  88569. }
  88570. // goto for condition
  88571. $async$goto = 3;
  88572. break;
  88573. case 4:
  88574. // after for
  88575. $async$returnValue = null;
  88576. // goto return
  88577. $async$goto = 1;
  88578. break;
  88579. case 1:
  88580. // return
  88581. return A._asyncReturn($async$returnValue, $async$completer);
  88582. }
  88583. });
  88584. return A._asyncStartSync($async$call$0, $async$completer);
  88585. },
  88586. $signature: 66
  88587. };
  88588. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  88589. call$1(child) {
  88590. return child.accept$1(this.$this);
  88591. },
  88592. $signature: 93
  88593. };
  88594. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  88595. call$0() {
  88596. var $async$goto = 0,
  88597. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88598. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  88599. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88600. if ($async$errorCode === 1)
  88601. return A._asyncRethrow($async$result, $async$completer);
  88602. while (true)
  88603. switch ($async$goto) {
  88604. case 0:
  88605. // Function start
  88606. t1 = $async$self.node;
  88607. t2 = $async$self.$this;
  88608. $async$goto = 3;
  88609. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  88610. case 3:
  88611. // returning from await.
  88612. left = $async$result;
  88613. case 4:
  88614. // switch
  88615. switch (t1.operator) {
  88616. case B.BinaryOperator_wdM0:
  88617. // goto case
  88618. $async$goto = 6;
  88619. break;
  88620. case B.BinaryOperator_qNM0:
  88621. // goto case
  88622. $async$goto = 7;
  88623. break;
  88624. case B.BinaryOperator_eDt0:
  88625. // goto case
  88626. $async$goto = 8;
  88627. break;
  88628. case B.BinaryOperator_g8k0:
  88629. // goto case
  88630. $async$goto = 9;
  88631. break;
  88632. case B.BinaryOperator_icU0:
  88633. // goto case
  88634. $async$goto = 10;
  88635. break;
  88636. case B.BinaryOperator_bEa0:
  88637. // goto case
  88638. $async$goto = 11;
  88639. break;
  88640. case B.BinaryOperator_oEm0:
  88641. // goto case
  88642. $async$goto = 12;
  88643. break;
  88644. case B.BinaryOperator_miq0:
  88645. // goto case
  88646. $async$goto = 13;
  88647. break;
  88648. case B.BinaryOperator_SPQ0:
  88649. // goto case
  88650. $async$goto = 14;
  88651. break;
  88652. case B.BinaryOperator_u150:
  88653. // goto case
  88654. $async$goto = 15;
  88655. break;
  88656. case B.BinaryOperator_SjO0:
  88657. // goto case
  88658. $async$goto = 16;
  88659. break;
  88660. case B.BinaryOperator_2No0:
  88661. // goto case
  88662. $async$goto = 17;
  88663. break;
  88664. case B.BinaryOperator_U770:
  88665. // goto case
  88666. $async$goto = 18;
  88667. break;
  88668. case B.BinaryOperator_KNx0:
  88669. // goto case
  88670. $async$goto = 19;
  88671. break;
  88672. default:
  88673. // goto default
  88674. $async$goto = 20;
  88675. break;
  88676. }
  88677. break;
  88678. case 6:
  88679. // case
  88680. t1 = t1.right.accept$1(t2);
  88681. $async$goto = 21;
  88682. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88683. case 21:
  88684. // returning from await.
  88685. t1 = $async$result;
  88686. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  88687. // goto after switch
  88688. $async$goto = 5;
  88689. break;
  88690. case 7:
  88691. // case
  88692. $async$goto = left.get$isTruthy() ? 22 : 24;
  88693. break;
  88694. case 22:
  88695. // then
  88696. t1 = left;
  88697. // goto join
  88698. $async$goto = 23;
  88699. break;
  88700. case 24:
  88701. // else
  88702. t1 = t1.right.accept$1(t2);
  88703. $async$goto = 25;
  88704. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88705. case 25:
  88706. // returning from await.
  88707. t1 = $async$result;
  88708. case 23:
  88709. // join
  88710. // goto after switch
  88711. $async$goto = 5;
  88712. break;
  88713. case 8:
  88714. // case
  88715. $async$goto = left.get$isTruthy() ? 26 : 28;
  88716. break;
  88717. case 26:
  88718. // then
  88719. t1 = t1.right.accept$1(t2);
  88720. $async$goto = 29;
  88721. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88722. case 29:
  88723. // returning from await.
  88724. t1 = $async$result;
  88725. // goto join
  88726. $async$goto = 27;
  88727. break;
  88728. case 28:
  88729. // else
  88730. t1 = left;
  88731. case 27:
  88732. // join
  88733. // goto after switch
  88734. $async$goto = 5;
  88735. break;
  88736. case 9:
  88737. // case
  88738. $async$temp1 = left;
  88739. $async$goto = 30;
  88740. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88741. case 30:
  88742. // returning from await.
  88743. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88744. // goto after switch
  88745. $async$goto = 5;
  88746. break;
  88747. case 10:
  88748. // case
  88749. $async$temp1 = left;
  88750. $async$goto = 31;
  88751. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88752. case 31:
  88753. // returning from await.
  88754. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88755. // goto after switch
  88756. $async$goto = 5;
  88757. break;
  88758. case 11:
  88759. // case
  88760. t1 = t1.right.accept$1(t2);
  88761. $async$temp1 = left;
  88762. $async$goto = 32;
  88763. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88764. case 32:
  88765. // returning from await.
  88766. t1 = $async$temp1.greaterThan$1($async$result);
  88767. // goto after switch
  88768. $async$goto = 5;
  88769. break;
  88770. case 12:
  88771. // case
  88772. t1 = t1.right.accept$1(t2);
  88773. $async$temp1 = left;
  88774. $async$goto = 33;
  88775. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88776. case 33:
  88777. // returning from await.
  88778. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  88779. // goto after switch
  88780. $async$goto = 5;
  88781. break;
  88782. case 13:
  88783. // case
  88784. t1 = t1.right.accept$1(t2);
  88785. $async$temp1 = left;
  88786. $async$goto = 34;
  88787. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88788. case 34:
  88789. // returning from await.
  88790. t1 = $async$temp1.lessThan$1($async$result);
  88791. // goto after switch
  88792. $async$goto = 5;
  88793. break;
  88794. case 14:
  88795. // case
  88796. t1 = t1.right.accept$1(t2);
  88797. $async$temp1 = left;
  88798. $async$goto = 35;
  88799. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88800. case 35:
  88801. // returning from await.
  88802. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  88803. // goto after switch
  88804. $async$goto = 5;
  88805. break;
  88806. case 15:
  88807. // case
  88808. t1 = t1.right.accept$1(t2);
  88809. $async$temp1 = left;
  88810. $async$goto = 36;
  88811. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88812. case 36:
  88813. // returning from await.
  88814. t1 = $async$temp1.plus$1($async$result);
  88815. // goto after switch
  88816. $async$goto = 5;
  88817. break;
  88818. case 16:
  88819. // case
  88820. t1 = t1.right.accept$1(t2);
  88821. $async$temp1 = left;
  88822. $async$goto = 37;
  88823. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88824. case 37:
  88825. // returning from await.
  88826. t1 = $async$temp1.minus$1($async$result);
  88827. // goto after switch
  88828. $async$goto = 5;
  88829. break;
  88830. case 17:
  88831. // case
  88832. t1 = t1.right.accept$1(t2);
  88833. $async$temp1 = left;
  88834. $async$goto = 38;
  88835. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88836. case 38:
  88837. // returning from await.
  88838. t1 = $async$temp1.times$1($async$result);
  88839. // goto after switch
  88840. $async$goto = 5;
  88841. break;
  88842. case 18:
  88843. // case
  88844. t3 = t1.right.accept$1(t2);
  88845. $async$temp1 = t2;
  88846. $async$temp2 = left;
  88847. $async$goto = 39;
  88848. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  88849. case 39:
  88850. // returning from await.
  88851. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  88852. // goto after switch
  88853. $async$goto = 5;
  88854. break;
  88855. case 19:
  88856. // case
  88857. t1 = t1.right.accept$1(t2);
  88858. $async$temp1 = left;
  88859. $async$goto = 40;
  88860. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88861. case 40:
  88862. // returning from await.
  88863. t1 = $async$temp1.modulo$1($async$result);
  88864. // goto after switch
  88865. $async$goto = 5;
  88866. break;
  88867. case 20:
  88868. // default
  88869. t1 = null;
  88870. case 5:
  88871. // after switch
  88872. $async$returnValue = t1;
  88873. // goto return
  88874. $async$goto = 1;
  88875. break;
  88876. case 1:
  88877. // return
  88878. return A._asyncReturn($async$returnValue, $async$completer);
  88879. }
  88880. });
  88881. return A._asyncStartSync($async$call$0, $async$completer);
  88882. },
  88883. $signature: 71
  88884. };
  88885. A._EvaluateVisitor__slash_recommendation2.prototype = {
  88886. call$1(expression) {
  88887. var t1;
  88888. $label0$0: {
  88889. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_U770 === expression.operator) {
  88890. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  88891. break $label0$0;
  88892. }
  88893. if (expression instanceof A.ParenthesizedExpression0) {
  88894. t1 = expression.expression.toString$0(0);
  88895. break $label0$0;
  88896. }
  88897. t1 = expression.toString$0(0);
  88898. break $label0$0;
  88899. }
  88900. return t1;
  88901. },
  88902. $signature: 135
  88903. };
  88904. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  88905. call$0() {
  88906. var t1 = this.node;
  88907. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88908. },
  88909. $signature: 42
  88910. };
  88911. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  88912. call$0() {
  88913. var t1, _this = this;
  88914. switch (_this.node.operator) {
  88915. case B.UnaryOperator_cLp0:
  88916. t1 = _this.operand.unaryPlus$0();
  88917. break;
  88918. case B.UnaryOperator_AiQ0:
  88919. t1 = _this.operand.unaryMinus$0();
  88920. break;
  88921. case B.UnaryOperator_SJr0:
  88922. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  88923. break;
  88924. case B.UnaryOperator_not_not_not0:
  88925. t1 = _this.operand.unaryNot$0();
  88926. break;
  88927. default:
  88928. t1 = null;
  88929. }
  88930. return t1;
  88931. },
  88932. $signature: 45
  88933. };
  88934. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  88935. call$1(expression) {
  88936. return expression.accept$1(this.$this);
  88937. },
  88938. $signature: 345
  88939. };
  88940. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  88941. call$0() {
  88942. var t1 = this.node;
  88943. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  88944. },
  88945. $signature: 89
  88946. };
  88947. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  88948. call$1(argument) {
  88949. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  88950. },
  88951. $signature: 107
  88952. };
  88953. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  88954. call$0() {
  88955. var t1 = this.node;
  88956. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  88957. },
  88958. $signature: 71
  88959. };
  88960. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  88961. call$1(maxArgs) {
  88962. var t1 = this.node,
  88963. t2 = t1.$arguments.positional.length;
  88964. if (t2 === 0)
  88965. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  88966. else if (maxArgs != null && t2 > maxArgs)
  88967. 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));
  88968. },
  88969. call$0() {
  88970. return this.call$1(null);
  88971. },
  88972. $signature: 101
  88973. };
  88974. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  88975. call$0() {
  88976. var $async$goto = 0,
  88977. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  88978. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  88979. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88980. if ($async$errorCode === 1)
  88981. return A._asyncRethrow($async$result, $async$completer);
  88982. while (true)
  88983. switch ($async$goto) {
  88984. case 0:
  88985. // Function start
  88986. t1 = $async$self.$this;
  88987. t2 = $async$self._box_0;
  88988. t3 = $async$self.inLegacySassFunction;
  88989. $async$temp1 = A;
  88990. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  88991. $async$goto = 3;
  88992. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  88993. case 3:
  88994. // returning from await.
  88995. $async$temp3 = $async$result;
  88996. $async$goto = 4;
  88997. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  88998. case 4:
  88999. // returning from await.
  89000. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  89001. // goto return
  89002. $async$goto = 1;
  89003. break;
  89004. case 1:
  89005. // return
  89006. return A._asyncReturn($async$returnValue, $async$completer);
  89007. }
  89008. });
  89009. return A._asyncStartSync($async$call$0, $async$completer);
  89010. },
  89011. $signature: 178
  89012. };
  89013. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  89014. call$0() {
  89015. var t1 = this.node;
  89016. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  89017. },
  89018. $signature: 71
  89019. };
  89020. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  89021. call$0() {
  89022. var _this = this,
  89023. t1 = _this.$this,
  89024. t2 = _this.callable,
  89025. t3 = _this.V;
  89026. 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);
  89027. },
  89028. $signature() {
  89029. return this.V._eval$1("Future<0>()");
  89030. }
  89031. };
  89032. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  89033. call$0() {
  89034. var _this = this,
  89035. t1 = _this.$this,
  89036. t2 = _this.V;
  89037. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  89038. },
  89039. $signature() {
  89040. return this.V._eval$1("Future<0>()");
  89041. }
  89042. };
  89043. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  89044. call$0() {
  89045. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  89046. },
  89047. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  89048. var $async$goto = 0,
  89049. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89050. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, t1, t2, t3, t4, $async$temp1;
  89051. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89052. if ($async$errorCode === 1)
  89053. return A._asyncRethrow($async$result, $async$completer);
  89054. while (true)
  89055. switch ($async$goto) {
  89056. case 0:
  89057. // Function start
  89058. t1 = $async$self.$this;
  89059. t2 = $async$self.evaluated._values;
  89060. t3 = $async$self.callable.declaration.$arguments;
  89061. t4 = $async$self.nodeWithSpan;
  89062. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  89063. declaredArguments = t3.$arguments;
  89064. t5 = declaredArguments.length;
  89065. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  89066. for (i = 0; i < minLength; ++i)
  89067. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  89068. i = J.get$length$asx(t2[2]);
  89069. case 3:
  89070. // for condition
  89071. if (!(i < t5)) {
  89072. // goto after for
  89073. $async$goto = 5;
  89074. break;
  89075. }
  89076. argument = declaredArguments[i];
  89077. t6 = t2[0];
  89078. t7 = argument.name;
  89079. value = t6.remove$1(0, t7);
  89080. $async$goto = value == null ? 6 : 7;
  89081. break;
  89082. case 6:
  89083. // then
  89084. t6 = argument.defaultValue;
  89085. $async$temp1 = t1;
  89086. $async$goto = 8;
  89087. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  89088. case 8:
  89089. // returning from await.
  89090. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t6));
  89091. case 7:
  89092. // join
  89093. t6 = t1._async_evaluate0$_environment;
  89094. t8 = t2[1].$index(0, t7);
  89095. if (t8 == null) {
  89096. t8 = argument.defaultValue;
  89097. t8.toString;
  89098. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  89099. }
  89100. t6.setLocalVariable$3(t7, value, t8);
  89101. case 4:
  89102. // for update
  89103. ++i;
  89104. // goto for condition
  89105. $async$goto = 3;
  89106. break;
  89107. case 5:
  89108. // after for
  89109. restArgument = t3.restArgument;
  89110. if (restArgument != null) {
  89111. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  89112. t5 = t2[0];
  89113. t6 = t2[4];
  89114. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : t6);
  89115. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  89116. } else
  89117. argumentList = null;
  89118. $async$goto = 9;
  89119. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  89120. case 9:
  89121. // returning from await.
  89122. result = $async$result;
  89123. if (argumentList == null) {
  89124. $async$returnValue = result;
  89125. // goto return
  89126. $async$goto = 1;
  89127. break;
  89128. }
  89129. t5 = t2[0];
  89130. if (t5.get$isEmpty(t5)) {
  89131. $async$returnValue = result;
  89132. // goto return
  89133. $async$goto = 1;
  89134. break;
  89135. }
  89136. if (argumentList._argument_list$_wereKeywordsAccessed) {
  89137. $async$returnValue = result;
  89138. // goto return
  89139. $async$goto = 1;
  89140. break;
  89141. }
  89142. t5 = t2[0];
  89143. argumentWord = A.pluralize0("argument", J.get$length$asx(t5.get$keys(t5)), null);
  89144. t2 = t2[0];
  89145. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), 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));
  89146. case 1:
  89147. // return
  89148. return A._asyncReturn($async$returnValue, $async$completer);
  89149. }
  89150. });
  89151. return A._asyncStartSync($async$call$0, $async$completer);
  89152. },
  89153. $signature() {
  89154. return this.V._eval$1("Future<0>()");
  89155. }
  89156. };
  89157. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  89158. call$1($name) {
  89159. return "$" + $name;
  89160. },
  89161. $signature: 5
  89162. };
  89163. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  89164. call$0() {
  89165. var $async$goto = 0,
  89166. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89167. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  89168. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89169. if ($async$errorCode === 1)
  89170. return A._asyncRethrow($async$result, $async$completer);
  89171. while (true)
  89172. switch ($async$goto) {
  89173. case 0:
  89174. // Function start
  89175. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  89176. case 3:
  89177. // for condition
  89178. if (!(_i < t3)) {
  89179. // goto after for
  89180. $async$goto = 5;
  89181. break;
  89182. }
  89183. $async$goto = 6;
  89184. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  89185. case 6:
  89186. // returning from await.
  89187. $returnValue = $async$result;
  89188. if ($returnValue instanceof A.Value0) {
  89189. $async$returnValue = $returnValue;
  89190. // goto return
  89191. $async$goto = 1;
  89192. break;
  89193. }
  89194. case 4:
  89195. // for update
  89196. ++_i;
  89197. // goto for condition
  89198. $async$goto = 3;
  89199. break;
  89200. case 5:
  89201. // after for
  89202. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  89203. case 1:
  89204. // return
  89205. return A._asyncReturn($async$returnValue, $async$completer);
  89206. }
  89207. });
  89208. return A._asyncStartSync($async$call$0, $async$completer);
  89209. },
  89210. $signature: 71
  89211. };
  89212. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  89213. call$0() {
  89214. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  89215. },
  89216. $signature: 0
  89217. };
  89218. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  89219. call$0() {
  89220. return this._box_0.callback.call$1(this.evaluated._values[2]);
  89221. },
  89222. $signature: 347
  89223. };
  89224. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  89225. call$1($name) {
  89226. return "$" + $name;
  89227. },
  89228. $signature: 5
  89229. };
  89230. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  89231. call$1(value) {
  89232. return value;
  89233. },
  89234. $signature: 41
  89235. };
  89236. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  89237. call$1(value) {
  89238. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  89239. },
  89240. $signature: 41
  89241. };
  89242. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  89243. call$2(key, value) {
  89244. var _this = this,
  89245. t1 = _this.restNodeForSpan;
  89246. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  89247. _this.namedNodes.$indexSet(0, key, t1);
  89248. },
  89249. $signature: 106
  89250. };
  89251. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  89252. call$1(value) {
  89253. return value;
  89254. },
  89255. $signature: 41
  89256. };
  89257. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  89258. call$1(value) {
  89259. var t1 = this.restArgs;
  89260. return new A.ValueExpression0(value, t1.get$span(t1));
  89261. },
  89262. $signature: 54
  89263. };
  89264. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  89265. call$1(value) {
  89266. var t1 = this.restArgs;
  89267. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  89268. },
  89269. $signature: 54
  89270. };
  89271. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  89272. call$2(key, value) {
  89273. var _this = this,
  89274. t1 = _this.restArgs;
  89275. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  89276. },
  89277. $signature: 106
  89278. };
  89279. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  89280. call$1(value) {
  89281. var t1 = this.keywordRestArgs;
  89282. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  89283. },
  89284. $signature: 54
  89285. };
  89286. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  89287. call$2(key, value) {
  89288. var t2, _this = this,
  89289. t1 = _this.$this;
  89290. if (key instanceof A.SassString0)
  89291. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  89292. else {
  89293. t2 = _this.nodeWithSpan;
  89294. 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)));
  89295. }
  89296. },
  89297. $signature: 76
  89298. };
  89299. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  89300. call$0() {
  89301. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  89302. },
  89303. $signature: 0
  89304. };
  89305. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  89306. call$0() {
  89307. var $async$goto = 0,
  89308. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89309. $async$self = this, t1, t2, t3, t4;
  89310. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89311. if ($async$errorCode === 1)
  89312. return A._asyncRethrow($async$result, $async$completer);
  89313. while (true)
  89314. switch ($async$goto) {
  89315. case 0:
  89316. // Function start
  89317. 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");
  89318. case 2:
  89319. // for condition
  89320. if (!t1.moveNext$0()) {
  89321. // goto after for
  89322. $async$goto = 3;
  89323. break;
  89324. }
  89325. t4 = t1.__internal$_current;
  89326. $async$goto = 4;
  89327. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89328. case 4:
  89329. // returning from await.
  89330. // goto for condition
  89331. $async$goto = 2;
  89332. break;
  89333. case 3:
  89334. // after for
  89335. // implicit return
  89336. return A._asyncReturn(null, $async$completer);
  89337. }
  89338. });
  89339. return A._asyncStartSync($async$call$0, $async$completer);
  89340. },
  89341. $signature: 2
  89342. };
  89343. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  89344. call$1(node) {
  89345. return node instanceof A.ModifiableCssStyleRule0;
  89346. },
  89347. $signature: 8
  89348. };
  89349. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  89350. call$0() {
  89351. var $async$goto = 0,
  89352. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89353. $async$self = this, t1, t2, t3, t4;
  89354. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89355. if ($async$errorCode === 1)
  89356. return A._asyncRethrow($async$result, $async$completer);
  89357. while (true)
  89358. switch ($async$goto) {
  89359. case 0:
  89360. // Function start
  89361. 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");
  89362. case 2:
  89363. // for condition
  89364. if (!t1.moveNext$0()) {
  89365. // goto after for
  89366. $async$goto = 3;
  89367. break;
  89368. }
  89369. t4 = t1.__internal$_current;
  89370. $async$goto = 4;
  89371. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89372. case 4:
  89373. // returning from await.
  89374. // goto for condition
  89375. $async$goto = 2;
  89376. break;
  89377. case 3:
  89378. // after for
  89379. // implicit return
  89380. return A._asyncReturn(null, $async$completer);
  89381. }
  89382. });
  89383. return A._asyncStartSync($async$call$0, $async$completer);
  89384. },
  89385. $signature: 2
  89386. };
  89387. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  89388. call$1(node) {
  89389. return node instanceof A.ModifiableCssStyleRule0;
  89390. },
  89391. $signature: 8
  89392. };
  89393. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  89394. call$1(mediaQueries) {
  89395. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  89396. },
  89397. $signature: 95
  89398. };
  89399. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  89400. call$0() {
  89401. var $async$goto = 0,
  89402. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89403. $async$self = this, t1, t2;
  89404. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89405. if ($async$errorCode === 1)
  89406. return A._asyncRethrow($async$result, $async$completer);
  89407. while (true)
  89408. switch ($async$goto) {
  89409. case 0:
  89410. // Function start
  89411. t1 = $async$self.$this;
  89412. t2 = $async$self.mergedQueries;
  89413. if (t2 == null)
  89414. t2 = $async$self.node.queries;
  89415. $async$goto = 2;
  89416. 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);
  89417. case 2:
  89418. // returning from await.
  89419. // implicit return
  89420. return A._asyncReturn(null, $async$completer);
  89421. }
  89422. });
  89423. return A._asyncStartSync($async$call$0, $async$completer);
  89424. },
  89425. $signature: 2
  89426. };
  89427. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  89428. call$0() {
  89429. var $async$goto = 0,
  89430. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89431. $async$self = this, t2, t3, t4, t1, _0_0;
  89432. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89433. if ($async$errorCode === 1)
  89434. return A._asyncRethrow($async$result, $async$completer);
  89435. while (true)
  89436. switch ($async$goto) {
  89437. case 0:
  89438. // Function start
  89439. t1 = $async$self.$this;
  89440. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89441. $async$goto = _0_0 != null ? 2 : 4;
  89442. break;
  89443. case 2:
  89444. // then
  89445. $async$goto = 5;
  89446. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  89447. case 5:
  89448. // returning from await.
  89449. // goto join
  89450. $async$goto = 3;
  89451. break;
  89452. case 4:
  89453. // else
  89454. 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");
  89455. case 6:
  89456. // for condition
  89457. if (!t2.moveNext$0()) {
  89458. // goto after for
  89459. $async$goto = 7;
  89460. break;
  89461. }
  89462. t4 = t2.__internal$_current;
  89463. $async$goto = 8;
  89464. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89465. case 8:
  89466. // returning from await.
  89467. // goto for condition
  89468. $async$goto = 6;
  89469. break;
  89470. case 7:
  89471. // after for
  89472. case 3:
  89473. // join
  89474. // implicit return
  89475. return A._asyncReturn(null, $async$completer);
  89476. }
  89477. });
  89478. return A._asyncStartSync($async$call$0, $async$completer);
  89479. },
  89480. $signature: 2
  89481. };
  89482. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  89483. call$0() {
  89484. var $async$goto = 0,
  89485. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89486. $async$self = this, t1, t2, t3, t4;
  89487. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89488. if ($async$errorCode === 1)
  89489. return A._asyncRethrow($async$result, $async$completer);
  89490. while (true)
  89491. switch ($async$goto) {
  89492. case 0:
  89493. // Function start
  89494. 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");
  89495. case 2:
  89496. // for condition
  89497. if (!t1.moveNext$0()) {
  89498. // goto after for
  89499. $async$goto = 3;
  89500. break;
  89501. }
  89502. t4 = t1.__internal$_current;
  89503. $async$goto = 4;
  89504. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89505. case 4:
  89506. // returning from await.
  89507. // goto for condition
  89508. $async$goto = 2;
  89509. break;
  89510. case 3:
  89511. // after for
  89512. // implicit return
  89513. return A._asyncReturn(null, $async$completer);
  89514. }
  89515. });
  89516. return A._asyncStartSync($async$call$0, $async$completer);
  89517. },
  89518. $signature: 2
  89519. };
  89520. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  89521. call$1(node) {
  89522. var t1;
  89523. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  89524. t1 = this.mergedSources;
  89525. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  89526. } else
  89527. t1 = true;
  89528. return t1;
  89529. },
  89530. $signature: 8
  89531. };
  89532. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  89533. call$0() {
  89534. var $async$goto = 0,
  89535. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89536. $async$self = this, t1;
  89537. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89538. if ($async$errorCode === 1)
  89539. return A._asyncRethrow($async$result, $async$completer);
  89540. while (true)
  89541. switch ($async$goto) {
  89542. case 0:
  89543. // Function start
  89544. t1 = $async$self.$this;
  89545. $async$goto = 2;
  89546. 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);
  89547. case 2:
  89548. // returning from await.
  89549. // implicit return
  89550. return A._asyncReturn(null, $async$completer);
  89551. }
  89552. });
  89553. return A._asyncStartSync($async$call$0, $async$completer);
  89554. },
  89555. $signature: 2
  89556. };
  89557. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  89558. call$0() {
  89559. var $async$goto = 0,
  89560. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89561. $async$self = this, t1, t2, t3, t4;
  89562. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89563. if ($async$errorCode === 1)
  89564. return A._asyncRethrow($async$result, $async$completer);
  89565. while (true)
  89566. switch ($async$goto) {
  89567. case 0:
  89568. // Function start
  89569. 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");
  89570. case 2:
  89571. // for condition
  89572. if (!t1.moveNext$0()) {
  89573. // goto after for
  89574. $async$goto = 3;
  89575. break;
  89576. }
  89577. t4 = t1.__internal$_current;
  89578. $async$goto = 4;
  89579. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89580. case 4:
  89581. // returning from await.
  89582. // goto for condition
  89583. $async$goto = 2;
  89584. break;
  89585. case 3:
  89586. // after for
  89587. // implicit return
  89588. return A._asyncReturn(null, $async$completer);
  89589. }
  89590. });
  89591. return A._asyncStartSync($async$call$0, $async$completer);
  89592. },
  89593. $signature: 2
  89594. };
  89595. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  89596. call$1(node) {
  89597. return node instanceof A.ModifiableCssStyleRule0;
  89598. },
  89599. $signature: 8
  89600. };
  89601. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  89602. call$0() {
  89603. var $async$goto = 0,
  89604. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89605. $async$self = this, t2, t3, t4, t1, _0_0;
  89606. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89607. if ($async$errorCode === 1)
  89608. return A._asyncRethrow($async$result, $async$completer);
  89609. while (true)
  89610. switch ($async$goto) {
  89611. case 0:
  89612. // Function start
  89613. t1 = $async$self.$this;
  89614. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89615. $async$goto = _0_0 != null ? 2 : 4;
  89616. break;
  89617. case 2:
  89618. // then
  89619. $async$goto = 5;
  89620. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  89621. case 5:
  89622. // returning from await.
  89623. // goto join
  89624. $async$goto = 3;
  89625. break;
  89626. case 4:
  89627. // else
  89628. 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");
  89629. case 6:
  89630. // for condition
  89631. if (!t2.moveNext$0()) {
  89632. // goto after for
  89633. $async$goto = 7;
  89634. break;
  89635. }
  89636. t4 = t2.__internal$_current;
  89637. $async$goto = 8;
  89638. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89639. case 8:
  89640. // returning from await.
  89641. // goto for condition
  89642. $async$goto = 6;
  89643. break;
  89644. case 7:
  89645. // after for
  89646. case 3:
  89647. // join
  89648. // implicit return
  89649. return A._asyncReturn(null, $async$completer);
  89650. }
  89651. });
  89652. return A._asyncStartSync($async$call$0, $async$completer);
  89653. },
  89654. $signature: 2
  89655. };
  89656. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  89657. call$0() {
  89658. var $async$goto = 0,
  89659. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89660. $async$self = this, t1, t2, t3, t4;
  89661. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89662. if ($async$errorCode === 1)
  89663. return A._asyncRethrow($async$result, $async$completer);
  89664. while (true)
  89665. switch ($async$goto) {
  89666. case 0:
  89667. // Function start
  89668. 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");
  89669. case 2:
  89670. // for condition
  89671. if (!t1.moveNext$0()) {
  89672. // goto after for
  89673. $async$goto = 3;
  89674. break;
  89675. }
  89676. t4 = t1.__internal$_current;
  89677. $async$goto = 4;
  89678. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89679. case 4:
  89680. // returning from await.
  89681. // goto for condition
  89682. $async$goto = 2;
  89683. break;
  89684. case 3:
  89685. // after for
  89686. // implicit return
  89687. return A._asyncReturn(null, $async$completer);
  89688. }
  89689. });
  89690. return A._asyncStartSync($async$call$0, $async$completer);
  89691. },
  89692. $signature: 2
  89693. };
  89694. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  89695. call$1(node) {
  89696. return node instanceof A.ModifiableCssStyleRule0;
  89697. },
  89698. $signature: 8
  89699. };
  89700. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  89701. call$1(targetLocations) {
  89702. return A.InterpolationMap$0(this.interpolation, targetLocations);
  89703. },
  89704. $signature: 219
  89705. };
  89706. A._EvaluateVisitor__serialize_closure2.prototype = {
  89707. call$0() {
  89708. return A.serializeValue0(this.value, false, this.quote);
  89709. },
  89710. $signature: 26
  89711. };
  89712. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  89713. call$0() {
  89714. var t1 = this.expression;
  89715. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  89716. },
  89717. $signature: 218
  89718. };
  89719. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  89720. call$1(number) {
  89721. var before, after, t1,
  89722. _1_0 = number.asSlash;
  89723. $label0$0: {
  89724. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  89725. before = _1_0._0;
  89726. after = _1_0._1;
  89727. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  89728. break $label0$0;
  89729. }
  89730. t1 = A.serializeValue0(number, true, true);
  89731. break $label0$0;
  89732. }
  89733. return t1;
  89734. },
  89735. $signature: 217
  89736. };
  89737. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  89738. call$1(url) {
  89739. var t1 = this.$this._async_evaluate0$_importCache;
  89740. t1 = t1 == null ? null : t1.humanize$1(url);
  89741. return t1 == null ? url : t1;
  89742. },
  89743. $signature: 43
  89744. };
  89745. A._ImportedCssVisitor2.prototype = {
  89746. visitCssAtRule$1(node) {
  89747. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  89748. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  89749. },
  89750. visitCssComment$1(node) {
  89751. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  89752. },
  89753. visitCssDeclaration$1(node) {
  89754. },
  89755. visitCssImport$1(node) {
  89756. var t2,
  89757. _s13_ = "_endOfImports",
  89758. t1 = this._async_evaluate0$_visitor;
  89759. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  89760. t1._async_evaluate0$_addChild$1(node);
  89761. 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)) {
  89762. t1._async_evaluate0$_addChild$1(node);
  89763. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  89764. } else {
  89765. t2 = t1._async_evaluate0$_outOfOrderImports;
  89766. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  89767. }
  89768. },
  89769. visitCssKeyframeBlock$1(node) {
  89770. },
  89771. visitCssMediaRule$1(node) {
  89772. var t1 = this._async_evaluate0$_visitor,
  89773. mediaQueries = t1._async_evaluate0$_mediaQueries;
  89774. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  89775. },
  89776. visitCssStyleRule$1(node) {
  89777. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  89778. },
  89779. visitCssStylesheet$1(node) {
  89780. var t1, t2, t3;
  89781. 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();) {
  89782. t3 = t1.__internal$_current;
  89783. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  89784. }
  89785. },
  89786. visitCssSupportsRule$1(node) {
  89787. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  89788. }
  89789. };
  89790. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  89791. call$1(node) {
  89792. return node instanceof A.ModifiableCssStyleRule0;
  89793. },
  89794. $signature: 8
  89795. };
  89796. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  89797. call$1(node) {
  89798. var t1;
  89799. if (!(node instanceof A.ModifiableCssStyleRule0))
  89800. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  89801. else
  89802. t1 = true;
  89803. return t1;
  89804. },
  89805. $signature: 8
  89806. };
  89807. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  89808. call$1(node) {
  89809. return node instanceof A.ModifiableCssStyleRule0;
  89810. },
  89811. $signature: 8
  89812. };
  89813. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  89814. call$1(node) {
  89815. return node instanceof A.ModifiableCssStyleRule0;
  89816. },
  89817. $signature: 8
  89818. };
  89819. A._EvaluationContext2.prototype = {
  89820. get$currentCallableSpan() {
  89821. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  89822. if (_0_0 != null)
  89823. return _0_0.get$span(_0_0);
  89824. throw A.wrapException(A.StateError$(string$.No_Sasc));
  89825. },
  89826. warn$2(_, message, deprecation) {
  89827. var t1 = this._async_evaluate0$_visitor,
  89828. t2 = t1._async_evaluate0$_importSpan;
  89829. if (t2 == null) {
  89830. t2 = t1._async_evaluate0$_callableNode;
  89831. t2 = t2 == null ? null : t2.get$span(t2);
  89832. }
  89833. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  89834. },
  89835. $isEvaluationContext0: 1
  89836. };
  89837. A.JSToDartAsyncFileImporter.prototype = {
  89838. canonicalize$1(_, url) {
  89839. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  89840. },
  89841. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  89842. var $async$goto = 0,
  89843. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  89844. $async$returnValue, $async$self = this, result, t1, resultUrl;
  89845. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89846. if ($async$errorCode === 1)
  89847. return A._asyncRethrow($async$result, $async$completer);
  89848. while (true)
  89849. switch ($async$goto) {
  89850. case 0:
  89851. // Function start
  89852. if (url.get$scheme() === "file") {
  89853. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  89854. // goto return
  89855. $async$goto = 1;
  89856. break;
  89857. }
  89858. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  89859. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  89860. break;
  89861. case 3:
  89862. // then
  89863. $async$goto = 5;
  89864. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  89865. case 5:
  89866. // returning from await.
  89867. result = $async$result;
  89868. case 4:
  89869. // join
  89870. if (result == null) {
  89871. $async$returnValue = null;
  89872. // goto return
  89873. $async$goto = 1;
  89874. break;
  89875. }
  89876. t1 = self.URL;
  89877. if (!(result instanceof t1))
  89878. A.jsThrow(new self.Error(string$.The_fie));
  89879. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  89880. if (resultUrl.get$scheme() !== "file")
  89881. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  89882. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  89883. // goto return
  89884. $async$goto = 1;
  89885. break;
  89886. case 1:
  89887. // return
  89888. return A._asyncReturn($async$returnValue, $async$completer);
  89889. }
  89890. });
  89891. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  89892. },
  89893. load$1(_, url) {
  89894. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  89895. },
  89896. isNonCanonicalScheme$1(scheme) {
  89897. return scheme !== "file";
  89898. }
  89899. };
  89900. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  89901. call$0() {
  89902. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  89903. },
  89904. $signature: 31
  89905. };
  89906. A.AsyncImportCache0.prototype = {
  89907. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  89908. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  89909. },
  89910. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  89911. var $async$goto = 0,
  89912. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89913. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j;
  89914. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89915. if ($async$errorCode === 1)
  89916. return A._asyncRethrow($async$result, $async$completer);
  89917. while (true)
  89918. switch ($async$goto) {
  89919. case 0:
  89920. // Function start
  89921. if (A.isBrowser())
  89922. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  89923. else
  89924. t1 = false;
  89925. if (t1)
  89926. throw A.wrapException(string$.Custom);
  89927. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  89928. break;
  89929. case 3:
  89930. // then
  89931. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  89932. if (resolvedUrl == null)
  89933. resolvedUrl = url;
  89934. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  89935. $async$goto = 5;
  89936. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_perImporterCanonicalizeCache, key, new A.AsyncImportCache_canonicalize_closure0($async$self, baseImporter, resolvedUrl, baseUrl, forImport, key, url), type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  89937. case 5:
  89938. // returning from await.
  89939. relativeResult = $async$result;
  89940. if (relativeResult != null) {
  89941. $async$returnValue = relativeResult;
  89942. // goto return
  89943. $async$goto = 1;
  89944. break;
  89945. }
  89946. case 4:
  89947. // join
  89948. key = new A._Record_2_forImport(url, forImport);
  89949. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  89950. if (t1.containsKey$1(key)) {
  89951. $async$returnValue = t1.$index(0, key);
  89952. // goto return
  89953. $async$goto = 1;
  89954. break;
  89955. }
  89956. t2 = $async$self._async_import_cache0$_importers, t3 = type$.Record_1_nullable_Object, t4 = $async$self._async_import_cache0$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0;
  89957. case 6:
  89958. // for condition
  89959. if (!(i < t2.length)) {
  89960. // goto after for
  89961. $async$goto = 8;
  89962. break;
  89963. }
  89964. importer = t2[i];
  89965. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  89966. if (t4.containsKey$1(perImporterKey)) {
  89967. t7 = t4.$index(0, perImporterKey);
  89968. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  89969. } else
  89970. _1_0 = null;
  89971. _1_2_isSet = t3._is(_1_0);
  89972. result = null;
  89973. if (_1_2_isSet) {
  89974. _1_2 = _1_0._0;
  89975. t7 = _1_2 != null;
  89976. if (t7) {
  89977. t6._as(_1_2);
  89978. result = _1_2;
  89979. }
  89980. } else {
  89981. _1_2 = null;
  89982. t7 = false;
  89983. }
  89984. if (t7) {
  89985. $async$returnValue = result;
  89986. // goto return
  89987. $async$goto = 1;
  89988. break;
  89989. }
  89990. if (_1_2_isSet)
  89991. t7 = _1_2 == null;
  89992. else
  89993. t7 = false;
  89994. if (t7) {
  89995. // goto for update
  89996. $async$goto = 7;
  89997. break;
  89998. }
  89999. $async$goto = 10;
  90000. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  90001. case 10:
  90002. // returning from await.
  90003. _2_0 = $async$result;
  90004. _2_1 = _2_0._0;
  90005. _2_5_isSet = _2_1 != null;
  90006. _2_5 = null;
  90007. _2_3 = null;
  90008. t7 = false;
  90009. if (_2_5_isSet) {
  90010. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  90011. _2_3 = _2_0._1;
  90012. t7 = _2_3;
  90013. _2_5 = t7;
  90014. t7 = t7 && cacheable;
  90015. } else
  90016. result = null;
  90017. if (t7) {
  90018. t1.$indexSet(0, key, result);
  90019. $async$returnValue = result;
  90020. // goto return
  90021. $async$goto = 1;
  90022. break;
  90023. }
  90024. if (_2_5_isSet) {
  90025. t7 = _2_5;
  90026. _2_3_isSet = _2_5_isSet;
  90027. } else {
  90028. _2_3 = _2_0._1;
  90029. t7 = _2_3;
  90030. _2_3_isSet = true;
  90031. }
  90032. t7 = t7 && !cacheable;
  90033. if (t7) {
  90034. t4.$indexSet(0, perImporterKey, _2_1);
  90035. if (_2_1 != null) {
  90036. $async$returnValue = _2_1;
  90037. // goto return
  90038. $async$goto = 1;
  90039. break;
  90040. }
  90041. // goto break $label0$1
  90042. $async$goto = 9;
  90043. break;
  90044. }
  90045. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  90046. if (t7) {
  90047. if (cacheable) {
  90048. for (j = 0; j < i; ++j)
  90049. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  90050. cacheable = false;
  90051. }
  90052. if (_2_1 != null) {
  90053. $async$returnValue = _2_1;
  90054. // goto return
  90055. $async$goto = 1;
  90056. break;
  90057. }
  90058. }
  90059. case 9:
  90060. // break $label0$1
  90061. case 7:
  90062. // for update
  90063. ++i;
  90064. // goto for condition
  90065. $async$goto = 6;
  90066. break;
  90067. case 8:
  90068. // after for
  90069. if (cacheable)
  90070. t1.$indexSet(0, key, null);
  90071. $async$returnValue = null;
  90072. // goto return
  90073. $async$goto = 1;
  90074. break;
  90075. case 1:
  90076. // return
  90077. return A._asyncReturn($async$returnValue, $async$completer);
  90078. }
  90079. });
  90080. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  90081. },
  90082. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  90083. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  90084. },
  90085. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  90086. var $async$goto = 0,
  90087. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  90088. $async$returnValue, $async$self = this, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  90089. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90090. if ($async$errorCode === 1)
  90091. return A._asyncRethrow($async$result, $async$completer);
  90092. while (true)
  90093. switch ($async$goto) {
  90094. case 0:
  90095. // Function start
  90096. $async$goto = baseUrl != null ? 3 : 5;
  90097. break;
  90098. case 3:
  90099. // then
  90100. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  90101. break;
  90102. case 6:
  90103. // then
  90104. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  90105. $async$goto = 9;
  90106. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  90107. case 9:
  90108. // returning from await.
  90109. t1 = $async$result;
  90110. passContainingUrl = t1;
  90111. // goto join
  90112. $async$goto = 7;
  90113. break;
  90114. case 8:
  90115. // else
  90116. passContainingUrl = true;
  90117. case 7:
  90118. // join
  90119. // goto join
  90120. $async$goto = 4;
  90121. break;
  90122. case 5:
  90123. // else
  90124. passContainingUrl = false;
  90125. case 4:
  90126. // join
  90127. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  90128. t1 = type$.nullable_Object;
  90129. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  90130. $async$goto = 10;
  90131. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  90132. case 10:
  90133. // returning from await.
  90134. result = $async$result;
  90135. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  90136. if (result == null) {
  90137. $async$returnValue = new A._Record_2(null, cacheable);
  90138. // goto return
  90139. $async$goto = 1;
  90140. break;
  90141. }
  90142. $async$goto = result.get$scheme() === "" ? 11 : 13;
  90143. break;
  90144. case 11:
  90145. // then
  90146. A.WarnForDeprecation_warnForDeprecation0($async$self._async_import_cache0$_logger, B.Deprecation_Ssf, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  90147. // goto join
  90148. $async$goto = 12;
  90149. break;
  90150. case 13:
  90151. // else
  90152. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  90153. $async$goto = 14;
  90154. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  90155. case 14:
  90156. // returning from await.
  90157. if ($async$result)
  90158. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  90159. case 12:
  90160. // join
  90161. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  90162. // goto return
  90163. $async$goto = 1;
  90164. break;
  90165. case 1:
  90166. // return
  90167. return A._asyncReturn($async$returnValue, $async$completer);
  90168. }
  90169. });
  90170. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  90171. },
  90172. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  90173. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  90174. },
  90175. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  90176. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  90177. },
  90178. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  90179. var $async$goto = 0,
  90180. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  90181. $async$returnValue, $async$self = this;
  90182. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90183. if ($async$errorCode === 1)
  90184. return A._asyncRethrow($async$result, $async$completer);
  90185. while (true)
  90186. switch ($async$goto) {
  90187. case 0:
  90188. // Function start
  90189. $async$goto = 3;
  90190. 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);
  90191. case 3:
  90192. // returning from await.
  90193. $async$returnValue = $async$result;
  90194. // goto return
  90195. $async$goto = 1;
  90196. break;
  90197. case 1:
  90198. // return
  90199. return A._asyncReturn($async$returnValue, $async$completer);
  90200. }
  90201. });
  90202. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  90203. },
  90204. humanize$1(canonicalUrl) {
  90205. var t1 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  90206. t1 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(this._async_import_cache0$_canonicalizeCache.get$values(0), t1), new A.AsyncImportCache_humanize_closure3(canonicalUrl), t1._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure4(), t1._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure5()), new A.AsyncImportCache_humanize_closure6(canonicalUrl));
  90207. return t1 == null ? canonicalUrl : t1;
  90208. },
  90209. sourceMapUrl$1(_, canonicalUrl) {
  90210. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  90211. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  90212. return t1 == null ? canonicalUrl : t1;
  90213. }
  90214. };
  90215. A.AsyncImportCache_canonicalize_closure0.prototype = {
  90216. call$0() {
  90217. var $async$goto = 0,
  90218. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  90219. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  90220. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90221. if ($async$errorCode === 1)
  90222. return A._asyncRethrow($async$result, $async$completer);
  90223. while (true)
  90224. switch ($async$goto) {
  90225. case 0:
  90226. // Function start
  90227. t1 = $async$self.$this;
  90228. t2 = $async$self.baseUrl;
  90229. $async$goto = 3;
  90230. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  90231. case 3:
  90232. // returning from await.
  90233. _0_0 = $async$result;
  90234. result = _0_0._0;
  90235. _0_0._1;
  90236. if (t2 != null)
  90237. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  90238. $async$returnValue = result;
  90239. // goto return
  90240. $async$goto = 1;
  90241. break;
  90242. case 1:
  90243. // return
  90244. return A._asyncReturn($async$returnValue, $async$completer);
  90245. }
  90246. });
  90247. return A._asyncStartSync($async$call$0, $async$completer);
  90248. },
  90249. $signature: 354
  90250. };
  90251. A.AsyncImportCache__canonicalize_closure0.prototype = {
  90252. call$0() {
  90253. return this.importer.canonicalize$1(0, this.url);
  90254. },
  90255. $signature: 184
  90256. };
  90257. A.AsyncImportCache_importCanonical_closure0.prototype = {
  90258. call$0() {
  90259. var $async$goto = 0,
  90260. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  90261. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  90262. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90263. if ($async$errorCode === 1)
  90264. return A._asyncRethrow($async$result, $async$completer);
  90265. while (true)
  90266. switch ($async$goto) {
  90267. case 0:
  90268. // Function start
  90269. t1 = $async$self.canonicalUrl;
  90270. t2 = $async$self.importer.load$1(0, t1);
  90271. $async$goto = 3;
  90272. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t2) ? t2 : A._Future$value(t2, type$.nullable_ImporterResult_2), $async$call$0);
  90273. case 3:
  90274. // returning from await.
  90275. result = $async$result;
  90276. if (result == null) {
  90277. $async$returnValue = null;
  90278. // goto return
  90279. $async$goto = 1;
  90280. break;
  90281. }
  90282. t2 = $async$self.$this;
  90283. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  90284. t3 = result.contents;
  90285. t4 = result.syntax;
  90286. t1 = $async$self.originalUrl.resolveUri$1(t1);
  90287. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  90288. // goto return
  90289. $async$goto = 1;
  90290. break;
  90291. case 1:
  90292. // return
  90293. return A._asyncReturn($async$returnValue, $async$completer);
  90294. }
  90295. });
  90296. return A._asyncStartSync($async$call$0, $async$completer);
  90297. },
  90298. $signature: 355
  90299. };
  90300. A.AsyncImportCache_humanize_closure3.prototype = {
  90301. call$1(result) {
  90302. return result._1.$eq(0, this.canonicalUrl);
  90303. },
  90304. $signature: 356
  90305. };
  90306. A.AsyncImportCache_humanize_closure4.prototype = {
  90307. call$1(result) {
  90308. return result._2;
  90309. },
  90310. $signature: 357
  90311. };
  90312. A.AsyncImportCache_humanize_closure5.prototype = {
  90313. call$1(url) {
  90314. return url.get$path(url).length;
  90315. },
  90316. $signature: 103
  90317. };
  90318. A.AsyncImportCache_humanize_closure6.prototype = {
  90319. call$1(url) {
  90320. var t1 = $.$get$url(),
  90321. t2 = this.canonicalUrl;
  90322. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  90323. },
  90324. $signature: 43
  90325. };
  90326. A.AtRootQueryParser0.prototype = {
  90327. parse$0(_) {
  90328. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  90329. }
  90330. };
  90331. A.AtRootQueryParser_parse_closure0.prototype = {
  90332. call$0() {
  90333. var include, atRules,
  90334. t1 = this.$this,
  90335. t2 = t1.scanner;
  90336. t2.expectChar$1(40);
  90337. t1.whitespace$0();
  90338. include = t1.scanIdentifier$1("with");
  90339. if (!include)
  90340. t1.expectIdentifier$2$name("without", '"with" or "without"');
  90341. t1.whitespace$0();
  90342. t2.expectChar$1(58);
  90343. t1.whitespace$0();
  90344. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  90345. do {
  90346. atRules.add$1(0, t1.identifier$0().toLowerCase());
  90347. t1.whitespace$0();
  90348. } while (t1.lookingAtIdentifier$0());
  90349. t2.expectChar$1(41);
  90350. t2.expectDone$0();
  90351. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  90352. },
  90353. $signature: 358
  90354. };
  90355. A.AtRootQuery0.prototype = {
  90356. excludes$1(node) {
  90357. var t1, _this = this;
  90358. if (_this._at_root_query0$_all)
  90359. return !_this.include;
  90360. $label0$0: {
  90361. if (node instanceof A.ModifiableCssStyleRule0) {
  90362. t1 = _this._at_root_query0$_rule !== _this.include;
  90363. break $label0$0;
  90364. }
  90365. if (node instanceof A.ModifiableCssMediaRule0) {
  90366. t1 = _this.excludesName$1("media");
  90367. break $label0$0;
  90368. }
  90369. if (node instanceof A.ModifiableCssSupportsRule0) {
  90370. t1 = _this.excludesName$1("supports");
  90371. break $label0$0;
  90372. }
  90373. if (node instanceof A.ModifiableCssAtRule0) {
  90374. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  90375. break $label0$0;
  90376. }
  90377. t1 = false;
  90378. break $label0$0;
  90379. }
  90380. return t1;
  90381. },
  90382. excludesName$1($name) {
  90383. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  90384. return t1 !== this.include;
  90385. }
  90386. };
  90387. A.AtRootRule0.prototype = {
  90388. accept$1$1(visitor) {
  90389. return visitor.visitAtRootRule$1(0, this);
  90390. },
  90391. accept$1(visitor) {
  90392. return this.accept$1$1(visitor, type$.dynamic);
  90393. },
  90394. toString$0(_) {
  90395. var buffer = new A.StringBuffer("@at-root "),
  90396. t1 = this.query;
  90397. if (t1 != null)
  90398. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  90399. t1 = this.children;
  90400. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  90401. },
  90402. get$span(receiver) {
  90403. return this.span;
  90404. }
  90405. };
  90406. A.ModifiableCssAtRule0.prototype = {
  90407. accept$1$1(visitor) {
  90408. return visitor.visitCssAtRule$1(this);
  90409. },
  90410. accept$1(visitor) {
  90411. return this.accept$1$1(visitor, type$.dynamic);
  90412. },
  90413. equalsIgnoringChildren$1(other) {
  90414. var t1, t2;
  90415. if (other instanceof A.ModifiableCssAtRule0) {
  90416. t1 = this.name;
  90417. t2 = other.name;
  90418. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  90419. } else
  90420. t1 = false;
  90421. return t1;
  90422. },
  90423. copyWithoutChildren$0() {
  90424. var _this = this;
  90425. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  90426. },
  90427. addChild$1(child) {
  90428. this.super$ModifiableCssParentNode$addChild0(child);
  90429. },
  90430. get$isChildless() {
  90431. return this.isChildless;
  90432. },
  90433. get$span(receiver) {
  90434. return this.span;
  90435. }
  90436. };
  90437. A.AtRule0.prototype = {
  90438. accept$1$1(visitor) {
  90439. return visitor.visitAtRule$1(0, this);
  90440. },
  90441. accept$1(visitor) {
  90442. return this.accept$1$1(visitor, type$.dynamic);
  90443. },
  90444. toString$0(_) {
  90445. var children,
  90446. t1 = "@" + this.name.toString$0(0),
  90447. buffer = new A.StringBuffer(t1),
  90448. t2 = this.value;
  90449. if (t2 != null)
  90450. buffer._contents = t1 + (" " + t2.toString$0(0));
  90451. children = this.children;
  90452. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  90453. },
  90454. get$span(receiver) {
  90455. return this.span;
  90456. }
  90457. };
  90458. A.AttributeSelector0.prototype = {
  90459. accept$1$1(visitor) {
  90460. return visitor.visitAttributeSelector$1(this);
  90461. },
  90462. accept$1(visitor) {
  90463. return this.accept$1$1(visitor, type$.dynamic);
  90464. },
  90465. $eq(_, other) {
  90466. var _this = this;
  90467. if (other == null)
  90468. return false;
  90469. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  90470. },
  90471. get$hashCode(_) {
  90472. var _this = this,
  90473. t1 = _this.name;
  90474. 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;
  90475. }
  90476. };
  90477. A.AttributeOperator0.prototype = {
  90478. _enumToString$0() {
  90479. return "AttributeOperator." + this._name;
  90480. },
  90481. toString$0(_) {
  90482. return this._attribute0$_text;
  90483. }
  90484. };
  90485. A.BinaryOperationExpression0.prototype = {
  90486. get$span(_) {
  90487. var right,
  90488. left = this.left;
  90489. for (; left instanceof A.BinaryOperationExpression0;)
  90490. left = left.left;
  90491. right = this.right;
  90492. for (; right instanceof A.BinaryOperationExpression0;)
  90493. right = right.right;
  90494. return left.get$span(left).expand$1(0, right.get$span(right));
  90495. },
  90496. get$operatorSpan() {
  90497. var t3, t4,
  90498. t1 = this.left,
  90499. t2 = t1.get$span(t1);
  90500. t2 = t2.get$file(t2);
  90501. t3 = this.right;
  90502. t4 = t3.get$span(t3);
  90503. if (t2 === t4.get$file(t4)) {
  90504. t2 = t1.get$span(t1);
  90505. t2 = t2.get$end(t2);
  90506. t4 = t3.get$span(t3);
  90507. t4 = t2.offset < t4.get$start(t4).offset;
  90508. t2 = t4;
  90509. } else
  90510. t2 = false;
  90511. if (t2) {
  90512. t2 = t1.get$span(t1);
  90513. t2 = t2.get$file(t2);
  90514. t1 = t1.get$span(t1);
  90515. t1 = t1.get$end(t1);
  90516. t3 = t3.get$span(t3);
  90517. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  90518. t1 = t3;
  90519. } else
  90520. t1 = this.get$span(0);
  90521. return t1;
  90522. },
  90523. accept$1$1(visitor) {
  90524. return visitor.visitBinaryOperationExpression$1(0, this);
  90525. },
  90526. accept$1(visitor) {
  90527. return this.accept$1$1(visitor, type$.dynamic);
  90528. },
  90529. toString$0(_) {
  90530. var t1, t2, right, t3, operator, _this = this,
  90531. _0_0 = _this.left;
  90532. $label0$0: {
  90533. if (_0_0 instanceof A.BinaryOperationExpression0) {
  90534. t1 = _0_0.operator.precedence < _this.operator.precedence;
  90535. break $label0$0;
  90536. }
  90537. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  90538. t1 = true;
  90539. break $label0$0;
  90540. }
  90541. t1 = false;
  90542. break $label0$0;
  90543. }
  90544. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  90545. t2 += _0_0.toString$0(0);
  90546. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  90547. t2 = _this.operator;
  90548. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  90549. right = _this.right;
  90550. $label1$1: {
  90551. t3 = false;
  90552. if (right instanceof A.BinaryOperationExpression0) {
  90553. operator = right.operator;
  90554. if (operator.precedence <= t2.precedence) {
  90555. t3 = !(operator === t2 && operator.isAssociative);
  90556. t2 = t3;
  90557. } else
  90558. t2 = t3;
  90559. break $label1$1;
  90560. }
  90561. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  90562. t2 = true;
  90563. break $label1$1;
  90564. }
  90565. t2 = t3;
  90566. break $label1$1;
  90567. }
  90568. if (t2)
  90569. t1 += A.Primitives_stringFromCharCode(40);
  90570. t1 += right.toString$0(0);
  90571. if (t2)
  90572. t1 += A.Primitives_stringFromCharCode(41);
  90573. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90574. }
  90575. };
  90576. A.BinaryOperator0.prototype = {
  90577. _enumToString$0() {
  90578. return "BinaryOperator." + this._name;
  90579. },
  90580. toString$0(_) {
  90581. return this.name;
  90582. }
  90583. };
  90584. A.BooleanExpression0.prototype = {
  90585. accept$1$1(visitor) {
  90586. return visitor.visitBooleanExpression$1(0, this);
  90587. },
  90588. accept$1(visitor) {
  90589. return this.accept$1$1(visitor, type$.dynamic);
  90590. },
  90591. toString$0(_) {
  90592. return String(this.value);
  90593. },
  90594. get$span(receiver) {
  90595. return this.span;
  90596. }
  90597. };
  90598. A.booleanClass_closure.prototype = {
  90599. call$0() {
  90600. var t1 = type$.JSClass,
  90601. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  90602. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90603. return jsClass;
  90604. },
  90605. $signature: 15
  90606. };
  90607. A.booleanClass__closure.prototype = {
  90608. call$2($self, _) {
  90609. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  90610. },
  90611. call$1($self) {
  90612. return this.call$2($self, null);
  90613. },
  90614. "call*": "call$2",
  90615. $requiredArgCount: 1,
  90616. $defaultValues() {
  90617. return [null];
  90618. },
  90619. $signature: 214
  90620. };
  90621. A.legacyBooleanClass_closure.prototype = {
  90622. call$0() {
  90623. var t1 = type$.JSClass,
  90624. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  90625. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  90626. jsClass.TRUE = B.SassBoolean_true0;
  90627. jsClass.FALSE = B.SassBoolean_false0;
  90628. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90629. return jsClass;
  90630. },
  90631. $signature: 15
  90632. };
  90633. A.legacyBooleanClass__closure.prototype = {
  90634. call$2(_, __) {
  90635. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  90636. },
  90637. call$1(_) {
  90638. return this.call$2(_, null);
  90639. },
  90640. "call*": "call$2",
  90641. $requiredArgCount: 1,
  90642. $defaultValues() {
  90643. return [null];
  90644. },
  90645. $signature: 213
  90646. };
  90647. A.legacyBooleanClass__closure0.prototype = {
  90648. call$1($self) {
  90649. return $self === B.SassBoolean_true0;
  90650. },
  90651. $signature: 65
  90652. };
  90653. A.SassBoolean0.prototype = {
  90654. get$isTruthy() {
  90655. return this.value;
  90656. },
  90657. accept$1$1(visitor) {
  90658. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  90659. },
  90660. accept$1(visitor) {
  90661. return this.accept$1$1(visitor, type$.dynamic);
  90662. },
  90663. assertBoolean$1($name) {
  90664. return this;
  90665. },
  90666. unaryNot$0() {
  90667. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  90668. }
  90669. };
  90670. A.Box0.prototype = {
  90671. $eq(_, other) {
  90672. if (other == null)
  90673. return false;
  90674. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  90675. },
  90676. get$hashCode(_) {
  90677. return A.Primitives_objectHashCode(this._box0$_inner);
  90678. }
  90679. };
  90680. A.ModifiableBox0.prototype = {};
  90681. A.BuiltInCallable0.prototype = {
  90682. callbackFor$2(positional, names) {
  90683. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  90684. 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) {
  90685. overload = t1[_i];
  90686. t3 = overload._0;
  90687. if (t3.matches$2(positional, names))
  90688. return overload;
  90689. mismatchDistance = t3.$arguments.length - positional;
  90690. if (minMismatchDistance != null) {
  90691. t3 = Math.abs(mismatchDistance);
  90692. t4 = Math.abs(minMismatchDistance);
  90693. if (t3 > t4)
  90694. continue;
  90695. if (t3 === t4 && mismatchDistance < 0)
  90696. continue;
  90697. }
  90698. minMismatchDistance = mismatchDistance;
  90699. fuzzyMatch = overload;
  90700. }
  90701. if (fuzzyMatch != null)
  90702. return fuzzyMatch;
  90703. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  90704. },
  90705. withName$1($name) {
  90706. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  90707. },
  90708. $isAsyncCallable0: 1,
  90709. $isAsyncBuiltInCallable0: 1,
  90710. $isCallable: 1,
  90711. get$name(receiver) {
  90712. return this.name;
  90713. },
  90714. get$acceptsContent() {
  90715. return this.acceptsContent;
  90716. }
  90717. };
  90718. A.BuiltInCallable$mixin_closure0.prototype = {
  90719. call$1($arguments) {
  90720. this.callback.call$1($arguments);
  90721. return B.C__SassNull0;
  90722. },
  90723. $signature: 3
  90724. };
  90725. A.BuiltInModule0.prototype = {
  90726. get$upstream() {
  90727. return B.List_empty18;
  90728. },
  90729. get$variableNodes() {
  90730. return B.Map_empty12;
  90731. },
  90732. get$extensionStore() {
  90733. return B.C_EmptyExtensionStore0;
  90734. },
  90735. get$css(_) {
  90736. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  90737. },
  90738. get$preModuleComments() {
  90739. return B.Map_empty11;
  90740. },
  90741. get$transitivelyContainsCss() {
  90742. return false;
  90743. },
  90744. get$transitivelyContainsExtensions() {
  90745. return false;
  90746. },
  90747. setVariable$3($name, value, nodeWithSpan) {
  90748. if (!this.variables.containsKey$1($name))
  90749. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  90750. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  90751. },
  90752. variableIdentity$1($name) {
  90753. return this;
  90754. },
  90755. cloneCss$0() {
  90756. return this;
  90757. },
  90758. $isModule1: 1,
  90759. get$url(receiver) {
  90760. return this.url;
  90761. },
  90762. get$functions(receiver) {
  90763. return this.functions;
  90764. },
  90765. get$mixins() {
  90766. return this.mixins;
  90767. },
  90768. get$variables() {
  90769. return this.variables;
  90770. }
  90771. };
  90772. A.calculationClass_closure.prototype = {
  90773. call$0() {
  90774. var t1 = type$.JSClass,
  90775. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  90776. t2 = type$.String,
  90777. t3 = type$.Function;
  90778. 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));
  90779. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90780. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90781. 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);
  90782. return jsClass;
  90783. },
  90784. $signature: 15
  90785. };
  90786. A.calculationClass__closure.prototype = {
  90787. call$2($self, _) {
  90788. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  90789. },
  90790. call$1($self) {
  90791. return this.call$2($self, null);
  90792. },
  90793. "call*": "call$2",
  90794. $requiredArgCount: 1,
  90795. $defaultValues() {
  90796. return [null];
  90797. },
  90798. $signature: 214
  90799. };
  90800. A.calculationClass__closure0.prototype = {
  90801. call$1(argument) {
  90802. A._assertCalculationValue(argument);
  90803. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  90804. },
  90805. $signature: 112
  90806. };
  90807. A.calculationClass__closure1.prototype = {
  90808. call$1($arguments) {
  90809. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90810. t2 = type$.Object,
  90811. argList = J.cast$1$0$ax(t1, t2);
  90812. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90813. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  90814. },
  90815. $signature: 112
  90816. };
  90817. A.calculationClass__closure2.prototype = {
  90818. call$1($arguments) {
  90819. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90820. t2 = type$.Object,
  90821. argList = J.cast$1$0$ax(t1, t2);
  90822. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90823. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  90824. },
  90825. $signature: 112
  90826. };
  90827. A.calculationClass__closure3.prototype = {
  90828. call$3(min, value, max) {
  90829. var t1;
  90830. if (!(value == null && !A._isValidClampArg(min)))
  90831. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  90832. else
  90833. t1 = true;
  90834. if (t1)
  90835. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + new A.NonNullsIterable([min, value, max], type$.NonNullsIterable_Object).toString$0(0) + "`"));
  90836. t1 = type$.NonNullsIterable_Object;
  90837. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  90838. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  90839. },
  90840. call$1(min) {
  90841. return this.call$3(min, null, null);
  90842. },
  90843. call$2(min, value) {
  90844. return this.call$3(min, value, null);
  90845. },
  90846. "call*": "call$3",
  90847. $requiredArgCount: 1,
  90848. $defaultValues() {
  90849. return [null, null];
  90850. },
  90851. $signature: 363
  90852. };
  90853. A.calculationClass__closure4.prototype = {
  90854. call$2($self, $name) {
  90855. return $self;
  90856. },
  90857. call$1($self) {
  90858. return this.call$2($self, null);
  90859. },
  90860. "call*": "call$2",
  90861. $requiredArgCount: 1,
  90862. $defaultValues() {
  90863. return [null];
  90864. },
  90865. $signature: 364
  90866. };
  90867. A.calculationClass__closure5.prototype = {
  90868. call$1($self) {
  90869. return new self.immutable.List($self.$arguments);
  90870. },
  90871. $signature: 365
  90872. };
  90873. A.calculationOperationClass_closure.prototype = {
  90874. call$0() {
  90875. var t1 = type$.JSClass,
  90876. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  90877. t2 = type$.String,
  90878. t3 = type$.Function;
  90879. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90880. 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));
  90881. A.JSClassExtension_injectSuperclass(t1._as(A.SassCalculation_operateInternal0(B.CalculationOperator_g2q0, A.SassNumber_SassNumber0(1, null), A.SassNumber_SassNumber0(1, null), false, false).constructor), jsClass);
  90882. return jsClass;
  90883. },
  90884. $signature: 15
  90885. };
  90886. A.calculationOperationClass__closure.prototype = {
  90887. call$4($self, strOperator, left, right) {
  90888. var operator = A.IterableExtension_firstWhereOrNull(B.List_kUZ, new A.calculationOperationClass___closure(strOperator));
  90889. if (operator == null)
  90890. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  90891. A._assertCalculationValue(left);
  90892. A._assertCalculationValue(right);
  90893. return A.SassCalculation_operateInternal0(operator, left, right, false, false);
  90894. },
  90895. "call*": "call$4",
  90896. $requiredArgCount: 4,
  90897. $signature: 366
  90898. };
  90899. A.calculationOperationClass___closure.prototype = {
  90900. call$1(value) {
  90901. return value.operator === this.strOperator;
  90902. },
  90903. $signature: 367
  90904. };
  90905. A.calculationOperationClass__closure0.prototype = {
  90906. call$2($self, other) {
  90907. return $self.$eq(0, other);
  90908. },
  90909. $signature: 368
  90910. };
  90911. A.calculationOperationClass__closure1.prototype = {
  90912. call$1($self) {
  90913. return $self.get$hashCode(0);
  90914. },
  90915. $signature: 369
  90916. };
  90917. A.calculationOperationClass__closure2.prototype = {
  90918. call$1($self) {
  90919. return $self._calculation0$_operator.operator;
  90920. },
  90921. $signature: 370
  90922. };
  90923. A.calculationOperationClass__closure3.prototype = {
  90924. call$1($self) {
  90925. return $self._calculation0$_left;
  90926. },
  90927. $signature: 210
  90928. };
  90929. A.calculationOperationClass__closure4.prototype = {
  90930. call$1($self) {
  90931. return $self._calculation0$_right;
  90932. },
  90933. $signature: 210
  90934. };
  90935. A.calculationInterpolationClass_closure.prototype = {
  90936. call$0() {
  90937. var t1 = type$.JSClass,
  90938. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  90939. t2 = type$.String,
  90940. t3 = type$.Function;
  90941. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90942. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90943. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  90944. return jsClass;
  90945. },
  90946. $signature: 15
  90947. };
  90948. A.calculationInterpolationClass__closure.prototype = {
  90949. call$2($self, value) {
  90950. return new A.CalculationInterpolation(value);
  90951. },
  90952. $signature: 372
  90953. };
  90954. A.calculationInterpolationClass__closure0.prototype = {
  90955. call$2($self, other) {
  90956. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  90957. },
  90958. $signature: 373
  90959. };
  90960. A.calculationInterpolationClass__closure1.prototype = {
  90961. call$1($self) {
  90962. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  90963. },
  90964. $signature: 374
  90965. };
  90966. A.calculationInterpolationClass__closure2.prototype = {
  90967. call$1($self) {
  90968. return $self._calculation0$_value;
  90969. },
  90970. $signature: 375
  90971. };
  90972. A.SassCalculation0.prototype = {
  90973. get$isSpecialNumber() {
  90974. return true;
  90975. },
  90976. accept$1$1(visitor) {
  90977. return visitor.visitCalculation$1(this);
  90978. },
  90979. accept$1(visitor) {
  90980. return this.accept$1$1(visitor, type$.dynamic);
  90981. },
  90982. assertCalculation$1($name) {
  90983. return this;
  90984. },
  90985. plus$1(other) {
  90986. if (other instanceof A.SassString0)
  90987. return this.super$Value$plus0(other);
  90988. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  90989. },
  90990. minus$1(other) {
  90991. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  90992. },
  90993. unaryPlus$0() {
  90994. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  90995. },
  90996. unaryMinus$0() {
  90997. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  90998. },
  90999. $eq(_, other) {
  91000. if (other == null)
  91001. return false;
  91002. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  91003. },
  91004. get$hashCode(_) {
  91005. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  91006. }
  91007. };
  91008. A.SassCalculation__verifyLength_closure0.prototype = {
  91009. call$1(arg) {
  91010. return arg instanceof A.SassString0;
  91011. },
  91012. $signature: 65
  91013. };
  91014. A.CalculationOperation0.prototype = {
  91015. $eq(_, other) {
  91016. if (other == null)
  91017. return false;
  91018. 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);
  91019. },
  91020. get$hashCode(_) {
  91021. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  91022. },
  91023. toString$0(_) {
  91024. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  91025. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  91026. }
  91027. };
  91028. A.CalculationOperator0.prototype = {
  91029. _enumToString$0() {
  91030. return "CalculationOperator." + this._name;
  91031. },
  91032. toString$0(_) {
  91033. return this.name;
  91034. }
  91035. };
  91036. A.CalculationInterpolation.prototype = {
  91037. $eq(_, other) {
  91038. if (other == null)
  91039. return false;
  91040. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  91041. },
  91042. get$hashCode(_) {
  91043. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  91044. },
  91045. toString$0(_) {
  91046. return this._calculation0$_value;
  91047. }
  91048. };
  91049. A.CallableDeclaration0.prototype = {
  91050. get$span(receiver) {
  91051. return this.span;
  91052. }
  91053. };
  91054. A.updateCanonicalizeContextPrototype_closure.prototype = {
  91055. call$1($self) {
  91056. return $self._canonicalize_context$_fromImport;
  91057. },
  91058. $signature: 376
  91059. };
  91060. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  91061. call$1($self) {
  91062. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  91063. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils1__dartToJSUrl$closure());
  91064. },
  91065. $signature: 377
  91066. };
  91067. A.CanonicalizeContext0.prototype = {
  91068. withFromImport$1$2(fromImport, callback) {
  91069. var t1,
  91070. oldFromImport = this._canonicalize_context$_fromImport;
  91071. this._canonicalize_context$_fromImport = true;
  91072. try {
  91073. t1 = callback.call$0();
  91074. return t1;
  91075. } finally {
  91076. this._canonicalize_context$_fromImport = oldFromImport;
  91077. }
  91078. },
  91079. withFromImport$2(fromImport, callback) {
  91080. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  91081. }
  91082. };
  91083. A.Chokidar0.prototype = {};
  91084. A.ChokidarOptions0.prototype = {};
  91085. A.ChokidarWatcher0.prototype = {};
  91086. A.ClassSelector0.prototype = {
  91087. $eq(_, other) {
  91088. if (other == null)
  91089. return false;
  91090. return other instanceof A.ClassSelector0 && other.name === this.name;
  91091. },
  91092. accept$1$1(visitor) {
  91093. return visitor.visitClassSelector$1(this);
  91094. },
  91095. accept$1(visitor) {
  91096. return this.accept$1$1(visitor, type$.dynamic);
  91097. },
  91098. addSuffix$1(suffix) {
  91099. return new A.ClassSelector0(this.name + suffix, this.span);
  91100. },
  91101. get$hashCode(_) {
  91102. return B.JSString_methods.get$hashCode(this.name);
  91103. }
  91104. };
  91105. A._CloneCssVisitor0.prototype = {
  91106. visitCssAtRule$1(node) {
  91107. var t1 = node.isChildless,
  91108. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  91109. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  91110. },
  91111. visitCssComment$1(node) {
  91112. return new A.ModifiableCssComment0(node.text, node.span);
  91113. },
  91114. visitCssDeclaration$1(node) {
  91115. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  91116. },
  91117. visitCssImport$1(node) {
  91118. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  91119. },
  91120. visitCssKeyframeBlock$1(node) {
  91121. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  91122. },
  91123. visitCssMediaRule$1(node) {
  91124. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  91125. },
  91126. visitCssStyleRule$1(node) {
  91127. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  91128. if (_0_0 != null)
  91129. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  91130. else
  91131. throw A.wrapException(A.StateError$(string$.The_Ex));
  91132. },
  91133. visitCssStylesheet$1(node) {
  91134. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  91135. },
  91136. visitCssSupportsRule$1(node) {
  91137. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  91138. },
  91139. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  91140. var t1, t2, newChild;
  91141. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  91142. t2 = t1.get$current(t1);
  91143. newChild = t2.accept$1(this);
  91144. newChild.isGroupEnd = t2.get$isGroupEnd();
  91145. newParent.addChild$1(newChild);
  91146. }
  91147. return newParent;
  91148. },
  91149. _clone_css$_visitChildren$2(newParent, oldParent) {
  91150. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  91151. }
  91152. };
  91153. A.ColorExpression0.prototype = {
  91154. accept$1$1(visitor) {
  91155. return visitor.visitColorExpression$1(0, this);
  91156. },
  91157. accept$1(visitor) {
  91158. return this.accept$1$1(visitor, type$.dynamic);
  91159. },
  91160. toString$0(_) {
  91161. return A.serializeValue0(this.value, true, true);
  91162. },
  91163. get$span(receiver) {
  91164. return this.span;
  91165. }
  91166. };
  91167. A.global_closure32.prototype = {
  91168. call$1($arguments) {
  91169. return A._rgb0("rgb", $arguments);
  91170. },
  91171. $signature: 3
  91172. };
  91173. A.global_closure33.prototype = {
  91174. call$1($arguments) {
  91175. return A._rgb0("rgb", $arguments);
  91176. },
  91177. $signature: 3
  91178. };
  91179. A.global_closure34.prototype = {
  91180. call$1($arguments) {
  91181. return A._rgbTwoArg0("rgb", $arguments);
  91182. },
  91183. $signature: 3
  91184. };
  91185. A.global_closure35.prototype = {
  91186. call$1($arguments) {
  91187. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  91188. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  91189. },
  91190. $signature: 3
  91191. };
  91192. A.global_closure36.prototype = {
  91193. call$1($arguments) {
  91194. return A._rgb0("rgba", $arguments);
  91195. },
  91196. $signature: 3
  91197. };
  91198. A.global_closure37.prototype = {
  91199. call$1($arguments) {
  91200. return A._rgb0("rgba", $arguments);
  91201. },
  91202. $signature: 3
  91203. };
  91204. A.global_closure38.prototype = {
  91205. call$1($arguments) {
  91206. return A._rgbTwoArg0("rgba", $arguments);
  91207. },
  91208. $signature: 3
  91209. };
  91210. A.global_closure39.prototype = {
  91211. call$1($arguments) {
  91212. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  91213. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  91214. },
  91215. $signature: 3
  91216. };
  91217. A.global_closure40.prototype = {
  91218. call$1($arguments) {
  91219. var color, t2,
  91220. t1 = J.getInterceptor$asx($arguments),
  91221. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  91222. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  91223. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  91224. throw A.wrapException(string$.Only_oa);
  91225. return A._functionString0("invert", t1.take$1($arguments, 1));
  91226. }
  91227. color = t1.$index($arguments, 0).assertColor$1("color");
  91228. t1 = color.get$red(0);
  91229. t2 = color.get$green(0);
  91230. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  91231. },
  91232. $signature: 3
  91233. };
  91234. A.global_closure41.prototype = {
  91235. call$1($arguments) {
  91236. return A._hsl0("hsl", $arguments);
  91237. },
  91238. $signature: 3
  91239. };
  91240. A.global_closure42.prototype = {
  91241. call$1($arguments) {
  91242. return A._hsl0("hsl", $arguments);
  91243. },
  91244. $signature: 3
  91245. };
  91246. A.global_closure43.prototype = {
  91247. call$1($arguments) {
  91248. var t1 = J.getInterceptor$asx($arguments);
  91249. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  91250. return A._functionString0("hsl", $arguments);
  91251. else
  91252. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  91253. },
  91254. $signature: 16
  91255. };
  91256. A.global_closure44.prototype = {
  91257. call$1($arguments) {
  91258. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  91259. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  91260. },
  91261. $signature: 3
  91262. };
  91263. A.global_closure45.prototype = {
  91264. call$1($arguments) {
  91265. return A._hsl0("hsla", $arguments);
  91266. },
  91267. $signature: 3
  91268. };
  91269. A.global_closure46.prototype = {
  91270. call$1($arguments) {
  91271. return A._hsl0("hsla", $arguments);
  91272. },
  91273. $signature: 3
  91274. };
  91275. A.global_closure47.prototype = {
  91276. call$1($arguments) {
  91277. var t1 = J.getInterceptor$asx($arguments);
  91278. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  91279. return A._functionString0("hsla", $arguments);
  91280. else
  91281. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  91282. },
  91283. $signature: 16
  91284. };
  91285. A.global_closure48.prototype = {
  91286. call$1($arguments) {
  91287. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  91288. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  91289. },
  91290. $signature: 3
  91291. };
  91292. A.global_closure49.prototype = {
  91293. call$1($arguments) {
  91294. var t1 = J.getInterceptor$asx($arguments);
  91295. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91296. return A._functionString0("grayscale", $arguments);
  91297. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  91298. },
  91299. $signature: 3
  91300. };
  91301. A.global_closure50.prototype = {
  91302. call$1($arguments) {
  91303. var t1 = J.getInterceptor$asx($arguments),
  91304. color = t1.$index($arguments, 0).assertColor$1("color"),
  91305. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  91306. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  91307. },
  91308. $signature: 28
  91309. };
  91310. A.global_closure51.prototype = {
  91311. call$1($arguments) {
  91312. var t1 = J.getInterceptor$asx($arguments),
  91313. color = t1.$index($arguments, 0).assertColor$1("color"),
  91314. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91315. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91316. },
  91317. $signature: 28
  91318. };
  91319. A.global_closure52.prototype = {
  91320. call$1($arguments) {
  91321. var t1 = J.getInterceptor$asx($arguments),
  91322. color = t1.$index($arguments, 0).assertColor$1("color"),
  91323. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91324. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91325. },
  91326. $signature: 28
  91327. };
  91328. A.global_closure53.prototype = {
  91329. call$1($arguments) {
  91330. var t1 = J.getInterceptor$asx($arguments);
  91331. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91332. return A._functionString0("saturate", $arguments);
  91333. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  91334. },
  91335. $signature: 16
  91336. };
  91337. A.global_closure54.prototype = {
  91338. call$1($arguments) {
  91339. var t1 = J.getInterceptor$asx($arguments),
  91340. color = t1.$index($arguments, 0).assertColor$1("color"),
  91341. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91342. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91343. },
  91344. $signature: 28
  91345. };
  91346. A.global_closure55.prototype = {
  91347. call$1($arguments) {
  91348. var t1 = J.getInterceptor$asx($arguments),
  91349. color = t1.$index($arguments, 0).assertColor$1("color"),
  91350. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91351. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91352. },
  91353. $signature: 28
  91354. };
  91355. A.global_closure56.prototype = {
  91356. call$1($arguments) {
  91357. var argument = J.$index$asx($arguments, 0);
  91358. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  91359. return A._functionString0("alpha", $arguments);
  91360. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91361. },
  91362. $signature: 3
  91363. };
  91364. A.global_closure57.prototype = {
  91365. call$1($arguments) {
  91366. var t1,
  91367. argList = J.$index$asx($arguments, 0).get$asList();
  91368. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  91369. return A._functionString0("alpha", $arguments);
  91370. t1 = argList.length;
  91371. if (t1 === 0)
  91372. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  91373. else
  91374. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  91375. },
  91376. $signature: 16
  91377. };
  91378. A.global__closure0.prototype = {
  91379. call$1(argument) {
  91380. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91381. },
  91382. $signature: 48
  91383. };
  91384. A.global_closure58.prototype = {
  91385. call$1($arguments) {
  91386. var t1 = J.getInterceptor$asx($arguments);
  91387. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91388. return A._functionString0("opacity", $arguments);
  91389. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91390. },
  91391. $signature: 3
  91392. };
  91393. A.module_closure12.prototype = {
  91394. call$1($arguments) {
  91395. var result, color, t2,
  91396. t1 = J.getInterceptor$asx($arguments),
  91397. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  91398. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91399. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  91400. throw A.wrapException(string$.Only_oa);
  91401. result = A._functionString0("invert", t1.take$1($arguments, 1));
  91402. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_EfO);
  91403. return result;
  91404. }
  91405. color = t1.$index($arguments, 0).assertColor$1("color");
  91406. t1 = color.get$red(0);
  91407. t2 = color.get$green(0);
  91408. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  91409. },
  91410. $signature: 3
  91411. };
  91412. A.module_closure13.prototype = {
  91413. call$1($arguments) {
  91414. var result,
  91415. t1 = J.getInterceptor$asx($arguments);
  91416. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91417. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  91418. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_EfO);
  91419. return result;
  91420. }
  91421. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  91422. },
  91423. $signature: 3
  91424. };
  91425. A.module_closure14.prototype = {
  91426. call$1($arguments) {
  91427. return A._hwb0($arguments);
  91428. },
  91429. $signature: 3
  91430. };
  91431. A.module_closure15.prototype = {
  91432. call$1($arguments) {
  91433. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  91434. if (parsed instanceof A.SassString0)
  91435. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  91436. else
  91437. return A._hwb0(type$.List_Value_2._as(parsed));
  91438. },
  91439. $signature: 3
  91440. };
  91441. A.module_closure16.prototype = {
  91442. call$1($arguments) {
  91443. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  91444. },
  91445. $signature: 11
  91446. };
  91447. A.module_closure17.prototype = {
  91448. call$1($arguments) {
  91449. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  91450. },
  91451. $signature: 11
  91452. };
  91453. A.module_closure18.prototype = {
  91454. call$1($arguments) {
  91455. var result,
  91456. argument = J.$index$asx($arguments, 0);
  91457. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  91458. result = A._functionString0("alpha", $arguments);
  91459. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_EfO);
  91460. return result;
  91461. }
  91462. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91463. },
  91464. $signature: 3
  91465. };
  91466. A.module_closure19.prototype = {
  91467. call$1($arguments) {
  91468. var result,
  91469. t1 = J.getInterceptor$asx($arguments);
  91470. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  91471. result = A._functionString0("alpha", $arguments);
  91472. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_EfO);
  91473. return result;
  91474. }
  91475. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  91476. },
  91477. $signature: 16
  91478. };
  91479. A.module__closure4.prototype = {
  91480. call$1(argument) {
  91481. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91482. },
  91483. $signature: 48
  91484. };
  91485. A.module_closure20.prototype = {
  91486. call$1($arguments) {
  91487. var result,
  91488. t1 = J.getInterceptor$asx($arguments);
  91489. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91490. result = A._functionString0("opacity", $arguments);
  91491. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0), B.Deprecation_EfO);
  91492. return result;
  91493. }
  91494. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91495. },
  91496. $signature: 3
  91497. };
  91498. A._red_closure0.prototype = {
  91499. call$1($arguments) {
  91500. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  91501. },
  91502. $signature: 11
  91503. };
  91504. A._green_closure0.prototype = {
  91505. call$1($arguments) {
  91506. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  91507. },
  91508. $signature: 11
  91509. };
  91510. A._blue_closure0.prototype = {
  91511. call$1($arguments) {
  91512. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  91513. },
  91514. $signature: 11
  91515. };
  91516. A._mix_closure0.prototype = {
  91517. call$1($arguments) {
  91518. var t1 = J.getInterceptor$asx($arguments);
  91519. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  91520. },
  91521. $signature: 28
  91522. };
  91523. A._hue_closure0.prototype = {
  91524. call$1($arguments) {
  91525. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  91526. },
  91527. $signature: 11
  91528. };
  91529. A._saturation_closure0.prototype = {
  91530. call$1($arguments) {
  91531. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  91532. },
  91533. $signature: 11
  91534. };
  91535. A._lightness_closure0.prototype = {
  91536. call$1($arguments) {
  91537. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  91538. },
  91539. $signature: 11
  91540. };
  91541. A._complement_closure0.prototype = {
  91542. call$1($arguments) {
  91543. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  91544. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  91545. },
  91546. $signature: 28
  91547. };
  91548. A._adjust_closure0.prototype = {
  91549. call$1($arguments) {
  91550. return A._updateComponents0($arguments, true, false, false);
  91551. },
  91552. $signature: 28
  91553. };
  91554. A._scale_closure0.prototype = {
  91555. call$1($arguments) {
  91556. return A._updateComponents0($arguments, false, false, true);
  91557. },
  91558. $signature: 28
  91559. };
  91560. A._change_closure0.prototype = {
  91561. call$1($arguments) {
  91562. return A._updateComponents0($arguments, false, true, false);
  91563. },
  91564. $signature: 28
  91565. };
  91566. A._ieHexStr_closure0.prototype = {
  91567. call$1($arguments) {
  91568. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  91569. t1 = new A._ieHexStr_closure_hexString0();
  91570. 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);
  91571. },
  91572. $signature: 16
  91573. };
  91574. A._ieHexStr_closure_hexString0.prototype = {
  91575. call$1(component) {
  91576. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  91577. },
  91578. $signature: 193
  91579. };
  91580. A._updateComponents_getParam0.prototype = {
  91581. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  91582. var t2, _this = this,
  91583. t1 = _this.keywords.remove$1(0, $name),
  91584. number = t1 == null ? null : t1.assertNumber$1($name);
  91585. if (number == null)
  91586. return null;
  91587. t1 = _this.scale;
  91588. t2 = !t1;
  91589. if (t2 && checkUnitless)
  91590. if (number.get$hasUnits())
  91591. A.warnForDeprecation0("$" + $name + ": Passing a number with unit " + number.get$unitString() + string$.x20is_de + number.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_oCX);
  91592. if (t2 && checkPercent)
  91593. A._checkPercent0(number, $name);
  91594. if (!t2 || assertPercent)
  91595. number.assertUnit$2("%", $name);
  91596. if (t1)
  91597. max = 100;
  91598. if (!t2 || assertPercent)
  91599. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  91600. else {
  91601. t1 = _this.change ? 0 : -max;
  91602. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  91603. }
  91604. return t1;
  91605. },
  91606. call$2($name, max) {
  91607. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  91608. },
  91609. call$3$checkUnitless($name, max, checkUnitless) {
  91610. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  91611. },
  91612. call$3$checkPercent($name, max, checkPercent) {
  91613. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  91614. },
  91615. call$3$assertPercent($name, max, assertPercent) {
  91616. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  91617. },
  91618. $signature: 192
  91619. };
  91620. A._updateComponents_closure1.prototype = {
  91621. call$1(hue) {
  91622. return A._angleValue0(hue, "hue");
  91623. },
  91624. $signature: 98
  91625. };
  91626. A._updateComponents_closure2.prototype = {
  91627. call$1($name) {
  91628. return "$" + $name;
  91629. },
  91630. $signature: 5
  91631. };
  91632. A._updateComponents_updateValue0.prototype = {
  91633. call$3(current, param, max) {
  91634. var t1;
  91635. if (param == null)
  91636. return current;
  91637. if (this.change)
  91638. return param;
  91639. if (this.adjust)
  91640. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  91641. t1 = param > 0 ? max - current : current;
  91642. return current + t1 * (param / 100);
  91643. },
  91644. $signature: 189
  91645. };
  91646. A._updateComponents_updateRgb0.prototype = {
  91647. call$2(current, param) {
  91648. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  91649. },
  91650. $signature: 262
  91651. };
  91652. A._functionString_closure0.prototype = {
  91653. call$1(argument) {
  91654. return A.serializeValue0(argument, false, true);
  91655. },
  91656. $signature: 207
  91657. };
  91658. A._removedColorFunction_closure0.prototype = {
  91659. call$1($arguments) {
  91660. var t1 = this.name,
  91661. t2 = J.getInterceptor$asx($arguments),
  91662. t3 = A.S(t2.$index($arguments, 0)),
  91663. t4 = this.negative ? "-" : "";
  91664. 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));
  91665. },
  91666. $signature: 384
  91667. };
  91668. A._rgb_closure0.prototype = {
  91669. call$1(alpha) {
  91670. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91671. },
  91672. $signature: 98
  91673. };
  91674. A._hsl_closure0.prototype = {
  91675. call$1(alpha) {
  91676. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91677. },
  91678. $signature: 98
  91679. };
  91680. A._hwb_closure0.prototype = {
  91681. call$1(alpha) {
  91682. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91683. },
  91684. $signature: 98
  91685. };
  91686. A._parseChannels_closure0.prototype = {
  91687. call$1(value) {
  91688. return value.get$isVar();
  91689. },
  91690. $signature: 48
  91691. };
  91692. A.colorClass_closure.prototype = {
  91693. call$0() {
  91694. var t1 = type$.JSClass,
  91695. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  91696. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  91697. 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));
  91698. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, 1).constructor), jsClass);
  91699. return jsClass;
  91700. },
  91701. $signature: 15
  91702. };
  91703. A.colorClass__closure.prototype = {
  91704. call$2($self, color) {
  91705. var t2, t3, t4,
  91706. t1 = J.getInterceptor$x(color);
  91707. if (t1.get$red(color) != null) {
  91708. t2 = t1.get$red(color);
  91709. t2.toString;
  91710. t2 = A.fuzzyRound0(t2);
  91711. t3 = t1.get$green(color);
  91712. t3.toString;
  91713. t3 = A.fuzzyRound0(t3);
  91714. t4 = t1.get$blue(color);
  91715. t4.toString;
  91716. t4 = A.fuzzyRound0(t4);
  91717. t1 = t1.get$alpha(color);
  91718. return A.SassColor$rgb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91719. } else if (t1.get$saturation(color) != null) {
  91720. t2 = t1.get$hue(color);
  91721. t2.toString;
  91722. t3 = t1.get$saturation(color);
  91723. t3.toString;
  91724. t4 = t1.get$lightness(color);
  91725. t4.toString;
  91726. t1 = t1.get$alpha(color);
  91727. return A.SassColor$hsl(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91728. } else {
  91729. t2 = t1.get$hue(color);
  91730. t2.toString;
  91731. t3 = t1.get$whiteness(color);
  91732. t3.toString;
  91733. t4 = t1.get$blackness(color);
  91734. t4.toString;
  91735. t1 = t1.get$alpha(color);
  91736. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91737. }
  91738. },
  91739. $signature: 385
  91740. };
  91741. A.colorClass__closure0.prototype = {
  91742. call$2($self, options) {
  91743. var t2, t3, t4,
  91744. t1 = J.getInterceptor$x(options);
  91745. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  91746. t2 = t1.get$hue(options);
  91747. if (t2 == null)
  91748. t2 = $self.get$hue(0);
  91749. t3 = t1.get$whiteness(options);
  91750. if (t3 == null)
  91751. t3 = $self.get$whiteness(0);
  91752. t4 = t1.get$blackness(options);
  91753. if (t4 == null)
  91754. t4 = $self.get$blackness(0);
  91755. t1 = t1.get$alpha(options);
  91756. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  91757. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  91758. t2 = t1.get$hue(options);
  91759. if (t2 == null)
  91760. t2 = $self.get$hue(0);
  91761. t3 = t1.get$saturation(options);
  91762. if (t3 == null)
  91763. t3 = $self.get$saturation(0);
  91764. t4 = t1.get$lightness(options);
  91765. if (t4 == null)
  91766. t4 = $self.get$lightness(0);
  91767. t1 = t1.get$alpha(options);
  91768. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  91769. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  91770. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  91771. if (t2 == null)
  91772. t2 = $self.get$red(0);
  91773. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  91774. if (t3 == null)
  91775. t3 = $self.get$green(0);
  91776. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  91777. if (t4 == null)
  91778. t4 = $self.get$blue(0);
  91779. t1 = t1.get$alpha(options);
  91780. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  91781. } else {
  91782. t1 = t1.get$alpha(options);
  91783. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  91784. }
  91785. },
  91786. $signature: 386
  91787. };
  91788. A.colorClass__closure1.prototype = {
  91789. call$1($self) {
  91790. return $self.get$red(0);
  91791. },
  91792. $signature: 118
  91793. };
  91794. A.colorClass__closure2.prototype = {
  91795. call$1($self) {
  91796. return $self.get$green(0);
  91797. },
  91798. $signature: 118
  91799. };
  91800. A.colorClass__closure3.prototype = {
  91801. call$1($self) {
  91802. return $self.get$blue(0);
  91803. },
  91804. $signature: 118
  91805. };
  91806. A.colorClass__closure4.prototype = {
  91807. call$1($self) {
  91808. return $self.get$hue(0);
  91809. },
  91810. $signature: 60
  91811. };
  91812. A.colorClass__closure5.prototype = {
  91813. call$1($self) {
  91814. return $self.get$saturation(0);
  91815. },
  91816. $signature: 60
  91817. };
  91818. A.colorClass__closure6.prototype = {
  91819. call$1($self) {
  91820. return $self.get$lightness(0);
  91821. },
  91822. $signature: 60
  91823. };
  91824. A.colorClass__closure7.prototype = {
  91825. call$1($self) {
  91826. return $self.get$whiteness(0);
  91827. },
  91828. $signature: 60
  91829. };
  91830. A.colorClass__closure8.prototype = {
  91831. call$1($self) {
  91832. return $self.get$blackness(0);
  91833. },
  91834. $signature: 60
  91835. };
  91836. A.colorClass__closure9.prototype = {
  91837. call$1($self) {
  91838. return $self._color1$_alpha;
  91839. },
  91840. $signature: 60
  91841. };
  91842. A._Channels.prototype = {};
  91843. A._NodeSassColor.prototype = {};
  91844. A.legacyColorClass_closure.prototype = {
  91845. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  91846. var red, t1, t2, t3, t4;
  91847. if (dartValue != null) {
  91848. J.set$dartValue$x(thisArg, dartValue);
  91849. return;
  91850. }
  91851. if (green == null || blue == null) {
  91852. A._asInt(redOrArgb);
  91853. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  91854. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  91855. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  91856. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  91857. } else {
  91858. redOrArgb.toString;
  91859. red = redOrArgb;
  91860. }
  91861. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  91862. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  91863. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  91864. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  91865. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  91866. },
  91867. call$2(thisArg, redOrArgb) {
  91868. var _null = null;
  91869. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  91870. },
  91871. call$3(thisArg, redOrArgb, green) {
  91872. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  91873. },
  91874. call$4(thisArg, redOrArgb, green, blue) {
  91875. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  91876. },
  91877. call$5(thisArg, redOrArgb, green, blue, alpha) {
  91878. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  91879. },
  91880. "call*": "call$6",
  91881. $requiredArgCount: 2,
  91882. $defaultValues() {
  91883. return [null, null, null, null];
  91884. },
  91885. $signature: 389
  91886. };
  91887. A.legacyColorClass_closure0.prototype = {
  91888. call$1(thisArg) {
  91889. return J.get$red$x(J.get$dartValue$x(thisArg));
  91890. },
  91891. $signature: 120
  91892. };
  91893. A.legacyColorClass_closure1.prototype = {
  91894. call$1(thisArg) {
  91895. return J.get$green$x(J.get$dartValue$x(thisArg));
  91896. },
  91897. $signature: 120
  91898. };
  91899. A.legacyColorClass_closure2.prototype = {
  91900. call$1(thisArg) {
  91901. return J.get$blue$x(J.get$dartValue$x(thisArg));
  91902. },
  91903. $signature: 120
  91904. };
  91905. A.legacyColorClass_closure3.prototype = {
  91906. call$1(thisArg) {
  91907. return J.get$dartValue$x(thisArg)._color1$_alpha;
  91908. },
  91909. $signature: 391
  91910. };
  91911. A.legacyColorClass_closure4.prototype = {
  91912. call$2(thisArg, value) {
  91913. var t1 = J.getInterceptor$x(thisArg);
  91914. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91915. },
  91916. $signature: 104
  91917. };
  91918. A.legacyColorClass_closure5.prototype = {
  91919. call$2(thisArg, value) {
  91920. var t1 = J.getInterceptor$x(thisArg);
  91921. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91922. },
  91923. $signature: 104
  91924. };
  91925. A.legacyColorClass_closure6.prototype = {
  91926. call$2(thisArg, value) {
  91927. var t1 = J.getInterceptor$x(thisArg);
  91928. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91929. },
  91930. $signature: 104
  91931. };
  91932. A.legacyColorClass_closure7.prototype = {
  91933. call$2(thisArg, value) {
  91934. var t1 = J.getInterceptor$x(thisArg);
  91935. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  91936. },
  91937. $signature: 104
  91938. };
  91939. A.SassColor0.prototype = {
  91940. get$red(_) {
  91941. var t1;
  91942. if (this._color1$_red == null)
  91943. this._color1$_hslToRgb$0();
  91944. t1 = this._color1$_red;
  91945. t1.toString;
  91946. return t1;
  91947. },
  91948. get$green(_) {
  91949. var t1;
  91950. if (this._color1$_green == null)
  91951. this._color1$_hslToRgb$0();
  91952. t1 = this._color1$_green;
  91953. t1.toString;
  91954. return t1;
  91955. },
  91956. get$blue(_) {
  91957. var t1;
  91958. if (this._color1$_blue == null)
  91959. this._color1$_hslToRgb$0();
  91960. t1 = this._color1$_blue;
  91961. t1.toString;
  91962. return t1;
  91963. },
  91964. get$hue(_) {
  91965. var t1;
  91966. if (this._color1$_hue == null)
  91967. this._color1$_rgbToHsl$0();
  91968. t1 = this._color1$_hue;
  91969. t1.toString;
  91970. return t1;
  91971. },
  91972. get$saturation(_) {
  91973. var t1;
  91974. if (this._color1$_saturation == null)
  91975. this._color1$_rgbToHsl$0();
  91976. t1 = this._color1$_saturation;
  91977. t1.toString;
  91978. return t1;
  91979. },
  91980. get$lightness(_) {
  91981. var t1;
  91982. if (this._color1$_lightness == null)
  91983. this._color1$_rgbToHsl$0();
  91984. t1 = this._color1$_lightness;
  91985. t1.toString;
  91986. return t1;
  91987. },
  91988. get$whiteness(_) {
  91989. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91990. },
  91991. get$blackness(_) {
  91992. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91993. },
  91994. accept$1$1(visitor) {
  91995. return visitor.visitColor$1(this);
  91996. },
  91997. accept$1(visitor) {
  91998. return this.accept$1$1(visitor, type$.dynamic);
  91999. },
  92000. assertColor$1($name) {
  92001. return this;
  92002. },
  92003. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  92004. var _this = this,
  92005. t1 = red == null ? _this.get$red(0) : red,
  92006. t2 = green == null ? _this.get$green(0) : green,
  92007. t3 = blue == null ? _this.get$blue(0) : blue;
  92008. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  92009. },
  92010. changeRgb$3$blue$green$red(blue, green, red) {
  92011. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  92012. },
  92013. changeRgb$1$alpha(alpha) {
  92014. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  92015. },
  92016. changeRgb$1$blue(blue) {
  92017. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  92018. },
  92019. changeRgb$1$green(green) {
  92020. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  92021. },
  92022. changeRgb$1$red(red) {
  92023. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  92024. },
  92025. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  92026. var _this = this,
  92027. t1 = hue == null ? _this.get$hue(0) : hue,
  92028. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  92029. t3 = lightness == null ? _this.get$lightness(0) : lightness;
  92030. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  92031. },
  92032. changeHsl$1$saturation(saturation) {
  92033. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  92034. },
  92035. changeHsl$1$lightness(lightness) {
  92036. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  92037. },
  92038. changeHsl$1$hue(hue) {
  92039. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  92040. },
  92041. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  92042. var t1 = hue == null ? this.get$hue(0) : hue;
  92043. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  92044. },
  92045. changeAlpha$1(alpha) {
  92046. var _this = this;
  92047. 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);
  92048. },
  92049. plus$1(other) {
  92050. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92051. return this.super$Value$plus0(other);
  92052. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  92053. },
  92054. minus$1(other) {
  92055. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92056. return this.super$Value$minus0(other);
  92057. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  92058. },
  92059. dividedBy$1(other) {
  92060. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92061. return this.super$Value$dividedBy0(other);
  92062. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  92063. },
  92064. $eq(_, other) {
  92065. var _this = this;
  92066. if (other == null)
  92067. return false;
  92068. 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;
  92069. },
  92070. get$hashCode(_) {
  92071. var _this = this;
  92072. 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);
  92073. },
  92074. _color1$_rgbToHsl$0() {
  92075. var t2, lightness, _this = this,
  92076. scaledRed = _this.get$red(0) / 255,
  92077. scaledGreen = _this.get$green(0) / 255,
  92078. scaledBlue = _this.get$blue(0) / 255,
  92079. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  92080. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  92081. delta = max - min,
  92082. t1 = max === min;
  92083. if (t1)
  92084. _this._color1$_hue = 0;
  92085. else if (max === scaledRed)
  92086. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  92087. else if (max === scaledGreen)
  92088. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  92089. else if (max === scaledBlue)
  92090. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  92091. t2 = max + min;
  92092. lightness = 50 * t2;
  92093. _this._color1$_lightness = lightness;
  92094. if (t1)
  92095. _this._color1$_saturation = 0;
  92096. else {
  92097. t1 = 100 * delta;
  92098. if (lightness < 50)
  92099. _this._color1$_saturation = t1 / t2;
  92100. else
  92101. _this._color1$_saturation = t1 / (2 - max - min);
  92102. }
  92103. },
  92104. _color1$_hslToRgb$0() {
  92105. var _this = this,
  92106. scaledHue = _this.get$hue(0) / 360,
  92107. scaledSaturation = _this.get$saturation(0) / 100,
  92108. scaledLightness = _this.get$lightness(0) / 100,
  92109. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  92110. m1 = scaledLightness * 2 - m2;
  92111. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  92112. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  92113. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  92114. }
  92115. };
  92116. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  92117. call$1(hue) {
  92118. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  92119. },
  92120. $signature: 160
  92121. };
  92122. A._ColorFormatEnum0.prototype = {
  92123. toString$0(_) {
  92124. return this._color1$_name;
  92125. }
  92126. };
  92127. A.SpanColorFormat0.prototype = {};
  92128. A.Combinator0.prototype = {
  92129. _enumToString$0() {
  92130. return "Combinator." + this._name;
  92131. },
  92132. toString$0(_) {
  92133. return this._combinator0$_text;
  92134. }
  92135. };
  92136. A.ModifiableCssComment0.prototype = {
  92137. accept$1$1(visitor) {
  92138. return visitor.visitCssComment$1(this);
  92139. },
  92140. accept$1(visitor) {
  92141. return this.accept$1$1(visitor, type$.dynamic);
  92142. },
  92143. $isCssComment0: 1,
  92144. get$span(receiver) {
  92145. return this.span;
  92146. }
  92147. };
  92148. A.compileAsync_closure.prototype = {
  92149. call$0() {
  92150. var $async$goto = 0,
  92151. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  92152. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4;
  92153. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92154. if ($async$errorCode === 1)
  92155. return A._asyncRethrow($async$result, $async$completer);
  92156. while (true)
  92157. switch ($async$goto) {
  92158. case 0:
  92159. // Function start
  92160. t1 = $async$self.options;
  92161. t2 = t1 == null;
  92162. t3 = t2 ? null : J.get$loadPaths$x(t1);
  92163. t4 = t2 ? null : J.get$quietDeps$x(t1);
  92164. if (t4 == null)
  92165. t4 = false;
  92166. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  92167. t6 = t2 ? null : J.get$verbose$x(t1);
  92168. if (t6 == null)
  92169. t6 = false;
  92170. t7 = t2 ? null : J.get$charset$x(t1);
  92171. if (t7 == null)
  92172. t7 = true;
  92173. t8 = t2 ? null : J.get$sourceMap$x(t1);
  92174. if (t8 == null)
  92175. t8 = false;
  92176. t9 = $async$self.logger;
  92177. if (t2)
  92178. t10 = null;
  92179. else {
  92180. t10 = J.get$importers$x(t1);
  92181. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  92182. }
  92183. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  92184. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  92185. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  92186. t14 = A.parseDeprecations(t9, t2 ? null : J.get$futureDeprecations$x(t1), false);
  92187. $async$goto = 3;
  92188. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t12, t11, t14, A.AsyncImportCache$(t10, t3, A.AsyncImportCache_wrapLogger0(t9, t13, t12, t14, $async$self.color), null), null, null, t9, null, t4, t13, t8, t5, null, true, t6), $async$call$0);
  92189. case 3:
  92190. // returning from await.
  92191. result = $async$result;
  92192. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  92193. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  92194. // goto return
  92195. $async$goto = 1;
  92196. break;
  92197. case 1:
  92198. // return
  92199. return A._asyncReturn($async$returnValue, $async$completer);
  92200. }
  92201. });
  92202. return A._asyncStartSync($async$call$0, $async$completer);
  92203. },
  92204. $signature: 206
  92205. };
  92206. A.compileAsync__closure.prototype = {
  92207. call$1(importer) {
  92208. return A._parseAsyncImporter(importer);
  92209. },
  92210. $signature: 201
  92211. };
  92212. A.compileStringAsync_closure.prototype = {
  92213. call$0() {
  92214. var $async$goto = 0,
  92215. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  92216. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, result, t1, t2, t3, t4, t5, t6;
  92217. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92218. if ($async$errorCode === 1)
  92219. return A._asyncRethrow($async$result, $async$completer);
  92220. while (true)
  92221. switch ($async$goto) {
  92222. case 0:
  92223. // Function start
  92224. t1 = $async$self.options;
  92225. t2 = t1 == null;
  92226. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  92227. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  92228. t5 = t2 ? null : J.get$loadPaths$x(t1);
  92229. t6 = t2 ? null : J.get$quietDeps$x(t1);
  92230. if (t6 == null)
  92231. t6 = false;
  92232. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  92233. t8 = t2 ? null : J.get$verbose$x(t1);
  92234. if (t8 == null)
  92235. t8 = false;
  92236. t9 = t2 ? null : J.get$charset$x(t1);
  92237. if (t9 == null)
  92238. t9 = true;
  92239. t10 = t2 ? null : J.get$sourceMap$x(t1);
  92240. if (t10 == null)
  92241. t10 = false;
  92242. t11 = $async$self.logger;
  92243. if (t2)
  92244. t12 = null;
  92245. else {
  92246. t12 = J.get$importers$x(t1);
  92247. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  92248. }
  92249. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  92250. if (t13 == null)
  92251. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  92252. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  92253. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  92254. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  92255. t17 = A.parseDeprecations(t11, t2 ? null : J.get$futureDeprecations$x(t1), false);
  92256. $async$goto = 3;
  92257. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t15, t14, t17, A.AsyncImportCache$(t12, t5, A.AsyncImportCache_wrapLogger0(t11, t16, t15, t17, $async$self.color), null), t13, null, null, t11, null, t6, t16, t10, t7, t3, t4, true, t8), $async$call$0);
  92258. case 3:
  92259. // returning from await.
  92260. result = $async$result;
  92261. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  92262. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  92263. // goto return
  92264. $async$goto = 1;
  92265. break;
  92266. case 1:
  92267. // return
  92268. return A._asyncReturn($async$returnValue, $async$completer);
  92269. }
  92270. });
  92271. return A._asyncStartSync($async$call$0, $async$completer);
  92272. },
  92273. $signature: 206
  92274. };
  92275. A.compileStringAsync__closure.prototype = {
  92276. call$1(importer) {
  92277. return A._parseAsyncImporter(importer);
  92278. },
  92279. $signature: 201
  92280. };
  92281. A.compileStringAsync__closure0.prototype = {
  92282. call$1(importer) {
  92283. return A._parseAsyncImporter(importer);
  92284. },
  92285. $signature: 395
  92286. };
  92287. A._wrapAsyncSassExceptions_closure.prototype = {
  92288. call$1(error) {
  92289. var t1;
  92290. if (error instanceof A.SassException0)
  92291. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  92292. else
  92293. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  92294. return t1;
  92295. },
  92296. $signature: 396
  92297. };
  92298. A._parseFunctions_closure0.prototype = {
  92299. call$2(signature, callback) {
  92300. var callable,
  92301. t1 = this.result;
  92302. if (!this.asynch) {
  92303. callable = A._Cell$();
  92304. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  92305. t1.push(callable._readLocal$0());
  92306. } else {
  92307. callable = A._Cell$();
  92308. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  92309. t1.push(callable._readLocal$0());
  92310. }
  92311. },
  92312. $signature: 122
  92313. };
  92314. A._parseFunctions__closure2.prototype = {
  92315. call$1($arguments) {
  92316. var t1, t2,
  92317. _s42_ = string$.Invali,
  92318. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  92319. if (result instanceof A.Value0)
  92320. return A._simplifyValue(result);
  92321. t1 = result != null && result instanceof self.Promise;
  92322. t2 = this.callable;
  92323. if (t1)
  92324. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  92325. else
  92326. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  92327. },
  92328. $signature: 3
  92329. };
  92330. A._parseFunctions___closure6.prototype = {
  92331. call$0() {
  92332. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  92333. },
  92334. $signature: 61
  92335. };
  92336. A._parseFunctions__closure3.prototype = {
  92337. call$1($arguments) {
  92338. return this.$call$body$_parseFunctions__closure0($arguments);
  92339. },
  92340. $call$body$_parseFunctions__closure0($arguments) {
  92341. var $async$goto = 0,
  92342. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  92343. $async$returnValue, $async$self = this, result;
  92344. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92345. if ($async$errorCode === 1)
  92346. return A._asyncRethrow($async$result, $async$completer);
  92347. while (true)
  92348. switch ($async$goto) {
  92349. case 0:
  92350. // Function start
  92351. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  92352. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  92353. break;
  92354. case 3:
  92355. // then
  92356. $async$goto = 5;
  92357. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  92358. case 5:
  92359. // returning from await.
  92360. result = $async$result;
  92361. case 4:
  92362. // join
  92363. if (result instanceof A.Value0) {
  92364. $async$returnValue = A._simplifyValue(result);
  92365. // goto return
  92366. $async$goto = 1;
  92367. break;
  92368. }
  92369. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  92370. case 1:
  92371. // return
  92372. return A._asyncReturn($async$returnValue, $async$completer);
  92373. }
  92374. });
  92375. return A._asyncStartSync($async$call$1, $async$completer);
  92376. },
  92377. $signature: 86
  92378. };
  92379. A._parseFunctions___closure5.prototype = {
  92380. call$0() {
  92381. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  92382. },
  92383. $signature: 61
  92384. };
  92385. A.nodePackageImporterClass_closure.prototype = {
  92386. call$0() {
  92387. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  92388. },
  92389. $signature: 15
  92390. };
  92391. A.nodePackageImporterClass__closure.prototype = {
  92392. call$2($self, entrypointDirectory) {
  92393. var directory, t1, filename, t2, _null = null,
  92394. _0_3 = A.entrypointFilename();
  92395. $label0$0: {
  92396. if (entrypointDirectory != null) {
  92397. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  92398. t1 = directory;
  92399. break $label0$0;
  92400. }
  92401. if (_0_3 != null) {
  92402. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  92403. t1 = $.$get$context().dirname$1(filename);
  92404. break $label0$0;
  92405. }
  92406. 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`.");
  92407. }
  92408. t2 = new A.NodePackageImporter0();
  92409. if (A.isBrowser())
  92410. A.throwExpression(string$.The_No);
  92411. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  92412. return t2;
  92413. },
  92414. call$1($self) {
  92415. return this.call$2($self, null);
  92416. },
  92417. "call*": "call$2",
  92418. $requiredArgCount: 1,
  92419. $defaultValues() {
  92420. return [null];
  92421. },
  92422. $signature: 398
  92423. };
  92424. A._compileStylesheet_closure1.prototype = {
  92425. call$1(url) {
  92426. 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);
  92427. },
  92428. $signature: 5
  92429. };
  92430. A.CompileOptions.prototype = {};
  92431. A.CompileStringOptions.prototype = {};
  92432. A.NodeCompileResult.prototype = {};
  92433. A.CompileResult0.prototype = {};
  92434. A.Compiler.prototype = {};
  92435. A.AsyncCompiler.prototype = {
  92436. addCompilation$1(compilation) {
  92437. this.compilations.add$1(0, A.promiseToFuture0(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  92438. }
  92439. };
  92440. A.AsyncCompiler_addCompilation_closure.prototype = {
  92441. call$1(err) {
  92442. },
  92443. $signature: 62
  92444. };
  92445. A.compilerClass_closure.prototype = {
  92446. call$0() {
  92447. var t1 = type$.JSClass,
  92448. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  92449. 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));
  92450. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  92451. return jsClass;
  92452. },
  92453. $signature: 15
  92454. };
  92455. A.compilerClass__closure.prototype = {
  92456. call$1($self) {
  92457. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  92458. },
  92459. $signature: 200
  92460. };
  92461. A.compilerClass__closure0.prototype = {
  92462. call$3($self, path, options) {
  92463. if ($self._disposed)
  92464. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92465. return A.compile0(path, options);
  92466. },
  92467. call$2($self, path) {
  92468. return this.call$3($self, path, null);
  92469. },
  92470. "call*": "call$3",
  92471. $requiredArgCount: 2,
  92472. $defaultValues() {
  92473. return [null];
  92474. },
  92475. $signature: 400
  92476. };
  92477. A.compilerClass__closure1.prototype = {
  92478. call$3($self, source, options) {
  92479. if ($self._disposed)
  92480. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92481. return A.compileString0(source, options);
  92482. },
  92483. call$2($self, source) {
  92484. return this.call$3($self, source, null);
  92485. },
  92486. "call*": "call$3",
  92487. $requiredArgCount: 2,
  92488. $defaultValues() {
  92489. return [null];
  92490. },
  92491. $signature: 401
  92492. };
  92493. A.compilerClass__closure2.prototype = {
  92494. call$1($self) {
  92495. $self._disposed = true;
  92496. },
  92497. $signature: 402
  92498. };
  92499. A.asyncCompilerClass_closure.prototype = {
  92500. call$0() {
  92501. var t1 = type$.JSClass,
  92502. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  92503. 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));
  92504. 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);
  92505. return jsClass;
  92506. },
  92507. $signature: 15
  92508. };
  92509. A.asyncCompilerClass__closure.prototype = {
  92510. call$1($self) {
  92511. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  92512. },
  92513. $signature: 200
  92514. };
  92515. A.asyncCompilerClass__closure0.prototype = {
  92516. call$3($self, path, options) {
  92517. var compilation;
  92518. if ($self._disposed)
  92519. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92520. compilation = A.compileAsync1(path, options);
  92521. $self.addCompilation$1(compilation);
  92522. return compilation;
  92523. },
  92524. call$2($self, path) {
  92525. return this.call$3($self, path, null);
  92526. },
  92527. "call*": "call$3",
  92528. $requiredArgCount: 2,
  92529. $defaultValues() {
  92530. return [null];
  92531. },
  92532. $signature: 403
  92533. };
  92534. A.asyncCompilerClass__closure1.prototype = {
  92535. call$3($self, source, options) {
  92536. var compilation;
  92537. if ($self._disposed)
  92538. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92539. compilation = A.compileStringAsync1(source, options);
  92540. $self.addCompilation$1(compilation);
  92541. return compilation;
  92542. },
  92543. call$2($self, source) {
  92544. return this.call$3($self, source, null);
  92545. },
  92546. "call*": "call$3",
  92547. $requiredArgCount: 2,
  92548. $defaultValues() {
  92549. return [null];
  92550. },
  92551. $signature: 404
  92552. };
  92553. A.asyncCompilerClass__closure2.prototype = {
  92554. call$1($self) {
  92555. $self._disposed = true;
  92556. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  92557. },
  92558. $signature: 405
  92559. };
  92560. A.asyncCompilerClass___closure.prototype = {
  92561. call$0() {
  92562. var $async$goto = 0,
  92563. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92564. $async$self = this, t1;
  92565. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92566. if ($async$errorCode === 1)
  92567. return A._asyncRethrow($async$result, $async$completer);
  92568. while (true)
  92569. switch ($async$goto) {
  92570. case 0:
  92571. // Function start
  92572. t1 = $async$self.self.compilations;
  92573. t1.close$0(0);
  92574. $async$goto = 2;
  92575. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  92576. case 2:
  92577. // returning from await.
  92578. // implicit return
  92579. return A._asyncReturn(null, $async$completer);
  92580. }
  92581. });
  92582. return A._asyncStartSync($async$call$0, $async$completer);
  92583. },
  92584. $signature: 2
  92585. };
  92586. A.initAsyncCompiler_closure.prototype = {
  92587. call$0() {
  92588. var $async$goto = 0,
  92589. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  92590. $async$returnValue;
  92591. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92592. if ($async$errorCode === 1)
  92593. return A._asyncRethrow($async$result, $async$completer);
  92594. while (true)
  92595. switch ($async$goto) {
  92596. case 0:
  92597. // Function start
  92598. $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));
  92599. // goto return
  92600. $async$goto = 1;
  92601. break;
  92602. case 1:
  92603. // return
  92604. return A._asyncReturn($async$returnValue, $async$completer);
  92605. }
  92606. });
  92607. return A._asyncStartSync($async$call$0, $async$completer);
  92608. },
  92609. $signature: 406
  92610. };
  92611. A.ComplexSassNumber0.prototype = {
  92612. get$numeratorUnits(_) {
  92613. return this._complex0$_numeratorUnits;
  92614. },
  92615. get$denominatorUnits(_) {
  92616. return this._complex0$_denominatorUnits;
  92617. },
  92618. get$hasUnits() {
  92619. return true;
  92620. },
  92621. get$hasComplexUnits() {
  92622. return true;
  92623. },
  92624. hasUnit$1(unit) {
  92625. return false;
  92626. },
  92627. compatibleWithUnit$1(unit) {
  92628. return false;
  92629. },
  92630. hasPossiblyCompatibleUnits$1(other) {
  92631. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  92632. },
  92633. withValue$1(value) {
  92634. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  92635. },
  92636. withSlash$2(numerator, denominator) {
  92637. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  92638. }
  92639. };
  92640. A.ComplexSelector0.prototype = {
  92641. get$specificity() {
  92642. var result, _this = this,
  92643. value = _this._complex$__ComplexSelector_specificity_FI;
  92644. if (value === $) {
  92645. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  92646. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92647. _this._complex$__ComplexSelector_specificity_FI = result;
  92648. value = result;
  92649. }
  92650. return value;
  92651. },
  92652. get$singleCompound() {
  92653. var _0_0, t1, _0_4, t2, selector, _null = null;
  92654. if (this.leadingCombinators.length !== 0)
  92655. return _null;
  92656. _0_0 = this.components;
  92657. $label0$0: {
  92658. t1 = false;
  92659. if (_0_0.length === 1) {
  92660. _0_4 = _0_0[0];
  92661. t2 = _0_4;
  92662. selector = t2.selector;
  92663. t1 = _0_4.combinators.length <= 0;
  92664. } else
  92665. selector = _null;
  92666. if (t1) {
  92667. t1 = selector;
  92668. break $label0$0;
  92669. }
  92670. t1 = _null;
  92671. break $label0$0;
  92672. }
  92673. return t1;
  92674. },
  92675. accept$1$1(visitor) {
  92676. return visitor.visitComplexSelector$1(this);
  92677. },
  92678. accept$1(visitor) {
  92679. return this.accept$1$1(visitor, type$.dynamic);
  92680. },
  92681. isSuperselector$1(other) {
  92682. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  92683. },
  92684. withAdditionalCombinators$1(combinators) {
  92685. var _0_0, _0_1, t1, initial, last, _this = this;
  92686. if (combinators.length === 0)
  92687. return _this;
  92688. _0_0 = _this.components;
  92689. $label0$0: {
  92690. _0_1 = _0_0.length;
  92691. if (_0_1 >= 1) {
  92692. t1 = _0_1 - 1;
  92693. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  92694. last = _0_0[t1];
  92695. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92696. t1.push(last.withAdditionalCombinators$1(combinators));
  92697. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  92698. break $label0$0;
  92699. }
  92700. if (_0_1 <= 0) {
  92701. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92702. B.JSArray_methods.addAll$1(t1, combinators);
  92703. t1 = A.ComplexSelector$0(t1, B.List_empty15, _this.span, _this.lineBreak);
  92704. break $label0$0;
  92705. }
  92706. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  92707. }
  92708. return t1;
  92709. },
  92710. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  92711. var t2, _0_1, initial, last, _this = this,
  92712. t1 = child.leadingCombinators,
  92713. _0_0 = _this.components;
  92714. if (t1.length === 0) {
  92715. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  92716. B.JSArray_methods.addAll$1(t1, child.components);
  92717. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92718. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  92719. } else {
  92720. _0_1 = _0_0.length;
  92721. if (_0_1 >= 1) {
  92722. t2 = _0_1 - 1;
  92723. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  92724. last = _0_0[t2];
  92725. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92726. t2.push(last.withAdditionalCombinators$1(t1));
  92727. B.JSArray_methods.addAll$1(t2, child.components);
  92728. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92729. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  92730. } else {
  92731. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92732. B.JSArray_methods.addAll$1(t2, t1);
  92733. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92734. return A.ComplexSelector$0(t2, child.components, span, t1);
  92735. }
  92736. }
  92737. },
  92738. concatenate$2(child, span) {
  92739. return this.concatenate$3$forceLineBreak(child, span, false);
  92740. },
  92741. get$hashCode(_) {
  92742. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  92743. },
  92744. $eq(_, other) {
  92745. if (other == null)
  92746. return false;
  92747. 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);
  92748. }
  92749. };
  92750. A.ComplexSelector_specificity_closure0.prototype = {
  92751. call$2(sum, component) {
  92752. return sum + component.selector.get$specificity();
  92753. },
  92754. $signature: 407
  92755. };
  92756. A.ComplexSelectorComponent0.prototype = {
  92757. withAdditionalCombinators$1(combinators) {
  92758. var t1, t2, _this = this;
  92759. if (combinators.length === 0)
  92760. t1 = _this;
  92761. else {
  92762. t1 = type$.CssValue_Combinator_2;
  92763. t2 = A.List_List$of(_this.combinators, true, t1);
  92764. B.JSArray_methods.addAll$1(t2, combinators);
  92765. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  92766. }
  92767. return t1;
  92768. },
  92769. get$hashCode(_) {
  92770. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  92771. },
  92772. $eq(_, other) {
  92773. var t1;
  92774. if (other == null)
  92775. return false;
  92776. if (other instanceof A.ComplexSelectorComponent0) {
  92777. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  92778. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  92779. } else
  92780. t1 = false;
  92781. return t1;
  92782. },
  92783. toString$0(_) {
  92784. var t1 = this.combinators;
  92785. 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, "");
  92786. }
  92787. };
  92788. A.ComplexSelectorComponent_toString_closure0.prototype = {
  92789. call$1(combinator) {
  92790. return " " + combinator.toString$0(0);
  92791. },
  92792. $signature: 408
  92793. };
  92794. A.CompoundSelector0.prototype = {
  92795. get$specificity() {
  92796. var result, _this = this,
  92797. value = _this._compound$__CompoundSelector_specificity_FI;
  92798. if (value === $) {
  92799. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  92800. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92801. _this._compound$__CompoundSelector_specificity_FI = result;
  92802. value = result;
  92803. }
  92804. return value;
  92805. },
  92806. get$hasComplicatedSuperselectorSemantics() {
  92807. var result, _this = this,
  92808. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  92809. if (value === $) {
  92810. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  92811. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  92812. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  92813. value = result;
  92814. }
  92815. return value;
  92816. },
  92817. accept$1$1(visitor) {
  92818. return visitor.visitCompoundSelector$1(this);
  92819. },
  92820. accept$1(visitor) {
  92821. return this.accept$1$1(visitor, type$.dynamic);
  92822. },
  92823. get$hashCode(_) {
  92824. return B.C_ListEquality0.hash$1(this.components);
  92825. },
  92826. $eq(_, other) {
  92827. if (other == null)
  92828. return false;
  92829. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  92830. }
  92831. };
  92832. A.CompoundSelector_specificity_closure0.prototype = {
  92833. call$2(sum, component) {
  92834. return sum + component.get$specificity();
  92835. },
  92836. $signature: 409
  92837. };
  92838. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  92839. call$1(component) {
  92840. return component.get$hasComplicatedSuperselectorSemantics();
  92841. },
  92842. $signature: 14
  92843. };
  92844. A.Configuration0.prototype = {
  92845. throughForward$1($forward) {
  92846. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  92847. newValues = this._configuration0$_values;
  92848. if (newValues.get$isEmpty(newValues))
  92849. return B.Configuration_Map_empty_null0;
  92850. _0_0 = $forward.prefix;
  92851. if (_0_0 != null)
  92852. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  92853. _1_0 = $forward.shownVariables;
  92854. if (_1_0 != null)
  92855. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  92856. else {
  92857. _2_0 = $forward.hiddenVariables;
  92858. if (_2_0 != null) {
  92859. t1 = _2_0._base.get$isNotEmpty(0);
  92860. hiddenVariables = _2_0;
  92861. } else {
  92862. hiddenVariables = null;
  92863. t1 = false;
  92864. }
  92865. if (t1)
  92866. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  92867. }
  92868. return this._configuration0$_withValues$1(newValues);
  92869. },
  92870. _configuration0$_withValues$1(values) {
  92871. var t1 = this._configuration0$__originalConfiguration;
  92872. return new A.Configuration0(values, t1 == null ? this : t1);
  92873. },
  92874. toString$0(_) {
  92875. var t2, t3,
  92876. t1 = A._setArrayType([], type$.JSArray_String);
  92877. 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();) {
  92878. t3 = t2.get$current(t2);
  92879. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  92880. }
  92881. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  92882. }
  92883. };
  92884. A.ExplicitConfiguration0.prototype = {
  92885. _configuration0$_withValues$1(values) {
  92886. var t1 = this._configuration0$__originalConfiguration;
  92887. if (t1 == null)
  92888. t1 = this;
  92889. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  92890. }
  92891. };
  92892. A.ConfiguredValue0.prototype = {
  92893. toString$0(_) {
  92894. return A.serializeValue0(this.value, true, true);
  92895. }
  92896. };
  92897. A.ConfiguredVariable0.prototype = {
  92898. toString$0(_) {
  92899. var t1 = this.expression.toString$0(0),
  92900. t2 = this.isGuarded ? " !default" : "";
  92901. return "$" + this.name + ": " + t1 + t2;
  92902. },
  92903. $isAstNode0: 1,
  92904. $isSassNode: 1,
  92905. get$span(receiver) {
  92906. return this.span;
  92907. }
  92908. };
  92909. A.ContentBlock0.prototype = {
  92910. accept$1$1(visitor) {
  92911. return visitor.visitContentBlock$1(0, this);
  92912. },
  92913. accept$1(visitor) {
  92914. return this.accept$1$1(visitor, type$.dynamic);
  92915. },
  92916. toString$0(_) {
  92917. var t2,
  92918. t1 = this.$arguments;
  92919. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  92920. t2 = this.children;
  92921. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  92922. }
  92923. };
  92924. A.ContentRule0.prototype = {
  92925. accept$1$1(visitor) {
  92926. return visitor.visitContentRule$1(0, this);
  92927. },
  92928. accept$1(visitor) {
  92929. return this.accept$1$1(visitor, type$.dynamic);
  92930. },
  92931. toString$0(_) {
  92932. var t1 = this.$arguments;
  92933. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  92934. },
  92935. get$span(receiver) {
  92936. return this.span;
  92937. }
  92938. };
  92939. A._disallowedFunctionNames_closure0.prototype = {
  92940. call$1($function) {
  92941. return $function.name;
  92942. },
  92943. $signature: 410
  92944. };
  92945. A.CssParser0.prototype = {
  92946. get$plainCss() {
  92947. return true;
  92948. },
  92949. silentComment$0() {
  92950. var t1, t2, _this = this;
  92951. if (_this._stylesheet0$_inExpression)
  92952. return false;
  92953. t1 = _this.scanner;
  92954. t2 = t1._string_scanner$_position;
  92955. _this.super$Parser$silentComment0();
  92956. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  92957. },
  92958. atRule$2$root(child, root) {
  92959. var $name, _0_0, _this = this,
  92960. t1 = _this.scanner,
  92961. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  92962. t1.expectChar$1(64);
  92963. $name = _this.interpolatedIdentifier$0();
  92964. _this.whitespace$0();
  92965. _0_0 = $name.get$asPlain();
  92966. $label0$0: {
  92967. 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)
  92968. _this._css$_forbiddenAtRule$1(start);
  92969. if ("import" === _0_0) {
  92970. t1 = _this._css$_cssImportRule$1(start);
  92971. break $label0$0;
  92972. }
  92973. if ("media" === _0_0) {
  92974. t1 = _this.mediaRule$1(start);
  92975. break $label0$0;
  92976. }
  92977. if ("-moz-document" === _0_0) {
  92978. t1 = _this.mozDocumentRule$2(start, $name);
  92979. break $label0$0;
  92980. }
  92981. if ("supports" === _0_0) {
  92982. t1 = _this.supportsRule$1(start);
  92983. break $label0$0;
  92984. }
  92985. t1 = _this.unknownAtRule$2(start, $name);
  92986. break $label0$0;
  92987. }
  92988. return t1;
  92989. },
  92990. _css$_forbiddenAtRule$1(start) {
  92991. this.almostAnyValue$0();
  92992. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  92993. },
  92994. _css$_cssImportRule$1(start) {
  92995. var t2, urlSpan, modifiers, _this = this,
  92996. t1 = _this.scanner,
  92997. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  92998. _0_0 = t1.peekChar$0();
  92999. $label0$0: {
  93000. if (117 === _0_0 || 85 === _0_0) {
  93001. t2 = _this.dynamicUrl$0();
  93002. break $label0$0;
  93003. }
  93004. t2 = new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  93005. break $label0$0;
  93006. }
  93007. urlSpan = t1.spanFrom$1(urlStart);
  93008. _this.whitespace$0();
  93009. modifiers = _this.tryImportModifiers$0();
  93010. _this.expectStatementSeparator$1("@import rule");
  93011. 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);
  93012. t1 = t1.spanFrom$1(start);
  93013. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  93014. },
  93015. parentheses$0() {
  93016. var expression,
  93017. t1 = this.scanner,
  93018. t2 = t1._string_scanner$_position;
  93019. t1.expectChar$1(40);
  93020. this.whitespace$0();
  93021. expression = this.expressionUntilComma$0();
  93022. t1.expectChar$1(41);
  93023. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93024. },
  93025. identifierLike$0() {
  93026. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  93027. t1 = _this.scanner,
  93028. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  93029. identifier = _this.interpolatedIdentifier$0(),
  93030. plain = identifier.get$asPlain(),
  93031. lower = plain.toLowerCase(),
  93032. _0_0 = _this.trySpecialFunction$2(lower, start);
  93033. if (_0_0 != null)
  93034. return _0_0;
  93035. t2 = t1._string_scanner$_position;
  93036. if (t1.scanChar$1(46))
  93037. return _this.namespacedExpression$2(plain, start);
  93038. if (!t1.scanChar$1(40))
  93039. return new A.StringExpression0(identifier, false);
  93040. allowEmptySecondArg = lower === "var";
  93041. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  93042. if (!t1.scanChar$1(41)) {
  93043. do {
  93044. _this.whitespace$0();
  93045. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  93046. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  93047. t4 = t3.offset;
  93048. t4 = A._FileSpan$(t3.file, t4, t4);
  93049. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  93050. break;
  93051. }
  93052. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  93053. _this.whitespace$0();
  93054. } while (t1.scanChar$1(44));
  93055. t1.expectChar$1(41);
  93056. }
  93057. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  93058. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  93059. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  93060. t3 = type$.Expression_2;
  93061. t4 = A.List_List$unmodifiable($arguments, t3);
  93062. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  93063. t1 = t1.spanFrom$1(start);
  93064. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentInvocation0(t4, t3, null, null, t2), t1);
  93065. },
  93066. namespacedExpression$2(namespace, start) {
  93067. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  93068. this.error$2(0, string$.Modulen, expression.get$span(expression));
  93069. }
  93070. };
  93071. A.DebugRule0.prototype = {
  93072. accept$1$1(visitor) {
  93073. return visitor.visitDebugRule$1(0, this);
  93074. },
  93075. accept$1(visitor) {
  93076. return this.accept$1$1(visitor, type$.dynamic);
  93077. },
  93078. toString$0(_) {
  93079. return "@debug " + this.expression.toString$0(0) + ";";
  93080. },
  93081. get$span(receiver) {
  93082. return this.span;
  93083. }
  93084. };
  93085. A.ModifiableCssDeclaration0.prototype = {
  93086. accept$1$1(visitor) {
  93087. return visitor.visitCssDeclaration$1(this);
  93088. },
  93089. accept$1(visitor) {
  93090. return this.accept$1$1(visitor, type$.dynamic);
  93091. },
  93092. toString$0(_) {
  93093. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  93094. },
  93095. get$span(receiver) {
  93096. return this.span;
  93097. }
  93098. };
  93099. A.Declaration0.prototype = {
  93100. accept$1$1(visitor) {
  93101. return visitor.visitDeclaration$1(0, this);
  93102. },
  93103. accept$1(visitor) {
  93104. return this.accept$1$1(visitor, type$.dynamic);
  93105. },
  93106. toString$0(_) {
  93107. var t3, _0_0,
  93108. buffer = new A.StringBuffer(""),
  93109. t1 = this.name,
  93110. t2 = "" + t1.toString$0(0);
  93111. buffer._contents = t2;
  93112. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  93113. t3 = this.value;
  93114. if (t3 != null) {
  93115. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  93116. buffer._contents = t1 + t3.toString$0(0);
  93117. }
  93118. _0_0 = this.children;
  93119. if (_0_0 != null)
  93120. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  93121. else
  93122. return buffer.toString$0(0) + ";";
  93123. },
  93124. get$span(receiver) {
  93125. return this.span;
  93126. }
  93127. };
  93128. A.SupportsDeclaration0.prototype = {
  93129. get$isCustomProperty() {
  93130. var t1,
  93131. _0_0 = this.name;
  93132. $label0$0: {
  93133. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  93134. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  93135. break $label0$0;
  93136. }
  93137. t1 = false;
  93138. break $label0$0;
  93139. }
  93140. return t1;
  93141. },
  93142. toString$0(_) {
  93143. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  93144. },
  93145. $isAstNode0: 1,
  93146. $isSassNode: 1,
  93147. get$span(receiver) {
  93148. return this.span;
  93149. }
  93150. };
  93151. A.Deprecation0.prototype = {
  93152. _enumToString$0() {
  93153. return "Deprecation." + this._name;
  93154. },
  93155. get$deprecatedIn(_) {
  93156. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  93157. },
  93158. get$obsoleteIn(_) {
  93159. return null;
  93160. },
  93161. toString$0(_) {
  93162. return this.id;
  93163. }
  93164. };
  93165. A.Deprecation_fromId_closure0.prototype = {
  93166. call$1(deprecation) {
  93167. return deprecation.id === this.id;
  93168. },
  93169. $signature: 411
  93170. };
  93171. A.DeprecationProcessingLogger0.prototype = {
  93172. validate$0() {
  93173. var t1, t2, t3, t4, t5, t6, _1_7, _this = this, _null = null;
  93174. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1, t4 = _this.futureDeprecations; t1.moveNext$0();) {
  93175. t5 = t1._collection$_current;
  93176. if (t5 == null)
  93177. t5 = t3._as(t5);
  93178. if (t5.isFuture && !t4.contains$1(0, t5)) {
  93179. t5 = t5.toString$0(0);
  93180. _this.internalWarn$4$deprecation$span$trace("Future " + t5 + string$.x20deprex20m, _null, _null, _null);
  93181. continue;
  93182. }
  93183. t6 = t2.contains$1(0, t5);
  93184. if (t6) {
  93185. t5 = t5.toString$0(0);
  93186. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t5 + string$.x20deprex2c, _null, _null, _null);
  93187. continue;
  93188. }
  93189. }
  93190. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93191. t3 = t1._collection$_current;
  93192. if (t3 == null)
  93193. t3 = t2._as(t3);
  93194. if (B.Deprecation_oty === t3) {
  93195. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  93196. continue;
  93197. }
  93198. _1_7 = t3.isFuture;
  93199. if (_1_7 && t4.contains$1(0, t3)) {
  93200. t3 = t3.toString$0(0);
  93201. _this.internalWarn$4$deprecation$span$trace("Conflicting options for future " + t3 + " deprecation cancel each other out.", _null, _null, _null);
  93202. continue;
  93203. }
  93204. if (_1_7) {
  93205. t3 = t3.toString$0(0);
  93206. _this.internalWarn$4$deprecation$span$trace("Future " + t3 + string$.x20deprex20i, _null, _null, _null);
  93207. continue;
  93208. }
  93209. }
  93210. for (t1 = A._LinkedHashSetIterator$(t4, t4._modifications, A._instanceType(t4)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93211. t3 = t1._collection$_current;
  93212. if (t3 == null)
  93213. t3 = t2._as(t3);
  93214. if (!t3.isFuture) {
  93215. t3 = t3.toString$0(0);
  93216. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  93217. }
  93218. }
  93219. },
  93220. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  93221. if (deprecation != null)
  93222. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  93223. else
  93224. this._deprecation_processing$_inner.warn$3$span$trace(0, message, span, trace);
  93225. },
  93226. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  93227. var _0_3_isSet, _0_3, t1, span0, t2, count, _1_0, _this = this, _null = null;
  93228. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  93229. return;
  93230. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  93231. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  93232. $label0$0: {
  93233. _0_3_isSet = span != null;
  93234. _0_3 = _null;
  93235. t1 = false;
  93236. if (_0_3_isSet) {
  93237. span0 = span == null ? type$.FileSpan._as(span) : span;
  93238. t1 = trace != null;
  93239. _0_3 = trace;
  93240. } else
  93241. span0 = _null;
  93242. if (t1) {
  93243. if (_0_3_isSet)
  93244. trace = _0_3;
  93245. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  93246. break $label0$0;
  93247. }
  93248. t1 = false;
  93249. if (span != null)
  93250. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  93251. else
  93252. span = _null;
  93253. if (t1) {
  93254. t1 = A.SassException$0(message, span, _null);
  93255. break $label0$0;
  93256. }
  93257. t1 = A.SassScriptException$0(message, _null);
  93258. break $label0$0;
  93259. }
  93260. throw A.wrapException(t1);
  93261. }
  93262. if (_this.silenceDeprecations.contains$1(0, deprecation))
  93263. return;
  93264. if (_this.limitRepetition) {
  93265. t1 = _this._deprecation_processing$_warningCounts;
  93266. t2 = t1.$index(0, deprecation);
  93267. count = (t2 == null ? 0 : t2) + 1;
  93268. t1.$indexSet(0, deprecation, count);
  93269. if (count > 5)
  93270. return;
  93271. }
  93272. _1_0 = _this._deprecation_processing$_inner;
  93273. if (_1_0 instanceof A.LoggerWithDeprecationType)
  93274. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  93275. else
  93276. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  93277. },
  93278. debug$2(_, message, span) {
  93279. return this._deprecation_processing$_inner.debug$2(0, message, span);
  93280. },
  93281. summarize$1$js(js) {
  93282. var t1 = this._deprecation_processing$_warningCounts.get$values(0),
  93283. t2 = A._instanceType(t1),
  93284. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationProcessingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  93285. if (total > 0) {
  93286. t1 = js ? "" : string$.x0aRun_i;
  93287. this._deprecation_processing$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  93288. }
  93289. }
  93290. };
  93291. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  93292. call$1(count) {
  93293. return count > 5;
  93294. },
  93295. $signature: 46
  93296. };
  93297. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  93298. call$1(count) {
  93299. return count - 5;
  93300. },
  93301. $signature: 150
  93302. };
  93303. A.Deprecation1.prototype = {};
  93304. A.deprecations_closure.prototype = {
  93305. call$0() {
  93306. var t1, _0_8_isSet, _0_8,
  93307. _0_0 = this.deprecation;
  93308. $label0$0: {
  93309. if (_0_0.isFuture) {
  93310. t1 = "future";
  93311. break $label0$0;
  93312. }
  93313. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  93314. if (_0_8_isSet) {
  93315. _0_8 = _0_0.get$obsoleteIn(0) == null;
  93316. t1 = _0_8;
  93317. } else {
  93318. _0_8 = null;
  93319. t1 = false;
  93320. }
  93321. if (t1) {
  93322. t1 = "user";
  93323. break $label0$0;
  93324. }
  93325. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  93326. t1 = "active";
  93327. break $label0$0;
  93328. }
  93329. t1 = "obsolete";
  93330. break $label0$0;
  93331. }
  93332. return t1;
  93333. },
  93334. $signature: 26
  93335. };
  93336. A.parseDeprecations_closure.prototype = {
  93337. call$0() {
  93338. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  93339. },
  93340. $call$body$parseDeprecations_closure() {
  93341. var $async$self = this;
  93342. return function() {
  93343. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, t4, item, t5, id, deprecation, version;
  93344. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  93345. if ($async$errorCode === 1) {
  93346. $async$currentError = $async$result;
  93347. $async$goto = $async$handler;
  93348. }
  93349. while (true)
  93350. switch ($async$goto) {
  93351. case 0:
  93352. // Function start
  93353. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  93354. case 2:
  93355. // for condition
  93356. if (!t1.moveNext$0()) {
  93357. // goto after for
  93358. $async$goto = 3;
  93359. break;
  93360. }
  93361. item = t1.get$current(t1);
  93362. t5 = typeof item == "string";
  93363. id = t5 ? item : null;
  93364. $async$goto = t5 ? 4 : 5;
  93365. break;
  93366. case 4:
  93367. // then
  93368. deprecation = A.Deprecation_fromId0(id);
  93369. $async$goto = deprecation == null ? 6 : 8;
  93370. break;
  93371. case 6:
  93372. // then
  93373. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  93374. // goto join
  93375. $async$goto = 7;
  93376. break;
  93377. case 8:
  93378. // else
  93379. $async$goto = 9;
  93380. return $async$iterator._async$_current = deprecation, 1;
  93381. case 9:
  93382. // after yield
  93383. case 7:
  93384. // join
  93385. // goto for condition
  93386. $async$goto = 2;
  93387. break;
  93388. case 5:
  93389. // join
  93390. t5 = t2._is(item);
  93391. id = t5 ? J.get$id$x(item) : null;
  93392. $async$goto = t5 ? 10 : 11;
  93393. break;
  93394. case 10:
  93395. // then
  93396. deprecation = A.Deprecation_fromId0(id);
  93397. $async$goto = deprecation == null ? 12 : 14;
  93398. break;
  93399. case 12:
  93400. // then
  93401. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  93402. // goto join
  93403. $async$goto = 13;
  93404. break;
  93405. case 14:
  93406. // else
  93407. $async$goto = 15;
  93408. return $async$iterator._async$_current = deprecation, 1;
  93409. case 15:
  93410. // after yield
  93411. case 13:
  93412. // join
  93413. // goto for condition
  93414. $async$goto = 2;
  93415. break;
  93416. case 11:
  93417. // join
  93418. if (item instanceof A.Version) {
  93419. t5 = t3;
  93420. version = item;
  93421. } else {
  93422. version = null;
  93423. t5 = false;
  93424. }
  93425. $async$goto = t5 ? 16 : 17;
  93426. break;
  93427. case 16:
  93428. // then
  93429. $async$goto = 18;
  93430. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  93431. case 18:
  93432. // after yield
  93433. case 17:
  93434. // join
  93435. // goto for condition
  93436. $async$goto = 2;
  93437. break;
  93438. case 3:
  93439. // after for
  93440. // implicit return
  93441. return 0;
  93442. case 1:
  93443. // rethrow
  93444. return $async$iterator._datum = $async$currentError, 3;
  93445. }
  93446. };
  93447. };
  93448. },
  93449. $signature: 412
  93450. };
  93451. A.versionClass_closure.prototype = {
  93452. call$0() {
  93453. var t1 = type$.JSClass,
  93454. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  93455. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  93456. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  93457. return jsClass;
  93458. },
  93459. $signature: 15
  93460. };
  93461. A.versionClass__closure.prototype = {
  93462. call$4($self, major, minor, patch) {
  93463. return A.Version_Version(major, minor, patch, null);
  93464. },
  93465. "call*": "call$4",
  93466. $requiredArgCount: 4,
  93467. $signature: 413
  93468. };
  93469. A.versionClass__closure0.prototype = {
  93470. call$1(version) {
  93471. var v = A.Version_Version$parse(version);
  93472. if (v.preRelease.length !== 0 || v.build.length !== 0)
  93473. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  93474. return v;
  93475. },
  93476. $signature: 199
  93477. };
  93478. A.DynamicImport0.prototype = {
  93479. toString$0(_) {
  93480. return A.StringExpression_quoteText0(this.urlString);
  93481. },
  93482. $isImport0: 1,
  93483. $isAstNode0: 1,
  93484. $isSassNode: 1,
  93485. get$span(receiver) {
  93486. return this.span;
  93487. }
  93488. };
  93489. A.EachRule0.prototype = {
  93490. accept$1$1(visitor) {
  93491. return visitor.visitEachRule$1(0, this);
  93492. },
  93493. accept$1(visitor) {
  93494. return this.accept$1$1(visitor, type$.dynamic);
  93495. },
  93496. toString$0(_) {
  93497. var t1 = this.variables,
  93498. t2 = this.children;
  93499. 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, " ") + "}";
  93500. },
  93501. get$span(receiver) {
  93502. return this.span;
  93503. }
  93504. };
  93505. A.EachRule_toString_closure0.prototype = {
  93506. call$1(variable) {
  93507. return "$" + variable;
  93508. },
  93509. $signature: 5
  93510. };
  93511. A.EmptyExtensionStore0.prototype = {
  93512. get$_extension_store$_extensions() {
  93513. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  93514. },
  93515. get$_extension_store$_sourceSpecificity() {
  93516. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  93517. },
  93518. get$isEmpty(_) {
  93519. return true;
  93520. },
  93521. get$simpleSelectors() {
  93522. return B.C_EmptyUnmodifiableSet0;
  93523. },
  93524. extensionsWhereTarget$1(callback) {
  93525. return B.List_empty17;
  93526. },
  93527. addSelector$2(selector, mediaContext) {
  93528. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  93529. },
  93530. addExtension$4(extender, target, extend, mediaContext) {
  93531. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  93532. },
  93533. addExtensions$1(extenders) {
  93534. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  93535. },
  93536. clone$0() {
  93537. return B.Record2_EmptyExtensionStore_Map_empty0;
  93538. },
  93539. $isExtensionStore0: 1
  93540. };
  93541. A.Environment0.prototype = {
  93542. closure$0() {
  93543. var t4, t5, t6, _this = this,
  93544. t1 = _this._environment0$_forwardedModules,
  93545. t2 = _this._environment0$_nestedForwardedModules,
  93546. t3 = _this._environment0$_variables;
  93547. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  93548. t4 = _this._environment0$_variableNodes;
  93549. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  93550. t5 = _this._environment0$_functions;
  93551. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  93552. t6 = _this._environment0$_mixins;
  93553. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  93554. 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);
  93555. },
  93556. forwardModule$2(module, rule) {
  93557. var view, t1, t2, _this = this,
  93558. forwardedModules = _this._environment0$_forwardedModules;
  93559. if (forwardedModules == null)
  93560. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  93561. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  93562. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  93563. t2 = t1.__js_helper$_current;
  93564. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  93565. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  93566. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  93567. }
  93568. _this._environment0$_allModules.push(module);
  93569. forwardedModules.$indexSet(0, view, rule);
  93570. },
  93571. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  93572. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  93573. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  93574. larger = oldMembers;
  93575. smaller = newMembers;
  93576. } else {
  93577. larger = newMembers;
  93578. smaller = oldMembers;
  93579. }
  93580. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  93581. t4 = t2.get$current(t2);
  93582. $name = t4._0;
  93583. small = t4._1;
  93584. large = larger.$index(0, $name);
  93585. if (large == null)
  93586. continue;
  93587. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  93588. continue;
  93589. if (t3)
  93590. $name = "$" + $name;
  93591. t2 = this._environment0$_forwardedModules;
  93592. if (t2 == null)
  93593. span = null;
  93594. else {
  93595. t2 = t2.$index(0, oldModule);
  93596. span = t2 == null ? null : J.get$span$z(t2);
  93597. }
  93598. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  93599. if (span != null)
  93600. t2.$indexSet(0, span, "original @forward");
  93601. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  93602. }
  93603. },
  93604. importForwards$1(module) {
  93605. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, _length, _list, _this = this,
  93606. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  93607. if (forwarded == null)
  93608. return;
  93609. forwardedModules = _this._environment0$_forwardedModules;
  93610. if (forwardedModules != null) {
  93611. t1 = type$.Module_Callable_2;
  93612. t2 = type$.AstNode_2;
  93613. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  93614. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  93615. t4 = t1.get$current(t1);
  93616. module = t4._0;
  93617. node = t4._1;
  93618. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  93619. t3.$indexSet(0, module, node);
  93620. }
  93621. forwarded = t3;
  93622. } else
  93623. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  93624. t1 = type$.String;
  93625. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93626. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  93627. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  93628. t2.add$1(0, t4.get$current(t4));
  93629. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93630. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  93631. t5 = t4.__js_helper$_current;
  93632. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  93633. t3.add$1(0, t5.get$current(t5));
  93634. }
  93635. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93636. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  93637. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  93638. t1.add$1(0, t5.get$current(t5));
  93639. t4 = _this._environment0$_variables;
  93640. t5 = t4.length;
  93641. if (t5 === 1) {
  93642. 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) {
  93643. t11 = t8[_i];
  93644. module = t11._0;
  93645. node = t11._1;
  93646. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  93647. if (shadowed != null) {
  93648. t5.remove$1(0, module);
  93649. t11 = shadowed.variables;
  93650. t12 = false;
  93651. if (t11.get$isEmpty(t11)) {
  93652. t11 = shadowed.functions;
  93653. if (t11.get$isEmpty(t11)) {
  93654. t11 = shadowed.mixins;
  93655. if (t11.get$isEmpty(t11)) {
  93656. t11 = shadowed._shadowed_view0$_inner;
  93657. t11 = t11.get$css(t11);
  93658. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  93659. } else
  93660. t11 = t12;
  93661. } else
  93662. t11 = t12;
  93663. } else
  93664. t11 = t12;
  93665. if (!t11)
  93666. t5.$indexSet(0, shadowed, node);
  93667. }
  93668. }
  93669. 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) {
  93670. t8 = t6[_i];
  93671. module = t8._0;
  93672. node = t8._1;
  93673. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  93674. if (shadowed != null) {
  93675. forwardedModules.remove$1(0, module);
  93676. t8 = shadowed.variables;
  93677. t9 = false;
  93678. if (t8.get$isEmpty(t8)) {
  93679. t8 = shadowed.functions;
  93680. if (t8.get$isEmpty(t8)) {
  93681. t8 = shadowed.mixins;
  93682. if (t8.get$isEmpty(t8)) {
  93683. t8 = shadowed._shadowed_view0$_inner;
  93684. t8 = t8.get$css(t8);
  93685. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  93686. } else
  93687. t8 = t9;
  93688. } else
  93689. t8 = t9;
  93690. } else
  93691. t8 = t9;
  93692. if (!t8)
  93693. forwardedModules.$indexSet(0, shadowed, node);
  93694. }
  93695. }
  93696. t5.addAll$1(0, forwarded);
  93697. forwardedModules.addAll$1(0, forwarded);
  93698. } else {
  93699. t6 = _this._environment0$_nestedForwardedModules;
  93700. if (t6 == null) {
  93701. _length = t5 - 1;
  93702. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  93703. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  93704. _list[_i] = A._setArrayType([], t5);
  93705. _this._environment0$_nestedForwardedModules = _list;
  93706. t5 = _list;
  93707. } else
  93708. t5 = t6;
  93709. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  93710. }
  93711. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93712. t8 = t2._collection$_current;
  93713. if (t8 == null)
  93714. t8 = t7._as(t8);
  93715. t5.remove$1(0, t8);
  93716. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  93717. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  93718. }
  93719. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93720. t6 = t2._collection$_current;
  93721. if (t6 == null)
  93722. t6 = t5._as(t6);
  93723. t3.remove$1(0, t6);
  93724. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  93725. }
  93726. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93727. t5 = t1._collection$_current;
  93728. if (t5 == null)
  93729. t5 = t4._as(t5);
  93730. t2.remove$1(0, t5);
  93731. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  93732. }
  93733. },
  93734. getVariable$2$namespace($name, namespace) {
  93735. var t1, _0_0, _1_0, _this = this;
  93736. if (namespace != null)
  93737. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  93738. if (_this._environment0$_lastVariableName === $name) {
  93739. t1 = _this._environment0$_lastVariableIndex;
  93740. t1.toString;
  93741. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  93742. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93743. }
  93744. t1 = _this._environment0$_variableIndices;
  93745. _0_0 = t1.$index(0, $name);
  93746. if (_0_0 != null) {
  93747. _this._environment0$_lastVariableName = $name;
  93748. _this._environment0$_lastVariableIndex = _0_0;
  93749. t1 = J.$index$asx(_this._environment0$_variables[_0_0], $name);
  93750. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93751. } else {
  93752. _1_0 = _this._environment0$_variableIndex$1($name);
  93753. if (_1_0 != null) {
  93754. _this._environment0$_lastVariableName = $name;
  93755. _this._environment0$_lastVariableIndex = _1_0;
  93756. t1.$indexSet(0, $name, _1_0);
  93757. t1 = J.$index$asx(_this._environment0$_variables[_1_0], $name);
  93758. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93759. } else
  93760. return _this._environment0$_getVariableFromGlobalModule$1($name);
  93761. }
  93762. },
  93763. getVariable$1($name) {
  93764. return this.getVariable$2$namespace($name, null);
  93765. },
  93766. _environment0$_getVariableFromGlobalModule$1($name) {
  93767. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  93768. },
  93769. getVariableNode$2$namespace($name, namespace) {
  93770. var t1, _0_0, _1_0, _this = this;
  93771. if (namespace != null)
  93772. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  93773. if (_this._environment0$_lastVariableName === $name) {
  93774. t1 = _this._environment0$_lastVariableIndex;
  93775. t1.toString;
  93776. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  93777. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93778. }
  93779. t1 = _this._environment0$_variableIndices;
  93780. _0_0 = t1.$index(0, $name);
  93781. if (_0_0 != null) {
  93782. _this._environment0$_lastVariableName = $name;
  93783. _this._environment0$_lastVariableIndex = _0_0;
  93784. t1 = J.$index$asx(_this._environment0$_variableNodes[_0_0], $name);
  93785. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93786. } else {
  93787. _1_0 = _this._environment0$_variableIndex$1($name);
  93788. if (_1_0 != null) {
  93789. _this._environment0$_lastVariableName = $name;
  93790. _this._environment0$_lastVariableIndex = _1_0;
  93791. t1.$indexSet(0, $name, _1_0);
  93792. t1 = J.$index$asx(_this._environment0$_variableNodes[_1_0], $name);
  93793. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93794. } else
  93795. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  93796. }
  93797. },
  93798. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  93799. var t1, t2, _0_0;
  93800. 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();) {
  93801. t1 = t2._currentIterator;
  93802. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  93803. if (_0_0 != null)
  93804. return _0_0;
  93805. }
  93806. return null;
  93807. },
  93808. globalVariableExists$2$namespace($name, namespace) {
  93809. if (namespace != null)
  93810. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  93811. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  93812. return true;
  93813. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  93814. },
  93815. globalVariableExists$1($name) {
  93816. return this.globalVariableExists$2$namespace($name, null);
  93817. },
  93818. _environment0$_variableIndex$1($name) {
  93819. var t1, i;
  93820. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  93821. if (t1[i].containsKey$1($name))
  93822. return i;
  93823. return null;
  93824. },
  93825. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  93826. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  93827. if (namespace != null) {
  93828. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  93829. return;
  93830. }
  93831. if (global || _this._environment0$_variables.length === 1) {
  93832. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  93833. t1 = _this._environment0$_variables;
  93834. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  93835. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  93836. if (moduleWithName != null) {
  93837. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  93838. return;
  93839. }
  93840. }
  93841. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  93842. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  93843. return;
  93844. }
  93845. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  93846. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  93847. for (t1 = A._arrayInstanceType(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();) {
  93848. t3 = t2.__internal$_current;
  93849. 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();) {
  93850. t5 = t3.__internal$_current;
  93851. if (t5 == null)
  93852. t5 = t4._as(t5);
  93853. if (t5.get$variables().containsKey$1($name)) {
  93854. t5.setVariable$3($name, value, nodeWithSpan);
  93855. return;
  93856. }
  93857. }
  93858. }
  93859. if (_this._environment0$_lastVariableName === $name) {
  93860. t1 = _this._environment0$_lastVariableIndex;
  93861. t1.toString;
  93862. index = t1;
  93863. } else
  93864. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  93865. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  93866. index = _this._environment0$_variables.length - 1;
  93867. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93868. }
  93869. _this._environment0$_lastVariableName = $name;
  93870. _this._environment0$_lastVariableIndex = index;
  93871. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  93872. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93873. },
  93874. setVariable$4$global($name, value, nodeWithSpan, global) {
  93875. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  93876. },
  93877. setLocalVariable$3($name, value, nodeWithSpan) {
  93878. var index, _this = this,
  93879. t1 = _this._environment0$_variables,
  93880. t2 = t1.length;
  93881. _this._environment0$_lastVariableName = $name;
  93882. index = _this._environment0$_lastVariableIndex = t2 - 1;
  93883. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93884. J.$indexSet$ax(t1[index], $name, value);
  93885. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93886. },
  93887. getFunction$2$namespace($name, namespace) {
  93888. var t1, _0_0, _1_0, _this = this;
  93889. if (namespace != null) {
  93890. t1 = _this._environment0$_getModule$1(namespace);
  93891. return t1.get$functions(t1).$index(0, $name);
  93892. }
  93893. t1 = _this._environment0$_functionIndices;
  93894. _0_0 = t1.$index(0, $name);
  93895. if (_0_0 != null) {
  93896. t1 = J.$index$asx(_this._environment0$_functions[_0_0], $name);
  93897. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93898. } else {
  93899. _1_0 = _this._environment0$_functionIndex$1($name);
  93900. if (_1_0 != null) {
  93901. t1.$indexSet(0, $name, _1_0);
  93902. t1 = J.$index$asx(_this._environment0$_functions[_1_0], $name);
  93903. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93904. } else
  93905. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  93906. }
  93907. },
  93908. getFunction$1($name) {
  93909. return this.getFunction$2$namespace($name, null);
  93910. },
  93911. _environment0$_getFunctionFromGlobalModule$1($name) {
  93912. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  93913. },
  93914. _environment0$_functionIndex$1($name) {
  93915. var t1, i;
  93916. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  93917. if (t1[i].containsKey$1($name))
  93918. return i;
  93919. return null;
  93920. },
  93921. getMixin$2$namespace($name, namespace) {
  93922. var t1, _0_0, _1_0, _this = this;
  93923. if (namespace != null)
  93924. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  93925. t1 = _this._environment0$_mixinIndices;
  93926. _0_0 = t1.$index(0, $name);
  93927. if (_0_0 != null) {
  93928. t1 = J.$index$asx(_this._environment0$_mixins[_0_0], $name);
  93929. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93930. } else {
  93931. _1_0 = _this._environment0$_mixinIndex$1($name);
  93932. if (_1_0 != null) {
  93933. t1.$indexSet(0, $name, _1_0);
  93934. t1 = J.$index$asx(_this._environment0$_mixins[_1_0], $name);
  93935. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93936. } else
  93937. return _this._environment0$_getMixinFromGlobalModule$1($name);
  93938. }
  93939. },
  93940. _environment0$_getMixinFromGlobalModule$1($name) {
  93941. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  93942. },
  93943. _environment0$_mixinIndex$1($name) {
  93944. var t1, i;
  93945. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  93946. if (t1[i].containsKey$1($name))
  93947. return i;
  93948. return null;
  93949. },
  93950. withContent$2($content, callback) {
  93951. var oldContent = this._environment0$_content;
  93952. this._environment0$_content = $content;
  93953. callback.call$0();
  93954. this._environment0$_content = oldContent;
  93955. },
  93956. asMixin$1(callback) {
  93957. var oldInMixin = this._environment0$_inMixin;
  93958. this._environment0$_inMixin = true;
  93959. callback.call$0();
  93960. this._environment0$_inMixin = oldInMixin;
  93961. },
  93962. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  93963. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  93964. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  93965. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  93966. _this._environment0$_inSemiGlobalScope = semiGlobal;
  93967. if (!when)
  93968. try {
  93969. t1 = callback.call$0();
  93970. return t1;
  93971. } finally {
  93972. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93973. }
  93974. t1 = _this._environment0$_variables;
  93975. t2 = type$.String;
  93976. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  93977. t3 = _this._environment0$_variableNodes;
  93978. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  93979. t4 = _this._environment0$_functions;
  93980. t5 = type$.Callable_2;
  93981. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93982. t6 = _this._environment0$_mixins;
  93983. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93984. t5 = _this._environment0$_nestedForwardedModules;
  93985. if (t5 != null)
  93986. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  93987. try {
  93988. t2 = callback.call$0();
  93989. return t2;
  93990. } finally {
  93991. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93992. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  93993. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  93994. $name = t1.get$current(t1);
  93995. t2.remove$1(0, $name);
  93996. }
  93997. B.JSArray_methods.removeLast$0(t3);
  93998. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  93999. name0 = t1.get$current(t1);
  94000. t2.remove$1(0, name0);
  94001. }
  94002. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  94003. name1 = t1.get$current(t1);
  94004. t2.remove$1(0, name1);
  94005. }
  94006. t1 = _this._environment0$_nestedForwardedModules;
  94007. if (t1 != null)
  94008. t1.pop();
  94009. }
  94010. },
  94011. scope$1$1(callback) {
  94012. return this.scope$1$3$semiGlobal$when(callback, false, true);
  94013. },
  94014. scope$1$2$when(callback, when) {
  94015. return this.scope$1$3$semiGlobal$when(callback, false, when);
  94016. },
  94017. scope$1$2$semiGlobal(callback, semiGlobal) {
  94018. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  94019. },
  94020. toImplicitConfiguration$0() {
  94021. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  94022. t1 = type$.String,
  94023. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  94024. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  94025. values = t2[i];
  94026. nodes = t4[i];
  94027. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  94028. t6 = t5.get$current(t5);
  94029. $name = t6._0;
  94030. value = t6._1;
  94031. t6 = nodes.$index(0, $name);
  94032. t6.toString;
  94033. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  94034. }
  94035. }
  94036. return new A.Configuration0(configuration, null);
  94037. },
  94038. toModule$3(css, preModuleComments, extensionStore) {
  94039. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  94040. },
  94041. toDummyModule$0() {
  94042. 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()));
  94043. },
  94044. _environment0$_getModule$1(namespace) {
  94045. var _0_0 = this._environment0$_modules.$index(0, namespace);
  94046. if (_0_0 != null)
  94047. return _0_0;
  94048. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  94049. },
  94050. _environment0$_fromOneModule$1$3($name, type, callback) {
  94051. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  94052. _0_0 = this._environment0$_nestedForwardedModules;
  94053. if (_0_0 != null)
  94054. 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();) {
  94055. t3 = t2.__internal$_current;
  94056. 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();) {
  94057. t5 = t3.__internal$_current;
  94058. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  94059. if (_1_0 != null)
  94060. return _1_0;
  94061. }
  94062. }
  94063. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  94064. _2_0 = callback.call$1(t1.__js_helper$_current);
  94065. if (_2_0 != null)
  94066. return _2_0;
  94067. }
  94068. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  94069. t4 = t2.__js_helper$_current;
  94070. valueInModule = callback.call$1(t4);
  94071. if (valueInModule == null)
  94072. continue;
  94073. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  94074. if (identityFromModule.$eq(0, identity))
  94075. continue;
  94076. if (value != null) {
  94077. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94078. 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();) {
  94079. t1 = t3.get$current(t3);
  94080. module = t1._0;
  94081. node = t1._1;
  94082. if (callback.call$1(module) != null)
  94083. t2.$indexSet(0, node.get$span(node), t4);
  94084. }
  94085. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  94086. }
  94087. identity = identityFromModule;
  94088. value = valueInModule;
  94089. }
  94090. return value;
  94091. },
  94092. _environment0$_fromOneModule$3($name, type, callback) {
  94093. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  94094. }
  94095. };
  94096. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  94097. call$1(module) {
  94098. return module.get$variables().$index(0, this.name);
  94099. },
  94100. $signature: 416
  94101. };
  94102. A.Environment_setVariable_closure2.prototype = {
  94103. call$0() {
  94104. var t1 = this.$this;
  94105. t1._environment0$_lastVariableName = this.name;
  94106. return t1._environment0$_lastVariableIndex = 0;
  94107. },
  94108. $signature: 10
  94109. };
  94110. A.Environment_setVariable_closure3.prototype = {
  94111. call$1(module) {
  94112. return module.get$variables().containsKey$1(this.name) ? module : null;
  94113. },
  94114. $signature: 417
  94115. };
  94116. A.Environment_setVariable_closure4.prototype = {
  94117. call$0() {
  94118. var t1 = this.$this,
  94119. t2 = t1._environment0$_variableIndex$1(this.name);
  94120. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  94121. },
  94122. $signature: 10
  94123. };
  94124. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  94125. call$1(module) {
  94126. return module.get$functions(module).$index(0, this.name);
  94127. },
  94128. $signature: 197
  94129. };
  94130. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  94131. call$1(module) {
  94132. return module.get$mixins().$index(0, this.name);
  94133. },
  94134. $signature: 197
  94135. };
  94136. A.Environment_toModule_closure0.prototype = {
  94137. call$1(modules) {
  94138. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  94139. },
  94140. $signature: 196
  94141. };
  94142. A.Environment_toDummyModule_closure0.prototype = {
  94143. call$1(modules) {
  94144. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  94145. },
  94146. $signature: 196
  94147. };
  94148. A._EnvironmentModule1.prototype = {
  94149. get$url(_) {
  94150. var t1 = this.css;
  94151. return t1.get$span(t1).file.url;
  94152. },
  94153. setVariable$3($name, value, nodeWithSpan) {
  94154. var t1, t2,
  94155. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  94156. if (_0_0 != null) {
  94157. _0_0.setVariable$3($name, value, nodeWithSpan);
  94158. return;
  94159. }
  94160. t1 = this._environment0$_environment;
  94161. t2 = t1._environment0$_variables;
  94162. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  94163. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  94164. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  94165. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  94166. return;
  94167. },
  94168. variableIdentity$1($name) {
  94169. var module = this._environment0$_modulesByVariable.$index(0, $name);
  94170. return module == null ? this : module.variableIdentity$1($name);
  94171. },
  94172. cloneCss$0() {
  94173. var _0_0, _this = this;
  94174. if (!_this.transitivelyContainsCss)
  94175. return _this;
  94176. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  94177. 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);
  94178. },
  94179. toString$0(_) {
  94180. var t2,
  94181. t1 = this.css;
  94182. if (t1.get$span(t1).file.url == null)
  94183. t1 = "<unknown url>";
  94184. else {
  94185. t1 = t1.get$span(t1).file.url;
  94186. t2 = $.$get$context();
  94187. t1.toString;
  94188. t1 = t2.prettyUri$1(t1);
  94189. }
  94190. return t1;
  94191. },
  94192. $isModule1: 1,
  94193. get$upstream() {
  94194. return this.upstream;
  94195. },
  94196. get$variables() {
  94197. return this.variables;
  94198. },
  94199. get$variableNodes() {
  94200. return this.variableNodes;
  94201. },
  94202. get$functions(receiver) {
  94203. return this.functions;
  94204. },
  94205. get$mixins() {
  94206. return this.mixins;
  94207. },
  94208. get$extensionStore() {
  94209. return this.extensionStore;
  94210. },
  94211. get$css(receiver) {
  94212. return this.css;
  94213. },
  94214. get$preModuleComments() {
  94215. return this.preModuleComments;
  94216. },
  94217. get$transitivelyContainsCss() {
  94218. return this.transitivelyContainsCss;
  94219. },
  94220. get$transitivelyContainsExtensions() {
  94221. return this.transitivelyContainsExtensions;
  94222. }
  94223. };
  94224. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  94225. call$1(module) {
  94226. return module.get$variables();
  94227. },
  94228. $signature: 420
  94229. };
  94230. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  94231. call$1(module) {
  94232. return module.get$variableNodes();
  94233. },
  94234. $signature: 421
  94235. };
  94236. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  94237. call$1(module) {
  94238. return module.get$functions(module);
  94239. },
  94240. $signature: 194
  94241. };
  94242. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  94243. call$1(module) {
  94244. return module.get$mixins();
  94245. },
  94246. $signature: 194
  94247. };
  94248. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  94249. call$1(module) {
  94250. return module.get$transitivelyContainsCss();
  94251. },
  94252. $signature: 123
  94253. };
  94254. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  94255. call$1(module) {
  94256. return module.get$transitivelyContainsExtensions();
  94257. },
  94258. $signature: 123
  94259. };
  94260. A.ErrorRule0.prototype = {
  94261. accept$1$1(visitor) {
  94262. return visitor.visitErrorRule$1(0, this);
  94263. },
  94264. accept$1(visitor) {
  94265. return this.accept$1$1(visitor, type$.dynamic);
  94266. },
  94267. toString$0(_) {
  94268. return "@error " + this.expression.toString$0(0) + ";";
  94269. },
  94270. get$span(receiver) {
  94271. return this.span;
  94272. }
  94273. };
  94274. A._EvaluateVisitor1.prototype = {
  94275. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  94276. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  94277. _s20_ = "$name, $module: null",
  94278. _s9_ = "sass:meta",
  94279. _s7_ = "$module",
  94280. t1 = type$.JSArray_BuiltInCallable_2,
  94281. 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),
  94282. 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);
  94283. t1 = type$.BuiltInCallable_2;
  94284. t2 = A.List_List$of($.$get$global6(), true, t1);
  94285. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  94286. B.JSArray_methods.addAll$1(t2, metaFunctions);
  94287. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  94288. 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) {
  94289. module = t1[_i];
  94290. t3.$indexSet(0, module.url, module);
  94291. }
  94292. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  94293. B.JSArray_methods.addAll$1(t1, functions);
  94294. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  94295. B.JSArray_methods.addAll$1(t1, metaFunctions);
  94296. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  94297. $function = t1[_i];
  94298. t4 = J.get$name$x($function);
  94299. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  94300. }
  94301. },
  94302. run$2(_, importer, node) {
  94303. var error, stackTrace, t1, exception;
  94304. try {
  94305. t1 = type$.nullable_Object;
  94306. 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);
  94307. return t1;
  94308. } catch (exception) {
  94309. t1 = A.unwrapException(exception);
  94310. if (t1 instanceof A.SassException0) {
  94311. error = t1;
  94312. stackTrace = A.getTraceFromException(exception);
  94313. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  94314. } else
  94315. throw exception;
  94316. }
  94317. },
  94318. _evaluate0$_assertInModule$1$2(value, $name) {
  94319. if (value != null)
  94320. return value;
  94321. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  94322. },
  94323. _evaluate0$_assertInModule$2(value, $name) {
  94324. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  94325. },
  94326. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  94327. var t2, _this = this, t1 = {},
  94328. _0_0 = _this._evaluate0$_builtInModules.$index(0, url);
  94329. t1.builtInModule = null;
  94330. if (_0_0 != null) {
  94331. t1.builtInModule = _0_0;
  94332. if (configuration instanceof A.ExplicitConfiguration0) {
  94333. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  94334. t2 = configuration.nodeWithSpan;
  94335. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  94336. }
  94337. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  94338. return;
  94339. }
  94340. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  94341. },
  94342. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  94343. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  94344. },
  94345. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  94346. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  94347. },
  94348. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  94349. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  94350. url = stylesheet.span.file.url,
  94351. t1 = _this._evaluate0$_modules,
  94352. _0_0 = t1.$index(0, url);
  94353. if (_0_0 != null) {
  94354. t1 = configuration == null;
  94355. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  94356. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  94357. t3 = t2._configuration0$__originalConfiguration;
  94358. t2 = t3 == null ? t2 : t3;
  94359. t3 = currentConfiguration._configuration0$__originalConfiguration;
  94360. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  94361. if (namesInErrors) {
  94362. t2 = $.$get$context();
  94363. url.toString;
  94364. message = t2.prettyUri$1(url) + string$.x20was_a;
  94365. } else
  94366. message = string$.This_mw;
  94367. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  94368. existingSpan = t2 == null ? null : t2.get$span(t2);
  94369. if (t1) {
  94370. t1 = currentConfiguration.nodeWithSpan;
  94371. configurationSpan = t1.get$span(t1);
  94372. } else
  94373. configurationSpan = null;
  94374. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94375. if (existingSpan != null)
  94376. t1.$indexSet(0, existingSpan, "original load");
  94377. if (configurationSpan != null)
  94378. t1.$indexSet(0, configurationSpan, "configuration");
  94379. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  94380. }
  94381. return _0_0;
  94382. }
  94383. environment = A.Environment$0();
  94384. css = A._Cell$();
  94385. preModuleComments = A._Cell$();
  94386. extensionStore = A.ExtensionStore$0();
  94387. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  94388. t2 = css._readLocal$0();
  94389. t3 = preModuleComments._readLocal$0();
  94390. module = environment.toModule$3(t2, t3 == null ? B.Map_empty9 : t3, extensionStore);
  94391. if (url != null) {
  94392. t1.$indexSet(0, url, module);
  94393. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  94394. if (nodeWithSpan != null)
  94395. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  94396. }
  94397. return module;
  94398. },
  94399. _evaluate0$_execute$2(importer, stylesheet) {
  94400. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  94401. },
  94402. _evaluate0$_addOutOfOrderImports$0() {
  94403. var t1, t2, _this = this, _s5_ = "_root",
  94404. _s13_ = "_endOfImports",
  94405. _0_0 = _this._evaluate0$_outOfOrderImports;
  94406. $label0$0: {
  94407. if (_0_0 == null) {
  94408. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94409. break $label0$0;
  94410. }
  94411. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94412. 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);
  94413. B.JSArray_methods.addAll$1(t1, _0_0);
  94414. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94415. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  94416. break $label0$0;
  94417. }
  94418. return t1;
  94419. },
  94420. _evaluate0$_combineCss$2$clone(root, clone) {
  94421. var selectors, _0_0, t1, imports, css, sorted, t2;
  94422. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  94423. selectors = root.get$extensionStore().get$simpleSelectors();
  94424. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  94425. if (_0_0 != null)
  94426. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  94427. return root.get$css(root);
  94428. }
  94429. t1 = type$.JSArray_CssNode_2;
  94430. imports = A._setArrayType([], t1);
  94431. css = A._setArrayType([], t1);
  94432. t1 = type$.Module_Callable_2;
  94433. sorted = A.ListQueue$(t1);
  94434. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  94435. if (root.get$transitivelyContainsExtensions())
  94436. this._evaluate0$_extendModules$1(sorted);
  94437. t1 = B.JSArray_methods.$add(imports, css);
  94438. t2 = root.get$css(root);
  94439. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  94440. },
  94441. _evaluate0$_combineCss$1(root) {
  94442. return this._evaluate0$_combineCss$2$clone(root, false);
  94443. },
  94444. _evaluate0$_extendModules$1(sortedModules) {
  94445. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  94446. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  94447. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  94448. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  94449. t3 = t1._collection$_current;
  94450. if (t3 == null)
  94451. t3 = t2._as(t3);
  94452. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  94453. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  94454. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  94455. t4 = t3.get$extensionStore().get$addExtensions();
  94456. if ($self != null)
  94457. t4.call$1($self);
  94458. t4 = t3.get$extensionStore();
  94459. if (t4.get$isEmpty(t4))
  94460. continue;
  94461. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  94462. upstream = t4[_i];
  94463. _0_0 = upstream.get$url(upstream);
  94464. if (_0_0 != null)
  94465. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  94466. }
  94467. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  94468. }
  94469. if (unsatisfiedExtensions._collection$_length !== 0)
  94470. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  94471. },
  94472. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  94473. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  94474. },
  94475. _evaluate0$_indexAfterImports$1(statements) {
  94476. var t1, lastImport, i, _0_0;
  94477. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  94478. $label0$0: {
  94479. _0_0 = t1.$index(statements, i);
  94480. if (_0_0 instanceof A.ModifiableCssImport0)
  94481. break $label0$0;
  94482. if (_0_0 instanceof A.ModifiableCssComment0)
  94483. continue;
  94484. break;
  94485. }
  94486. lastImport = i;
  94487. }
  94488. return lastImport + 1;
  94489. },
  94490. visitStylesheet$1(_, node) {
  94491. var t1, t2, _i;
  94492. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  94493. t1[_i].accept$1(this);
  94494. return null;
  94495. },
  94496. visitAtRootRule$1(_, node) {
  94497. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  94498. _s8_ = "__parent",
  94499. _0_0 = node.query,
  94500. query = _0_0 != null ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate0$_logger, null).parse$0(0) : B.AtRootQuery_n2q0,
  94501. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  94502. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  94503. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  94504. if (!query.excludes$1($parent))
  94505. included.push($parent);
  94506. _2_0 = $parent._node$_parent;
  94507. if (_2_0 == null)
  94508. throw A.wrapException(A.StateError$(string$.CssNod));
  94509. }
  94510. root = _this._evaluate0$_trimIncluded$1(included);
  94511. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  94512. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  94513. return null;
  94514. }
  94515. if (included.length >= 1) {
  94516. first = included[0];
  94517. rest = B.JSArray_methods.sublist$1(included, 1);
  94518. innerCopy = first.copyWithoutChildren$0();
  94519. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  94520. copy = rest[_i].copyWithoutChildren$0();
  94521. copy.addChild$1(outerCopy);
  94522. }
  94523. root.addChild$1(outerCopy);
  94524. } else
  94525. innerCopy = root;
  94526. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  94527. return null;
  94528. },
  94529. _evaluate0$_trimIncluded$1(nodes) {
  94530. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  94531. _s22_ = " to be an ancestor of ";
  94532. if (nodes.length === 0)
  94533. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94534. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  94535. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  94536. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  94537. _0_0 = $parent._node$_parent;
  94538. if (_0_0 == null)
  94539. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  94540. }
  94541. if (innermostContiguous == null)
  94542. innermostContiguous = i;
  94543. _1_0 = $parent._node$_parent;
  94544. if (_1_0 == null)
  94545. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  94546. }
  94547. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94548. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94549. innermostContiguous.toString;
  94550. root = nodes[innermostContiguous];
  94551. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  94552. return root;
  94553. },
  94554. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  94555. var _this = this,
  94556. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  94557. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  94558. if (t1 !== query.include)
  94559. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  94560. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  94561. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  94562. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  94563. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  94564. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  94565. },
  94566. visitContentBlock$1(_, node) {
  94567. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  94568. },
  94569. visitContentRule$1(_, node) {
  94570. var $content = this._evaluate0$_environment._environment0$_content;
  94571. if ($content == null)
  94572. return null;
  94573. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  94574. return null;
  94575. },
  94576. visitDebugRule$1(_, node) {
  94577. var value = node.expression.accept$1(this),
  94578. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  94579. this._evaluate0$_logger.debug$2(0, t1, node.span);
  94580. return null;
  94581. },
  94582. visitDeclaration$1(_, node) {
  94583. var t2, _0_0, t3, $name, _1_0, _2_0, value, t4, t5, _3_0, oldDeclarationName, _this = this, _null = null,
  94584. _s8_ = "__parent",
  94585. t1 = {};
  94586. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  94587. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  94588. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  94589. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  94590. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  94591. _0_0 = t2.get$last(t2);
  94592. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  94593. if (t2 !== _0_0) {
  94594. t2 = type$.SourceSpan;
  94595. t3 = type$.String;
  94596. _this._evaluate0$_warn$3(string$.Sassx27s, new A.MultiSpan0(node.span, "declaration", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([_0_0.get$span(_0_0), "nested rule"], t2, t3), t2, t3)), B.Deprecation_FGJ);
  94597. }
  94598. t2 = node.name;
  94599. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t2, true);
  94600. _1_0 = _this._evaluate0$_declarationName;
  94601. if (_1_0 != null)
  94602. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  94603. _2_0 = node.value;
  94604. if (_2_0 != null) {
  94605. value = _2_0.accept$1(_this);
  94606. if (!value.get$isBlank() || value.get$asList().length === 0) {
  94607. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  94608. t4 = _2_0.get$span(_2_0);
  94609. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  94610. if (_this._evaluate0$_sourceMap) {
  94611. t5 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  94612. t5 = t5 == null ? _null : J.get$span$z(t5);
  94613. } else
  94614. t5 = _null;
  94615. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  94616. } else if (J.startsWith$1$s($name.value, "--"))
  94617. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  94618. }
  94619. _3_0 = node.children;
  94620. t1.children = null;
  94621. if (_3_0 != null) {
  94622. t1.children = _3_0;
  94623. oldDeclarationName = _this._evaluate0$_declarationName;
  94624. _this._evaluate0$_declarationName = $name.value;
  94625. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  94626. _this._evaluate0$_declarationName = oldDeclarationName;
  94627. }
  94628. return _null;
  94629. },
  94630. visitEachRule$1(_, node) {
  94631. var _this = this, _box_0 = {},
  94632. t1 = node.list,
  94633. list = t1.accept$1(_this),
  94634. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  94635. _0_0 = node.variables;
  94636. $label0$0: {
  94637. _box_0.variable = null;
  94638. if (_0_0.length === 1) {
  94639. _box_0.variable = _0_0[0];
  94640. t1 = new A._EvaluateVisitor_visitEachRule_closure5(_box_0, _this, nodeWithSpan);
  94641. break $label0$0;
  94642. }
  94643. _box_0.variables = null;
  94644. _box_0.variables = _0_0;
  94645. t1 = new A._EvaluateVisitor_visitEachRule_closure6(_box_0, _this, nodeWithSpan);
  94646. break $label0$0;
  94647. }
  94648. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  94649. },
  94650. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  94651. var i,
  94652. list = value.get$asList(),
  94653. t1 = variables.length,
  94654. minLength = Math.min(t1, list.length);
  94655. for (i = 0; i < minLength; ++i)
  94656. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  94657. for (i = minLength; i < t1; ++i)
  94658. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  94659. },
  94660. visitErrorRule$1(_, node) {
  94661. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  94662. },
  94663. visitExtendRule$1(_, node) {
  94664. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  94665. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  94666. if (styleRule == null || _this._evaluate0$_declarationName != null)
  94667. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  94668. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  94669. complex = t1[_i];
  94670. if (!complex.accept$1(B._IsBogusVisitor_true0))
  94671. continue;
  94672. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94673. complex.accept$1(visitor);
  94674. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  94675. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  94676. _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_5pG);
  94677. }
  94678. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  94679. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(_0_0._0, true), false, _0_0._1, _this._evaluate0$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  94680. complex = t1[_i];
  94681. compound = complex.get$singleCompound();
  94682. if (compound == null)
  94683. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  94684. t4 = compound.components;
  94685. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  94686. if (t5 == null)
  94687. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  94688. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  94689. }
  94690. return _null;
  94691. },
  94692. visitAtRule$1(_, node) {
  94693. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  94694. if (_this._evaluate0$_declarationName != null)
  94695. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  94696. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  94697. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  94698. children = node.children;
  94699. if (children == null) {
  94700. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  94701. return null;
  94702. }
  94703. wasInKeyframes = _this._evaluate0$_inKeyframes;
  94704. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  94705. if (A.unvendor0($name.value) === "keyframes")
  94706. _this._evaluate0$_inKeyframes = true;
  94707. else
  94708. _this._evaluate0$_inUnknownAtRule = true;
  94709. _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);
  94710. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  94711. _this._evaluate0$_inKeyframes = wasInKeyframes;
  94712. return null;
  94713. },
  94714. visitForRule$1(_, node) {
  94715. var _this = this, t1 = {},
  94716. t2 = node.from,
  94717. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  94718. t3 = node.to,
  94719. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  94720. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  94721. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  94722. direction = from > to ? -1 : 1;
  94723. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  94724. return null;
  94725. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  94726. },
  94727. visitForwardRule$1(_, node) {
  94728. var newConfiguration, t4, _i, variable, $name, _this = this,
  94729. _s8_ = "@forward",
  94730. oldConfiguration = _this._evaluate0$_configuration,
  94731. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  94732. t1 = node.configuration,
  94733. t2 = t1.length,
  94734. t3 = node.url;
  94735. if (t2 !== 0) {
  94736. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  94737. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  94738. t3 = type$.String;
  94739. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94740. for (_i = 0; _i < t2; ++_i) {
  94741. variable = t1[_i];
  94742. if (!variable.isGuarded)
  94743. t4.add$1(0, variable.name);
  94744. }
  94745. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  94746. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94747. for (_i = 0; _i < t2; ++_i)
  94748. t3.add$1(0, t1[_i].name);
  94749. 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) {
  94750. $name = t2[_i];
  94751. if (!t3.contains$1(0, $name))
  94752. if (!t1.get$isEmpty(t1))
  94753. t1.remove$1(0, $name);
  94754. }
  94755. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  94756. } else {
  94757. _this._evaluate0$_configuration = adjustedConfiguration;
  94758. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  94759. _this._evaluate0$_configuration = oldConfiguration;
  94760. }
  94761. return null;
  94762. },
  94763. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  94764. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  94765. t1 = configuration._configuration0$_values,
  94766. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94767. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94768. variable = t2[_i];
  94769. if (variable.isGuarded) {
  94770. t4 = variable.name;
  94771. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  94772. if (oldValue != null)
  94773. t5 = !oldValue.value.$eq(0, B.C__SassNull0);
  94774. else {
  94775. oldValue = _null;
  94776. t5 = false;
  94777. }
  94778. if (t5) {
  94779. newValues.$indexSet(0, t4, oldValue);
  94780. continue;
  94781. }
  94782. }
  94783. t4 = variable.expression;
  94784. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  94785. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94786. }
  94787. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  94788. return new A.ExplicitConfiguration0(node, newValues, _null);
  94789. else
  94790. return new A.Configuration0(newValues, _null);
  94791. },
  94792. _evaluate0$_registerCommentsForModule$1(module) {
  94793. var _this = this, _s5_ = "_root",
  94794. t1 = _this._evaluate0$__root;
  94795. if (t1 == null)
  94796. return;
  94797. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  94798. return;
  94799. t1 = _this._evaluate0$_preModuleComments;
  94800. if (t1 == null)
  94801. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  94802. 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));
  94803. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  94804. _this._evaluate0$__endOfImports = 0;
  94805. },
  94806. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  94807. var t1, t2, t3, t4, _i, $name;
  94808. 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) {
  94809. $name = t2[_i];
  94810. if (except.contains$1(0, $name))
  94811. continue;
  94812. if (!t4.containsKey$1($name))
  94813. if (!t1.get$isEmpty(t1))
  94814. t1.remove$1(0, $name);
  94815. }
  94816. },
  94817. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  94818. var t1, _0_0, $name, value;
  94819. if (!(configuration instanceof A.ExplicitConfiguration0))
  94820. return;
  94821. t1 = configuration._configuration0$_values;
  94822. if (t1.get$isEmpty(t1))
  94823. return;
  94824. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94825. _0_0 = t1.get$first(t1);
  94826. $name = _0_0._0;
  94827. value = _0_0._1;
  94828. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  94829. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  94830. },
  94831. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  94832. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  94833. },
  94834. visitFunctionRule$1(_, node) {
  94835. var t1 = this._evaluate0$_environment,
  94836. t2 = t1.closure$0(),
  94837. t3 = this._evaluate0$_inDependency,
  94838. t4 = t1._environment0$_functions,
  94839. index = t4.length - 1,
  94840. t5 = node.name;
  94841. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  94842. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94843. return null;
  94844. },
  94845. visitIfRule$1(_, node) {
  94846. var t1, t2, _i, clauseToCheck,
  94847. clause = node.lastClause;
  94848. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  94849. clauseToCheck = t1[_i];
  94850. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  94851. clause = clauseToCheck;
  94852. break;
  94853. }
  94854. }
  94855. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  94856. },
  94857. visitImportRule$1(_, node) {
  94858. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  94859. _s8_ = "__parent",
  94860. _s5_ = "_root",
  94861. _s13_ = "_endOfImports";
  94862. 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) {
  94863. $import = t1[_i];
  94864. if ($import instanceof A.DynamicImport0)
  94865. _this._evaluate0$_visitDynamicImport$1($import);
  94866. else {
  94867. t5._as($import);
  94868. t7 = $import.url;
  94869. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  94870. $self = $import.modifiers;
  94871. t8 = $self == null ? null : t4.call$1($self);
  94872. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  94873. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94874. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  94875. 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)) {
  94876. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94877. node._node$_parent = t7;
  94878. t7 = t7._node$_children;
  94879. node._node$_indexInParent = t7.length;
  94880. t7.push(node);
  94881. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94882. } else {
  94883. t7 = _this._evaluate0$_outOfOrderImports;
  94884. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  94885. }
  94886. }
  94887. }
  94888. return null;
  94889. },
  94890. _evaluate0$_visitDynamicImport$1($import) {
  94891. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  94892. },
  94893. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  94894. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  94895. _s11_ = "_stylesheet";
  94896. baseUrl = baseUrl;
  94897. try {
  94898. _this._evaluate0$_importSpan = span;
  94899. _0_0 = _this._evaluate0$_importCache;
  94900. importCache = null;
  94901. if (_0_0 != null) {
  94902. importCache = _0_0;
  94903. if (baseUrl == null)
  94904. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  94905. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  94906. importer = null;
  94907. canonicalUrl = null;
  94908. originalUrl = null;
  94909. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  94910. importer = _1_0._0;
  94911. canonicalUrl = _1_0._1;
  94912. originalUrl = _1_0._2;
  94913. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  94914. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  94915. t1 = importCache;
  94916. t2 = importer;
  94917. t3 = canonicalUrl;
  94918. t4 = originalUrl;
  94919. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._evaluate0$_quietDeps && isDependency);
  94920. stylesheet = null;
  94921. if (_2_0 != null) {
  94922. stylesheet = _2_0;
  94923. t1 = stylesheet;
  94924. t2 = importer;
  94925. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  94926. }
  94927. }
  94928. }
  94929. if (_this._nodeImporter != null) {
  94930. t1 = baseUrl;
  94931. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  94932. result = null;
  94933. if (_3_0 != null) {
  94934. result = _3_0;
  94935. t1 = _this._evaluate0$_loadedUrls;
  94936. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  94937. t1 = result;
  94938. return t1;
  94939. }
  94940. }
  94941. t1 = B.JSString_methods.startsWith$1(url, "package:");
  94942. if (t1)
  94943. throw A.wrapException(string$.x22packa);
  94944. else
  94945. throw A.wrapException("Can't find stylesheet to import.");
  94946. } catch (exception) {
  94947. t1 = A.unwrapException(exception);
  94948. if (t1 instanceof A.SassException0)
  94949. throw exception;
  94950. else if (t1 instanceof A.ArgumentError) {
  94951. error = t1;
  94952. stackTrace = A.getTraceFromException(exception);
  94953. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  94954. } else {
  94955. error0 = t1;
  94956. stackTrace0 = A.getTraceFromException(exception);
  94957. message = null;
  94958. try {
  94959. message = A._asString(J.get$message$x(error0));
  94960. } catch (exception) {
  94961. message0 = J.toString$0$(error0);
  94962. message = message0;
  94963. }
  94964. A.throwWithTrace0(_this._evaluate0$_exception$1(message), error0, stackTrace0);
  94965. }
  94966. } finally {
  94967. _this._evaluate0$_importSpan = null;
  94968. }
  94969. },
  94970. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  94971. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  94972. },
  94973. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  94974. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  94975. },
  94976. _importLikeNode$3(originalUrl, previous, forImport) {
  94977. var isDependency, url, t2, _this = this,
  94978. t1 = _this._nodeImporter,
  94979. result = t1.loadRelative$3(originalUrl, previous, forImport);
  94980. if (result != null)
  94981. isDependency = _this._evaluate0$_inDependency;
  94982. else {
  94983. result = t1.load$3(0, originalUrl, previous, forImport);
  94984. if (result == null)
  94985. return null;
  94986. isDependency = true;
  94987. }
  94988. url = result._1;
  94989. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  94990. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  94991. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  94992. },
  94993. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  94994. var t1, _0_0, t2, _1_8, _this = this,
  94995. _s37_ = "Mixin doesn't accept a content block.",
  94996. _s10_ = "invocation";
  94997. $label0$0: {
  94998. if (mixin == null)
  94999. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  95000. t1 = mixin instanceof A.BuiltInCallable0;
  95001. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  95002. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  95003. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  95004. 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));
  95005. }
  95006. if (t1) {
  95007. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  95008. break $label0$0;
  95009. }
  95010. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  95011. t2 = false;
  95012. if (t1) {
  95013. _1_8 = mixin.declaration;
  95014. if (_1_8 instanceof A.MixinRule0)
  95015. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  95016. }
  95017. if (t2)
  95018. 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));
  95019. if (t1) {
  95020. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  95021. break $label0$0;
  95022. }
  95023. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  95024. }
  95025. },
  95026. visitIncludeRule$1(_, node) {
  95027. var _this = this,
  95028. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  95029. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  95030. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_qBS);
  95031. _this._evaluate0$_applyMixin$5(mixin, A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure6(_this)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure7(node)));
  95032. return null;
  95033. },
  95034. visitMixinRule$1(_, node) {
  95035. var t1 = this._evaluate0$_environment,
  95036. t2 = t1.closure$0(),
  95037. t3 = this._evaluate0$_inDependency,
  95038. t4 = t1._environment0$_mixins,
  95039. index = t4.length - 1,
  95040. t5 = node.name;
  95041. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  95042. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  95043. return null;
  95044. },
  95045. visitLoudComment$1(_, node) {
  95046. var t1, _this = this,
  95047. _s8_ = "__parent",
  95048. _s13_ = "_endOfImports";
  95049. if (_this._evaluate0$_inFunction)
  95050. return null;
  95051. 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))
  95052. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95053. t1 = node.text;
  95054. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  95055. return null;
  95056. },
  95057. visitMediaRule$1(_, node) {
  95058. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  95059. if (_this._evaluate0$_declarationName != null)
  95060. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  95061. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  95062. queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
  95063. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  95064. t1 = mergedQueries == null;
  95065. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  95066. return null;
  95067. if (t1)
  95068. mergedSources = B.Set_empty5;
  95069. else {
  95070. t2 = _this._evaluate0$_mediaQuerySources;
  95071. t2.toString;
  95072. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  95073. t3 = _this._evaluate0$_mediaQueries;
  95074. t3.toString;
  95075. t2.addAll$1(0, t3);
  95076. t2.addAll$1(0, queries);
  95077. mergedSources = t2;
  95078. }
  95079. t1 = t1 ? queries : mergedQueries;
  95080. _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);
  95081. return null;
  95082. },
  95083. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  95084. var t1, t2, t3, t4, _0_0, t5, result,
  95085. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  95086. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  95087. t3 = t1.get$current(t1);
  95088. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  95089. $label0$1: {
  95090. _0_0 = t3.merge$1(t4.get$current(t4));
  95091. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  95092. continue;
  95093. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  95094. return null;
  95095. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  95096. result = t5 ? _0_0 : null;
  95097. if (t5)
  95098. queries.push(result.query);
  95099. break $label0$1;
  95100. }
  95101. }
  95102. return queries;
  95103. },
  95104. visitReturnRule$1(_, node) {
  95105. var t1 = node.expression;
  95106. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  95107. },
  95108. visitSilentComment$1(_, node) {
  95109. return null;
  95110. },
  95111. visitStyleRule$1(_, node) {
  95112. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  95113. _s8_ = "__parent",
  95114. _s11_ = "_stylesheet";
  95115. if (_this._evaluate0$_declarationName != null)
  95116. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  95117. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  95118. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  95119. t1 = node.selector;
  95120. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  95121. selectorText = _0_0._0;
  95122. selectorMap = _0_0._1;
  95123. if (_this._evaluate0$_inKeyframes) {
  95124. _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(0), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure7(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure8(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  95125. return _null;
  95126. }
  95127. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_logger, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  95128. t1 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  95129. t1 = t1 == null ? _null : t1.fromPlainCss;
  95130. nest = t1 !== true;
  95131. if (nest) {
  95132. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  95133. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95134. _1_0 = t1[_i].leadingCombinators;
  95135. if (_1_0.length >= 1) {
  95136. first = _1_0[0];
  95137. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_);
  95138. t3 = t3.plainCss;
  95139. } else {
  95140. first = _null;
  95141. t3 = false;
  95142. }
  95143. if (t3)
  95144. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  95145. }
  95146. t1 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  95147. t1 = t1 == null ? _null : t1.originalSelector;
  95148. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  95149. }
  95150. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, parsedSelector);
  95151. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  95152. t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
  95153. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  95154. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule_2, type$.Null);
  95155. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  95156. _this._evaluate0$_warnForBogusCombinators$1(rule);
  95157. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  95158. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  95159. t1 = !t1.get$isEmpty(t1);
  95160. }
  95161. if (t1) {
  95162. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  95163. t1.get$last(t1).isGroupEnd = true;
  95164. }
  95165. return _null;
  95166. },
  95167. _evaluate0$_warnForBogusCombinators$1(rule) {
  95168. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  95169. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  95170. for (t1 = rule._style_rule0$_selector._box0$_inner.value.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  95171. complex = t1[_i];
  95172. if (!complex.accept$1(B._IsBogusVisitor_true0))
  95173. continue;
  95174. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  95175. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95176. complex.accept$1(visitor);
  95177. _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_5pG);
  95178. } else if (complex.leadingCombinators.length !== 0) {
  95179. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  95180. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95181. complex.accept$1(visitor);
  95182. _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_5pG);
  95183. }
  95184. } else {
  95185. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95186. complex.accept$1(visitor);
  95187. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  95188. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  95189. t8 = A.SpanExtensions_trimRight0(complex.span);
  95190. if (t5.get$length(0) === 0)
  95191. A.throwExpression(A.IterableElementError_noElement());
  95192. t9 = J.get$span$z(t5.$index(0, 0));
  95193. _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__warnForBogusCombinators_closure1()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_5pG);
  95194. }
  95195. }
  95196. },
  95197. visitSupportsRule$1(_, node) {
  95198. var t1, _this = this;
  95199. if (_this._evaluate0$_declarationName != null)
  95200. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  95201. t1 = node.condition;
  95202. _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);
  95203. return null;
  95204. },
  95205. _evaluate0$_visitSupportsCondition$1(condition) {
  95206. var t1, _this = this, _box_0 = {};
  95207. $label0$0: {
  95208. if (condition instanceof A.SupportsOperation0) {
  95209. t1 = condition.operator;
  95210. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  95211. break $label0$0;
  95212. }
  95213. if (condition instanceof A.SupportsNegation0) {
  95214. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  95215. break $label0$0;
  95216. }
  95217. if (condition instanceof A.SupportsInterpolation0) {
  95218. t1 = condition.expression;
  95219. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  95220. break $label0$0;
  95221. }
  95222. _box_0.declaration = null;
  95223. if (condition instanceof A.SupportsDeclaration0) {
  95224. _box_0.declaration = condition;
  95225. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(_box_0, _this));
  95226. break $label0$0;
  95227. }
  95228. if (condition instanceof A.SupportsFunction0) {
  95229. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  95230. break $label0$0;
  95231. }
  95232. if (condition instanceof A.SupportsAnything0) {
  95233. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  95234. break $label0$0;
  95235. }
  95236. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  95237. }
  95238. return t1;
  95239. },
  95240. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  95241. var t1,
  95242. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  95243. this._evaluate0$_inSupportsDeclaration = true;
  95244. try {
  95245. t1 = callback.call$0();
  95246. return t1;
  95247. } finally {
  95248. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95249. }
  95250. },
  95251. _evaluate0$_withSupportsDeclaration$1(callback) {
  95252. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  95253. },
  95254. _evaluate0$_parenthesize$2(condition, operator) {
  95255. var t1;
  95256. if (!(condition instanceof A.SupportsNegation0))
  95257. if (condition instanceof A.SupportsOperation0)
  95258. t1 = operator == null || operator !== condition.operator;
  95259. else
  95260. t1 = false;
  95261. else
  95262. t1 = true;
  95263. if (t1)
  95264. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  95265. return this._evaluate0$_visitSupportsCondition$1(condition);
  95266. },
  95267. _evaluate0$_parenthesize$1(condition) {
  95268. return this._evaluate0$_parenthesize$2(condition, null);
  95269. },
  95270. visitVariableDeclaration$1(_, node) {
  95271. var t2, value, _this = this, _null = null, t1 = {};
  95272. if (node.isGuarded) {
  95273. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  95274. t2 = _this._evaluate0$_configuration._configuration0$_values;
  95275. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  95276. t1.override = null;
  95277. if (t2 != null) {
  95278. t1.override = t2;
  95279. t2 = !t2.value.$eq(0, B.C__SassNull0);
  95280. } else
  95281. t2 = false;
  95282. if (t2) {
  95283. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  95284. return _null;
  95285. }
  95286. }
  95287. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  95288. if (value != null && !value.$eq(0, B.C__SassNull0))
  95289. return _null;
  95290. }
  95291. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  95292. 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.";
  95293. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_W6Z);
  95294. }
  95295. t1 = node.expression;
  95296. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  95297. return _null;
  95298. },
  95299. visitUseRule$1(_, node) {
  95300. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  95301. t1 = node.configuration,
  95302. t2 = t1.length;
  95303. if (t2 !== 0) {
  95304. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  95305. for (_i = 0; _i < t2; ++_i) {
  95306. variable = t1[_i];
  95307. t3 = variable.expression;
  95308. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  95309. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  95310. }
  95311. configuration = new A.ExplicitConfiguration0(node, values, null);
  95312. } else
  95313. configuration = B.Configuration_Map_empty_null0;
  95314. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  95315. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  95316. return null;
  95317. },
  95318. visitWarnRule$1(_, node) {
  95319. var _this = this,
  95320. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  95321. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  95322. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  95323. return null;
  95324. },
  95325. visitWhileRule$1(_, node) {
  95326. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  95327. },
  95328. visitBinaryOperationExpression$1(_, node) {
  95329. var t1, _this = this;
  95330. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  95331. t1 = node.operator;
  95332. t1 = t1 !== B.BinaryOperator_wdM0 && t1 !== B.BinaryOperator_U770;
  95333. } else
  95334. t1 = false;
  95335. if (t1)
  95336. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  95337. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  95338. },
  95339. _evaluate0$_slash$3(left, right, node) {
  95340. var t2, _1_1,
  95341. result = left.dividedBy$1(right),
  95342. _1_2_isSet = left instanceof A.SassNumber0,
  95343. _1_2 = null, right0 = null,
  95344. t1 = false;
  95345. if (_1_2_isSet) {
  95346. t2 = type$.SassNumber_2;
  95347. t2._as(left);
  95348. if (right instanceof A.SassNumber0) {
  95349. t2._as(right);
  95350. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  95351. right0 = right;
  95352. _1_2 = right0;
  95353. } else
  95354. _1_2 = right;
  95355. _1_1 = left;
  95356. } else {
  95357. _1_1 = left;
  95358. left = null;
  95359. }
  95360. if (t1)
  95361. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  95362. if (_1_1 instanceof A.SassNumber0)
  95363. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  95364. else
  95365. t1 = false;
  95366. if (t1) {
  95367. 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_E8a);
  95368. return result;
  95369. }
  95370. return result;
  95371. },
  95372. _evaluate0$_operandAllowsSlash$1(node) {
  95373. var t1;
  95374. if (node instanceof A.FunctionExpression0)
  95375. if (node.namespace == null) {
  95376. t1 = node.name;
  95377. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  95378. } else
  95379. t1 = false;
  95380. else
  95381. t1 = true;
  95382. return t1;
  95383. },
  95384. visitValueExpression$1(_, node) {
  95385. return node.value;
  95386. },
  95387. visitVariableExpression$1(_, node) {
  95388. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  95389. if (result != null)
  95390. return result;
  95391. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  95392. },
  95393. visitUnaryOperationExpression$1(_, node) {
  95394. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  95395. },
  95396. visitBooleanExpression$1(_, node) {
  95397. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95398. },
  95399. visitIfExpression$1(_, node) {
  95400. var condition, t1, ifTrue, ifFalse, result, _this = this,
  95401. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  95402. positional = _0_0._0,
  95403. named = _0_0._1;
  95404. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  95405. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  95406. if (condition == null) {
  95407. t1 = named.$index(0, "condition");
  95408. t1.toString;
  95409. condition = t1;
  95410. }
  95411. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  95412. if (ifTrue == null) {
  95413. t1 = named.$index(0, "if-true");
  95414. t1.toString;
  95415. ifTrue = t1;
  95416. }
  95417. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  95418. if (ifFalse == null) {
  95419. t1 = named.$index(0, "if-false");
  95420. t1.toString;
  95421. ifFalse = t1;
  95422. }
  95423. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  95424. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  95425. },
  95426. visitNullExpression$1(_, node) {
  95427. return B.C__SassNull0;
  95428. },
  95429. visitNumberExpression$1(_, node) {
  95430. return A.SassNumber_SassNumber0(node.value, node.unit);
  95431. },
  95432. visitParenthesizedExpression$1(_, node) {
  95433. var _this = this;
  95434. 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);
  95435. },
  95436. visitColorExpression$1(_, node) {
  95437. return node.value;
  95438. },
  95439. visitListExpression$1(_, node) {
  95440. var t1 = node.contents;
  95441. 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);
  95442. },
  95443. visitMapExpression$1(_, node) {
  95444. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  95445. t1 = type$.Value_2,
  95446. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  95447. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  95448. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  95449. t4 = t2[_i];
  95450. key = t4._0;
  95451. value = t4._1;
  95452. keyValue = key.accept$1(this);
  95453. valueValue = value.accept$1(this);
  95454. if (map.containsKey$1(keyValue)) {
  95455. t1 = keyNodes.$index(0, keyValue);
  95456. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  95457. t1 = key.get$span(key);
  95458. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  95459. if (oldValueSpan != null)
  95460. t2.$indexSet(0, oldValueSpan, "first key");
  95461. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  95462. }
  95463. map.$indexSet(0, keyValue, valueValue);
  95464. keyNodes.$indexSet(0, keyValue, key);
  95465. }
  95466. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  95467. },
  95468. visitFunctionExpression$1(_, node) {
  95469. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  95470. _s11_ = "_stylesheet",
  95471. t1 = {},
  95472. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  95473. t1.$function = $function;
  95474. if ($function == null) {
  95475. if (node.namespace != null)
  95476. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  95477. t2 = node.name;
  95478. _0_0 = t2.toLowerCase();
  95479. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  95480. t3 = node.$arguments;
  95481. t4 = t3.named;
  95482. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  95483. } else
  95484. t3 = false;
  95485. if (t3)
  95486. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, true);
  95487. 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)
  95488. return _this._evaluate0$_visitCalculation$1(node);
  95489. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  95490. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  95491. } else
  95492. t2 = $function;
  95493. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  95494. _this._evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_qBS);
  95495. oldInFunction = _this._evaluate0$_inFunction;
  95496. _this._evaluate0$_inFunction = true;
  95497. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  95498. _this._evaluate0$_inFunction = oldInFunction;
  95499. return result;
  95500. },
  95501. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  95502. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  95503. t2 = node.$arguments,
  95504. t3 = t2.named;
  95505. if (t3.get$isNotEmpty(t3))
  95506. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  95507. else if (t2.rest != null)
  95508. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  95509. _this._evaluate0$_checkCalculationArguments$1(node);
  95510. t3 = A._setArrayType([], type$.JSArray_Object);
  95511. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  95512. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95513. $arguments = t3;
  95514. if (_this._evaluate0$_inSupportsDeclaration)
  95515. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  95516. oldCallableNode = _this._evaluate0$_callableNode;
  95517. _this._evaluate0$_callableNode = node;
  95518. try {
  95519. t1 = null;
  95520. t3 = node.name;
  95521. _0_0 = t3.toLowerCase();
  95522. $label0$0: {
  95523. if ("calc" === _0_0) {
  95524. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  95525. break $label0$0;
  95526. }
  95527. if ("sqrt" === _0_0) {
  95528. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  95529. break $label0$0;
  95530. }
  95531. if ("sin" === _0_0) {
  95532. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  95533. break $label0$0;
  95534. }
  95535. if ("cos" === _0_0) {
  95536. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  95537. break $label0$0;
  95538. }
  95539. if ("tan" === _0_0) {
  95540. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  95541. break $label0$0;
  95542. }
  95543. if ("asin" === _0_0) {
  95544. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  95545. break $label0$0;
  95546. }
  95547. if ("acos" === _0_0) {
  95548. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  95549. break $label0$0;
  95550. }
  95551. if ("atan" === _0_0) {
  95552. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  95553. break $label0$0;
  95554. }
  95555. if ("abs" === _0_0) {
  95556. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  95557. break $label0$0;
  95558. }
  95559. if ("exp" === _0_0) {
  95560. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  95561. break $label0$0;
  95562. }
  95563. if ("sign" === _0_0) {
  95564. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  95565. break $label0$0;
  95566. }
  95567. if ("min" === _0_0) {
  95568. t1 = A.SassCalculation_min0($arguments);
  95569. break $label0$0;
  95570. }
  95571. if ("max" === _0_0) {
  95572. t1 = A.SassCalculation_max0($arguments);
  95573. break $label0$0;
  95574. }
  95575. if ("hypot" === _0_0) {
  95576. t1 = A.SassCalculation_hypot0($arguments);
  95577. break $label0$0;
  95578. }
  95579. if ("pow" === _0_0) {
  95580. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95581. break $label0$0;
  95582. }
  95583. if ("atan2" === _0_0) {
  95584. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95585. break $label0$0;
  95586. }
  95587. if ("log" === _0_0) {
  95588. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95589. break $label0$0;
  95590. }
  95591. if ("mod" === _0_0) {
  95592. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95593. break $label0$0;
  95594. }
  95595. if ("rem" === _0_0) {
  95596. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95597. break $label0$0;
  95598. }
  95599. if ("round" === _0_0) {
  95600. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95601. break $label0$0;
  95602. }
  95603. if ("clamp" === _0_0) {
  95604. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95605. break $label0$0;
  95606. }
  95607. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  95608. t1 = A.throwExpression(t3);
  95609. }
  95610. t1 = t1;
  95611. return t1;
  95612. } catch (exception) {
  95613. t1 = A.unwrapException(exception);
  95614. if (t1 instanceof A.SassScriptException0) {
  95615. error = t1;
  95616. stackTrace = A.getTraceFromException(exception);
  95617. if (B.JSString_methods.contains$1(error.message, "compatible"))
  95618. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  95619. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  95620. } else
  95621. throw exception;
  95622. } finally {
  95623. _this._evaluate0$_callableNode = oldCallableNode;
  95624. }
  95625. },
  95626. _evaluate0$_visitCalculation$1(node) {
  95627. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  95628. },
  95629. _evaluate0$_checkCalculationArguments$1(node) {
  95630. var t1, _0_0,
  95631. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  95632. $label0$0: {
  95633. t1 = node.name;
  95634. _0_0 = t1.toLowerCase();
  95635. 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) {
  95636. check.call$1(1);
  95637. break $label0$0;
  95638. }
  95639. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  95640. check.call$0();
  95641. break $label0$0;
  95642. }
  95643. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  95644. check.call$1(2);
  95645. break $label0$0;
  95646. }
  95647. if ("round" === _0_0 || "clamp" === _0_0) {
  95648. check.call$1(3);
  95649. break $label0$0;
  95650. }
  95651. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  95652. }
  95653. },
  95654. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  95655. var i, t1, _0_0, arg, number1, j, number2;
  95656. for (i = 0; t1 = args.length, i < t1; ++i) {
  95657. _0_0 = args[i];
  95658. if (_0_0 instanceof A.SassNumber0) {
  95659. t1 = _0_0.get$hasComplexUnits();
  95660. arg = _0_0;
  95661. } else {
  95662. arg = null;
  95663. t1 = false;
  95664. }
  95665. if (t1)
  95666. throw A.wrapException(this._evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  95667. }
  95668. for (i = 0; i < t1 - 1; ++i) {
  95669. number1 = args[i];
  95670. if (!(number1 instanceof A.SassNumber0))
  95671. continue;
  95672. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  95673. number2 = args[j];
  95674. if (!(number2 instanceof A.SassNumber0))
  95675. continue;
  95676. if (number1.hasPossiblyCompatibleUnits$1(number2))
  95677. continue;
  95678. 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));
  95679. }
  95680. }
  95681. },
  95682. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  95683. var result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {},
  95684. t1 = node instanceof A.ParenthesizedExpression0,
  95685. inner = t1 ? node.expression : _null;
  95686. if (t1) {
  95687. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  95688. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  95689. }
  95690. if (node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0())) {
  95691. t1 = node.text;
  95692. t2 = t1.get$asPlain();
  95693. _0_0 = t2 == null ? _null : t2.toLowerCase();
  95694. $label0$0: {
  95695. if ("pi" === _0_0) {
  95696. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  95697. break $label0$0;
  95698. }
  95699. if ("e" === _0_0) {
  95700. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  95701. break $label0$0;
  95702. }
  95703. if ("infinity" === _0_0) {
  95704. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  95705. break $label0$0;
  95706. }
  95707. if ("-infinity" === _0_0) {
  95708. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  95709. break $label0$0;
  95710. }
  95711. if ("nan" === _0_0) {
  95712. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  95713. break $label0$0;
  95714. }
  95715. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  95716. break $label0$0;
  95717. }
  95718. return t1;
  95719. }
  95720. _box_0.right = _box_0.left = _box_0.operator = null;
  95721. t1 = node instanceof A.BinaryOperationExpression0;
  95722. if (t1) {
  95723. _box_0.operator = node.operator;
  95724. _box_0.left = node.left;
  95725. _box_0.right = node.right;
  95726. }
  95727. if (t1) {
  95728. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  95729. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  95730. }
  95731. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  95732. _1_0 = node.accept$1(_this);
  95733. $label1$1: {
  95734. if (_1_0 instanceof A.SassNumber0) {
  95735. t1 = _1_0;
  95736. break $label1$1;
  95737. }
  95738. if (_1_0 instanceof A.SassCalculation0) {
  95739. t1 = _1_0;
  95740. break $label1$1;
  95741. }
  95742. if (_1_0 instanceof A.SassString0) {
  95743. t1 = !_1_0._string0$_hasQuotes;
  95744. result = _1_0;
  95745. } else {
  95746. result = _null;
  95747. t1 = false;
  95748. }
  95749. if (t1) {
  95750. t1 = result;
  95751. break $label1$1;
  95752. }
  95753. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  95754. }
  95755. return t1;
  95756. }
  95757. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_nbm0 === node.separator && node.contents.length >= 2) {
  95758. t1 = A._setArrayType([], type$.JSArray_Object);
  95759. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95760. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95761. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  95762. for (i = 0; i < t1.length; ++i) {
  95763. t3 = t1[i];
  95764. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  95765. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  95766. }
  95767. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  95768. }
  95769. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  95770. },
  95771. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  95772. var t2, t3, t4, textBetweenOperands, first, last,
  95773. t1 = node.operator;
  95774. if (t1 !== B.BinaryOperator_u150 && t1 !== B.BinaryOperator_SjO0)
  95775. return;
  95776. t1 = node.left;
  95777. t2 = t1.get$span(t1);
  95778. t2 = t2.get$file(t2);
  95779. t3 = node.right;
  95780. t4 = t3.get$span(t3);
  95781. if (t2 !== t4.get$file(t4))
  95782. return;
  95783. t2 = t1.get$span(t1);
  95784. t2 = t2.get$end(t2);
  95785. t4 = t3.get$span(t3);
  95786. if (t2.offset >= t4.get$start(t4).offset)
  95787. return;
  95788. t2 = t1.get$span(t1);
  95789. t2 = t2.get$file(t2);
  95790. t1 = t1.get$span(t1);
  95791. t1 = t1.get$end(t1);
  95792. t3 = t3.get$span(t3);
  95793. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  95794. first = textBetweenOperands.charCodeAt(0);
  95795. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  95796. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  95797. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  95798. else
  95799. t1 = true;
  95800. if (t1)
  95801. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  95802. },
  95803. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  95804. var t1;
  95805. $label0$0: {
  95806. if (B.BinaryOperator_u150 === operator) {
  95807. t1 = B.CalculationOperator_g2q0;
  95808. break $label0$0;
  95809. }
  95810. if (B.BinaryOperator_SjO0 === operator) {
  95811. t1 = B.CalculationOperator_CxF0;
  95812. break $label0$0;
  95813. }
  95814. if (B.BinaryOperator_2No0 === operator) {
  95815. t1 = B.CalculationOperator_1710;
  95816. break $label0$0;
  95817. }
  95818. if (B.BinaryOperator_U770 === operator) {
  95819. t1 = B.CalculationOperator_Qf10;
  95820. break $label0$0;
  95821. }
  95822. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  95823. }
  95824. return t1;
  95825. },
  95826. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  95827. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  95828. for (t1 = elements.length, i = 1; i < t1; ++i) {
  95829. t2 = i - 1;
  95830. previous = elements[t2];
  95831. current = elements[i];
  95832. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  95833. continue;
  95834. t1 = node.contents;
  95835. previousNode = t1[t2];
  95836. currentNode = t1[i];
  95837. if (currentNode instanceof A.UnaryOperationExpression0) {
  95838. _0_2 = currentNode.operator;
  95839. if (B.UnaryOperator_AiQ0 !== _0_2)
  95840. t1 = B.UnaryOperator_cLp0 === _0_2;
  95841. else
  95842. t1 = true;
  95843. } else
  95844. t1 = false;
  95845. if (!t1)
  95846. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  95847. else
  95848. t1 = true;
  95849. if (t1)
  95850. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  95851. else
  95852. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  95853. }
  95854. },
  95855. visitInterpolatedFunctionExpression$1(_, node) {
  95856. var result, _this = this,
  95857. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  95858. oldInFunction = _this._evaluate0$_inFunction;
  95859. _this._evaluate0$_inFunction = true;
  95860. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  95861. _this._evaluate0$_inFunction = oldInFunction;
  95862. return result;
  95863. },
  95864. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  95865. var oldCallable, result, _this = this,
  95866. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95867. $name = callable.declaration.name;
  95868. if ($name !== "@content")
  95869. $name += "()";
  95870. oldCallable = _this._evaluate0$_currentCallable;
  95871. _this._evaluate0$_currentCallable = callable;
  95872. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  95873. _this._evaluate0$_currentCallable = oldCallable;
  95874. return result;
  95875. },
  95876. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  95877. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  95878. if (callable instanceof A.BuiltInCallable0)
  95879. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  95880. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  95881. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  95882. else if (callable instanceof A.PlainCssCallable0) {
  95883. t1 = $arguments.named;
  95884. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  95885. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  95886. buffer = new A.StringBuffer(callable.name + "(");
  95887. try {
  95888. first = true;
  95889. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95890. argument = t1[_i];
  95891. if (first)
  95892. first = false;
  95893. else
  95894. buffer._contents += ", ";
  95895. t3 = buffer;
  95896. t4 = argument;
  95897. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  95898. t3._contents += t4;
  95899. }
  95900. restArg = $arguments.rest;
  95901. if (restArg != null) {
  95902. rest = restArg.accept$1(_this);
  95903. if (!first)
  95904. buffer._contents += ", ";
  95905. t1 = buffer;
  95906. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  95907. t1._contents += t2;
  95908. }
  95909. } catch (exception) {
  95910. t1 = A.unwrapException(exception);
  95911. if (type$.SassRuntimeException_2._is(t1)) {
  95912. error = t1;
  95913. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  95914. throw exception;
  95915. 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));
  95916. } else
  95917. throw exception;
  95918. }
  95919. t1 = buffer;
  95920. t2 = A.Primitives_stringFromCharCode(41);
  95921. t1._contents += t2;
  95922. t2 = buffer._contents;
  95923. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  95924. } else
  95925. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  95926. },
  95927. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  95928. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  95929. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95930. oldCallableNode = _this._evaluate0$_callableNode;
  95931. _this._evaluate0$_callableNode = nodeWithSpan;
  95932. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  95933. _box_0.callback = _box_0.overload = null;
  95934. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  95935. _box_0.overload = _0_0._0;
  95936. _box_0.callback = _0_0._1;
  95937. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  95938. declaredArguments = _box_0.overload.$arguments;
  95939. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  95940. argument = declaredArguments[i];
  95941. t2 = evaluated._values[2];
  95942. t3 = evaluated._values[0].remove$1(0, argument.name);
  95943. if (t3 == null) {
  95944. t3 = argument.defaultValue;
  95945. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  95946. }
  95947. t2.push(t3);
  95948. }
  95949. if (_box_0.overload.restArgument != null) {
  95950. if (evaluated._values[2].length > t1) {
  95951. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  95952. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  95953. } else
  95954. rest = B.List_empty19;
  95955. t1 = evaluated._values[0];
  95956. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : evaluated._values[4]);
  95957. evaluated._values[2].push(argumentList);
  95958. } else
  95959. argumentList = null;
  95960. result = null;
  95961. try {
  95962. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  95963. } catch (exception) {
  95964. t1 = A.unwrapException(exception);
  95965. if (t1 instanceof A.SassException0)
  95966. throw exception;
  95967. else {
  95968. error = t1;
  95969. stackTrace = A.getTraceFromException(exception);
  95970. message = null;
  95971. try {
  95972. message = A._asString(J.get$message$x(error));
  95973. } catch (exception) {
  95974. message0 = J.toString$0$(error);
  95975. message = message0;
  95976. }
  95977. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  95978. }
  95979. }
  95980. _this._evaluate0$_callableNode = oldCallableNode;
  95981. if (argumentList == null)
  95982. return result;
  95983. if (evaluated._values[0].__js_helper$_length === 0)
  95984. return result;
  95985. if (argumentList._argument_list$_wereKeywordsAccessed)
  95986. return result;
  95987. 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));
  95988. },
  95989. _evaluate0$_evaluateArguments$1($arguments) {
  95990. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  95991. positional = A._setArrayType([], type$.JSArray_Value_2),
  95992. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  95993. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95994. expression = t1[_i];
  95995. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  95996. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  95997. positionalNodes.push(nodeForSpan);
  95998. }
  95999. t1 = type$.String;
  96000. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  96001. t2 = type$.AstNode_2;
  96002. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  96003. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96004. t4 = t3.get$current(t3);
  96005. $name = t4._0;
  96006. value = t4._1;
  96007. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  96008. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  96009. namedNodes.$indexSet(0, $name, nodeForSpan);
  96010. }
  96011. restArgs = $arguments.rest;
  96012. if (restArgs == null)
  96013. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  96014. rest = restArgs.accept$1(_this);
  96015. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  96016. if (rest instanceof A.SassMap0) {
  96017. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  96018. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  96019. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  96020. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  96021. namedNodes.addAll$1(0, t3);
  96022. separator = B.ListSeparator_undecided_null_undecided0;
  96023. } else if (rest instanceof A.SassList0) {
  96024. t3 = rest._list1$_contents;
  96025. 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>")));
  96026. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  96027. separator = rest._list1$_separator;
  96028. if (rest instanceof A.SassArgumentList0) {
  96029. rest._argument_list$_wereKeywordsAccessed = true;
  96030. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  96031. }
  96032. } else {
  96033. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  96034. positionalNodes.push(restNodeForSpan);
  96035. separator = B.ListSeparator_undecided_null_undecided0;
  96036. }
  96037. keywordRestArgs = $arguments.keywordRest;
  96038. if (keywordRestArgs == null)
  96039. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  96040. keywordRest = keywordRestArgs.accept$1(_this);
  96041. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  96042. if (keywordRest instanceof A.SassMap0) {
  96043. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  96044. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  96045. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  96046. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  96047. namedNodes.addAll$1(0, t1);
  96048. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  96049. } else
  96050. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  96051. },
  96052. _evaluate0$_evaluateMacroArguments$1(invocation) {
  96053. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  96054. t1 = invocation.$arguments,
  96055. restArgs_ = t1.rest;
  96056. if (restArgs_ == null)
  96057. return new A._Record_2(t1.positional, t1.named);
  96058. t2 = t1.positional;
  96059. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  96060. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  96061. rest = restArgs_.accept$1(_this);
  96062. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  96063. if (rest instanceof A.SassMap0)
  96064. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  96065. else if (rest instanceof A.SassList0) {
  96066. t2 = rest._list1$_contents;
  96067. 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>")));
  96068. if (rest instanceof A.SassArgumentList0) {
  96069. rest._argument_list$_wereKeywordsAccessed = true;
  96070. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  96071. }
  96072. } else
  96073. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  96074. keywordRestArgs_ = t1.keywordRest;
  96075. if (keywordRestArgs_ == null)
  96076. return new A._Record_2(positional, named);
  96077. keywordRest = keywordRestArgs_.accept$1(_this);
  96078. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  96079. if (keywordRest instanceof A.SassMap0) {
  96080. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  96081. return new A._Record_2(positional, named);
  96082. } else
  96083. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  96084. },
  96085. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  96086. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  96087. },
  96088. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  96089. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  96090. },
  96091. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  96092. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  96093. },
  96094. visitSelectorExpression$1(_, node) {
  96095. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  96096. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  96097. return t1 == null ? B.C__SassNull0 : t1;
  96098. },
  96099. visitStringExpression$1(_, node) {
  96100. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  96101. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  96102. _this._evaluate0$_inSupportsDeclaration = false;
  96103. t1 = A._setArrayType([], type$.JSArray_String);
  96104. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  96105. value = t2[_i];
  96106. $label0$0: {
  96107. if (typeof value == "string") {
  96108. t4 = value;
  96109. break $label0$0;
  96110. }
  96111. if (value instanceof A.Expression0) {
  96112. _0_0 = value.accept$1(_this);
  96113. $label1$1: {
  96114. if (_0_0 instanceof A.SassString0) {
  96115. text = _0_0._string0$_text;
  96116. t4 = text;
  96117. break $label1$1;
  96118. }
  96119. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  96120. break $label1$1;
  96121. }
  96122. break $label0$0;
  96123. }
  96124. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  96125. }
  96126. t1.push(t4);
  96127. }
  96128. t1 = B.JSArray_methods.join$0(t1);
  96129. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  96130. return new A.SassString0(t1, node.hasQuotes);
  96131. },
  96132. visitSupportsExpression$1(_, expression) {
  96133. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  96134. },
  96135. visitCssAtRule$1(node) {
  96136. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  96137. if (_this._evaluate0$_declarationName != null)
  96138. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  96139. if (node.isChildless) {
  96140. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  96141. return;
  96142. }
  96143. wasInKeyframes = _this._evaluate0$_inKeyframes;
  96144. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  96145. t1 = node.name;
  96146. if (A.unvendor0(t1.value) === "keyframes")
  96147. _this._evaluate0$_inKeyframes = true;
  96148. else
  96149. _this._evaluate0$_inUnknownAtRule = true;
  96150. _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);
  96151. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  96152. _this._evaluate0$_inKeyframes = wasInKeyframes;
  96153. },
  96154. visitCssComment$1(node) {
  96155. var _this = this,
  96156. _s8_ = "__parent",
  96157. _s13_ = "_endOfImports";
  96158. 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))
  96159. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  96160. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  96161. },
  96162. visitCssDeclaration$1(node) {
  96163. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  96164. },
  96165. visitCssImport$1(node) {
  96166. var t1, _this = this,
  96167. _s8_ = "__parent",
  96168. _s5_ = "_root",
  96169. _s13_ = "_endOfImports",
  96170. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96171. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  96172. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  96173. 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)) {
  96174. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  96175. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  96176. } else {
  96177. t1 = _this._evaluate0$_outOfOrderImports;
  96178. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  96179. }
  96180. },
  96181. visitCssKeyframeBlock$1(node) {
  96182. 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);
  96183. },
  96184. visitCssMediaRule$1(node) {
  96185. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  96186. if (_this._evaluate0$_declarationName != null)
  96187. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  96188. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  96189. t1 = mergedQueries == null;
  96190. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  96191. return;
  96192. if (t1)
  96193. mergedSources = B.Set_empty5;
  96194. else {
  96195. t2 = _this._evaluate0$_mediaQuerySources;
  96196. t2.toString;
  96197. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  96198. t3 = _this._evaluate0$_mediaQueries;
  96199. t3.toString;
  96200. t2.addAll$1(0, t3);
  96201. t2.addAll$1(0, node.queries);
  96202. mergedSources = t2;
  96203. }
  96204. t1 = t1 ? node.queries : mergedQueries;
  96205. _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);
  96206. },
  96207. visitCssStyleRule$1(node) {
  96208. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  96209. _s8_ = "__parent";
  96210. if (_this._evaluate0$_declarationName != null)
  96211. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  96212. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  96213. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  96214. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  96215. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  96216. t2 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  96217. t2 = t2 == null ? _null : t2.fromPlainCss;
  96218. nest = t2 !== true;
  96219. t2 = node._style_rule0$_selector._box0$_inner;
  96220. if (nest) {
  96221. t2 = t2.value;
  96222. t3 = styleRule == null ? _null : styleRule.originalSelector;
  96223. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  96224. } else
  96225. originalSelector = t2.value;
  96226. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  96227. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  96228. _this._evaluate0$_atRootExcludingStyleRule = false;
  96229. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  96230. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  96231. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  96232. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  96233. t2 = J.getInterceptor$asx(t1);
  96234. _0_1 = t2.get$length(t1);
  96235. if (_0_1 >= 1) {
  96236. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  96237. t1 = styleRule == null;
  96238. } else {
  96239. lastChild = _null;
  96240. t1 = false;
  96241. }
  96242. if (t1)
  96243. lastChild.isGroupEnd = true;
  96244. },
  96245. visitCssStylesheet$1(node) {
  96246. var t1;
  96247. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  96248. t1.get$current(t1).accept$1(this);
  96249. },
  96250. visitCssSupportsRule$1(node) {
  96251. var _this = this;
  96252. if (_this._evaluate0$_declarationName != null)
  96253. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  96254. _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);
  96255. },
  96256. _evaluate0$_handleReturn$1$2(list, callback) {
  96257. var t1, _i, _0_0;
  96258. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  96259. _0_0 = callback.call$1(list[_i]);
  96260. if (_0_0 != null)
  96261. return _0_0;
  96262. }
  96263. return null;
  96264. },
  96265. _evaluate0$_handleReturn$2(list, callback) {
  96266. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  96267. },
  96268. _evaluate0$_withEnvironment$1$2(environment, callback) {
  96269. var result,
  96270. oldEnvironment = this._evaluate0$_environment;
  96271. this._evaluate0$_environment = environment;
  96272. result = callback.call$0();
  96273. this._evaluate0$_environment = oldEnvironment;
  96274. return result;
  96275. },
  96276. _evaluate0$_withEnvironment$2(environment, callback) {
  96277. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  96278. },
  96279. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  96280. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  96281. t1 = trim ? A.trimAscii0(result, true) : result;
  96282. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  96283. },
  96284. _evaluate0$_interpolationToValue$1(interpolation) {
  96285. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  96286. },
  96287. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  96288. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  96289. },
  96290. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  96291. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  96292. },
  96293. _evaluate0$_performInterpolation$1(interpolation) {
  96294. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  96295. },
  96296. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  96297. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  96298. map = _0_0._1;
  96299. map.toString;
  96300. return new A._Record_2(_0_0._0, map);
  96301. },
  96302. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  96303. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  96304. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  96305. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  96306. _this._evaluate0$_inSupportsDeclaration = false;
  96307. 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) {
  96308. value = t1[_i];
  96309. if (!first)
  96310. if (!t4)
  96311. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  96312. if (typeof value == "string") {
  96313. t8 += value;
  96314. continue;
  96315. }
  96316. t3._as(value);
  96317. result = value.accept$1(_this);
  96318. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  96319. t9 = A._setArrayType([""], t5);
  96320. result0 = A.List_List$from(t9, false, t7);
  96321. result0.fixed$length = Array;
  96322. result0.immutable$list = Array;
  96323. result0 = new A.Interpolation0(result0, t6);
  96324. result0.Interpolation$20(t9, t6);
  96325. t9 = $.$get$namesByColor0();
  96326. _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_u150, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  96327. }
  96328. t8 += _this._evaluate0$_serialize$3$quote(result, value, false);
  96329. }
  96330. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  96331. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  96332. },
  96333. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  96334. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  96335. },
  96336. _evaluate0$_serialize$2(value, nodeWithSpan) {
  96337. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  96338. },
  96339. _evaluate0$_expressionNode$1(expression) {
  96340. var t1;
  96341. if (expression instanceof A.VariableExpression0) {
  96342. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  96343. return t1 == null ? expression : t1;
  96344. } else
  96345. return expression;
  96346. },
  96347. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  96348. var t1, result, _this = this;
  96349. _this._evaluate0$_addChild$2$through(node, through);
  96350. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  96351. _this._evaluate0$__parent = node;
  96352. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  96353. _this._evaluate0$__parent = t1;
  96354. return result;
  96355. },
  96356. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  96357. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  96358. },
  96359. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  96360. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  96361. },
  96362. _evaluate0$_addChild$2$through(node, through) {
  96363. var _0_0, grandparent, t1,
  96364. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  96365. if (through != null) {
  96366. for (; through.call$1($parent); $parent = _0_0) {
  96367. _0_0 = $parent._node$_parent;
  96368. if (_0_0 == null)
  96369. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  96370. }
  96371. if ($parent.get$hasFollowingSibling()) {
  96372. grandparent = $parent._node$_parent;
  96373. t1 = grandparent.children;
  96374. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  96375. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  96376. else {
  96377. $parent = $parent.copyWithoutChildren$0();
  96378. grandparent.addChild$1($parent);
  96379. }
  96380. }
  96381. }
  96382. $parent.addChild$1(node);
  96383. },
  96384. _evaluate0$_addChild$1(node) {
  96385. return this._evaluate0$_addChild$2$through(node, null);
  96386. },
  96387. _evaluate0$_withStyleRule$1$2(rule, callback) {
  96388. var result,
  96389. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  96390. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  96391. result = callback.call$0();
  96392. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  96393. return result;
  96394. },
  96395. _evaluate0$_withStyleRule$2(rule, callback) {
  96396. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  96397. },
  96398. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  96399. var result, _this = this,
  96400. oldMediaQueries = _this._evaluate0$_mediaQueries,
  96401. oldSources = _this._evaluate0$_mediaQuerySources;
  96402. _this._evaluate0$_mediaQueries = queries;
  96403. _this._evaluate0$_mediaQuerySources = sources;
  96404. result = callback.call$0();
  96405. _this._evaluate0$_mediaQueries = oldMediaQueries;
  96406. _this._evaluate0$_mediaQuerySources = oldSources;
  96407. return result;
  96408. },
  96409. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  96410. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  96411. },
  96412. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  96413. var oldMember, result, _this = this,
  96414. t1 = _this._evaluate0$_stack;
  96415. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  96416. oldMember = _this._evaluate0$_member;
  96417. _this._evaluate0$_member = member;
  96418. result = callback.call$0();
  96419. _this._evaluate0$_member = oldMember;
  96420. t1.pop();
  96421. return result;
  96422. },
  96423. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  96424. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  96425. },
  96426. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  96427. var t1;
  96428. if (value instanceof A.SassNumber0)
  96429. t1 = value.asSlash != null;
  96430. else
  96431. t1 = false;
  96432. if (t1)
  96433. 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_E8a);
  96434. return value.withoutSlash$0();
  96435. },
  96436. _evaluate0$_stackFrame$2(member, span) {
  96437. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  96438. },
  96439. _evaluate0$_stackTrace$1(span) {
  96440. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  96441. t1 = A._setArrayType([], type$.JSArray_Frame);
  96442. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  96443. t4 = t2[_i];
  96444. nodeWithSpan = t4._1;
  96445. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  96446. }
  96447. if (span != null)
  96448. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  96449. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  96450. },
  96451. _evaluate0$_stackTrace$0() {
  96452. return this._evaluate0$_stackTrace$1(null);
  96453. },
  96454. _evaluate0$_warn$3(message, span, deprecation) {
  96455. var t1, trace, _this = this;
  96456. if (_this._evaluate0$_quietDeps)
  96457. if (!_this._evaluate0$_inDependency) {
  96458. t1 = _this._evaluate0$_currentCallable;
  96459. t1 = t1 == null ? null : t1.inDependency;
  96460. t1 = t1 === true;
  96461. } else
  96462. t1 = true;
  96463. else
  96464. t1 = false;
  96465. if (t1)
  96466. return;
  96467. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  96468. return;
  96469. trace = _this._evaluate0$_stackTrace$1(span);
  96470. t1 = _this._evaluate0$_logger;
  96471. if (deprecation == null)
  96472. t1.warn$3$span$trace(0, message, span, trace);
  96473. else
  96474. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  96475. },
  96476. _evaluate0$_warn$2(message, span) {
  96477. return this._evaluate0$_warn$3(message, span, null);
  96478. },
  96479. _evaluate0$_exception$2(message, span) {
  96480. var t1, t2;
  96481. if (span == null) {
  96482. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  96483. t1 = t1.get$span(t1);
  96484. } else
  96485. t1 = span;
  96486. t2 = this._evaluate0$_stackTrace$1(span);
  96487. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  96488. },
  96489. _evaluate0$_exception$1(message) {
  96490. return this._evaluate0$_exception$2(message, null);
  96491. },
  96492. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  96493. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  96494. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  96495. },
  96496. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  96497. var error, stackTrace, t1, exception;
  96498. try {
  96499. t1 = callback.call$0();
  96500. return t1;
  96501. } catch (exception) {
  96502. t1 = A.unwrapException(exception);
  96503. if (t1 instanceof A.SassScriptException0) {
  96504. error = t1;
  96505. stackTrace = A.getTraceFromException(exception);
  96506. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  96507. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  96508. } else
  96509. throw exception;
  96510. }
  96511. },
  96512. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  96513. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  96514. },
  96515. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  96516. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  96517. },
  96518. _evaluate0$_addExceptionTrace$1$1(callback) {
  96519. var error, stackTrace, t1, exception, t2;
  96520. try {
  96521. t1 = callback.call$0();
  96522. return t1;
  96523. } catch (exception) {
  96524. t1 = A.unwrapException(exception);
  96525. if (type$.SassRuntimeException_2._is(t1))
  96526. throw exception;
  96527. else if (t1 instanceof A.SassException0) {
  96528. error = t1;
  96529. stackTrace = A.getTraceFromException(exception);
  96530. t1 = error;
  96531. t2 = J.getInterceptor$z(t1);
  96532. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  96533. } else
  96534. throw exception;
  96535. }
  96536. },
  96537. _evaluate0$_addExceptionTrace$1(callback) {
  96538. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  96539. },
  96540. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  96541. var error, stackTrace, t1, exception, t2, t3;
  96542. try {
  96543. t1 = callback.call$0();
  96544. return t1;
  96545. } catch (exception) {
  96546. t1 = A.unwrapException(exception);
  96547. if (type$.SassRuntimeException_2._is(t1)) {
  96548. error = t1;
  96549. stackTrace = A.getTraceFromException(exception);
  96550. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  96551. throw exception;
  96552. t1 = error._span_exception$_message;
  96553. t2 = nodeWithSpan.get$span(nodeWithSpan);
  96554. t3 = this._evaluate0$_stackTrace$0();
  96555. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  96556. } else
  96557. throw exception;
  96558. }
  96559. },
  96560. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  96561. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  96562. },
  96563. $isExpressionVisitor: 1,
  96564. $isStatementVisitor: 1
  96565. };
  96566. A._EvaluateVisitor_closure25.prototype = {
  96567. call$1($arguments) {
  96568. var module, t2,
  96569. t1 = J.getInterceptor$asx($arguments),
  96570. variable = t1.$index($arguments, 0).assertString$1("name");
  96571. t1 = t1.$index($arguments, 1).get$realNull();
  96572. module = t1 == null ? null : t1.assertString$1("module");
  96573. t1 = this.$this._evaluate0$_environment;
  96574. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96575. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96576. },
  96577. $signature: 21
  96578. };
  96579. A._EvaluateVisitor_closure26.prototype = {
  96580. call$1($arguments) {
  96581. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  96582. t1 = this.$this._evaluate0$_environment;
  96583. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96584. },
  96585. $signature: 21
  96586. };
  96587. A._EvaluateVisitor_closure27.prototype = {
  96588. call$1($arguments) {
  96589. var module, t2, t3, t4,
  96590. t1 = J.getInterceptor$asx($arguments),
  96591. variable = t1.$index($arguments, 0).assertString$1("name");
  96592. t1 = t1.$index($arguments, 1).get$realNull();
  96593. module = t1 == null ? null : t1.assertString$1("module");
  96594. t1 = this.$this;
  96595. t2 = t1._evaluate0$_environment;
  96596. t3 = variable._string0$_text;
  96597. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  96598. 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;
  96599. },
  96600. $signature: 21
  96601. };
  96602. A._EvaluateVisitor_closure28.prototype = {
  96603. call$1($arguments) {
  96604. var module, t2,
  96605. t1 = J.getInterceptor$asx($arguments),
  96606. variable = t1.$index($arguments, 0).assertString$1("name");
  96607. t1 = t1.$index($arguments, 1).get$realNull();
  96608. module = t1 == null ? null : t1.assertString$1("module");
  96609. t1 = this.$this._evaluate0$_environment;
  96610. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96611. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96612. },
  96613. $signature: 21
  96614. };
  96615. A._EvaluateVisitor_closure29.prototype = {
  96616. call$1($arguments) {
  96617. var t1 = this.$this._evaluate0$_environment;
  96618. if (!t1._environment0$_inMixin)
  96619. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  96620. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96621. },
  96622. $signature: 21
  96623. };
  96624. A._EvaluateVisitor_closure30.prototype = {
  96625. call$1($arguments) {
  96626. var t2, t3, t4,
  96627. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96628. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96629. if (module == null)
  96630. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96631. t1 = type$.Value_2;
  96632. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96633. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96634. t4 = t3.get$current(t3);
  96635. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  96636. }
  96637. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96638. },
  96639. $signature: 33
  96640. };
  96641. A._EvaluateVisitor_closure31.prototype = {
  96642. call$1($arguments) {
  96643. var t2, t3, t4,
  96644. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96645. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96646. if (module == null)
  96647. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96648. t1 = type$.Value_2;
  96649. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96650. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96651. t4 = t3.get$current(t3);
  96652. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  96653. }
  96654. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96655. },
  96656. $signature: 33
  96657. };
  96658. A._EvaluateVisitor_closure32.prototype = {
  96659. call$1($arguments) {
  96660. var t2, t3, t4,
  96661. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96662. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96663. if (module == null)
  96664. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96665. t1 = type$.Value_2;
  96666. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96667. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96668. t4 = t3.get$current(t3);
  96669. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  96670. }
  96671. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96672. },
  96673. $signature: 33
  96674. };
  96675. A._EvaluateVisitor_closure33.prototype = {
  96676. call$1($arguments) {
  96677. var module, t2, callable,
  96678. t1 = J.getInterceptor$asx($arguments),
  96679. $name = t1.$index($arguments, 0).assertString$1("name"),
  96680. css = t1.$index($arguments, 1).get$isTruthy();
  96681. t1 = t1.$index($arguments, 2).get$realNull();
  96682. module = t1 == null ? null : t1.assertString$1("module");
  96683. if (css) {
  96684. if (module != null)
  96685. throw A.wrapException(string$.x24css_a);
  96686. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  96687. }
  96688. t1 = this.$this;
  96689. t2 = t1._evaluate0$_callableNode;
  96690. t2.toString;
  96691. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  96692. if (callable == null)
  96693. throw A.wrapException("Function not found: " + $name.toString$0(0));
  96694. return new A.SassFunction0(callable);
  96695. },
  96696. $signature: 246
  96697. };
  96698. A._EvaluateVisitor__closure10.prototype = {
  96699. call$0() {
  96700. var local,
  96701. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96702. t1 = this.module,
  96703. namespace = t1 == null ? null : t1._string0$_text;
  96704. t1 = this.$this;
  96705. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  96706. if (local != null || namespace != null)
  96707. return local;
  96708. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  96709. },
  96710. $signature: 100
  96711. };
  96712. A._EvaluateVisitor_closure34.prototype = {
  96713. call$1($arguments) {
  96714. var module, t2, callable,
  96715. t1 = J.getInterceptor$asx($arguments),
  96716. $name = t1.$index($arguments, 0).assertString$1("name");
  96717. t1 = t1.$index($arguments, 1).get$realNull();
  96718. module = t1 == null ? null : t1.assertString$1("module");
  96719. t1 = this.$this;
  96720. t2 = t1._evaluate0$_callableNode;
  96721. t2.toString;
  96722. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  96723. if (callable == null)
  96724. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  96725. return new A.SassMixin0(callable);
  96726. },
  96727. $signature: 244
  96728. };
  96729. A._EvaluateVisitor__closure9.prototype = {
  96730. call$0() {
  96731. var t1 = this.$this._evaluate0$_environment,
  96732. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96733. t3 = this.module;
  96734. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  96735. },
  96736. $signature: 100
  96737. };
  96738. A._EvaluateVisitor_closure35.prototype = {
  96739. call$1($arguments) {
  96740. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  96741. t1 = J.getInterceptor$asx($arguments),
  96742. $function = t1.$index($arguments, 0),
  96743. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96744. t1 = this.$this;
  96745. t2 = t1._evaluate0$_callableNode;
  96746. t2.toString;
  96747. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  96748. t4 = type$.String;
  96749. t5 = type$.Expression_2;
  96750. t6 = t2.get$span(t2);
  96751. t7 = t2.get$span(t2);
  96752. args._argument_list$_wereKeywordsAccessed = true;
  96753. t8 = args._argument_list$_keywords;
  96754. if (t8.get$isEmpty(t8))
  96755. t2 = null;
  96756. else {
  96757. t9 = type$.Value_2;
  96758. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  96759. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  96760. t11 = t8.get$current(t8);
  96761. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  96762. }
  96763. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  96764. }
  96765. 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);
  96766. if ($function instanceof A.SassString0) {
  96767. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_MMc);
  96768. callableNode = t1._evaluate0$_callableNode;
  96769. t2 = $function._string0$_text;
  96770. t3 = callableNode.get$span(callableNode);
  96771. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  96772. }
  96773. callable = $function.assertFunction$1("function").callable;
  96774. if (type$.Callable_2._is(callable)) {
  96775. t2 = t1._evaluate0$_callableNode;
  96776. t2.toString;
  96777. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  96778. } else
  96779. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  96780. },
  96781. $signature: 3
  96782. };
  96783. A._EvaluateVisitor_closure36.prototype = {
  96784. call$1($arguments) {
  96785. var withMap, t2, values, configuration, t3,
  96786. t1 = J.getInterceptor$asx($arguments),
  96787. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  96788. t1 = t1.$index($arguments, 1).get$realNull();
  96789. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  96790. t1 = this.$this;
  96791. t2 = t1._evaluate0$_callableNode;
  96792. t2.toString;
  96793. if (withMap != null) {
  96794. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  96795. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  96796. configuration = new A.ExplicitConfiguration0(t2, values, null);
  96797. } else
  96798. configuration = B.Configuration_Map_empty_null0;
  96799. t3 = t2.get$span(t2);
  96800. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  96801. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  96802. },
  96803. $signature: 136
  96804. };
  96805. A._EvaluateVisitor__closure7.prototype = {
  96806. call$2(variable, value) {
  96807. var t1 = variable.assertString$1("with key"),
  96808. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  96809. t1 = this.values;
  96810. if (t1.containsKey$1($name))
  96811. throw A.wrapException("The variable $" + $name + " was configured twice.");
  96812. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  96813. },
  96814. $signature: 76
  96815. };
  96816. A._EvaluateVisitor__closure8.prototype = {
  96817. call$2(module, _) {
  96818. var t1 = this.$this;
  96819. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  96820. },
  96821. $signature: 97
  96822. };
  96823. A._EvaluateVisitor_closure37.prototype = {
  96824. call$1($arguments) {
  96825. var callableNode, t2, t3, t4, t5, callable, $content,
  96826. t1 = J.getInterceptor$asx($arguments),
  96827. mixin = t1.$index($arguments, 0),
  96828. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96829. t1 = this.$this;
  96830. callableNode = t1._evaluate0$_callableNode;
  96831. t2 = callableNode.get$span(callableNode);
  96832. t3 = callableNode.get$span(callableNode);
  96833. t4 = type$.Expression_2;
  96834. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  96835. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  96836. callable = mixin.assertMixin$1("mixin").callable;
  96837. $content = t1._evaluate0$_environment._environment0$_content;
  96838. if (type$.Callable_2._is(callable))
  96839. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  96840. else
  96841. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  96842. },
  96843. $signature: 136
  96844. };
  96845. A._EvaluateVisitor_run_closure1.prototype = {
  96846. call$0() {
  96847. var module, t2, _this = this,
  96848. t1 = _this.node,
  96849. _0_0 = t1.span.file.url,
  96850. url = null;
  96851. if (_0_0 != null) {
  96852. url = _0_0;
  96853. t2 = _this.$this;
  96854. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  96855. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  96856. t2._evaluate0$_loadedUrls.add$1(0, url);
  96857. }
  96858. t2 = _this.$this;
  96859. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  96860. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  96861. },
  96862. $signature: 428
  96863. };
  96864. A._EvaluateVisitor_run__closure1.prototype = {
  96865. call$0() {
  96866. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  96867. },
  96868. $signature: 429
  96869. };
  96870. A._EvaluateVisitor__loadModule_closure3.prototype = {
  96871. call$0() {
  96872. return this.callback.call$2(this._box_1.builtInModule, false);
  96873. },
  96874. $signature: 0
  96875. };
  96876. A._EvaluateVisitor__loadModule_closure4.prototype = {
  96877. call$0() {
  96878. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  96879. t2 = _this.$this,
  96880. t3 = _this.nodeWithSpan,
  96881. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  96882. stylesheet = _1_0._0;
  96883. importer = _1_0._1;
  96884. canonicalUrl = stylesheet.span.file.url;
  96885. if (canonicalUrl != null) {
  96886. t4 = t2._evaluate0$_activeModules;
  96887. if (t4.containsKey$1(canonicalUrl)) {
  96888. if (_this.namesInErrors) {
  96889. t1 = canonicalUrl;
  96890. t3 = $.$get$context();
  96891. t1.toString;
  96892. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  96893. } else
  96894. message = string$.Modulel;
  96895. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  96896. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  96897. } else
  96898. t4.$indexSet(0, canonicalUrl, t3);
  96899. }
  96900. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  96901. oldInDependency = t2._evaluate0$_inDependency;
  96902. t2._evaluate0$_inDependency = _1_0._2;
  96903. t1.module = null;
  96904. try {
  96905. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  96906. } finally {
  96907. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  96908. t2._evaluate0$_inDependency = oldInDependency;
  96909. }
  96910. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  96911. },
  96912. $signature: 1
  96913. };
  96914. A._EvaluateVisitor__loadModule__closure3.prototype = {
  96915. call$1(previousLoad) {
  96916. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  96917. },
  96918. $signature: 91
  96919. };
  96920. A._EvaluateVisitor__loadModule__closure4.prototype = {
  96921. call$0() {
  96922. return this.callback.call$2(this._box_0.module, this.firstLoad);
  96923. },
  96924. $signature: 0
  96925. };
  96926. A._EvaluateVisitor__execute_closure1.prototype = {
  96927. call$0() {
  96928. var t3, t4, t5, t6, _this = this,
  96929. t1 = _this.$this,
  96930. oldImporter = t1._evaluate0$_importer,
  96931. oldStylesheet = t1._evaluate0$__stylesheet,
  96932. oldRoot = t1._evaluate0$__root,
  96933. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  96934. oldParent = t1._evaluate0$__parent,
  96935. oldEndOfImports = t1._evaluate0$__endOfImports,
  96936. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96937. oldExtensionStore = t1._evaluate0$__extensionStore,
  96938. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  96939. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  96940. oldMediaQueries = t1._evaluate0$_mediaQueries,
  96941. oldDeclarationName = t1._evaluate0$_declarationName,
  96942. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  96943. oldInKeyframes = t1._evaluate0$_inKeyframes,
  96944. oldConfiguration = t1._evaluate0$_configuration;
  96945. t1._evaluate0$_importer = _this.importer;
  96946. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  96947. t4 = t3.span;
  96948. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  96949. t1._evaluate0$__endOfImports = 0;
  96950. t1._evaluate0$_outOfOrderImports = null;
  96951. t1._evaluate0$__extensionStore = _this.extensionStore;
  96952. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  96953. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  96954. t6 = _this.configuration;
  96955. if (t6 != null)
  96956. t1._evaluate0$_configuration = t6;
  96957. t1.visitStylesheet$1(0, t3);
  96958. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  96959. _this.css.__late_helper$_value = t3;
  96960. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  96961. t1._evaluate0$_importer = oldImporter;
  96962. t1._evaluate0$__stylesheet = oldStylesheet;
  96963. t1._evaluate0$__root = oldRoot;
  96964. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  96965. t1._evaluate0$__parent = oldParent;
  96966. t1._evaluate0$__endOfImports = oldEndOfImports;
  96967. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96968. t1._evaluate0$__extensionStore = oldExtensionStore;
  96969. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  96970. t1._evaluate0$_mediaQueries = oldMediaQueries;
  96971. t1._evaluate0$_declarationName = oldDeclarationName;
  96972. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  96973. t1._evaluate0$_atRootExcludingStyleRule = t2;
  96974. t1._evaluate0$_inKeyframes = oldInKeyframes;
  96975. t1._evaluate0$_configuration = oldConfiguration;
  96976. },
  96977. $signature: 1
  96978. };
  96979. A._EvaluateVisitor__combineCss_closure3.prototype = {
  96980. call$1(module) {
  96981. return module.get$transitivelyContainsCss();
  96982. },
  96983. $signature: 123
  96984. };
  96985. A._EvaluateVisitor__combineCss_closure4.prototype = {
  96986. call$1(target) {
  96987. return !this.selectors.contains$1(0, target);
  96988. },
  96989. $signature: 14
  96990. };
  96991. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  96992. call$1(module) {
  96993. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  96994. if (!_this.seen.add$1(0, module))
  96995. return;
  96996. if (_this.clone)
  96997. module = module.cloneCss$0();
  96998. 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) {
  96999. upstream = t1[_i];
  97000. if (upstream.get$transitivelyContainsCss()) {
  97001. _1_0 = module.get$preModuleComments().$index(0, upstream);
  97002. if (_1_0 != null)
  97003. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  97004. _this.call$1(upstream);
  97005. }
  97006. }
  97007. _this.sorted.addFirst$1(module);
  97008. t1 = module.get$css(module);
  97009. statements = t1.get$children(t1);
  97010. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  97011. t1 = J.getInterceptor$ax(statements);
  97012. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  97013. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  97014. },
  97015. $signature: 430
  97016. };
  97017. A._EvaluateVisitor__extendModules_closure3.prototype = {
  97018. call$1(target) {
  97019. return !this.originalSelectors.contains$1(0, target);
  97020. },
  97021. $signature: 14
  97022. };
  97023. A._EvaluateVisitor__extendModules_closure4.prototype = {
  97024. call$0() {
  97025. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  97026. },
  97027. $signature: 237
  97028. };
  97029. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  97030. call$0() {
  97031. var t1, t2, t3, _i;
  97032. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97033. t1[_i].accept$1(t3);
  97034. },
  97035. $signature: 1
  97036. };
  97037. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  97038. call$0() {
  97039. var t1, t2, t3, _i;
  97040. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97041. t1[_i].accept$1(t3);
  97042. },
  97043. $signature: 0
  97044. };
  97045. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  97046. call$1(callback) {
  97047. var t1 = this.$this,
  97048. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  97049. t1._evaluate0$__parent = this.newParent;
  97050. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  97051. t1._evaluate0$__parent = t2;
  97052. },
  97053. $signature: 32
  97054. };
  97055. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  97056. call$1(callback) {
  97057. var t1 = this.$this,
  97058. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  97059. t1._evaluate0$_atRootExcludingStyleRule = true;
  97060. this.innerScope.call$1(callback);
  97061. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  97062. },
  97063. $signature: 32
  97064. };
  97065. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  97066. call$1(callback) {
  97067. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  97068. },
  97069. $signature: 32
  97070. };
  97071. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  97072. call$0() {
  97073. return this.innerScope.call$1(this.callback);
  97074. },
  97075. $signature: 1
  97076. };
  97077. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  97078. call$1(callback) {
  97079. var t1 = this.$this,
  97080. wasInKeyframes = t1._evaluate0$_inKeyframes;
  97081. t1._evaluate0$_inKeyframes = false;
  97082. this.innerScope.call$1(callback);
  97083. t1._evaluate0$_inKeyframes = wasInKeyframes;
  97084. },
  97085. $signature: 32
  97086. };
  97087. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  97088. call$1($parent) {
  97089. return $parent instanceof A.ModifiableCssAtRule0;
  97090. },
  97091. $signature: 234
  97092. };
  97093. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  97094. call$1(callback) {
  97095. var t1 = this.$this,
  97096. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  97097. t1._evaluate0$_inUnknownAtRule = false;
  97098. this.innerScope.call$1(callback);
  97099. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  97100. },
  97101. $signature: 32
  97102. };
  97103. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  97104. call$0() {
  97105. var t1, t2, t3, _i;
  97106. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97107. t1[_i].accept$1(t3);
  97108. return null;
  97109. },
  97110. $signature: 1
  97111. };
  97112. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  97113. call$0() {
  97114. var t1, t2, t3, _i;
  97115. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97116. t1[_i].accept$1(t3);
  97117. },
  97118. $signature: 1
  97119. };
  97120. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  97121. call$1(value) {
  97122. var t1 = this.$this,
  97123. t2 = this.nodeWithSpan;
  97124. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  97125. },
  97126. $signature: 58
  97127. };
  97128. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  97129. call$1(value) {
  97130. return this.$this._evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  97131. },
  97132. $signature: 58
  97133. };
  97134. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  97135. call$0() {
  97136. var _this = this,
  97137. t1 = _this.$this;
  97138. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  97139. },
  97140. $signature: 42
  97141. };
  97142. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  97143. call$1(element) {
  97144. var t1;
  97145. this.setVariables.call$1(element);
  97146. t1 = this.$this;
  97147. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  97148. },
  97149. $signature: 190
  97150. };
  97151. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  97152. call$1(child) {
  97153. return child.accept$1(this.$this);
  97154. },
  97155. $signature: 99
  97156. };
  97157. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  97158. call$1(value) {
  97159. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  97160. },
  97161. $signature: 433
  97162. };
  97163. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  97164. call$0() {
  97165. var t2, t3, _i, _this = this,
  97166. t1 = _this.$this,
  97167. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97168. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  97169. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97170. t2[_i].accept$1(t1);
  97171. else
  97172. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, false, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, _this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  97173. },
  97174. $signature: 1
  97175. };
  97176. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  97177. call$0() {
  97178. var t1, t2, t3, _i;
  97179. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97180. t1[_i].accept$1(t3);
  97181. },
  97182. $signature: 1
  97183. };
  97184. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  97185. call$1(node) {
  97186. return node instanceof A.ModifiableCssStyleRule0;
  97187. },
  97188. $signature: 8
  97189. };
  97190. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  97191. call$0() {
  97192. return this.node.from.accept$1(this.$this).assertNumber$0();
  97193. },
  97194. $signature: 187
  97195. };
  97196. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  97197. call$0() {
  97198. return this.node.to.accept$1(this.$this).assertNumber$0();
  97199. },
  97200. $signature: 187
  97201. };
  97202. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  97203. call$0() {
  97204. return this.fromNumber.assertInt$0();
  97205. },
  97206. $signature: 10
  97207. };
  97208. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  97209. call$0() {
  97210. var t1 = this.fromNumber;
  97211. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  97212. },
  97213. $signature: 10
  97214. };
  97215. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  97216. call$0() {
  97217. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  97218. t1 = _this.$this,
  97219. t2 = _this.node,
  97220. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  97221. 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) {
  97222. t7 = t1._evaluate0$_environment;
  97223. t8 = t6.get$numeratorUnits(t6);
  97224. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  97225. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  97226. if (_0_0 != null)
  97227. return _0_0;
  97228. }
  97229. return null;
  97230. },
  97231. $signature: 42
  97232. };
  97233. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  97234. call$1(child) {
  97235. return child.accept$1(this.$this);
  97236. },
  97237. $signature: 99
  97238. };
  97239. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  97240. call$2(module, firstLoad) {
  97241. if (firstLoad)
  97242. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97243. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  97244. },
  97245. $signature: 97
  97246. };
  97247. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  97248. call$2(module, firstLoad) {
  97249. if (firstLoad)
  97250. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97251. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  97252. },
  97253. $signature: 97
  97254. };
  97255. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  97256. call$0() {
  97257. return A._setArrayType([], type$.JSArray_CssComment_2);
  97258. },
  97259. $signature: 228
  97260. };
  97261. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  97262. call$1(clause) {
  97263. var t1 = this.$this;
  97264. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  97265. },
  97266. $signature: 435
  97267. };
  97268. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  97269. call$0() {
  97270. var t1 = this.$this;
  97271. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  97272. },
  97273. $signature: 42
  97274. };
  97275. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  97276. call$1(child) {
  97277. return child.accept$1(this.$this);
  97278. },
  97279. $signature: 99
  97280. };
  97281. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  97282. call$0() {
  97283. 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 = {};
  97284. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  97285. t1 = this.$this;
  97286. t2 = this.$import;
  97287. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  97288. stylesheet = _box_0.stylesheet = _0_0._0;
  97289. importer = _0_0._1;
  97290. _box_0.importer = importer;
  97291. isDependency = _0_0._2;
  97292. _box_0.isDependency = isDependency;
  97293. url = stylesheet.span.file.url;
  97294. if (url != null) {
  97295. t3 = t1._evaluate0$_activeModules;
  97296. if (t3.containsKey$1(url)) {
  97297. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  97298. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  97299. }
  97300. t3.$indexSet(0, url, t2);
  97301. }
  97302. t2 = stylesheet._stylesheet1$_uses;
  97303. t3 = type$.UnmodifiableListView_UseRule_2;
  97304. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  97305. oldImporter = t1._evaluate0$_importer;
  97306. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  97307. oldInDependency = t1._evaluate0$_inDependency;
  97308. t1._evaluate0$_importer = importer;
  97309. t1._evaluate0$__stylesheet = stylesheet;
  97310. t1._evaluate0$_inDependency = isDependency;
  97311. t1.visitStylesheet$1(0, stylesheet);
  97312. t1._evaluate0$_importer = oldImporter;
  97313. t1._evaluate0$__stylesheet = t2;
  97314. t1._evaluate0$_inDependency = oldInDependency;
  97315. t1._evaluate0$_activeModules.remove$1(0, url);
  97316. return;
  97317. }
  97318. t2 = new A.UnmodifiableListView(t2, t3);
  97319. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  97320. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  97321. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  97322. } else
  97323. loadsUserDefinedModules = true;
  97324. children = A._Cell$();
  97325. t2 = t1._evaluate0$_environment;
  97326. t3 = type$.String;
  97327. t4 = type$.Module_Callable_2;
  97328. t5 = type$.AstNode_2;
  97329. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  97330. t7 = t2._environment0$_variables;
  97331. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  97332. t8 = t2._environment0$_variableNodes;
  97333. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  97334. t9 = t2._environment0$_functions;
  97335. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  97336. t10 = t2._environment0$_mixins;
  97337. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  97338. 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);
  97339. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  97340. module = environment.toDummyModule$0();
  97341. t1._evaluate0$_environment.importForwards$1(module);
  97342. if (loadsUserDefinedModules) {
  97343. if (module.transitivelyContainsCss)
  97344. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  97345. visitor = new A._ImportedCssVisitor1(t1);
  97346. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  97347. t2.get$current(t2).accept$1(visitor);
  97348. }
  97349. t1._evaluate0$_activeModules.remove$1(0, url);
  97350. },
  97351. $signature: 0
  97352. };
  97353. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  97354. call$1(previousLoad) {
  97355. 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));
  97356. },
  97357. $signature: 91
  97358. };
  97359. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  97360. call$1(rule) {
  97361. return rule.url.get$scheme() !== "sass";
  97362. },
  97363. $signature: 227
  97364. };
  97365. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  97366. call$1(rule) {
  97367. return rule.url.get$scheme() !== "sass";
  97368. },
  97369. $signature: 225
  97370. };
  97371. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  97372. call$0() {
  97373. var t7, t8, _this = this,
  97374. t1 = _this.$this,
  97375. oldImporter = t1._evaluate0$_importer,
  97376. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  97377. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  97378. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  97379. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  97380. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  97381. oldConfiguration = t1._evaluate0$_configuration,
  97382. oldInDependency = t1._evaluate0$_inDependency,
  97383. t6 = _this._box_0;
  97384. t1._evaluate0$_importer = t6.importer;
  97385. t7 = t6.stylesheet;
  97386. t1._evaluate0$__stylesheet = t7;
  97387. t8 = _this.loadsUserDefinedModules;
  97388. if (t8) {
  97389. t7 = A.ModifiableCssStylesheet$0(t7.span);
  97390. t1._evaluate0$__root = t7;
  97391. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t7, "_root");
  97392. t1._evaluate0$__endOfImports = 0;
  97393. t1._evaluate0$_outOfOrderImports = null;
  97394. }
  97395. t1._evaluate0$_inDependency = t6.isDependency;
  97396. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  97397. if (!t7.get$isEmpty(t7))
  97398. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  97399. t1.visitStylesheet$1(0, t6.stylesheet);
  97400. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  97401. _this.children.__late_helper$_value = t6;
  97402. t1._evaluate0$_importer = oldImporter;
  97403. t1._evaluate0$__stylesheet = t2;
  97404. if (t8) {
  97405. t1._evaluate0$__root = t3;
  97406. t1._evaluate0$__parent = t4;
  97407. t1._evaluate0$__endOfImports = t5;
  97408. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  97409. }
  97410. t1._evaluate0$_configuration = oldConfiguration;
  97411. t1._evaluate0$_inDependency = oldInDependency;
  97412. },
  97413. $signature: 1
  97414. };
  97415. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  97416. call$0() {
  97417. var _this = this,
  97418. t1 = _this.$this;
  97419. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  97420. },
  97421. $signature: 0
  97422. };
  97423. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  97424. call$0() {
  97425. var _this = this;
  97426. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  97427. },
  97428. $signature: 0
  97429. };
  97430. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  97431. call$0() {
  97432. var _this = this,
  97433. t1 = _this.$this;
  97434. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  97435. },
  97436. $signature: 1
  97437. };
  97438. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  97439. call$0() {
  97440. var t1 = this.$this;
  97441. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  97442. },
  97443. $signature: 0
  97444. };
  97445. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  97446. call$0() {
  97447. var t1, t2, t3, t4, _i;
  97448. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  97449. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  97450. },
  97451. $signature: 0
  97452. };
  97453. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  97454. call$0() {
  97455. return this.statement.accept$1(this.$this);
  97456. },
  97457. $signature: 42
  97458. };
  97459. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  97460. call$0() {
  97461. var t1 = this.node;
  97462. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  97463. },
  97464. $signature: 100
  97465. };
  97466. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  97467. call$1($content) {
  97468. var t1 = this.$this;
  97469. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  97470. },
  97471. $signature: 436
  97472. };
  97473. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  97474. call$0() {
  97475. return this.node.get$spanWithoutContent();
  97476. },
  97477. $signature: 27
  97478. };
  97479. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  97480. call$1(mediaQueries) {
  97481. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  97482. },
  97483. $signature: 95
  97484. };
  97485. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  97486. call$0() {
  97487. var _this = this,
  97488. t1 = _this.$this,
  97489. t2 = _this.mergedQueries;
  97490. if (t2 == null)
  97491. t2 = _this.queries;
  97492. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  97493. },
  97494. $signature: 1
  97495. };
  97496. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  97497. call$0() {
  97498. var t2, t3, _i,
  97499. t1 = this.$this,
  97500. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97501. if (_0_0 != null)
  97502. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  97503. else
  97504. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97505. t2[_i].accept$1(t1);
  97506. },
  97507. $signature: 1
  97508. };
  97509. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  97510. call$0() {
  97511. var t1, t2, t3, _i;
  97512. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97513. t1[_i].accept$1(t3);
  97514. },
  97515. $signature: 1
  97516. };
  97517. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  97518. call$1(node) {
  97519. var t1;
  97520. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  97521. t1 = this.mergedSources;
  97522. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  97523. } else
  97524. t1 = true;
  97525. return t1;
  97526. },
  97527. $signature: 8
  97528. };
  97529. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  97530. call$0() {
  97531. var t1, t2, t3, _i;
  97532. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97533. t1[_i].accept$1(t3);
  97534. },
  97535. $signature: 1
  97536. };
  97537. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  97538. call$1(node) {
  97539. return node instanceof A.ModifiableCssStyleRule0;
  97540. },
  97541. $signature: 8
  97542. };
  97543. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  97544. call$0() {
  97545. var t1 = this.$this;
  97546. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  97547. },
  97548. $signature: 1
  97549. };
  97550. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  97551. call$0() {
  97552. var t1, t2, t3, _i;
  97553. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97554. t1[_i].accept$1(t3);
  97555. },
  97556. $signature: 1
  97557. };
  97558. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  97559. call$1(node) {
  97560. return node instanceof A.ModifiableCssStyleRule0;
  97561. },
  97562. $signature: 8
  97563. };
  97564. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  97565. call$1(child) {
  97566. return child instanceof A.ModifiableCssComment0;
  97567. },
  97568. $signature: 8
  97569. };
  97570. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  97571. call$0() {
  97572. var t2, t3, _i,
  97573. t1 = this.$this,
  97574. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97575. if (_0_0 != null)
  97576. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  97577. else
  97578. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97579. t2[_i].accept$1(t1);
  97580. },
  97581. $signature: 1
  97582. };
  97583. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  97584. call$0() {
  97585. var t1, t2, t3, _i;
  97586. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97587. t1[_i].accept$1(t3);
  97588. },
  97589. $signature: 1
  97590. };
  97591. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  97592. call$1(node) {
  97593. return node instanceof A.ModifiableCssStyleRule0;
  97594. },
  97595. $signature: 8
  97596. };
  97597. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  97598. call$0() {
  97599. var t4,
  97600. t1 = this.$this,
  97601. t2 = this._box_0,
  97602. t3 = t2.declaration.name;
  97603. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  97604. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  97605. t2 = t2.declaration.value;
  97606. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  97607. },
  97608. $signature: 26
  97609. };
  97610. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  97611. call$0() {
  97612. var t1 = this.$this._evaluate0$_environment,
  97613. t2 = this._box_0.override;
  97614. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  97615. },
  97616. $signature: 1
  97617. };
  97618. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  97619. call$0() {
  97620. var t1 = this.node;
  97621. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97622. },
  97623. $signature: 42
  97624. };
  97625. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  97626. call$0() {
  97627. var t1 = this.$this,
  97628. t2 = this.node;
  97629. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  97630. },
  97631. $signature: 1
  97632. };
  97633. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  97634. call$2(module, firstLoad) {
  97635. var t1, t2, t3, _0_0, t4, t5, span;
  97636. if (firstLoad)
  97637. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97638. t1 = this.$this._evaluate0$_environment;
  97639. t2 = this.node;
  97640. t3 = t2.namespace;
  97641. if (t3 == null) {
  97642. t1._environment0$_globalModules.$indexSet(0, module, t2);
  97643. t1._environment0$_allModules.push(module);
  97644. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  97645. if (_0_0 != null)
  97646. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  97647. } else {
  97648. t4 = t1._environment0$_modules;
  97649. if (t4.containsKey$1(t3)) {
  97650. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  97651. span = t5 == null ? null : t5.span;
  97652. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  97653. if (span != null)
  97654. t5.$indexSet(0, span, "original @use");
  97655. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  97656. }
  97657. t4.$indexSet(0, t3, module);
  97658. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  97659. t1._environment0$_allModules.push(module);
  97660. }
  97661. },
  97662. $signature: 97
  97663. };
  97664. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  97665. call$0() {
  97666. return this.node.expression.accept$1(this.$this);
  97667. },
  97668. $signature: 45
  97669. };
  97670. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  97671. call$0() {
  97672. var t1, t2, t3, _0_0;
  97673. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  97674. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  97675. if (_0_0 != null)
  97676. return _0_0;
  97677. }
  97678. return null;
  97679. },
  97680. $signature: 42
  97681. };
  97682. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  97683. call$1(child) {
  97684. return child.accept$1(this.$this);
  97685. },
  97686. $signature: 99
  97687. };
  97688. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  97689. call$0() {
  97690. var t1 = this.node,
  97691. t2 = this.$this,
  97692. left = t1.left.accept$1(t2);
  97693. switch (t1.operator) {
  97694. case B.BinaryOperator_wdM0:
  97695. t1 = t1.right.accept$1(t2);
  97696. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  97697. break;
  97698. case B.BinaryOperator_qNM0:
  97699. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  97700. break;
  97701. case B.BinaryOperator_eDt0:
  97702. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  97703. break;
  97704. case B.BinaryOperator_g8k0:
  97705. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97706. break;
  97707. case B.BinaryOperator_icU0:
  97708. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97709. break;
  97710. case B.BinaryOperator_bEa0:
  97711. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  97712. break;
  97713. case B.BinaryOperator_oEm0:
  97714. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  97715. break;
  97716. case B.BinaryOperator_miq0:
  97717. t1 = left.lessThan$1(t1.right.accept$1(t2));
  97718. break;
  97719. case B.BinaryOperator_SPQ0:
  97720. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  97721. break;
  97722. case B.BinaryOperator_u150:
  97723. t1 = left.plus$1(t1.right.accept$1(t2));
  97724. break;
  97725. case B.BinaryOperator_SjO0:
  97726. t1 = left.minus$1(t1.right.accept$1(t2));
  97727. break;
  97728. case B.BinaryOperator_2No0:
  97729. t1 = left.times$1(t1.right.accept$1(t2));
  97730. break;
  97731. case B.BinaryOperator_U770:
  97732. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  97733. break;
  97734. case B.BinaryOperator_KNx0:
  97735. t1 = left.modulo$1(t1.right.accept$1(t2));
  97736. break;
  97737. default:
  97738. t1 = null;
  97739. }
  97740. return t1;
  97741. },
  97742. $signature: 45
  97743. };
  97744. A._EvaluateVisitor__slash_recommendation1.prototype = {
  97745. call$1(expression) {
  97746. var t1;
  97747. $label0$0: {
  97748. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_U770 === expression.operator) {
  97749. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  97750. break $label0$0;
  97751. }
  97752. if (expression instanceof A.ParenthesizedExpression0) {
  97753. t1 = expression.expression.toString$0(0);
  97754. break $label0$0;
  97755. }
  97756. t1 = expression.toString$0(0);
  97757. break $label0$0;
  97758. }
  97759. return t1;
  97760. },
  97761. $signature: 135
  97762. };
  97763. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  97764. call$0() {
  97765. var t1 = this.node;
  97766. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97767. },
  97768. $signature: 42
  97769. };
  97770. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  97771. call$0() {
  97772. var t1, _this = this;
  97773. switch (_this.node.operator) {
  97774. case B.UnaryOperator_cLp0:
  97775. t1 = _this.operand.unaryPlus$0();
  97776. break;
  97777. case B.UnaryOperator_AiQ0:
  97778. t1 = _this.operand.unaryMinus$0();
  97779. break;
  97780. case B.UnaryOperator_SJr0:
  97781. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  97782. break;
  97783. case B.UnaryOperator_not_not_not0:
  97784. t1 = _this.operand.unaryNot$0();
  97785. break;
  97786. default:
  97787. t1 = null;
  97788. }
  97789. return t1;
  97790. },
  97791. $signature: 45
  97792. };
  97793. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  97794. call$1(expression) {
  97795. return expression.accept$1(this.$this);
  97796. },
  97797. $signature: 437
  97798. };
  97799. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  97800. call$0() {
  97801. var t1 = this.node;
  97802. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  97803. },
  97804. $signature: 100
  97805. };
  97806. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  97807. call$1(argument) {
  97808. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  97809. },
  97810. $signature: 107
  97811. };
  97812. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  97813. call$0() {
  97814. var t1 = this.node;
  97815. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  97816. },
  97817. $signature: 45
  97818. };
  97819. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  97820. call$1(maxArgs) {
  97821. var t1 = this.node,
  97822. t2 = t1.$arguments.positional.length;
  97823. if (t2 === 0)
  97824. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  97825. else if (maxArgs != null && t2 > maxArgs)
  97826. 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));
  97827. },
  97828. call$0() {
  97829. return this.call$1(null);
  97830. },
  97831. $signature: 101
  97832. };
  97833. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  97834. call$0() {
  97835. var _this = this,
  97836. t1 = _this.$this,
  97837. t2 = _this._box_0,
  97838. t3 = _this.inLegacySassFunction;
  97839. 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);
  97840. },
  97841. $signature: 81
  97842. };
  97843. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  97844. call$0() {
  97845. var t1 = this.node;
  97846. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  97847. },
  97848. $signature: 45
  97849. };
  97850. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  97851. call$0() {
  97852. var _this = this,
  97853. t1 = _this.$this,
  97854. t2 = _this.callable;
  97855. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  97856. },
  97857. $signature() {
  97858. return this.V._eval$1("0()");
  97859. }
  97860. };
  97861. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  97862. call$0() {
  97863. var _this = this,
  97864. t1 = _this.$this,
  97865. t2 = _this.V;
  97866. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  97867. },
  97868. $signature() {
  97869. return this.V._eval$1("0()");
  97870. }
  97871. };
  97872. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  97873. call$0() {
  97874. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  97875. t1 = _this.$this,
  97876. t2 = _this.evaluated._values,
  97877. t3 = _this.callable.declaration.$arguments,
  97878. t4 = _this.nodeWithSpan;
  97879. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  97880. declaredArguments = t3.$arguments;
  97881. t5 = declaredArguments.length;
  97882. minLength = Math.min(t2[2].length, t5);
  97883. for (i = 0; i < minLength; ++i)
  97884. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t2[2][i], t2[3][i]);
  97885. for (i = t2[2].length; i < t5; ++i) {
  97886. argument = declaredArguments[i];
  97887. t6 = t2[0];
  97888. t7 = argument.name;
  97889. value = t6.remove$1(0, t7);
  97890. if (value == null) {
  97891. t6 = argument.defaultValue;
  97892. value = t1._evaluate0$_withoutSlash$2(t6.accept$1(t1), t1._evaluate0$_expressionNode$1(t6));
  97893. }
  97894. t6 = t1._evaluate0$_environment;
  97895. t8 = t2[1].$index(0, t7);
  97896. if (t8 == null) {
  97897. t8 = argument.defaultValue;
  97898. t8.toString;
  97899. t8 = t1._evaluate0$_expressionNode$1(t8);
  97900. }
  97901. t6.setLocalVariable$3(t7, value, t8);
  97902. }
  97903. restArgument = t3.restArgument;
  97904. if (restArgument != null) {
  97905. t6 = t2[2];
  97906. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty19;
  97907. t5 = t2[0];
  97908. t6 = t2[4];
  97909. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : t6);
  97910. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  97911. } else
  97912. argumentList = null;
  97913. result = _this.run.call$0();
  97914. if (argumentList == null)
  97915. return result;
  97916. t5 = t2[0].__js_helper$_length;
  97917. if (t5 === 0)
  97918. return result;
  97919. if (argumentList._argument_list$_wereKeywordsAccessed)
  97920. return result;
  97921. argumentWord = A.pluralize0("argument", t5, null);
  97922. t2 = t2[0];
  97923. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  97924. 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));
  97925. },
  97926. $signature() {
  97927. return this.V._eval$1("0()");
  97928. }
  97929. };
  97930. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  97931. call$1($name) {
  97932. return "$" + $name;
  97933. },
  97934. $signature: 5
  97935. };
  97936. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  97937. call$0() {
  97938. var t1, t2, t3, t4, _i, $returnValue;
  97939. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  97940. $returnValue = t2[_i].accept$1(t4);
  97941. if ($returnValue instanceof A.Value0)
  97942. return $returnValue;
  97943. }
  97944. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  97945. },
  97946. $signature: 45
  97947. };
  97948. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  97949. call$0() {
  97950. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  97951. },
  97952. $signature: 0
  97953. };
  97954. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  97955. call$0() {
  97956. return this._box_0.callback.call$1(this.evaluated._values[2]);
  97957. },
  97958. $signature: 45
  97959. };
  97960. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  97961. call$1($name) {
  97962. return "$" + $name;
  97963. },
  97964. $signature: 5
  97965. };
  97966. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  97967. call$1(value) {
  97968. return value;
  97969. },
  97970. $signature: 41
  97971. };
  97972. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  97973. call$1(value) {
  97974. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  97975. },
  97976. $signature: 41
  97977. };
  97978. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  97979. call$2(key, value) {
  97980. var _this = this,
  97981. t1 = _this.restNodeForSpan;
  97982. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  97983. _this.namedNodes.$indexSet(0, key, t1);
  97984. },
  97985. $signature: 106
  97986. };
  97987. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  97988. call$1(value) {
  97989. return value;
  97990. },
  97991. $signature: 41
  97992. };
  97993. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  97994. call$1(value) {
  97995. var t1 = this.restArgs;
  97996. return new A.ValueExpression0(value, t1.get$span(t1));
  97997. },
  97998. $signature: 54
  97999. };
  98000. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  98001. call$1(value) {
  98002. var t1 = this.restArgs;
  98003. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  98004. },
  98005. $signature: 54
  98006. };
  98007. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  98008. call$2(key, value) {
  98009. var _this = this,
  98010. t1 = _this.restArgs;
  98011. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  98012. },
  98013. $signature: 106
  98014. };
  98015. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  98016. call$1(value) {
  98017. var t1 = this.keywordRestArgs;
  98018. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  98019. },
  98020. $signature: 54
  98021. };
  98022. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  98023. call$2(key, value) {
  98024. var t2, _this = this,
  98025. t1 = _this.$this;
  98026. if (key instanceof A.SassString0)
  98027. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  98028. else {
  98029. t2 = _this.nodeWithSpan;
  98030. 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)));
  98031. }
  98032. },
  98033. $signature: 76
  98034. };
  98035. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  98036. call$0() {
  98037. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  98038. },
  98039. $signature: 0
  98040. };
  98041. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  98042. call$0() {
  98043. var t1, t2, t3, t4;
  98044. 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();) {
  98045. t4 = t1.__internal$_current;
  98046. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98047. }
  98048. },
  98049. $signature: 1
  98050. };
  98051. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  98052. call$1(node) {
  98053. return node instanceof A.ModifiableCssStyleRule0;
  98054. },
  98055. $signature: 8
  98056. };
  98057. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  98058. call$0() {
  98059. var t1, t2, t3, t4;
  98060. 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();) {
  98061. t4 = t1.__internal$_current;
  98062. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98063. }
  98064. },
  98065. $signature: 1
  98066. };
  98067. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  98068. call$1(node) {
  98069. return node instanceof A.ModifiableCssStyleRule0;
  98070. },
  98071. $signature: 8
  98072. };
  98073. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  98074. call$1(mediaQueries) {
  98075. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  98076. },
  98077. $signature: 95
  98078. };
  98079. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  98080. call$0() {
  98081. var _this = this,
  98082. t1 = _this.$this,
  98083. t2 = _this.mergedQueries;
  98084. if (t2 == null)
  98085. t2 = _this.node.queries;
  98086. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  98087. },
  98088. $signature: 1
  98089. };
  98090. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  98091. call$0() {
  98092. var t2, t3, t4,
  98093. t1 = this.$this,
  98094. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  98095. if (_0_0 != null)
  98096. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  98097. else
  98098. 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();) {
  98099. t4 = t2.__internal$_current;
  98100. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  98101. }
  98102. },
  98103. $signature: 1
  98104. };
  98105. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  98106. call$0() {
  98107. var t1, t2, t3, t4;
  98108. 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();) {
  98109. t4 = t1.__internal$_current;
  98110. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98111. }
  98112. },
  98113. $signature: 1
  98114. };
  98115. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  98116. call$1(node) {
  98117. var t1;
  98118. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  98119. t1 = this.mergedSources;
  98120. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  98121. } else
  98122. t1 = true;
  98123. return t1;
  98124. },
  98125. $signature: 8
  98126. };
  98127. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  98128. call$0() {
  98129. var t1 = this.$this;
  98130. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  98131. },
  98132. $signature: 1
  98133. };
  98134. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  98135. call$0() {
  98136. var t1, t2, t3, t4;
  98137. 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();) {
  98138. t4 = t1.__internal$_current;
  98139. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98140. }
  98141. },
  98142. $signature: 1
  98143. };
  98144. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  98145. call$1(node) {
  98146. return node instanceof A.ModifiableCssStyleRule0;
  98147. },
  98148. $signature: 8
  98149. };
  98150. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  98151. call$0() {
  98152. var t2, t3, t4,
  98153. t1 = this.$this,
  98154. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  98155. if (_0_0 != null)
  98156. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(_0_0._style_rule0$_selector, _0_0.span, false, _0_0.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  98157. else
  98158. 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();) {
  98159. t4 = t2.__internal$_current;
  98160. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  98161. }
  98162. },
  98163. $signature: 1
  98164. };
  98165. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  98166. call$0() {
  98167. var t1, t2, t3, t4;
  98168. 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();) {
  98169. t4 = t1.__internal$_current;
  98170. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98171. }
  98172. },
  98173. $signature: 1
  98174. };
  98175. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  98176. call$1(node) {
  98177. return node instanceof A.ModifiableCssStyleRule0;
  98178. },
  98179. $signature: 8
  98180. };
  98181. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  98182. call$1(targetLocations) {
  98183. return A.InterpolationMap$0(this.interpolation, targetLocations);
  98184. },
  98185. $signature: 219
  98186. };
  98187. A._EvaluateVisitor__serialize_closure1.prototype = {
  98188. call$0() {
  98189. return A.serializeValue0(this.value, false, this.quote);
  98190. },
  98191. $signature: 26
  98192. };
  98193. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  98194. call$0() {
  98195. var t1 = this.expression;
  98196. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  98197. },
  98198. $signature: 218
  98199. };
  98200. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  98201. call$1(number) {
  98202. var before, after, t1,
  98203. _1_0 = number.asSlash;
  98204. $label0$0: {
  98205. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  98206. before = _1_0._0;
  98207. after = _1_0._1;
  98208. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  98209. break $label0$0;
  98210. }
  98211. t1 = A.serializeValue0(number, true, true);
  98212. break $label0$0;
  98213. }
  98214. return t1;
  98215. },
  98216. $signature: 217
  98217. };
  98218. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  98219. call$1(url) {
  98220. var t1 = this.$this._evaluate0$_importCache;
  98221. t1 = t1 == null ? null : t1.humanize$1(url);
  98222. return t1 == null ? url : t1;
  98223. },
  98224. $signature: 43
  98225. };
  98226. A._ImportedCssVisitor1.prototype = {
  98227. visitCssAtRule$1(node) {
  98228. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  98229. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  98230. },
  98231. visitCssComment$1(node) {
  98232. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  98233. },
  98234. visitCssDeclaration$1(node) {
  98235. },
  98236. visitCssImport$1(node) {
  98237. var t2,
  98238. _s13_ = "_endOfImports",
  98239. t1 = this._evaluate0$_visitor;
  98240. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  98241. t1._evaluate0$_addChild$1(node);
  98242. 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)) {
  98243. t1._evaluate0$_addChild$1(node);
  98244. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  98245. } else {
  98246. t2 = t1._evaluate0$_outOfOrderImports;
  98247. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  98248. }
  98249. },
  98250. visitCssKeyframeBlock$1(node) {
  98251. },
  98252. visitCssMediaRule$1(node) {
  98253. var t1 = this._evaluate0$_visitor,
  98254. mediaQueries = t1._evaluate0$_mediaQueries;
  98255. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  98256. },
  98257. visitCssStyleRule$1(node) {
  98258. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  98259. },
  98260. visitCssStylesheet$1(node) {
  98261. var t1, t2, t3;
  98262. 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();) {
  98263. t3 = t1.__internal$_current;
  98264. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  98265. }
  98266. },
  98267. visitCssSupportsRule$1(node) {
  98268. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  98269. }
  98270. };
  98271. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  98272. call$1(node) {
  98273. return node instanceof A.ModifiableCssStyleRule0;
  98274. },
  98275. $signature: 8
  98276. };
  98277. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  98278. call$1(node) {
  98279. var t1;
  98280. if (!(node instanceof A.ModifiableCssStyleRule0))
  98281. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  98282. else
  98283. t1 = true;
  98284. return t1;
  98285. },
  98286. $signature: 8
  98287. };
  98288. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  98289. call$1(node) {
  98290. return node instanceof A.ModifiableCssStyleRule0;
  98291. },
  98292. $signature: 8
  98293. };
  98294. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  98295. call$1(node) {
  98296. return node instanceof A.ModifiableCssStyleRule0;
  98297. },
  98298. $signature: 8
  98299. };
  98300. A._EvaluationContext1.prototype = {
  98301. get$currentCallableSpan() {
  98302. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  98303. if (_0_0 != null)
  98304. return _0_0.get$span(_0_0);
  98305. throw A.wrapException(A.StateError$(string$.No_Sasc));
  98306. },
  98307. warn$2(_, message, deprecation) {
  98308. var t1 = this._evaluate0$_visitor,
  98309. t2 = t1._evaluate0$_importSpan;
  98310. if (t2 == null) {
  98311. t2 = t1._evaluate0$_callableNode;
  98312. t2 = t2 == null ? null : t2.get$span(t2);
  98313. }
  98314. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  98315. },
  98316. $isEvaluationContext0: 1
  98317. };
  98318. A.EveryCssVisitor0.prototype = {
  98319. visitCssAtRule$1(node) {
  98320. var t1 = node.children;
  98321. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  98322. },
  98323. visitCssComment$1(node) {
  98324. return false;
  98325. },
  98326. visitCssDeclaration$1(node) {
  98327. return false;
  98328. },
  98329. visitCssImport$1(node) {
  98330. return false;
  98331. },
  98332. visitCssKeyframeBlock$1(node) {
  98333. var t1 = node.children;
  98334. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  98335. },
  98336. visitCssMediaRule$1(node) {
  98337. var t1 = node.children;
  98338. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  98339. },
  98340. visitCssStyleRule$1(node) {
  98341. var t1 = node.children;
  98342. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  98343. },
  98344. visitCssStylesheet$1(node) {
  98345. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  98346. },
  98347. visitCssSupportsRule$1(node) {
  98348. var t1 = node.children;
  98349. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  98350. }
  98351. };
  98352. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  98353. call$1(child) {
  98354. return child.accept$1(this.$this);
  98355. },
  98356. $signature: 8
  98357. };
  98358. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  98359. call$1(child) {
  98360. return child.accept$1(this.$this);
  98361. },
  98362. $signature: 8
  98363. };
  98364. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  98365. call$1(child) {
  98366. return child.accept$1(this.$this);
  98367. },
  98368. $signature: 8
  98369. };
  98370. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  98371. call$1(child) {
  98372. return child.accept$1(this.$this);
  98373. },
  98374. $signature: 8
  98375. };
  98376. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  98377. call$1(child) {
  98378. return child.accept$1(this.$this);
  98379. },
  98380. $signature: 8
  98381. };
  98382. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  98383. call$1(child) {
  98384. return child.accept$1(this.$this);
  98385. },
  98386. $signature: 8
  98387. };
  98388. A._NodeException.prototype = {};
  98389. A.exceptionClass_closure.prototype = {
  98390. call$0() {
  98391. 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());
  98392. A.defineGetter(jsClass, "name", null, "sass.Exception");
  98393. 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));
  98394. return jsClass;
  98395. },
  98396. $signature: 15
  98397. };
  98398. A.exceptionClass__closure.prototype = {
  98399. call$1(exception) {
  98400. return J.get$_dartException$x(exception)._span_exception$_message;
  98401. },
  98402. $signature: 212
  98403. };
  98404. A.exceptionClass__closure0.prototype = {
  98405. call$1(exception) {
  98406. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  98407. },
  98408. $signature: 212
  98409. };
  98410. A.exceptionClass__closure1.prototype = {
  98411. call$1(exception) {
  98412. var t1 = J.get$_dartException$x(exception),
  98413. t2 = J.getInterceptor$z(t1);
  98414. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  98415. },
  98416. $signature: 439
  98417. };
  98418. A.SassException0.prototype = {
  98419. get$trace(_) {
  98420. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  98421. },
  98422. get$span(_) {
  98423. return A.SourceSpanException.prototype.get$span.call(this, 0);
  98424. },
  98425. withAdditionalSpan$2(span, label) {
  98426. 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);
  98427. },
  98428. withTrace$1(trace) {
  98429. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98430. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  98431. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  98432. },
  98433. withLoadedUrls$1(loadedUrls) {
  98434. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98435. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98436. return new A.SassException0(t2, this._span_exception$_message, t1);
  98437. },
  98438. toString$1$color(_, color) {
  98439. var t2, _i, frame, t3, _this = this,
  98440. buffer = new A.StringBuffer(""),
  98441. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  98442. buffer._contents = t1;
  98443. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  98444. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98445. frame = t1[_i];
  98446. if (J.get$length$asx(frame) === 0)
  98447. continue;
  98448. t3 = buffer._contents += "\n";
  98449. buffer._contents = t3 + (" " + A.S(frame));
  98450. }
  98451. t1 = buffer._contents;
  98452. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98453. },
  98454. toString$0(_) {
  98455. return this.toString$1$color(0, null);
  98456. }
  98457. };
  98458. A.MultiSpanSassException0.prototype = {
  98459. withAdditionalSpan$2(span, label) {
  98460. var _this = this,
  98461. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98462. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98463. t2.$indexSet(0, span, label);
  98464. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98465. },
  98466. withTrace$1(trace) {
  98467. var _this = this;
  98468. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  98469. },
  98470. withLoadedUrls$1(loadedUrls) {
  98471. var _this = this;
  98472. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98473. },
  98474. toString$1$color(_, color) {
  98475. var t1, t2, _i, frame, t3, _this = this,
  98476. useColor = color === true,
  98477. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  98478. 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));
  98479. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98480. frame = t1[_i];
  98481. if (J.get$length$asx(frame) === 0)
  98482. continue;
  98483. buffer._contents += "\n";
  98484. t3 = " " + A.S(frame);
  98485. buffer._contents += t3;
  98486. }
  98487. t1 = buffer._contents;
  98488. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98489. },
  98490. toString$0(_) {
  98491. return this.toString$1$color(0, null);
  98492. },
  98493. get$primaryLabel() {
  98494. return this.primaryLabel;
  98495. },
  98496. get$secondarySpans() {
  98497. return this.secondarySpans;
  98498. }
  98499. };
  98500. A.SassRuntimeException0.prototype = {
  98501. withAdditionalSpan$2(span, label) {
  98502. var _this = this;
  98503. 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);
  98504. },
  98505. withLoadedUrls$1(loadedUrls) {
  98506. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98507. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98508. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  98509. },
  98510. get$trace(receiver) {
  98511. return this.trace;
  98512. }
  98513. };
  98514. A.MultiSpanSassRuntimeException0.prototype = {
  98515. withAdditionalSpan$2(span, label) {
  98516. var _this = this,
  98517. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98518. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98519. t2.$indexSet(0, span, label);
  98520. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  98521. },
  98522. withLoadedUrls$1(loadedUrls) {
  98523. var _this = this;
  98524. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  98525. },
  98526. $isSassRuntimeException0: 1,
  98527. get$trace(receiver) {
  98528. return this.trace;
  98529. }
  98530. };
  98531. A.SassFormatException0.prototype = {
  98532. get$source() {
  98533. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  98534. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98535. },
  98536. withAdditionalSpan$2(span, label) {
  98537. 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);
  98538. },
  98539. withLoadedUrls$1(loadedUrls) {
  98540. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98541. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98542. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  98543. },
  98544. $isFormatException: 1,
  98545. $isSourceSpanFormatException: 1
  98546. };
  98547. A.MultiSpanSassFormatException0.prototype = {
  98548. get$source() {
  98549. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  98550. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98551. },
  98552. withAdditionalSpan$2(span, label) {
  98553. var _this = this,
  98554. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98555. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98556. t2.$indexSet(0, span, label);
  98557. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98558. },
  98559. withLoadedUrls$1(loadedUrls) {
  98560. var _this = this;
  98561. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98562. },
  98563. $isFormatException: 1,
  98564. $isSourceSpanFormatException: 1,
  98565. $isMultiSourceSpanFormatException: 1,
  98566. $isSassFormatException0: 1
  98567. };
  98568. A.SassScriptException0.prototype = {
  98569. withSpan$1(span) {
  98570. return new A.SassException0(B.Set_empty, this.message, span);
  98571. },
  98572. toString$0(_) {
  98573. return this.message + string$.x0a_BUG_;
  98574. },
  98575. get$message(receiver) {
  98576. return this.message;
  98577. }
  98578. };
  98579. A.MultiSpanSassScriptException0.prototype = {
  98580. withSpan$1(span) {
  98581. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  98582. }
  98583. };
  98584. A.Exports.prototype = {};
  98585. A.LoggerNamespace.prototype = {};
  98586. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  98587. A._IsCalculationSafeVisitor0.prototype = {
  98588. visitBinaryOperationExpression$1(_, node) {
  98589. var t1;
  98590. if (B.Set_mqKz0.contains$1(0, node.operator))
  98591. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  98592. else
  98593. t1 = false;
  98594. return t1;
  98595. },
  98596. visitBooleanExpression$1(_, node) {
  98597. return false;
  98598. },
  98599. visitColorExpression$1(_, node) {
  98600. return false;
  98601. },
  98602. visitFunctionExpression$1(_, node) {
  98603. return true;
  98604. },
  98605. visitInterpolatedFunctionExpression$1(_, node) {
  98606. return true;
  98607. },
  98608. visitIfExpression$1(_, node) {
  98609. return true;
  98610. },
  98611. visitListExpression$1(_, node) {
  98612. var t1 = false;
  98613. if (node.separator === B.ListSeparator_nbm0)
  98614. if (!node.hasBrackets) {
  98615. t1 = node.contents;
  98616. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure0(this));
  98617. }
  98618. return t1;
  98619. },
  98620. visitMapExpression$1(_, node) {
  98621. return false;
  98622. },
  98623. visitNullExpression$1(_, node) {
  98624. return false;
  98625. },
  98626. visitNumberExpression$1(_, node) {
  98627. return true;
  98628. },
  98629. visitParenthesizedExpression$1(_, node) {
  98630. return node.expression.accept$1(this);
  98631. },
  98632. visitSelectorExpression$1(_, node) {
  98633. return false;
  98634. },
  98635. visitStringExpression$1(_, node) {
  98636. var text, t1, t2;
  98637. if (node.hasQuotes)
  98638. return false;
  98639. text = node.text.get$initialPlain();
  98640. t1 = false;
  98641. if (!B.JSString_methods.startsWith$1(text, "!"))
  98642. if (!B.JSString_methods.startsWith$1(text, "#")) {
  98643. t2 = text.length;
  98644. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  98645. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  98646. }
  98647. return t1;
  98648. },
  98649. visitSupportsExpression$1(_, node) {
  98650. return false;
  98651. },
  98652. visitUnaryOperationExpression$1(_, node) {
  98653. return false;
  98654. },
  98655. visitValueExpression$1(_, node) {
  98656. return false;
  98657. },
  98658. visitVariableExpression$1(_, node) {
  98659. return true;
  98660. },
  98661. $isExpressionVisitor: 1
  98662. };
  98663. A._IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  98664. call$1(expression) {
  98665. return expression.accept$1(this.$this);
  98666. },
  98667. $signature: 107
  98668. };
  98669. A.JSExpressionVisitor.prototype = {
  98670. visitBinaryOperationExpression$1(_, node) {
  98671. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  98672. },
  98673. visitBooleanExpression$1(_, node) {
  98674. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  98675. },
  98676. visitColorExpression$1(_, node) {
  98677. return J.visitColorExpression$1$x(this._expression$_inner, node);
  98678. },
  98679. visitInterpolatedFunctionExpression$1(_, node) {
  98680. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  98681. },
  98682. visitFunctionExpression$1(_, node) {
  98683. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  98684. },
  98685. visitIfExpression$1(_, node) {
  98686. return J.visitIfExpression$1$x(this._expression$_inner, node);
  98687. },
  98688. visitListExpression$1(_, node) {
  98689. return J.visitListExpression$1$x(this._expression$_inner, node);
  98690. },
  98691. visitMapExpression$1(_, node) {
  98692. return J.visitMapExpression$1$x(this._expression$_inner, node);
  98693. },
  98694. visitNullExpression$1(_, node) {
  98695. return J.visitNullExpression$1$x(this._expression$_inner, node);
  98696. },
  98697. visitNumberExpression$1(_, node) {
  98698. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  98699. },
  98700. visitParenthesizedExpression$1(_, node) {
  98701. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  98702. },
  98703. visitSelectorExpression$1(_, node) {
  98704. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  98705. },
  98706. visitStringExpression$1(_, node) {
  98707. return J.visitStringExpression$1$x(this._expression$_inner, node);
  98708. },
  98709. visitSupportsExpression$1(_, node) {
  98710. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  98711. },
  98712. visitUnaryOperationExpression$1(_, node) {
  98713. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  98714. },
  98715. visitValueExpression$1(_, node) {
  98716. return J.visitValueExpression$1$x(this._expression$_inner, node);
  98717. },
  98718. visitVariableExpression$1(_, node) {
  98719. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  98720. },
  98721. $isExpressionVisitor: 1
  98722. };
  98723. A.JSExpressionVisitorObject.prototype = {};
  98724. A._MakeExpressionCalculationSafe0.prototype = {
  98725. visitBinaryOperationExpression$1(_, node) {
  98726. var t1, t2, t3, t4;
  98727. if (node.operator === B.BinaryOperator_KNx0) {
  98728. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  98729. t2 = node.get$span(0);
  98730. t3 = type$.Expression_2;
  98731. t1 = A.List_List$unmodifiable(t1, t3);
  98732. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  98733. t4 = node.get$span(0);
  98734. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentInvocation0(t1, t3, null, null, t2), t4);
  98735. } else
  98736. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  98737. return t1;
  98738. },
  98739. visitInterpolatedFunctionExpression$1(_, node) {
  98740. return node;
  98741. },
  98742. visitUnaryOperationExpression$1(_, node) {
  98743. var t1,
  98744. _0_0 = node.operator;
  98745. $label0$0: {
  98746. if (B.UnaryOperator_cLp0 === _0_0) {
  98747. t1 = node.operand;
  98748. break $label0$0;
  98749. }
  98750. if (B.UnaryOperator_AiQ0 === _0_0) {
  98751. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_2No0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  98752. break $label0$0;
  98753. }
  98754. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  98755. break $label0$0;
  98756. }
  98757. return t1;
  98758. },
  98759. $isExpressionVisitor: 1
  98760. };
  98761. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  98762. A.ExtendRule0.prototype = {
  98763. accept$1$1(visitor) {
  98764. return visitor.visitExtendRule$1(0, this);
  98765. },
  98766. accept$1(visitor) {
  98767. return this.accept$1$1(visitor, type$.dynamic);
  98768. },
  98769. toString$0(_) {
  98770. var t1 = this.selector.toString$0(0),
  98771. t2 = this.isOptional ? " !optional" : "";
  98772. return "@extend " + t1 + t2 + ";";
  98773. },
  98774. get$span(receiver) {
  98775. return this.span;
  98776. }
  98777. };
  98778. A.Extension0.prototype = {
  98779. toString$0(_) {
  98780. var t1 = this.extender.toString$0(0),
  98781. t2 = this.target.toString$0(0),
  98782. t3 = this.isOptional ? " !optional" : "";
  98783. return t1 + " {@extend " + t2 + t3 + "}";
  98784. }
  98785. };
  98786. A.Extender0.prototype = {
  98787. assertCompatibleMediaContext$1(mediaContext) {
  98788. var expectedMediaContext,
  98789. extension = this._extension$_extension;
  98790. if (extension == null)
  98791. return;
  98792. expectedMediaContext = extension.mediaContext;
  98793. if (expectedMediaContext == null)
  98794. return;
  98795. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  98796. return;
  98797. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  98798. },
  98799. toString$0(_) {
  98800. return A.serializeSelector0(this.selector, true);
  98801. }
  98802. };
  98803. A.ExtensionStore0.prototype = {
  98804. get$isEmpty(_) {
  98805. return this._extension_store$_extensions.__js_helper$_length === 0;
  98806. },
  98807. get$simpleSelectors() {
  98808. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  98809. },
  98810. extensionsWhereTarget$1(callback) {
  98811. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  98812. },
  98813. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  98814. var $async$self = this;
  98815. return function() {
  98816. var callback = $async$callback;
  98817. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  98818. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  98819. if ($async$errorCode === 1) {
  98820. $async$currentError = $async$result;
  98821. $async$goto = $async$handler;
  98822. }
  98823. while (true)
  98824. switch ($async$goto) {
  98825. case 0:
  98826. // Function start
  98827. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  98828. case 2:
  98829. // for condition
  98830. if (!t1.moveNext$0()) {
  98831. // goto after for
  98832. $async$goto = 3;
  98833. break;
  98834. }
  98835. t2 = t1.get$current(t1);
  98836. simple = t2._0;
  98837. sources = t2._1;
  98838. if (!callback.call$1(simple)) {
  98839. // goto for condition
  98840. $async$goto = 2;
  98841. break;
  98842. }
  98843. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  98844. case 4:
  98845. // for condition
  98846. if (!t2.moveNext$0()) {
  98847. // goto after for
  98848. $async$goto = 5;
  98849. break;
  98850. }
  98851. t3 = t2.get$current(t2);
  98852. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  98853. break;
  98854. case 6:
  98855. // then
  98856. t3 = t3.unmerge$0();
  98857. $async$goto = 9;
  98858. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  98859. case 9:
  98860. // after yield
  98861. // goto join
  98862. $async$goto = 7;
  98863. break;
  98864. case 8:
  98865. // else
  98866. $async$goto = !t3.isOptional ? 10 : 11;
  98867. break;
  98868. case 10:
  98869. // then
  98870. $async$goto = 12;
  98871. return $async$iterator._async$_current = t3, 1;
  98872. case 12:
  98873. // after yield
  98874. case 11:
  98875. // join
  98876. case 7:
  98877. // join
  98878. // goto for condition
  98879. $async$goto = 4;
  98880. break;
  98881. case 5:
  98882. // after for
  98883. // goto for condition
  98884. $async$goto = 2;
  98885. break;
  98886. case 3:
  98887. // after for
  98888. // implicit return
  98889. return 0;
  98890. case 1:
  98891. // rethrow
  98892. return $async$iterator._datum = $async$currentError, 3;
  98893. }
  98894. };
  98895. };
  98896. },
  98897. addSelector$2(selector, mediaContext) {
  98898. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  98899. selector = selector;
  98900. originalSelector = selector;
  98901. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  98902. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  98903. t1 = _this._extension_store$_extensions;
  98904. if (t1.__js_helper$_length !== 0)
  98905. try {
  98906. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  98907. } catch (exception) {
  98908. t1 = A.unwrapException(exception);
  98909. if (t1 instanceof A.SassException0) {
  98910. error = t1;
  98911. stackTrace = A.getTraceFromException(exception);
  98912. t1 = error;
  98913. t2 = J.getInterceptor$z(t1);
  98914. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  98915. t2 = error._span_exception$_message;
  98916. t3 = error;
  98917. t4 = J.getInterceptor$z(t3);
  98918. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  98919. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  98920. } else
  98921. throw exception;
  98922. }
  98923. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  98924. if (mediaContext != null)
  98925. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  98926. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  98927. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  98928. },
  98929. _extension_store$_registerSelector$2(list, selector) {
  98930. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  98931. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  98932. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  98933. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  98934. simple = t7[_i1];
  98935. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  98936. _0_2_isSet = simple instanceof A.PseudoSelector0;
  98937. if (_0_2_isSet) {
  98938. _0_2 = simple.selector;
  98939. t9 = _0_2 != null;
  98940. } else {
  98941. _0_2 = null;
  98942. t9 = false;
  98943. }
  98944. if (t9) {
  98945. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  98946. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  98947. }
  98948. }
  98949. },
  98950. addExtension$4(extender, target, extend, mediaContext) {
  98951. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  98952. selectors = _this._extension_store$_selectors.$index(0, target),
  98953. t1 = _this._extension_store$_extensionsByExtender,
  98954. existingExtensions = t1.$index(0, target),
  98955. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  98956. 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) {
  98957. complex = t2[_i];
  98958. if (complex.accept$1(B.C__IsUselessVisitor0))
  98959. continue;
  98960. complex.get$specificity();
  98961. t11 = new A.Extender0(complex, false);
  98962. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  98963. _0_0 = sources.$index(0, complex);
  98964. if (_0_0 != null) {
  98965. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  98966. continue;
  98967. }
  98968. sources.$indexSet(0, complex, extension);
  98969. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  98970. t12 = t11._async$_current;
  98971. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  98972. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  98973. }
  98974. if (!t4 || t8) {
  98975. if (newExtensions == null)
  98976. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  98977. newExtensions.$indexSet(0, complex, extension);
  98978. }
  98979. }
  98980. if (newExtensions == null)
  98981. return;
  98982. t1 = type$.SimpleSelector_2;
  98983. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  98984. if (t8) {
  98985. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  98986. if (additionalExtensions != null)
  98987. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  98988. }
  98989. if (!t4)
  98990. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  98991. },
  98992. _extension_store$_simpleSelectors$1(complex) {
  98993. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  98994. },
  98995. _simpleSelectors$body$ExtensionStore0($async$complex) {
  98996. var $async$self = this;
  98997. return function() {
  98998. var complex = $async$complex;
  98999. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  99000. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  99001. if ($async$errorCode === 1) {
  99002. $async$currentError = $async$result;
  99003. $async$goto = $async$handler;
  99004. }
  99005. while (true)
  99006. switch ($async$goto) {
  99007. case 0:
  99008. // Function start
  99009. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  99010. case 2:
  99011. // for condition
  99012. if (!(_i < t2)) {
  99013. // goto after for
  99014. $async$goto = 4;
  99015. break;
  99016. }
  99017. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  99018. case 5:
  99019. // for condition
  99020. if (!(_i0 < t5)) {
  99021. // goto after for
  99022. $async$goto = 7;
  99023. break;
  99024. }
  99025. simple = t4[_i0];
  99026. $async$goto = 8;
  99027. return $async$iterator._async$_current = simple, 1;
  99028. case 8:
  99029. // after yield
  99030. _0_2_isSet = simple instanceof A.PseudoSelector0;
  99031. if (_0_2_isSet) {
  99032. _0_2 = simple.selector;
  99033. t6 = _0_2 != null;
  99034. } else {
  99035. _0_2 = null;
  99036. t6 = false;
  99037. }
  99038. $async$goto = t6 ? 9 : 10;
  99039. break;
  99040. case 9:
  99041. // then
  99042. selector = _0_2_isSet ? _0_2 : simple.selector;
  99043. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  99044. case 11:
  99045. // for condition
  99046. if (!(_i1 < t7)) {
  99047. // goto after for
  99048. $async$goto = 13;
  99049. break;
  99050. }
  99051. $async$goto = 14;
  99052. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  99053. case 14:
  99054. // after yield
  99055. case 12:
  99056. // for update
  99057. ++_i1;
  99058. // goto for condition
  99059. $async$goto = 11;
  99060. break;
  99061. case 13:
  99062. // after for
  99063. case 10:
  99064. // join
  99065. case 6:
  99066. // for update
  99067. ++_i0;
  99068. // goto for condition
  99069. $async$goto = 5;
  99070. break;
  99071. case 7:
  99072. // after for
  99073. case 3:
  99074. // for update
  99075. ++_i;
  99076. // goto for condition
  99077. $async$goto = 2;
  99078. break;
  99079. case 4:
  99080. // after for
  99081. // implicit return
  99082. return 0;
  99083. case 1:
  99084. // rethrow
  99085. return $async$iterator._datum = $async$currentError, 3;
  99086. }
  99087. };
  99088. };
  99089. },
  99090. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  99091. 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;
  99092. 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) {
  99093. extension = t1[_i];
  99094. t7 = t6.$index(0, extension.target);
  99095. t7.toString;
  99096. selectors = null;
  99097. try {
  99098. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  99099. if (selectors == null)
  99100. continue;
  99101. } catch (exception) {
  99102. t8 = A.unwrapException(exception);
  99103. if (t8 instanceof A.SassException0) {
  99104. error = t8;
  99105. stackTrace = A.getTraceFromException(exception);
  99106. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  99107. } else
  99108. throw exception;
  99109. }
  99110. t8 = J.get$first$ax(selectors);
  99111. t9 = extension.extender.selector;
  99112. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  99113. t8 = selectors;
  99114. t9 = A._arrayInstanceType(t8);
  99115. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  99116. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  99117. selectors = selectors0;
  99118. }
  99119. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  99120. t9 = t8.get$current(t8);
  99121. t10 = extension;
  99122. t11 = t10.target;
  99123. t12 = t10.span;
  99124. t13 = t10.mediaContext;
  99125. t10 = t10.isOptional;
  99126. t9.get$specificity();
  99127. t14 = new A.Extender0(t9, false);
  99128. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  99129. _0_0 = t7.$index(0, t9);
  99130. if (_0_0 != null)
  99131. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  99132. else {
  99133. t7.$indexSet(0, t9, withExtender);
  99134. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  99135. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  99136. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  99137. if (newExtensions.containsKey$1(extension.target)) {
  99138. if (additionalExtensions == null)
  99139. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  99140. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  99141. }
  99142. }
  99143. }
  99144. }
  99145. return additionalExtensions;
  99146. },
  99147. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  99148. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  99149. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  99150. selector = t1.get$current(t1);
  99151. oldValue = selector.value;
  99152. try {
  99153. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  99154. } catch (exception) {
  99155. t3 = A.unwrapException(exception);
  99156. if (t3 instanceof A.SassException0) {
  99157. error = t3;
  99158. stackTrace = A.getTraceFromException(exception);
  99159. t3 = selector.value.span.message$1(0, "");
  99160. t4 = error._span_exception$_message;
  99161. t5 = error;
  99162. t6 = J.getInterceptor$z(t5);
  99163. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  99164. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  99165. } else
  99166. throw exception;
  99167. }
  99168. if (oldValue === selector.value)
  99169. continue;
  99170. this._extension_store$_registerSelector$2(selector.value, selector);
  99171. }
  99172. },
  99173. addExtensions$1(extensionStores) {
  99174. 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;
  99175. 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();) {
  99176. t12 = t1.get$current(t1);
  99177. if (t12.get$isEmpty(t12))
  99178. continue;
  99179. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  99180. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  99181. t13 = t12.get$current(t12);
  99182. target = t13._0;
  99183. newSources = t13._1;
  99184. if (target instanceof A.PlaceholderSelector0) {
  99185. first = target.name.charCodeAt(0);
  99186. t13 = first === 45 || first === 95;
  99187. } else
  99188. t13 = false;
  99189. if (t13)
  99190. continue;
  99191. extensionsForTarget = t8.$index(0, target);
  99192. t13 = extensionsForTarget == null;
  99193. if (!t13) {
  99194. if (extensionsToExtend == null) {
  99195. extensionsToExtend = A._setArrayType([], t9);
  99196. t14 = extensionsToExtend;
  99197. } else
  99198. t14 = extensionsToExtend;
  99199. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  99200. }
  99201. selectorsForTarget = t7.$index(0, target);
  99202. t14 = selectorsForTarget != null;
  99203. if (t14) {
  99204. if (selectorsToExtend == null) {
  99205. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  99206. t15 = selectorsToExtend;
  99207. } else
  99208. t15 = selectorsToExtend;
  99209. t15.addAll$1(0, selectorsForTarget);
  99210. }
  99211. _2_0 = t4.$index(0, target);
  99212. if (_2_0 != null)
  99213. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  99214. t16 = t15.get$current(t15);
  99215. extender = t16._0;
  99216. extension = t16._1;
  99217. if (_2_0.containsKey$1(extender)) {
  99218. t16 = _2_0.$index(0, extender);
  99219. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  99220. _2_0.$indexSet(0, extender, extension);
  99221. } else
  99222. _2_0.$indexSet(0, extender, extension);
  99223. if (!t13 || t14) {
  99224. if (newExtensions == null) {
  99225. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  99226. t16 = newExtensions;
  99227. } else
  99228. t16 = newExtensions;
  99229. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()), extender, extension);
  99230. }
  99231. }
  99232. else {
  99233. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  99234. t15.addAll$1(0, newSources);
  99235. t4.$indexSet(0, target, t15);
  99236. if (!t13 || t14) {
  99237. if (newExtensions == null) {
  99238. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  99239. t13 = newExtensions;
  99240. } else
  99241. t13 = newExtensions;
  99242. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  99243. t14.addAll$1(0, newSources);
  99244. t13.$indexSet(0, target, t14);
  99245. }
  99246. }
  99247. }
  99248. }
  99249. if (newExtensions != null) {
  99250. if (extensionsToExtend != null)
  99251. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  99252. if (selectorsToExtend != null)
  99253. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  99254. }
  99255. },
  99256. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  99257. var t1, t2, t3, extended, i, complex, result, t4;
  99258. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  99259. complex = t1[i];
  99260. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  99261. if (result == null) {
  99262. if (extended != null)
  99263. extended.push(complex);
  99264. } else {
  99265. if (extended == null)
  99266. if (i === 0)
  99267. extended = A._setArrayType([], t3);
  99268. else {
  99269. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  99270. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99271. }
  99272. B.JSArray_methods.addAll$1(extended, result);
  99273. }
  99274. }
  99275. if (extended == null)
  99276. return list;
  99277. t1 = this._extension_store$_originals;
  99278. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  99279. },
  99280. _extension_store$_extendList$2(list, extensions) {
  99281. return this._extension_store$_extendList$3(list, extensions, null);
  99282. },
  99283. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  99284. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  99285. t1 = complex.leadingCombinators,
  99286. t2 = t1.length;
  99287. if (t2 > 1)
  99288. return null;
  99289. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  99290. 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) {
  99291. component = t3[i];
  99292. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  99293. if (extended == null) {
  99294. if (extendedNotExpanded != null)
  99295. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty13, A._setArrayType([component], t10), t8, t6)], t9));
  99296. } else if (extendedNotExpanded != null)
  99297. extendedNotExpanded.push(extended);
  99298. else if (i !== 0) {
  99299. t11 = A._arrayInstanceType(t3);
  99300. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  99301. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  99302. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  99303. } else if (t2)
  99304. extendedNotExpanded = A._setArrayType([extended], t5);
  99305. else {
  99306. t11 = A._setArrayType([], t9);
  99307. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  99308. t13 = t12.get$current(t12);
  99309. t14 = t13.leadingCombinators;
  99310. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  99311. t14 = t13.components;
  99312. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  99313. }
  99314. }
  99315. extendedNotExpanded = A._setArrayType([t11], t5);
  99316. }
  99317. }
  99318. if (extendedNotExpanded == null)
  99319. return null;
  99320. _box_0.first = true;
  99321. t1 = type$.ComplexSelector_2;
  99322. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  99323. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  99324. },
  99325. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  99326. 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,
  99327. t1 = _this._extension_store$_mode,
  99328. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  99329. t2 = component.selector,
  99330. simples = t2.components;
  99331. 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) {
  99332. simple = simples[i];
  99333. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  99334. if (extended == null) {
  99335. if (options != null)
  99336. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  99337. } else {
  99338. if (options == null) {
  99339. options = A._setArrayType([], t4);
  99340. if (i !== 0) {
  99341. t12 = new A.SubListIterable(simples, 0, i, t8);
  99342. t12.SubListIterable$3(simples, 0, i, t9);
  99343. result = A.List_List$from(t12, false, t11);
  99344. result.fixed$length = Array;
  99345. result.immutable$list = Array;
  99346. t12 = result;
  99347. compound = new A.CompoundSelector0(t12, t10);
  99348. if (t12.length === 0)
  99349. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  99350. result = A.List_List$from(B.List_empty13, false, t6);
  99351. result.fixed$length = Array;
  99352. result.immutable$list = Array;
  99353. t12 = A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  99354. _this._extension_store$_sourceSpecificityFor$1(compound);
  99355. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  99356. }
  99357. }
  99358. B.JSArray_methods.addAll$1(options, extended);
  99359. }
  99360. }
  99361. if (options == null)
  99362. return _null;
  99363. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  99364. return _null;
  99365. if (options.length === 1) {
  99366. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  99367. t4 = t1.get$current(t1);
  99368. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  99369. complex = t4.selector.withAdditionalCombinators$1(t2);
  99370. if (complex.accept$1(B.C__IsUselessVisitor0))
  99371. continue;
  99372. if (result == null)
  99373. result = A._setArrayType([], t3);
  99374. result.push(complex);
  99375. }
  99376. return result;
  99377. }
  99378. extenderPaths = A.paths0(options, type$.Extender_2);
  99379. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99380. t1 = t1 === B.ExtendMode_replace_replace0;
  99381. t4 = !t1;
  99382. if (t4)
  99383. t3.push(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  99384. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  99385. t5 = t2.$ti;
  99386. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  99387. t6 = component.combinators;
  99388. t5 = t5._eval$1("ListIterable.E");
  99389. for (; t2.moveNext$0();) {
  99390. t1 = t2.__internal$_current;
  99391. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  99392. if (extended == null)
  99393. continue;
  99394. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  99395. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  99396. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  99397. t3.push(withCombinators);
  99398. }
  99399. }
  99400. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  99401. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  99402. },
  99403. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  99404. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  99405. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  99406. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  99407. t4 = t2.get$current(t2);
  99408. if (t4.isOriginal) {
  99409. if (originals == null)
  99410. originals = A._setArrayType([], t3);
  99411. t4 = t4.selector;
  99412. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  99413. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  99414. } else {
  99415. t4 = t4.selector;
  99416. if (t4.accept$1(B.C__IsUselessVisitor0))
  99417. return _null;
  99418. else
  99419. toUnify._queue_list$_add$1(t4);
  99420. }
  99421. }
  99422. if (originals != null)
  99423. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty13, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  99424. complexes = A.unifyComplex0(toUnify, span);
  99425. if (complexes == null)
  99426. return _null;
  99427. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  99428. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  99429. return complexes;
  99430. },
  99431. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  99432. var t2, _1_0,
  99433. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  99434. if (simple instanceof A.PseudoSelector0)
  99435. t2 = simple.selector != null;
  99436. else
  99437. t2 = false;
  99438. if (t2) {
  99439. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  99440. if (_1_0 != null)
  99441. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  99442. }
  99443. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  99444. },
  99445. _extension_store$_extenderForSimple$1(simple) {
  99446. var t1 = simple.span;
  99447. t1 = A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty13, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  99448. this._extension_store$_sourceSpecificity.$index(0, simple);
  99449. return new A.Extender0(t1, true);
  99450. },
  99451. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  99452. var extended, complexes, t1, result,
  99453. selector = pseudo.selector;
  99454. if (selector == null)
  99455. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  99456. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  99457. if (extended === selector)
  99458. return null;
  99459. complexes = extended.components;
  99460. t1 = pseudo.normalizedName === "not";
  99461. 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()))
  99462. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  99463. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  99464. if (t1 && selector.components.length === 1) {
  99465. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  99466. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  99467. return result.length === 0 ? null : result;
  99468. } else
  99469. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  99470. },
  99471. _extension_store$_trim$2(selectors, isOriginal) {
  99472. var i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity,
  99473. result = A.QueueList$(null, type$.ComplexSelector_2);
  99474. $label0$0:
  99475. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  99476. _box_0 = {};
  99477. complex1 = selectors[i];
  99478. if (isOriginal.call$1(complex1)) {
  99479. for (j = 0; j < numOriginals; ++j)
  99480. if (J.$eq$(result.$index(0, j), complex1)) {
  99481. A.rotateSlice0(result, 0, j + 1);
  99482. continue $label0$0;
  99483. }
  99484. ++numOriginals;
  99485. result.addFirst$1(complex1);
  99486. continue $label0$0;
  99487. }
  99488. _box_0.maxSpecificity = 0;
  99489. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  99490. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  99491. _box_0.maxSpecificity = maxSpecificity;
  99492. }
  99493. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  99494. continue $label0$0;
  99495. t3 = new A.SubListIterable(selectors, 0, i, t1);
  99496. t3.SubListIterable$3(selectors, 0, i, t2);
  99497. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  99498. continue $label0$0;
  99499. result.addFirst$1(complex1);
  99500. }
  99501. return result;
  99502. },
  99503. _extension_store$_sourceSpecificityFor$1(compound) {
  99504. var t1, t2, t3, specificity, _i, t4;
  99505. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  99506. t4 = t3.$index(0, t1[_i]);
  99507. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  99508. }
  99509. return specificity;
  99510. },
  99511. clone$0() {
  99512. var t2, t3, t4, _this = this,
  99513. t1 = type$.SimpleSelector_2,
  99514. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  99515. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  99516. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  99517. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  99518. t2 = type$.Extension_2;
  99519. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  99520. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  99521. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  99522. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  99523. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  99524. t4.addAll$1(0, _this._extension_store$_originals);
  99525. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  99526. },
  99527. get$_extension_store$_extensions() {
  99528. return this._extension_store$_extensions;
  99529. },
  99530. get$_extension_store$_sourceSpecificity() {
  99531. return this._extension_store$_sourceSpecificity;
  99532. }
  99533. };
  99534. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  99535. call$1(extension) {
  99536. return !extension.isOptional;
  99537. },
  99538. $signature: 440
  99539. };
  99540. A.ExtensionStore__registerSelector_closure0.prototype = {
  99541. call$0() {
  99542. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  99543. },
  99544. $signature: 441
  99545. };
  99546. A.ExtensionStore_addExtension_closure2.prototype = {
  99547. call$0() {
  99548. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99549. },
  99550. $signature: 127
  99551. };
  99552. A.ExtensionStore_addExtension_closure3.prototype = {
  99553. call$0() {
  99554. return A._setArrayType([], type$.JSArray_Extension_2);
  99555. },
  99556. $signature: 254
  99557. };
  99558. A.ExtensionStore_addExtension_closure4.prototype = {
  99559. call$0() {
  99560. return this.complex.get$specificity();
  99561. },
  99562. $signature: 10
  99563. };
  99564. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  99565. call$0() {
  99566. return A._setArrayType([], type$.JSArray_Extension_2);
  99567. },
  99568. $signature: 254
  99569. };
  99570. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  99571. call$0() {
  99572. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99573. },
  99574. $signature: 127
  99575. };
  99576. A.ExtensionStore_addExtensions_closure0.prototype = {
  99577. call$0() {
  99578. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99579. },
  99580. $signature: 127
  99581. };
  99582. A.ExtensionStore__extendComplex_closure0.prototype = {
  99583. call$1(path) {
  99584. var t1 = this.complex;
  99585. 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);
  99586. },
  99587. $signature: 444
  99588. };
  99589. A.ExtensionStore__extendComplex__closure0.prototype = {
  99590. call$1(outputComplex) {
  99591. var _this = this,
  99592. t1 = _this._box_0;
  99593. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  99594. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  99595. t1.first = false;
  99596. return outputComplex;
  99597. },
  99598. $signature: 56
  99599. };
  99600. A.ExtensionStore__extendCompound_closure2.prototype = {
  99601. call$1(extender) {
  99602. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  99603. },
  99604. $signature: 446
  99605. };
  99606. A.ExtensionStore__extendCompound_closure3.prototype = {
  99607. call$1(_) {
  99608. return false;
  99609. },
  99610. $signature: 19
  99611. };
  99612. A.ExtensionStore__extendCompound_closure4.prototype = {
  99613. call$1(complex) {
  99614. return complex.$eq(0, this.original);
  99615. },
  99616. $signature: 19
  99617. };
  99618. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  99619. call$1(simple) {
  99620. var t1, t2,
  99621. extensionsForSimple = this.extensions.$index(0, simple);
  99622. if (extensionsForSimple == null)
  99623. return null;
  99624. t1 = this.targetsUsed;
  99625. if (t1 != null)
  99626. t1.add$1(0, simple);
  99627. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  99628. t2 = this.$this;
  99629. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  99630. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  99631. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  99632. t1.push(t2.get$current(t2).extender);
  99633. return t1;
  99634. },
  99635. $signature: 447
  99636. };
  99637. A.ExtensionStore__extendSimple_closure1.prototype = {
  99638. call$1(pseudo) {
  99639. var t1 = this.withoutPseudo.call$1(pseudo);
  99640. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  99641. },
  99642. $signature: 448
  99643. };
  99644. A.ExtensionStore__extendSimple_closure2.prototype = {
  99645. call$1(result) {
  99646. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  99647. },
  99648. $signature: 449
  99649. };
  99650. A.ExtensionStore__extendPseudo_closure4.prototype = {
  99651. call$1(complex) {
  99652. return complex.components.length > 1;
  99653. },
  99654. $signature: 19
  99655. };
  99656. A.ExtensionStore__extendPseudo_closure5.prototype = {
  99657. call$1(complex) {
  99658. return complex.components.length === 1;
  99659. },
  99660. $signature: 19
  99661. };
  99662. A.ExtensionStore__extendPseudo_closure6.prototype = {
  99663. call$1(complex) {
  99664. return complex.components.length <= 1;
  99665. },
  99666. $signature: 19
  99667. };
  99668. A.ExtensionStore__extendPseudo_closure7.prototype = {
  99669. call$1(complex) {
  99670. var innerPseudo, innerSelector,
  99671. t1 = complex.get$singleCompound();
  99672. if (t1 == null)
  99673. innerPseudo = null;
  99674. else {
  99675. t1 = t1.components;
  99676. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  99677. }
  99678. if (!(innerPseudo instanceof A.PseudoSelector0))
  99679. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99680. innerSelector = innerPseudo.selector;
  99681. if (innerSelector == null)
  99682. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99683. t1 = this.pseudo;
  99684. switch (t1.normalizedName) {
  99685. case "not":
  99686. if (!B.Set_mlzm2.contains$1(0, innerPseudo.normalizedName))
  99687. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99688. return innerSelector.components;
  99689. case "is":
  99690. case "matches":
  99691. case "where":
  99692. case "any":
  99693. case "current":
  99694. case "nth-child":
  99695. case "nth-last-child":
  99696. if (innerPseudo.name !== t1.name)
  99697. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99698. if (innerPseudo.argument != t1.argument)
  99699. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99700. return innerSelector.components;
  99701. case "has":
  99702. case "host":
  99703. case "host-context":
  99704. case "slotted":
  99705. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99706. default:
  99707. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99708. }
  99709. },
  99710. $signature: 450
  99711. };
  99712. A.ExtensionStore__extendPseudo_closure8.prototype = {
  99713. call$1(complex) {
  99714. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  99715. },
  99716. $signature: 451
  99717. };
  99718. A.ExtensionStore__trim_closure1.prototype = {
  99719. call$1(complex2) {
  99720. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99721. },
  99722. $signature: 19
  99723. };
  99724. A.ExtensionStore__trim_closure2.prototype = {
  99725. call$1(complex2) {
  99726. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99727. },
  99728. $signature: 19
  99729. };
  99730. A.ExtensionStore_clone_closure0.prototype = {
  99731. call$2(simple, selectors) {
  99732. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  99733. t1 = type$.ModifiableBox_SelectorList_2,
  99734. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99735. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  99736. 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();) {
  99737. t7 = t2.get$current(t2);
  99738. newSelector = new A.ModifiableBox0(t7.value, t1);
  99739. newSelectorSet.add$1(0, newSelector);
  99740. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  99741. _0_0 = t5.$index(0, t7);
  99742. if (_0_0 != null)
  99743. t6.$indexSet(0, newSelector, _0_0);
  99744. }
  99745. },
  99746. $signature: 452
  99747. };
  99748. A.FiberClass.prototype = {};
  99749. A.Fiber.prototype = {};
  99750. A.JSToDartFileImporter.prototype = {
  99751. canonicalize$1(_, url) {
  99752. var result, t1, resultUrl;
  99753. if (url.get$scheme() === "file")
  99754. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  99755. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  99756. if (result == null)
  99757. return null;
  99758. t1 = self.Promise;
  99759. if (result instanceof t1)
  99760. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  99761. else {
  99762. t1 = self.URL;
  99763. if (!(result instanceof t1))
  99764. A.jsThrow(new self.Error(string$.The_fie));
  99765. }
  99766. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  99767. if (resultUrl.get$scheme() !== "file")
  99768. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  99769. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  99770. },
  99771. load$1(_, url) {
  99772. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  99773. },
  99774. isNonCanonicalScheme$1(scheme) {
  99775. return scheme !== "file";
  99776. }
  99777. };
  99778. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  99779. call$0() {
  99780. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  99781. },
  99782. $signature: 31
  99783. };
  99784. A.FilesystemImporter0.prototype = {
  99785. canonicalize$1(_, url) {
  99786. var resolved;
  99787. if (url.get$scheme() === "file")
  99788. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  99789. else if (url.get$scheme() !== "")
  99790. return null;
  99791. else {
  99792. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  99793. if (resolved != null && this._filesystem$_loadPathDeprecated)
  99794. A.warnForDeprecation0(string$.Using_t, B.Deprecation_kmo);
  99795. }
  99796. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  99797. },
  99798. load$1(_, url) {
  99799. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  99800. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  99801. },
  99802. toString$0(_) {
  99803. return this._filesystem$_loadPath;
  99804. }
  99805. };
  99806. A.FilesystemImporter_canonicalize_closure0.prototype = {
  99807. call$1(resolved) {
  99808. var t2, t0, _null = null,
  99809. t1 = A.isNodeJs() ? self.process : _null;
  99810. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  99811. t1 = A.isNodeJs() ? self.process : _null;
  99812. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  99813. } else
  99814. t1 = true;
  99815. if (t1) {
  99816. t1 = $.$get$context();
  99817. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  99818. t0 = t2;
  99819. t2 = t1;
  99820. t1 = t0;
  99821. } else {
  99822. t1 = $.$get$context();
  99823. t2 = t1.canonicalize$1(0, resolved);
  99824. t0 = t2;
  99825. t2 = t1;
  99826. t1 = t0;
  99827. }
  99828. return t2.toUri$1(t1);
  99829. },
  99830. $signature: 117
  99831. };
  99832. A.ForRule0.prototype = {
  99833. accept$1$1(visitor) {
  99834. return visitor.visitForRule$1(0, this);
  99835. },
  99836. accept$1(visitor) {
  99837. return this.accept$1$1(visitor, type$.dynamic);
  99838. },
  99839. toString$0(_) {
  99840. var _this = this,
  99841. t1 = _this.from.toString$0(0),
  99842. t2 = _this.isExclusive ? "to" : "through",
  99843. t3 = _this.children;
  99844. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  99845. },
  99846. get$span(receiver) {
  99847. return this.span;
  99848. }
  99849. };
  99850. A.ForwardRule0.prototype = {
  99851. accept$1$1(visitor) {
  99852. return visitor.visitForwardRule$1(0, this);
  99853. },
  99854. accept$1(visitor) {
  99855. return this.accept$1$1(visitor, type$.dynamic);
  99856. },
  99857. toString$0(_) {
  99858. var t2, prefix, _this = this,
  99859. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  99860. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  99861. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  99862. if (shownMixinsAndFunctions != null) {
  99863. t2 = _this.shownVariables;
  99864. t2.toString;
  99865. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  99866. t1 = t2;
  99867. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  99868. t2 = _this.hiddenVariables;
  99869. t2.toString;
  99870. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  99871. t1 = t2;
  99872. }
  99873. prefix = _this.prefix;
  99874. if (prefix != null)
  99875. t1 += " as " + prefix + "*";
  99876. t2 = _this.configuration;
  99877. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  99878. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99879. },
  99880. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  99881. var t2,
  99882. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  99883. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  99884. t1.push("$" + t2.get$current(0));
  99885. return B.JSArray_methods.join$1(t1, ", ");
  99886. },
  99887. get$span(receiver) {
  99888. return this.span;
  99889. }
  99890. };
  99891. A.ForwardedModuleView0.prototype = {
  99892. get$url(_) {
  99893. var t1 = this._forwarded_view0$_inner;
  99894. return t1.get$url(t1);
  99895. },
  99896. get$upstream() {
  99897. return this._forwarded_view0$_inner.get$upstream();
  99898. },
  99899. get$extensionStore() {
  99900. return this._forwarded_view0$_inner.get$extensionStore();
  99901. },
  99902. get$css(_) {
  99903. var t1 = this._forwarded_view0$_inner;
  99904. return t1.get$css(t1);
  99905. },
  99906. get$preModuleComments() {
  99907. return this._forwarded_view0$_inner.get$preModuleComments();
  99908. },
  99909. get$transitivelyContainsCss() {
  99910. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  99911. },
  99912. get$transitivelyContainsExtensions() {
  99913. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  99914. },
  99915. setVariable$3($name, value, nodeWithSpan) {
  99916. var t2, _1_0, _2_0,
  99917. _s19_ = "Undefined variable.",
  99918. t1 = this._forwarded_view0$_rule,
  99919. _0_0 = t1.shownVariables;
  99920. if (_0_0 != null)
  99921. t2 = !_0_0._base.contains$1(0, $name);
  99922. else
  99923. t2 = false;
  99924. if (t2)
  99925. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99926. else {
  99927. _1_0 = t1.hiddenVariables;
  99928. if (_1_0 != null)
  99929. t2 = _1_0._base.contains$1(0, $name);
  99930. else
  99931. t2 = false;
  99932. if (t2)
  99933. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99934. }
  99935. _2_0 = t1.prefix;
  99936. if (_2_0 != null) {
  99937. if (!B.JSString_methods.startsWith$1($name, _2_0))
  99938. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99939. $name = B.JSString_methods.substring$1($name, _2_0.length);
  99940. }
  99941. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  99942. },
  99943. variableIdentity$1($name) {
  99944. var _0_0 = this._forwarded_view0$_rule.prefix;
  99945. if (_0_0 != null)
  99946. $name = B.JSString_methods.substring$1($name, _0_0.length);
  99947. return this._forwarded_view0$_inner.variableIdentity$1($name);
  99948. },
  99949. $eq(_, other) {
  99950. if (other == null)
  99951. return false;
  99952. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  99953. },
  99954. get$hashCode(_) {
  99955. var t1 = this._forwarded_view0$_inner;
  99956. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  99957. },
  99958. cloneCss$0() {
  99959. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  99960. },
  99961. toString$0(_) {
  99962. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  99963. },
  99964. $isModule1: 1,
  99965. get$variables() {
  99966. return this.variables;
  99967. },
  99968. get$variableNodes() {
  99969. return this.variableNodes;
  99970. },
  99971. get$functions(receiver) {
  99972. return this.functions;
  99973. },
  99974. get$mixins() {
  99975. return this.mixins;
  99976. }
  99977. };
  99978. A.FunctionExpression0.prototype = {
  99979. get$nameSpan() {
  99980. if (this.namespace == null)
  99981. return A.SpanExtensions_initialIdentifier0(this.span);
  99982. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  99983. },
  99984. accept$1$1(visitor) {
  99985. return visitor.visitFunctionExpression$1(0, this);
  99986. },
  99987. accept$1(visitor) {
  99988. return this.accept$1$1(visitor, type$.dynamic);
  99989. },
  99990. toString$0(_) {
  99991. var t1 = this.namespace;
  99992. t1 = t1 != null ? "" + (t1 + ".") : "";
  99993. t1 += this.originalName + this.$arguments.toString$0(0);
  99994. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99995. },
  99996. get$span(receiver) {
  99997. return this.span;
  99998. }
  99999. };
  100000. A.JSFunction0.prototype = {};
  100001. A.SupportsFunction0.prototype = {
  100002. toString$0(_) {
  100003. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  100004. },
  100005. $isAstNode0: 1,
  100006. $isSassNode: 1,
  100007. get$span(receiver) {
  100008. return this.span;
  100009. }
  100010. };
  100011. A.functionClass_closure.prototype = {
  100012. call$0() {
  100013. var t1 = type$.JSClass,
  100014. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  100015. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  100016. return jsClass;
  100017. },
  100018. $signature: 15
  100019. };
  100020. A.functionClass__closure.prototype = {
  100021. call$3($self, signature, callback) {
  100022. var paren = B.JSString_methods.indexOf$1(signature, "(");
  100023. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  100024. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  100025. 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));
  100026. },
  100027. "call*": "call$3",
  100028. $requiredArgCount: 3,
  100029. $signature: 453
  100030. };
  100031. A.functionClass__closure0.prototype = {
  100032. call$1(_) {
  100033. return B.C__SassNull0;
  100034. },
  100035. $signature: 3
  100036. };
  100037. A.SassFunction0.prototype = {
  100038. accept$1$1(visitor) {
  100039. var t1, t2;
  100040. if (!visitor._serialize0$_inspect)
  100041. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  100042. t1 = visitor._serialize0$_buffer;
  100043. t1.write$1(0, "get-function(");
  100044. t2 = this.callable;
  100045. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  100046. t1.writeCharCode$1(41);
  100047. return null;
  100048. },
  100049. accept$1(visitor) {
  100050. return this.accept$1$1(visitor, type$.dynamic);
  100051. },
  100052. assertFunction$1($name) {
  100053. return this;
  100054. },
  100055. $eq(_, other) {
  100056. if (other == null)
  100057. return false;
  100058. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  100059. },
  100060. get$hashCode(_) {
  100061. var t1 = this.callable;
  100062. return t1.get$hashCode(t1);
  100063. }
  100064. };
  100065. A.FunctionRule0.prototype = {
  100066. accept$1$1(visitor) {
  100067. return visitor.visitFunctionRule$1(0, this);
  100068. },
  100069. accept$1(visitor) {
  100070. return this.accept$1$1(visitor, type$.dynamic);
  100071. },
  100072. toString$0(_) {
  100073. var t1 = this.children;
  100074. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  100075. }
  100076. };
  100077. A.unifyComplex_closure0.prototype = {
  100078. call$1(complex) {
  100079. return complex.lineBreak;
  100080. },
  100081. $signature: 19
  100082. };
  100083. A._weaveParents_closure3.prototype = {
  100084. call$2(group1, group2) {
  100085. var t1, unified;
  100086. if (B.C_ListEquality.equals$2(0, group1, group2))
  100087. return group1;
  100088. if (A._complexIsParentSuperselector0(group1, group2))
  100089. return group2;
  100090. if (A._complexIsParentSuperselector0(group2, group1))
  100091. return group1;
  100092. if (!A._mustUnify0(group1, group2))
  100093. return null;
  100094. t1 = this.span;
  100095. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty13, group1, t1, false), A.ComplexSelector$0(B.List_empty13, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  100096. if (unified == null)
  100097. t1 = null;
  100098. else {
  100099. t1 = A.IterableExtension_get_singleOrNull(unified);
  100100. t1 = t1 == null ? null : t1.components;
  100101. }
  100102. return t1;
  100103. },
  100104. $signature: 454
  100105. };
  100106. A._weaveParents_closure4.prototype = {
  100107. call$1(sequence) {
  100108. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  100109. },
  100110. $signature: 251
  100111. };
  100112. A._weaveParents_closure5.prototype = {
  100113. call$1(sequence) {
  100114. return sequence.get$length(0) === 0;
  100115. },
  100116. $signature: 251
  100117. };
  100118. A._weaveParents_closure6.prototype = {
  100119. call$1(choice) {
  100120. return J.get$isNotEmpty$asx(choice);
  100121. },
  100122. $signature: 456
  100123. };
  100124. A._mustUnify_closure0.prototype = {
  100125. call$1(component) {
  100126. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  100127. },
  100128. $signature: 52
  100129. };
  100130. A._mustUnify__closure0.prototype = {
  100131. call$1(simple) {
  100132. var t1;
  100133. if (!(simple instanceof A.IDSelector0))
  100134. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  100135. else
  100136. t1 = true;
  100137. return t1 && this.uniqueSelectors.contains$1(0, simple);
  100138. },
  100139. $signature: 14
  100140. };
  100141. A.paths_closure0.prototype = {
  100142. call$2(paths, choice) {
  100143. var t1 = this.T;
  100144. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  100145. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  100146. },
  100147. $signature() {
  100148. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  100149. }
  100150. };
  100151. A.paths__closure0.prototype = {
  100152. call$1(option) {
  100153. var t1 = this.T;
  100154. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  100155. },
  100156. $signature() {
  100157. return this.T._eval$1("Iterable<List<0>>(0)");
  100158. }
  100159. };
  100160. A.paths___closure0.prototype = {
  100161. call$1(path) {
  100162. var t1 = A.List_List$of(path, true, this.T);
  100163. t1.push(this.option);
  100164. return t1;
  100165. },
  100166. $signature() {
  100167. return this.T._eval$1("List<0>(List<0>)");
  100168. }
  100169. };
  100170. A.listIsSuperselector_closure0.prototype = {
  100171. call$1(complex1) {
  100172. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  100173. },
  100174. $signature: 19
  100175. };
  100176. A.listIsSuperselector__closure0.prototype = {
  100177. call$1(complex2) {
  100178. return complex2.isSuperselector$1(this.complex1);
  100179. },
  100180. $signature: 19
  100181. };
  100182. A.complexIsSuperselector_closure1.prototype = {
  100183. call$1($parent) {
  100184. return $parent.combinators.length > 1;
  100185. },
  100186. $signature: 52
  100187. };
  100188. A.complexIsSuperselector_closure2.prototype = {
  100189. call$1(component) {
  100190. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  100191. },
  100192. $signature: 52
  100193. };
  100194. A._compatibleWithPreviousCombinator_closure0.prototype = {
  100195. call$1(component) {
  100196. var t1 = component.combinators,
  100197. t2 = A.IterableExtension_get_firstOrNull(t1);
  100198. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_y180)) {
  100199. t1 = A.IterableExtension_get_firstOrNull(t1);
  100200. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_gRV0);
  100201. } else
  100202. t1 = true;
  100203. return t1;
  100204. },
  100205. $signature: 52
  100206. };
  100207. A.compoundIsSuperselector_closure0.prototype = {
  100208. call$1(simple1) {
  100209. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  100210. },
  100211. $signature: 14
  100212. };
  100213. A._selectorPseudoIsSuperselector_closure6.prototype = {
  100214. call$1(selector2) {
  100215. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100216. },
  100217. $signature: 64
  100218. };
  100219. A._selectorPseudoIsSuperselector_closure7.prototype = {
  100220. call$1(complex1) {
  100221. var t1, t2;
  100222. if (complex1.leadingCombinators.length === 0) {
  100223. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  100224. t2 = this.parents;
  100225. if (t2 != null)
  100226. B.JSArray_methods.addAll$1(t1, t2);
  100227. t2 = this.compound2;
  100228. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty13, type$.CssValue_Combinator_2), t2.span));
  100229. t1 = A.complexIsSuperselector0(complex1.components, t1);
  100230. } else
  100231. t1 = false;
  100232. return t1;
  100233. },
  100234. $signature: 19
  100235. };
  100236. A._selectorPseudoIsSuperselector_closure8.prototype = {
  100237. call$1(selector2) {
  100238. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100239. },
  100240. $signature: 64
  100241. };
  100242. A._selectorPseudoIsSuperselector_closure9.prototype = {
  100243. call$1(selector2) {
  100244. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100245. },
  100246. $signature: 64
  100247. };
  100248. A._selectorPseudoIsSuperselector_closure10.prototype = {
  100249. call$1(complex) {
  100250. if (complex.accept$1(B._IsBogusVisitor_true0))
  100251. return false;
  100252. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  100253. },
  100254. $signature: 19
  100255. };
  100256. A._selectorPseudoIsSuperselector__closure0.prototype = {
  100257. call$1(simple2) {
  100258. var t1, selector2, _0_4, _this = this;
  100259. $label0$1: {
  100260. if (simple2 instanceof A.TypeSelector0) {
  100261. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  100262. break $label0$1;
  100263. }
  100264. if (simple2 instanceof A.IDSelector0) {
  100265. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  100266. break $label0$1;
  100267. }
  100268. selector2 = null;
  100269. t1 = false;
  100270. if (simple2 instanceof A.PseudoSelector0) {
  100271. _0_4 = simple2.selector;
  100272. if (_0_4 != null) {
  100273. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  100274. t1 = simple2.name === _this.pseudo1.name;
  100275. }
  100276. }
  100277. if (t1) {
  100278. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  100279. break $label0$1;
  100280. }
  100281. t1 = false;
  100282. break $label0$1;
  100283. }
  100284. return t1;
  100285. },
  100286. $signature: 14
  100287. };
  100288. A._selectorPseudoIsSuperselector___closure1.prototype = {
  100289. call$1(simple1) {
  100290. var t1;
  100291. if (simple1 instanceof A.TypeSelector0) {
  100292. t1 = this.simple2;
  100293. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  100294. } else
  100295. t1 = false;
  100296. return t1;
  100297. },
  100298. $signature: 14
  100299. };
  100300. A._selectorPseudoIsSuperselector___closure2.prototype = {
  100301. call$1(simple1) {
  100302. var t1;
  100303. if (simple1 instanceof A.IDSelector0) {
  100304. t1 = this.simple2;
  100305. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  100306. } else
  100307. t1 = false;
  100308. return t1;
  100309. },
  100310. $signature: 14
  100311. };
  100312. A._selectorPseudoIsSuperselector_closure11.prototype = {
  100313. call$1(selector2) {
  100314. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  100315. return t1;
  100316. },
  100317. $signature: 64
  100318. };
  100319. A._selectorPseudoIsSuperselector_closure12.prototype = {
  100320. call$1(pseudo2) {
  100321. var t1, selector2;
  100322. if (!(pseudo2 instanceof A.PseudoSelector0))
  100323. return false;
  100324. t1 = this.pseudo1;
  100325. if (pseudo2.name !== t1.name)
  100326. return false;
  100327. if (pseudo2.argument != t1.argument)
  100328. return false;
  100329. selector2 = pseudo2.selector;
  100330. if (selector2 == null)
  100331. return false;
  100332. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100333. },
  100334. $signature: 14
  100335. };
  100336. A._selectorPseudoArgs_closure1.prototype = {
  100337. call$1(pseudo) {
  100338. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  100339. },
  100340. $signature: 458
  100341. };
  100342. A._selectorPseudoArgs_closure2.prototype = {
  100343. call$1(pseudo) {
  100344. return pseudo.selector;
  100345. },
  100346. $signature: 459
  100347. };
  100348. A.globalFunctions_closure0.prototype = {
  100349. call$1($arguments) {
  100350. var t1 = J.getInterceptor$asx($arguments);
  100351. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  100352. },
  100353. $signature: 3
  100354. };
  100355. A.IDSelector0.prototype = {
  100356. get$specificity() {
  100357. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  100358. },
  100359. accept$1$1(visitor) {
  100360. return visitor.visitIDSelector$1(this);
  100361. },
  100362. accept$1(visitor) {
  100363. return this.accept$1$1(visitor, type$.dynamic);
  100364. },
  100365. addSuffix$1(suffix) {
  100366. return new A.IDSelector0(this.name + suffix, this.span);
  100367. },
  100368. unify$1(compound) {
  100369. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  100370. return null;
  100371. return this.super$SimpleSelector$unify0(compound);
  100372. },
  100373. $eq(_, other) {
  100374. if (other == null)
  100375. return false;
  100376. return other instanceof A.IDSelector0 && other.name === this.name;
  100377. },
  100378. get$hashCode(_) {
  100379. return B.JSString_methods.get$hashCode(this.name);
  100380. }
  100381. };
  100382. A.IDSelector_unify_closure0.prototype = {
  100383. call$1(simple) {
  100384. var t1;
  100385. if (simple instanceof A.IDSelector0)
  100386. t1 = this.$this.name !== simple.name;
  100387. else
  100388. t1 = false;
  100389. return t1;
  100390. },
  100391. $signature: 14
  100392. };
  100393. A.IfExpression0.prototype = {
  100394. accept$1$1(visitor) {
  100395. return visitor.visitIfExpression$1(0, this);
  100396. },
  100397. accept$1(visitor) {
  100398. return this.accept$1$1(visitor, type$.dynamic);
  100399. },
  100400. toString$0(_) {
  100401. return "if" + this.$arguments.toString$0(0);
  100402. },
  100403. get$span(receiver) {
  100404. return this.span;
  100405. }
  100406. };
  100407. A.IfRule0.prototype = {
  100408. accept$1$1(visitor) {
  100409. return visitor.visitIfRule$1(0, this);
  100410. },
  100411. accept$1(visitor) {
  100412. return this.accept$1$1(visitor, type$.dynamic);
  100413. },
  100414. toString$0(_) {
  100415. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  100416. lastClause = this.lastClause;
  100417. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  100418. },
  100419. get$span(receiver) {
  100420. return this.span;
  100421. }
  100422. };
  100423. A.IfRule_toString_closure0.prototype = {
  100424. call$2(index, clause) {
  100425. var t1 = index === 0 ? "if" : "else if";
  100426. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  100427. },
  100428. $signature: 460
  100429. };
  100430. A.IfRuleClause0.prototype = {};
  100431. A.IfRuleClause$__closure0.prototype = {
  100432. call$1(child) {
  100433. var t1;
  100434. $label0$0: {
  100435. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  100436. t1 = true;
  100437. break $label0$0;
  100438. }
  100439. if (child instanceof A.ImportRule0) {
  100440. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  100441. break $label0$0;
  100442. }
  100443. t1 = false;
  100444. break $label0$0;
  100445. }
  100446. return t1;
  100447. },
  100448. $signature: 250
  100449. };
  100450. A.IfRuleClause$___closure0.prototype = {
  100451. call$1($import) {
  100452. return $import instanceof A.DynamicImport0;
  100453. },
  100454. $signature: 249
  100455. };
  100456. A.IfClause0.prototype = {
  100457. toString$0(_) {
  100458. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100459. }
  100460. };
  100461. A.ElseClause0.prototype = {
  100462. toString$0(_) {
  100463. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100464. }
  100465. };
  100466. A.ImmutableList0.prototype = {};
  100467. A.ImmutableMap0.prototype = {};
  100468. A.immutableMapToDartMap_closure.prototype = {
  100469. call$3(value, key, _) {
  100470. this.dartMap.$indexSet(0, key, value);
  100471. },
  100472. "call*": "call$3",
  100473. $requiredArgCount: 3,
  100474. $signature: 463
  100475. };
  100476. A.NodeImporter.prototype = {
  100477. loadRelative$3(url, previous, forImport) {
  100478. var t1, t2, _null = null;
  100479. if ($.$get$url().style.rootLength$1(url) > 0) {
  100480. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  100481. return _null;
  100482. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  100483. }
  100484. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  100485. return _null;
  100486. t1 = $.$get$context();
  100487. previous.toString;
  100488. t2 = t1.style;
  100489. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  100490. },
  100491. load$3(_, url, previous, forImport) {
  100492. var t1, t2, _i, _0_0, _this = this,
  100493. previousString = _this._previousToString$1(previous);
  100494. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100495. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  100496. if (_0_0 != null)
  100497. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  100498. }
  100499. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100500. },
  100501. loadAsync$3(url, previous, forImport) {
  100502. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  100503. },
  100504. loadAsync$body$NodeImporter(url, previous, forImport) {
  100505. var $async$goto = 0,
  100506. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  100507. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  100508. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100509. if ($async$errorCode === 1)
  100510. return A._asyncRethrow($async$result, $async$completer);
  100511. while (true)
  100512. switch ($async$goto) {
  100513. case 0:
  100514. // Function start
  100515. previousString = $async$self._previousToString$1(previous);
  100516. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  100517. case 3:
  100518. // for condition
  100519. if (!(_i < t2)) {
  100520. // goto after for
  100521. $async$goto = 5;
  100522. break;
  100523. }
  100524. $async$goto = 6;
  100525. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  100526. case 6:
  100527. // returning from await.
  100528. _0_0 = $async$result;
  100529. if (_0_0 != null) {
  100530. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  100531. // goto return
  100532. $async$goto = 1;
  100533. break;
  100534. }
  100535. case 4:
  100536. // for update
  100537. ++_i;
  100538. // goto for condition
  100539. $async$goto = 3;
  100540. break;
  100541. case 5:
  100542. // after for
  100543. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100544. // goto return
  100545. $async$goto = 1;
  100546. break;
  100547. case 1:
  100548. // return
  100549. return A._asyncReturn($async$returnValue, $async$completer);
  100550. }
  100551. });
  100552. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  100553. },
  100554. _previousToString$1(previous) {
  100555. var t1;
  100556. $label0$0: {
  100557. if (previous == null) {
  100558. t1 = "stdin";
  100559. break $label0$0;
  100560. }
  100561. if ("file" === previous.get$scheme()) {
  100562. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  100563. break $label0$0;
  100564. }
  100565. t1 = previous.toString$0(0);
  100566. break $label0$0;
  100567. }
  100568. return t1;
  100569. },
  100570. _resolveLoadPathFromUrl$2(url, forImport) {
  100571. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  100572. },
  100573. _resolveLoadPath$2(path, forImport) {
  100574. var t1, t2, _i, t3, _1_0, _null = null,
  100575. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  100576. if (_0_0 != null)
  100577. return _0_0;
  100578. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100579. t3 = A.join(t1[_i], path, _null);
  100580. _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);
  100581. if (_1_0 != null)
  100582. return _1_0;
  100583. }
  100584. return _null;
  100585. },
  100586. _tryPath$2(path, forImport) {
  100587. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  100588. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  100589. },
  100590. _handleImportResult$4(url, previous, value, forImport) {
  100591. var t1, file, contents, t2, resolved;
  100592. if (value instanceof self.Error)
  100593. throw A.wrapException(value);
  100594. if (!type$.NodeImporterResult._is(value))
  100595. return null;
  100596. t1 = J.getInterceptor$x(value);
  100597. file = t1.get$file(value);
  100598. contents = t1.get$contents(value);
  100599. t1 = contents == null;
  100600. t2 = !t1;
  100601. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  100602. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  100603. if (file == null)
  100604. return new A._Record_2(t1 ? "" : contents, url);
  100605. else if (t2)
  100606. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  100607. else {
  100608. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  100609. if (resolved == null)
  100610. resolved = this._resolveLoadPath$2(file, forImport);
  100611. if (resolved != null)
  100612. return resolved;
  100613. throw A.wrapException("Can't find stylesheet to import.");
  100614. }
  100615. },
  100616. _callImporterAsync$4(importer, url, previousString, forImport) {
  100617. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  100618. },
  100619. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  100620. var $async$goto = 0,
  100621. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  100622. $async$returnValue, $async$self = this, t1, result;
  100623. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100624. if ($async$errorCode === 1)
  100625. return A._asyncRethrow($async$result, $async$completer);
  100626. while (true)
  100627. switch ($async$goto) {
  100628. case 0:
  100629. // Function start
  100630. t1 = new A._Future($.Zone__current, type$._Future_Object);
  100631. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  100632. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  100633. break;
  100634. case 3:
  100635. // then
  100636. $async$goto = 5;
  100637. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  100638. case 5:
  100639. // returning from await.
  100640. $async$returnValue = $async$result;
  100641. // goto return
  100642. $async$goto = 1;
  100643. break;
  100644. case 4:
  100645. // join
  100646. $async$returnValue = result;
  100647. // goto return
  100648. $async$goto = 1;
  100649. break;
  100650. case 1:
  100651. // return
  100652. return A._asyncReturn($async$returnValue, $async$completer);
  100653. }
  100654. });
  100655. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  100656. },
  100657. _renderContext$1(fromImport) {
  100658. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  100659. J.set$context$x(J.get$options$x(context), context);
  100660. return context;
  100661. }
  100662. };
  100663. A.NodeImporter_load_closure.prototype = {
  100664. call$0() {
  100665. var _this = this;
  100666. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  100667. },
  100668. $signature: 31
  100669. };
  100670. A.NodeImporter__tryPath_closure.prototype = {
  100671. call$0() {
  100672. return A.resolveImportPath0(this.path);
  100673. },
  100674. $signature: 44
  100675. };
  100676. A.NodeImporter__tryPath_closure0.prototype = {
  100677. call$1(resolved) {
  100678. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  100679. },
  100680. $signature: 464
  100681. };
  100682. A.NodeImporter__callImporterAsync_closure.prototype = {
  100683. call$0() {
  100684. var _this = this;
  100685. 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));
  100686. },
  100687. $signature: 31
  100688. };
  100689. A.ModifiableCssImport0.prototype = {
  100690. accept$1$1(visitor) {
  100691. return visitor.visitCssImport$1(this);
  100692. },
  100693. accept$1(visitor) {
  100694. return this.accept$1$1(visitor, type$.dynamic);
  100695. },
  100696. get$span(receiver) {
  100697. return this.span;
  100698. }
  100699. };
  100700. A.ImportCache0.prototype = {
  100701. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  100702. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, result, _1_2, _2_0, _2_1, _2_5_isSet, _2_5, _2_3, _2_3_isSet, j, _this = this, _null = null;
  100703. if (A.isBrowser())
  100704. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  100705. else
  100706. t1 = false;
  100707. if (t1)
  100708. throw A.wrapException(string$.Custom);
  100709. if (baseImporter != null && url.get$scheme() === "") {
  100710. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  100711. if (resolvedUrl == null)
  100712. resolvedUrl = url;
  100713. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  100714. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  100715. if (relativeResult != null)
  100716. return relativeResult;
  100717. }
  100718. key = new A._Record_2_forImport(url, forImport);
  100719. t1 = _this._import_cache$_canonicalizeCache;
  100720. if (t1.containsKey$1(key))
  100721. return t1.$index(0, key);
  100722. for (t2 = _this._import_cache$_importers, t3 = type$.Record_1_nullable_Object, t4 = _this._import_cache$_perImporterCanonicalizeCache, t5 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2, t6 = type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2, cacheable = true, i = 0; i < t2.length; ++i) {
  100723. importer = t2[i];
  100724. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  100725. if (t4.containsKey$1(perImporterKey)) {
  100726. t7 = t4.$index(0, perImporterKey);
  100727. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  100728. } else
  100729. _1_0 = _null;
  100730. _1_2_isSet = t3._is(_1_0);
  100731. result = _null;
  100732. if (_1_2_isSet) {
  100733. _1_2 = _1_0._0;
  100734. t7 = _1_2 != null;
  100735. if (t7) {
  100736. t6._as(_1_2);
  100737. result = _1_2;
  100738. }
  100739. } else {
  100740. _1_2 = _null;
  100741. t7 = false;
  100742. }
  100743. if (t7)
  100744. return result;
  100745. if (_1_2_isSet)
  100746. t7 = _1_2 == null;
  100747. else
  100748. t7 = false;
  100749. if (t7)
  100750. continue;
  100751. $label0$1: {
  100752. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  100753. _2_1 = _2_0._0;
  100754. _2_5_isSet = _2_1 != null;
  100755. _2_5 = _null;
  100756. _2_3 = _null;
  100757. t7 = false;
  100758. if (_2_5_isSet) {
  100759. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  100760. _2_3 = _2_0._1;
  100761. t7 = _2_3;
  100762. _2_5 = t7;
  100763. t7 = t7 && cacheable;
  100764. } else
  100765. result = _null;
  100766. if (t7) {
  100767. t1.$indexSet(0, key, result);
  100768. return result;
  100769. }
  100770. if (_2_5_isSet) {
  100771. t7 = _2_5;
  100772. _2_3_isSet = _2_5_isSet;
  100773. } else {
  100774. _2_3 = _2_0._1;
  100775. t7 = _2_3;
  100776. _2_3_isSet = true;
  100777. }
  100778. t7 = t7 && !cacheable;
  100779. if (t7) {
  100780. t4.$indexSet(0, perImporterKey, _2_1);
  100781. if (_2_1 != null)
  100782. return _2_1;
  100783. break $label0$1;
  100784. }
  100785. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  100786. if (t7) {
  100787. if (cacheable) {
  100788. for (j = 0; j < i; ++j)
  100789. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  100790. cacheable = false;
  100791. }
  100792. if (_2_1 != null)
  100793. return _2_1;
  100794. }
  100795. }
  100796. }
  100797. if (cacheable)
  100798. t1.$indexSet(0, key, _null);
  100799. return _null;
  100800. },
  100801. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  100802. var passContainingUrl, canonicalizeContext, t1, result, cacheable, _null = null;
  100803. if (baseUrl != null)
  100804. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  100805. else
  100806. passContainingUrl = false;
  100807. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : _null);
  100808. t1 = type$.nullable_Object;
  100809. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  100810. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  100811. if (result == null)
  100812. return new A._Record_2(_null, cacheable);
  100813. if (result.get$scheme() === "")
  100814. A.WarnForDeprecation_warnForDeprecation0(this._import_cache$_logger, B.Deprecation_Ssf, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  100815. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  100816. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  100817. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  100818. },
  100819. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  100820. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  100821. },
  100822. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  100823. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  100824. },
  100825. humanize$1(canonicalUrl) {
  100826. var t1 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  100827. t1 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(this._import_cache$_canonicalizeCache.get$values(0), t1), new A.ImportCache_humanize_closure3(canonicalUrl), t1._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure4(), t1._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure5()), new A.ImportCache_humanize_closure6(canonicalUrl));
  100828. return t1 == null ? canonicalUrl : t1;
  100829. },
  100830. sourceMapUrl$1(_, canonicalUrl) {
  100831. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  100832. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  100833. return t1 == null ? canonicalUrl : t1;
  100834. }
  100835. };
  100836. A.ImportCache_canonicalize_closure0.prototype = {
  100837. call$0() {
  100838. var _this = this,
  100839. t1 = _this.$this,
  100840. t2 = _this.baseUrl,
  100841. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  100842. if (t2 != null)
  100843. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  100844. return _0_0._0;
  100845. },
  100846. $signature: 465
  100847. };
  100848. A.ImportCache__canonicalize_closure0.prototype = {
  100849. call$0() {
  100850. return this.importer.canonicalize$1(0, this.url);
  100851. },
  100852. $signature: 141
  100853. };
  100854. A.ImportCache_importCanonical_closure0.prototype = {
  100855. call$0() {
  100856. var t2, t3, t4, _this = this,
  100857. t1 = _this.canonicalUrl,
  100858. result = _this.importer.load$1(0, t1);
  100859. if (result == null)
  100860. return null;
  100861. t2 = _this.$this;
  100862. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  100863. t3 = result.contents;
  100864. t4 = result.syntax;
  100865. t1 = _this.originalUrl.resolveUri$1(t1);
  100866. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  100867. },
  100868. $signature: 466
  100869. };
  100870. A.ImportCache_humanize_closure3.prototype = {
  100871. call$1(result) {
  100872. return result._1.$eq(0, this.canonicalUrl);
  100873. },
  100874. $signature: 467
  100875. };
  100876. A.ImportCache_humanize_closure4.prototype = {
  100877. call$1(result) {
  100878. return result._2;
  100879. },
  100880. $signature: 468
  100881. };
  100882. A.ImportCache_humanize_closure5.prototype = {
  100883. call$1(url) {
  100884. return url.get$path(url).length;
  100885. },
  100886. $signature: 103
  100887. };
  100888. A.ImportCache_humanize_closure6.prototype = {
  100889. call$1(url) {
  100890. var t1 = $.$get$url(),
  100891. t2 = this.canonicalUrl;
  100892. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  100893. },
  100894. $signature: 43
  100895. };
  100896. A.ImportRule0.prototype = {
  100897. accept$1$1(visitor) {
  100898. return visitor.visitImportRule$1(0, this);
  100899. },
  100900. accept$1(visitor) {
  100901. return this.accept$1$1(visitor, type$.dynamic);
  100902. },
  100903. toString$0(_) {
  100904. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  100905. },
  100906. get$span(receiver) {
  100907. return this.span;
  100908. }
  100909. };
  100910. A.JSImporter.prototype = {};
  100911. A.JSImporterResult.prototype = {};
  100912. A.Importer0.prototype = {
  100913. isNonCanonicalScheme$1(scheme) {
  100914. return false;
  100915. }
  100916. };
  100917. A.NodeImporterResult0.prototype = {};
  100918. A.IncludeRule0.prototype = {
  100919. get$spanWithoutContent() {
  100920. var t2, t3,
  100921. t1 = this.span;
  100922. if (!(this.content == null)) {
  100923. t2 = t1.file;
  100924. t3 = this.$arguments.span;
  100925. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  100926. t1 = t3;
  100927. }
  100928. return t1;
  100929. },
  100930. get$nameSpan() {
  100931. var startSpan, scanner, _null = null,
  100932. t1 = this.span,
  100933. t2 = t1._file$_start,
  100934. t3 = t1._end,
  100935. t4 = t1.file._decodedChars;
  100936. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  100937. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  100938. else {
  100939. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  100940. scanner.expectChar$1(64);
  100941. A._scanIdentifier0(scanner);
  100942. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  100943. }
  100944. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  100945. },
  100946. accept$1$1(visitor) {
  100947. return visitor.visitIncludeRule$1(0, this);
  100948. },
  100949. accept$1(visitor) {
  100950. return this.accept$1$1(visitor, type$.dynamic);
  100951. },
  100952. toString$0(_) {
  100953. var t2, _this = this,
  100954. t1 = _this.namespace;
  100955. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  100956. t1 += _this.name;
  100957. t2 = _this.$arguments;
  100958. if (!t2.get$isEmpty(0))
  100959. t1 += "(" + t2.toString$0(0) + ")";
  100960. t2 = _this.content;
  100961. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  100962. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100963. },
  100964. get$span(receiver) {
  100965. return this.span;
  100966. }
  100967. };
  100968. A.InterpolatedFunctionExpression0.prototype = {
  100969. accept$1$1(visitor) {
  100970. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  100971. },
  100972. accept$1(visitor) {
  100973. return this.accept$1$1(visitor, type$.dynamic);
  100974. },
  100975. toString$0(_) {
  100976. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  100977. },
  100978. get$span(receiver) {
  100979. return this.span;
  100980. }
  100981. };
  100982. A.Interpolation0.prototype = {
  100983. get$asPlain() {
  100984. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  100985. _0_0 = this.contents;
  100986. $label0$0: {
  100987. _0_1 = _0_0.length;
  100988. if (_0_1 <= 0) {
  100989. t1 = "";
  100990. break $label0$0;
  100991. }
  100992. _0_6_isSet = _0_1 === 1;
  100993. _0_6 = null;
  100994. if (_0_6_isSet) {
  100995. _0_60 = _0_0[0];
  100996. t1 = _0_60;
  100997. _0_6 = t1;
  100998. t1 = typeof t1 == "string";
  100999. } else
  101000. t1 = false;
  101001. if (t1) {
  101002. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  101003. t1 = first;
  101004. break $label0$0;
  101005. }
  101006. t1 = null;
  101007. break $label0$0;
  101008. }
  101009. return t1;
  101010. },
  101011. get$initialPlain() {
  101012. var _0_4_isSet, _0_4, _0_40, t1, first,
  101013. _0_0 = this.contents;
  101014. $label0$0: {
  101015. _0_4_isSet = _0_0.length >= 1;
  101016. _0_4 = null;
  101017. if (_0_4_isSet) {
  101018. _0_40 = _0_0[0];
  101019. t1 = _0_40;
  101020. _0_4 = t1;
  101021. t1 = typeof t1 == "string";
  101022. } else
  101023. t1 = false;
  101024. if (t1) {
  101025. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  101026. t1 = first;
  101027. break $label0$0;
  101028. }
  101029. t1 = "";
  101030. break $label0$0;
  101031. }
  101032. return t1;
  101033. },
  101034. Interpolation$20(contents, span) {
  101035. var t1, t2, i, t3, t4,
  101036. _s8_ = "contents";
  101037. for (t1 = this.contents, t2 = t1.length, i = 0; i < t2; ++i) {
  101038. t3 = t1[i];
  101039. t4 = typeof t3 == "string";
  101040. if (!t4 && !(t3 instanceof A.Expression0))
  101041. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  101042. if (i !== 0 && typeof t1[i - 1] == "string" && t4)
  101043. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  101044. }
  101045. },
  101046. toString$0(_) {
  101047. var t1 = this.contents;
  101048. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  101049. },
  101050. $isAstNode0: 1,
  101051. $isSassNode: 1,
  101052. get$span(receiver) {
  101053. return this.span;
  101054. }
  101055. };
  101056. A.Interpolation_toString_closure0.prototype = {
  101057. call$1(value) {
  101058. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  101059. },
  101060. $signature: 113
  101061. };
  101062. A.SupportsInterpolation0.prototype = {
  101063. toString$0(_) {
  101064. return "#{" + this.expression.toString$0(0) + "}";
  101065. },
  101066. $isAstNode0: 1,
  101067. $isSassNode: 1,
  101068. get$span(receiver) {
  101069. return this.span;
  101070. }
  101071. };
  101072. A.InterpolationBuffer0.prototype = {
  101073. writeCharCode$1(character) {
  101074. var t1 = this._interpolation_buffer0$_text,
  101075. t2 = A.Primitives_stringFromCharCode(character);
  101076. t1._contents += t2;
  101077. return null;
  101078. },
  101079. addInterpolation$1(interpolation) {
  101080. var _0_4_isSet, _0_4, _0_40, first, rest, t2, _this = this,
  101081. toAdd = interpolation.contents,
  101082. t1 = toAdd.length;
  101083. if (t1 === 0)
  101084. return;
  101085. _0_4_isSet = t1 >= 1;
  101086. _0_4 = null;
  101087. if (_0_4_isSet) {
  101088. _0_40 = toAdd[0];
  101089. t1 = _0_40;
  101090. _0_4 = t1;
  101091. t1 = typeof t1 == "string";
  101092. } else
  101093. t1 = false;
  101094. if (t1) {
  101095. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  101096. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  101097. t1 = _this._interpolation_buffer0$_text;
  101098. t1._contents += first;
  101099. toAdd = rest;
  101100. }
  101101. _this._interpolation_buffer0$_flushText$0();
  101102. t1 = _this._interpolation_buffer0$_contents;
  101103. B.JSArray_methods.addAll$1(t1, toAdd);
  101104. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  101105. t2 = _this._interpolation_buffer0$_text;
  101106. t1 = A.S(t1.pop());
  101107. t2._contents += t1;
  101108. }
  101109. },
  101110. _interpolation_buffer0$_flushText$0() {
  101111. var t1 = this._interpolation_buffer0$_text,
  101112. t2 = t1._contents;
  101113. if (t2.length === 0)
  101114. return;
  101115. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  101116. t1._contents = "";
  101117. },
  101118. interpolation$1(span) {
  101119. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  101120. t2 = this._interpolation_buffer0$_text._contents;
  101121. if (t2.length !== 0)
  101122. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  101123. return A.Interpolation$0(t1, span);
  101124. },
  101125. toString$0(_) {
  101126. var t1, t2, _i, t3, element;
  101127. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  101128. element = t1[_i];
  101129. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  101130. }
  101131. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  101132. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101133. }
  101134. };
  101135. A.InterpolationMap0.prototype = {
  101136. mapException$1(error) {
  101137. var t3, t4, _this = this,
  101138. target = error.get$span(error),
  101139. source = _this.mapSpan$1(target),
  101140. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  101141. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  101142. t1 = _this._interpolation_map$_interpolation.contents,
  101143. t2 = error._span_exception$_message;
  101144. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  101145. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  101146. else {
  101147. t1 = type$.SourceSpan;
  101148. t3 = type$.String;
  101149. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  101150. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  101151. }
  101152. },
  101153. mapSpan$1(target) {
  101154. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  101155. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  101156. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  101157. $label0$0: {
  101158. _0_10 = _0_1;
  101159. t1 = type$.FileSpan;
  101160. _0_2_isSet = t1._is(_0_1);
  101161. _0_20 = _null;
  101162. t2 = false;
  101163. if (_0_2_isSet) {
  101164. t1._as(_0_10);
  101165. _0_20 = _0_2;
  101166. t2 = t1._is(_0_2);
  101167. start = _0_10;
  101168. _0_1 = start;
  101169. } else {
  101170. start = _null;
  101171. _0_1 = _0_10;
  101172. }
  101173. if (t2) {
  101174. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  101175. break $label0$0;
  101176. }
  101177. t2 = false;
  101178. if (t1._is(_0_1)) {
  101179. if (_0_2_isSet)
  101180. t2 = _0_20;
  101181. else {
  101182. t2 = _0_2;
  101183. _0_20 = t2;
  101184. _0_2_isSet = true;
  101185. }
  101186. t2 = t2 instanceof A.FileLocation;
  101187. start = _0_1;
  101188. } else
  101189. start = _null;
  101190. if (t2) {
  101191. t1 = _0_2_isSet ? _0_20 : _0_2;
  101192. type$.FileLocation._as(t1);
  101193. t2 = _this._interpolation_map$_interpolation.span;
  101194. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  101195. break $label0$0;
  101196. }
  101197. t2 = false;
  101198. if (_0_1 instanceof A.FileLocation) {
  101199. if (_0_2_isSet)
  101200. t2 = _0_20;
  101201. else {
  101202. t2 = _0_2;
  101203. _0_20 = t2;
  101204. _0_2_isSet = true;
  101205. }
  101206. t2 = t1._is(t2);
  101207. start = _0_1;
  101208. } else
  101209. start = _null;
  101210. if (t2) {
  101211. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  101212. t1 = _this._interpolation_map$_interpolation.span;
  101213. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  101214. break $label0$0;
  101215. }
  101216. t1 = false;
  101217. if (_0_1 instanceof A.FileLocation) {
  101218. if (_0_2_isSet)
  101219. t1 = _0_20;
  101220. else {
  101221. t1 = _0_2;
  101222. _0_20 = t1;
  101223. _0_2_isSet = true;
  101224. }
  101225. t1 = t1 instanceof A.FileLocation;
  101226. start = _0_1;
  101227. } else
  101228. start = _null;
  101229. if (t1) {
  101230. t1 = _0_2_isSet ? _0_20 : _0_2;
  101231. type$.FileLocation._as(t1);
  101232. t2 = _this._interpolation_map$_interpolation.span;
  101233. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  101234. break $label0$0;
  101235. }
  101236. t1 = A.throwExpression("[BUG] Unreachable");
  101237. }
  101238. return t1;
  101239. },
  101240. _interpolation_map$_mapLocation$1(target) {
  101241. var t3, previousLocation, _this = this,
  101242. index = _this._interpolation_map$_indexInContents$1(target),
  101243. t1 = _this._interpolation_map$_interpolation,
  101244. t2 = t1.contents,
  101245. _0_0 = t2[index];
  101246. if (_0_0 instanceof A.Expression0)
  101247. return _0_0.get$span(_0_0);
  101248. t3 = index === 0;
  101249. t1 = t1.span;
  101250. if (t3)
  101251. previousLocation = t1.get$start(t1);
  101252. else {
  101253. t1 = t1.get$file(t1);
  101254. t2 = type$.Expression_2._as(t2[index - 1]);
  101255. t2 = t2.get$span(t2);
  101256. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  101257. }
  101258. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  101259. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  101260. },
  101261. _interpolation_map$_indexInContents$1(target) {
  101262. var t1, t2, t3, i;
  101263. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  101264. if (t3 < t1[i].get$offset())
  101265. return i;
  101266. return this._interpolation_map$_interpolation.contents.length - 1;
  101267. },
  101268. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  101269. var i0, prev, char,
  101270. source = start.file._decodedChars,
  101271. i = start.offset - 1;
  101272. for (; i >= 0;) {
  101273. i0 = i - 1;
  101274. prev = source[i];
  101275. if (prev === 123) {
  101276. if (source[i0] === 35) {
  101277. i = i0;
  101278. break;
  101279. }
  101280. i = i0;
  101281. } else if (prev === 47) {
  101282. i = i0 - 1;
  101283. if (source[i0] === 42)
  101284. for (; true;) {
  101285. i0 = i - 1;
  101286. if (source[i] !== 42) {
  101287. i = i0;
  101288. continue;
  101289. }
  101290. i = i0;
  101291. do {
  101292. i0 = i - 1;
  101293. char = source[i];
  101294. if (char === 42) {
  101295. i = i0;
  101296. continue;
  101297. } else
  101298. break;
  101299. } while (true);
  101300. if (char === 47) {
  101301. i = i0;
  101302. break;
  101303. }
  101304. i = i0;
  101305. }
  101306. } else
  101307. i = i0;
  101308. }
  101309. return i;
  101310. },
  101311. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  101312. var t1, i0, next, second, t2, char,
  101313. source = end.file._decodedChars,
  101314. i = end.offset;
  101315. for (t1 = source.length; i < t1;) {
  101316. i0 = i + 1;
  101317. next = source[i];
  101318. if (next === 125) {
  101319. i = i0;
  101320. break;
  101321. }
  101322. if (next === 47) {
  101323. i = i0 + 1;
  101324. second = source[i0];
  101325. if (second === 47) {
  101326. while (true) {
  101327. i0 = i + 1;
  101328. t2 = source[i];
  101329. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  101330. break;
  101331. i = i0;
  101332. }
  101333. i = i0;
  101334. } else if (second === 42)
  101335. for (; true;) {
  101336. i0 = i + 1;
  101337. if (source[i] !== 42) {
  101338. i = i0;
  101339. continue;
  101340. }
  101341. i = i0;
  101342. do {
  101343. i0 = i + 1;
  101344. char = source[i];
  101345. if (char === 42) {
  101346. i = i0;
  101347. continue;
  101348. } else
  101349. break;
  101350. } while (true);
  101351. if (char === 47) {
  101352. i = i0;
  101353. break;
  101354. }
  101355. i = i0;
  101356. }
  101357. } else
  101358. i = i0;
  101359. }
  101360. return i;
  101361. }
  101362. };
  101363. A.InterpolationMap_mapException_closure0.prototype = {
  101364. call$1($content) {
  101365. return $content instanceof A.Expression0;
  101366. },
  101367. $signature: 65
  101368. };
  101369. A._realCasePath_helper0.prototype = {
  101370. call$1(path) {
  101371. var dirname = $.$get$context().dirname$1(path);
  101372. if (dirname === path)
  101373. return path;
  101374. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  101375. },
  101376. $signature: 5
  101377. };
  101378. A._realCasePath_helper_closure0.prototype = {
  101379. call$0() {
  101380. var matches, t1, _0_0, match, exception,
  101381. realDirname = this.helper.call$1(this.dirname),
  101382. t2 = this.path,
  101383. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  101384. try {
  101385. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  101386. t1 = null;
  101387. _0_0 = matches;
  101388. $label0$0: {
  101389. match = null;
  101390. if (J.get$length$asx(_0_0) === 1) {
  101391. match = J.$index$asx(_0_0, 0);
  101392. t1 = match;
  101393. break $label0$0;
  101394. }
  101395. t1 = A.join(realDirname, basename, null);
  101396. break $label0$0;
  101397. }
  101398. t1 = t1;
  101399. return t1;
  101400. } catch (exception) {
  101401. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  101402. return t2;
  101403. else
  101404. throw exception;
  101405. }
  101406. },
  101407. $signature: 26
  101408. };
  101409. A._realCasePath_helper__closure0.prototype = {
  101410. call$1(realPath) {
  101411. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  101412. },
  101413. $signature: 4
  101414. };
  101415. A.FileSystemException0.prototype = {
  101416. toString$0(_) {
  101417. var t1 = $.$get$context();
  101418. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  101419. },
  101420. get$message(receiver) {
  101421. return this.message;
  101422. }
  101423. };
  101424. A._readFile_closure0.prototype = {
  101425. call$0() {
  101426. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  101427. },
  101428. $signature: 61
  101429. };
  101430. A.fileExists_closure0.prototype = {
  101431. call$0() {
  101432. var error, systemError, exception,
  101433. t1 = this.path;
  101434. if (!J.existsSync$1$x(A.fs(), t1))
  101435. return false;
  101436. try {
  101437. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  101438. return t1;
  101439. } catch (exception) {
  101440. error = A.unwrapException(exception);
  101441. systemError = type$.JsSystemError._as(error);
  101442. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101443. return false;
  101444. throw exception;
  101445. }
  101446. },
  101447. $signature: 22
  101448. };
  101449. A.dirExists_closure0.prototype = {
  101450. call$0() {
  101451. var error, systemError, exception,
  101452. t1 = this.path;
  101453. if (!J.existsSync$1$x(A.fs(), t1))
  101454. return false;
  101455. try {
  101456. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  101457. return t1;
  101458. } catch (exception) {
  101459. error = A.unwrapException(exception);
  101460. systemError = type$.JsSystemError._as(error);
  101461. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101462. return false;
  101463. throw exception;
  101464. }
  101465. },
  101466. $signature: 22
  101467. };
  101468. A.listDir_closure0.prototype = {
  101469. call$0() {
  101470. var t1 = this.path;
  101471. if (!this.recursive)
  101472. 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());
  101473. else
  101474. return new A.listDir_closure_list0().call$1(t1);
  101475. },
  101476. $signature: 145
  101477. };
  101478. A.listDir__closure1.prototype = {
  101479. call$1(child) {
  101480. return A.join(this.path, A._asString(child), null);
  101481. },
  101482. $signature: 119
  101483. };
  101484. A.listDir__closure2.prototype = {
  101485. call$1(child) {
  101486. return !A.dirExists0(child);
  101487. },
  101488. $signature: 4
  101489. };
  101490. A.listDir_closure_list0.prototype = {
  101491. call$1($parent) {
  101492. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  101493. },
  101494. $signature: 146
  101495. };
  101496. A.listDir__list_closure0.prototype = {
  101497. call$1(child) {
  101498. var path = A.join(this.parent, A._asString(child), null);
  101499. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  101500. },
  101501. $signature: 147
  101502. };
  101503. A.main_closure.prototype = {
  101504. call$2(_, __) {
  101505. },
  101506. $signature: 469
  101507. };
  101508. A.main_closure0.prototype = {
  101509. call$2(_, __) {
  101510. },
  101511. $signature: 470
  101512. };
  101513. A.JSToDartLogger.prototype = {
  101514. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  101515. var t2, t3, t4,
  101516. t1 = this._node,
  101517. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  101518. if (_0_0 != null) {
  101519. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  101520. t2 = J.toString$0$(trace);
  101521. t3 = deprecation == null;
  101522. t4 = $.$get$deprecations();
  101523. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  101524. } else
  101525. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  101526. },
  101527. debug$2(_, message, span) {
  101528. var t1 = this._node,
  101529. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  101530. if (_0_0 != null)
  101531. _0_0.call$2(message, {span: span});
  101532. else
  101533. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  101534. },
  101535. _withAscii$1$1(callback) {
  101536. var t1,
  101537. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  101538. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101539. try {
  101540. t1 = callback.call$0();
  101541. return t1;
  101542. } finally {
  101543. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101544. }
  101545. },
  101546. _withAscii$1(callback) {
  101547. return this._withAscii$1$1(callback, type$.dynamic);
  101548. }
  101549. };
  101550. A.JSToDartLogger_internalWarn_closure.prototype = {
  101551. call$0() {
  101552. var _this = this;
  101553. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation != null, _this.span, _this.trace);
  101554. },
  101555. $signature: 1
  101556. };
  101557. A.JSToDartLogger_debug_closure.prototype = {
  101558. call$0() {
  101559. return this.$this._fallback.debug$2(0, this.message, this.span);
  101560. },
  101561. $signature: 0
  101562. };
  101563. A.ModifiableCssKeyframeBlock0.prototype = {
  101564. accept$1$1(visitor) {
  101565. return visitor.visitCssKeyframeBlock$1(this);
  101566. },
  101567. accept$1(visitor) {
  101568. return this.accept$1$1(visitor, type$.dynamic);
  101569. },
  101570. equalsIgnoringChildren$1(other) {
  101571. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  101572. },
  101573. copyWithoutChildren$0() {
  101574. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  101575. },
  101576. get$span(receiver) {
  101577. return this.span;
  101578. }
  101579. };
  101580. A.KeyframeSelectorParser0.prototype = {
  101581. parse$0(_) {
  101582. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  101583. },
  101584. _keyframe_selector$_percentage$0() {
  101585. var $self, _0_0,
  101586. t1 = this.scanner,
  101587. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  101588. second = t1.peekChar$0();
  101589. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  101590. t1.error$1(0, "Expected number.");
  101591. while (true) {
  101592. $self = t1.peekChar$0();
  101593. if (!($self != null && $self >= 48 && $self <= 57))
  101594. break;
  101595. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101596. }
  101597. if (t1.peekChar$0() === 46) {
  101598. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101599. while (true) {
  101600. $self = t1.peekChar$0();
  101601. if (!($self != null && $self >= 48 && $self <= 57))
  101602. break;
  101603. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101604. }
  101605. }
  101606. if (this.scanIdentChar$1(101)) {
  101607. t2 += A.Primitives_stringFromCharCode(101);
  101608. _0_0 = t1.peekChar$0();
  101609. if (43 === _0_0 || 45 === _0_0)
  101610. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101611. $self = t1.peekChar$0();
  101612. if (!($self != null && $self >= 48 && $self <= 57))
  101613. t1.error$1(0, "Expected digit.");
  101614. do {
  101615. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101616. $self = t1.peekChar$0();
  101617. } while ($self != null && $self >= 48 && $self <= 57);
  101618. }
  101619. t1.expectChar$1(37);
  101620. t2 += A.Primitives_stringFromCharCode(37);
  101621. return t2.charCodeAt(0) == 0 ? t2 : t2;
  101622. }
  101623. };
  101624. A.KeyframeSelectorParser_parse_closure0.prototype = {
  101625. call$0() {
  101626. var selectors = A._setArrayType([], type$.JSArray_String),
  101627. t1 = this.$this,
  101628. t2 = t1.scanner;
  101629. do {
  101630. t1.whitespace$0();
  101631. if (t1.lookingAtIdentifier$0())
  101632. if (t1.scanIdentifier$1("from"))
  101633. selectors.push("from");
  101634. else {
  101635. t1.expectIdentifier$2$name("to", '"to" or "from"');
  101636. selectors.push("to");
  101637. }
  101638. else
  101639. selectors.push(t1._keyframe_selector$_percentage$0());
  101640. t1.whitespace$0();
  101641. } while (t2.scanChar$1(44));
  101642. t2.expectDone$0();
  101643. return selectors;
  101644. },
  101645. $signature: 128
  101646. };
  101647. A.LazyFileSpan0.prototype = {
  101648. get$span(_) {
  101649. var t1 = this._lazy_file_span0$_span;
  101650. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  101651. },
  101652. compareTo$1(_, other) {
  101653. return this.get$span(0).compareTo$1(0, other);
  101654. },
  101655. get$context(_) {
  101656. var t1 = this.get$span(0);
  101657. return t1.get$context(t1);
  101658. },
  101659. get$end(_) {
  101660. var t1 = this.get$span(0);
  101661. return t1.get$end(t1);
  101662. },
  101663. expand$1(_, other) {
  101664. return this.get$span(0).expand$1(0, other);
  101665. },
  101666. get$file(_) {
  101667. var t1 = this.get$span(0);
  101668. return t1.get$file(t1);
  101669. },
  101670. highlight$1$color(color) {
  101671. return this.get$span(0).highlight$1$color(color);
  101672. },
  101673. get$length(_) {
  101674. var t1 = this.get$span(0);
  101675. return t1.get$length(t1);
  101676. },
  101677. message$2$color(_, message, color) {
  101678. return this.get$span(0).message$2$color(0, message, color);
  101679. },
  101680. message$1(_, message) {
  101681. return this.message$2$color(0, message, null);
  101682. },
  101683. get$sourceUrl(_) {
  101684. var t1 = this.get$span(0);
  101685. return t1.get$sourceUrl(t1);
  101686. },
  101687. get$start(_) {
  101688. var t1 = this.get$span(0);
  101689. return t1.get$start(t1);
  101690. },
  101691. get$text() {
  101692. return this.get$span(0).get$text();
  101693. },
  101694. $isComparable: 1,
  101695. $isFileSpan: 1,
  101696. $isSourceSpan: 1,
  101697. $isSourceSpanWithContext: 1
  101698. };
  101699. A.render_closure.prototype = {
  101700. call$0() {
  101701. var error, exception;
  101702. try {
  101703. this.callback.call$2(null, A.renderSync(this.options));
  101704. } catch (exception) {
  101705. error = A.unwrapException(exception);
  101706. this.callback.call$2(error, null);
  101707. }
  101708. return null;
  101709. },
  101710. $signature: 1
  101711. };
  101712. A.render_closure0.prototype = {
  101713. call$1(result) {
  101714. this.callback.call$2(null, result);
  101715. },
  101716. $signature: 639
  101717. };
  101718. A.render_closure1.prototype = {
  101719. call$2(error, stackTrace) {
  101720. var t2, t3, _null = null,
  101721. t1 = this.callback;
  101722. if (error instanceof A.SassException0)
  101723. t1.call$2(A._wrapException(error, stackTrace), _null);
  101724. else {
  101725. t2 = J.toString$0$(error);
  101726. t3 = A.getTrace0(error);
  101727. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  101728. }
  101729. },
  101730. $signature: 50
  101731. };
  101732. A._parseFunctions_closure.prototype = {
  101733. call$2(signature, callback) {
  101734. var _0_0, _this = this, t1 = {},
  101735. t2 = _this.options,
  101736. context = {options: A._contextOptions(t2, _this.start)};
  101737. J.set$context$x(J.get$options$x(context), context);
  101738. _0_0 = J.get$fiber$x(t2);
  101739. t1.fiber = null;
  101740. if (_0_0 != null) {
  101741. t1.fiber = _0_0;
  101742. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  101743. } else {
  101744. t1 = _this.result;
  101745. if (!_this.asynch)
  101746. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  101747. else
  101748. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  101749. }
  101750. },
  101751. $signature: 122
  101752. };
  101753. A._parseFunctions__closure.prototype = {
  101754. call$1($arguments) {
  101755. var result,
  101756. t1 = this._box_0,
  101757. currentFiber = J.get$current$x(t1.fiber),
  101758. t2 = type$.Object;
  101759. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101760. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  101761. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  101762. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  101763. },
  101764. $signature: 3
  101765. };
  101766. A._parseFunctions___closure2.prototype = {
  101767. call$1(result) {
  101768. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  101769. },
  101770. call$0() {
  101771. return this.call$1(null);
  101772. },
  101773. "call*": "call$1",
  101774. $requiredArgCount: 0,
  101775. $defaultValues() {
  101776. return [null];
  101777. },
  101778. $signature: 88
  101779. };
  101780. A._parseFunctions____closure.prototype = {
  101781. call$0() {
  101782. return J.run$1$x(this.currentFiber, this.result);
  101783. },
  101784. $signature: 0
  101785. };
  101786. A._parseFunctions___closure3.prototype = {
  101787. call$0() {
  101788. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101789. },
  101790. $signature: 31
  101791. };
  101792. A._parseFunctions___closure4.prototype = {
  101793. call$0() {
  101794. return J.yield$0$x(this._box_0.fiber);
  101795. },
  101796. $signature: 81
  101797. };
  101798. A._parseFunctions__closure0.prototype = {
  101799. call$1($arguments) {
  101800. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  101801. },
  101802. $signature: 3
  101803. };
  101804. A._parseFunctions___closure1.prototype = {
  101805. call$0() {
  101806. var t1 = type$.JSFunction._as(this.callback),
  101807. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  101808. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")));
  101809. },
  101810. $signature: 31
  101811. };
  101812. A._parseFunctions__closure1.prototype = {
  101813. call$1($arguments) {
  101814. return this.$call$body$_parseFunctions__closure($arguments);
  101815. },
  101816. $call$body$_parseFunctions__closure($arguments) {
  101817. var $async$goto = 0,
  101818. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  101819. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  101820. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  101821. if ($async$errorCode === 1)
  101822. return A._asyncRethrow($async$result, $async$completer);
  101823. while (true)
  101824. switch ($async$goto) {
  101825. case 0:
  101826. // Function start
  101827. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  101828. t2 = type$.Object;
  101829. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101830. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  101831. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  101832. $async$temp1 = A;
  101833. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  101834. break;
  101835. case 3:
  101836. // then
  101837. $async$goto = 6;
  101838. return A._asyncAwait(t1, $async$call$1);
  101839. case 6:
  101840. // returning from await.
  101841. // goto join
  101842. $async$goto = 4;
  101843. break;
  101844. case 5:
  101845. // else
  101846. $async$result = result;
  101847. case 4:
  101848. // join
  101849. $async$returnValue = $async$temp1.unwrapValue($async$result);
  101850. // goto return
  101851. $async$goto = 1;
  101852. break;
  101853. case 1:
  101854. // return
  101855. return A._asyncReturn($async$returnValue, $async$completer);
  101856. }
  101857. });
  101858. return A._asyncStartSync($async$call$1, $async$completer);
  101859. },
  101860. $signature: 86
  101861. };
  101862. A._parseFunctions___closure.prototype = {
  101863. call$1(result) {
  101864. return this.completer.complete$1(result);
  101865. },
  101866. call$0() {
  101867. return this.call$1(null);
  101868. },
  101869. "call*": "call$1",
  101870. $requiredArgCount: 0,
  101871. $defaultValues() {
  101872. return [null];
  101873. },
  101874. $signature: 257
  101875. };
  101876. A._parseFunctions___closure0.prototype = {
  101877. call$0() {
  101878. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101879. },
  101880. $signature: 31
  101881. };
  101882. A._parseImporter_closure.prototype = {
  101883. call$1(importer) {
  101884. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  101885. },
  101886. $signature: 472
  101887. };
  101888. A._parseImporter__closure.prototype = {
  101889. call$4(thisArg, url, previous, _) {
  101890. var t1 = this._box_0,
  101891. 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));
  101892. if (A._asBool($.$get$_isUndefined().call$1(result)))
  101893. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  101894. return result;
  101895. },
  101896. call$3(thisArg, url, previous) {
  101897. return this.call$4(thisArg, url, previous, null);
  101898. },
  101899. "call*": "call$4",
  101900. $requiredArgCount: 3,
  101901. $defaultValues() {
  101902. return [null];
  101903. },
  101904. $signature: 473
  101905. };
  101906. A._parseImporter___closure.prototype = {
  101907. call$1(result) {
  101908. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  101909. },
  101910. $signature: 474
  101911. };
  101912. A._parseImporter____closure.prototype = {
  101913. call$0() {
  101914. return J.run$1$x(this.currentFiber, this.result);
  101915. },
  101916. $signature: 0
  101917. };
  101918. A._parseImporter___closure0.prototype = {
  101919. call$0() {
  101920. return J.yield$0$x(this._box_0.fiber);
  101921. },
  101922. $signature: 81
  101923. };
  101924. A.LimitedMapView0.prototype = {
  101925. get$keys(_) {
  101926. return this._limited_map_view0$_keys;
  101927. },
  101928. get$length(_) {
  101929. return this._limited_map_view0$_keys._collection$_length;
  101930. },
  101931. get$isEmpty(_) {
  101932. return this._limited_map_view0$_keys._collection$_length === 0;
  101933. },
  101934. get$isNotEmpty(_) {
  101935. return this._limited_map_view0$_keys._collection$_length !== 0;
  101936. },
  101937. $index(_, key) {
  101938. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  101939. },
  101940. containsKey$1(key) {
  101941. return this._limited_map_view0$_keys.contains$1(0, key);
  101942. },
  101943. remove$1(_, key) {
  101944. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  101945. }
  101946. };
  101947. A.ListExpression0.prototype = {
  101948. accept$1$1(visitor) {
  101949. return visitor.visitListExpression$1(0, this);
  101950. },
  101951. accept$1(visitor) {
  101952. return this.accept$1$1(visitor, type$.dynamic);
  101953. },
  101954. toString$0(_) {
  101955. var t2, t3, t4, t5, _this = this,
  101956. t1 = _this.hasBrackets;
  101957. if (t1)
  101958. t2 = "" + A.Primitives_stringFromCharCode(91);
  101959. else {
  101960. t2 = _this.contents.length;
  101961. if (t2 !== 0)
  101962. t2 = t2 === 1 && _this.separator === B.ListSeparator_ECn0;
  101963. else
  101964. t2 = true;
  101965. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  101966. }
  101967. t3 = _this.contents;
  101968. t4 = _this.separator === B.ListSeparator_ECn0;
  101969. t5 = t4 ? ", " : " ";
  101970. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  101971. if (t1)
  101972. t1 = t5 + A.Primitives_stringFromCharCode(93);
  101973. else {
  101974. t1 = t3.length;
  101975. if (t1 === 0)
  101976. t1 = t5 + A.Primitives_stringFromCharCode(41);
  101977. else
  101978. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  101979. }
  101980. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101981. },
  101982. _list3$_elementNeedsParens$1(expression) {
  101983. var childSeparator, t1, _0_13;
  101984. $label0$0: {
  101985. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  101986. childSeparator = expression.separator;
  101987. t1 = this.separator === B.ListSeparator_ECn0 ? childSeparator === B.ListSeparator_ECn0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  101988. break $label0$0;
  101989. }
  101990. if (expression instanceof A.UnaryOperationExpression0) {
  101991. _0_13 = expression.operator;
  101992. if (B.UnaryOperator_cLp0 !== _0_13)
  101993. t1 = B.UnaryOperator_AiQ0 === _0_13;
  101994. else
  101995. t1 = true;
  101996. } else
  101997. t1 = false;
  101998. if (t1) {
  101999. t1 = this.separator === B.ListSeparator_nbm0;
  102000. break $label0$0;
  102001. }
  102002. t1 = false;
  102003. break $label0$0;
  102004. }
  102005. return t1;
  102006. },
  102007. get$span(receiver) {
  102008. return this.span;
  102009. }
  102010. };
  102011. A.ListExpression_toString_closure0.prototype = {
  102012. call$1(element) {
  102013. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  102014. },
  102015. $signature: 135
  102016. };
  102017. A._length_closure2.prototype = {
  102018. call$1($arguments) {
  102019. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  102020. },
  102021. $signature: 11
  102022. };
  102023. A._nth_closure0.prototype = {
  102024. call$1($arguments) {
  102025. var t1 = J.getInterceptor$asx($arguments),
  102026. list = t1.$index($arguments, 0),
  102027. index = t1.$index($arguments, 1);
  102028. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  102029. },
  102030. $signature: 3
  102031. };
  102032. A._setNth_closure0.prototype = {
  102033. call$1($arguments) {
  102034. var newList,
  102035. t1 = J.getInterceptor$asx($arguments),
  102036. list = t1.$index($arguments, 0),
  102037. index = t1.$index($arguments, 1),
  102038. value = t1.$index($arguments, 2);
  102039. t1 = list.get$asList();
  102040. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  102041. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  102042. return list.withListContents$1(newList);
  102043. },
  102044. $signature: 23
  102045. };
  102046. A._join_closure0.prototype = {
  102047. call$1($arguments) {
  102048. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  102049. t1 = J.getInterceptor$asx($arguments),
  102050. list1 = t1.$index($arguments, 0),
  102051. list2 = t1.$index($arguments, 1),
  102052. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  102053. bracketedParam = t1.$index($arguments, 3),
  102054. _1_0 = separatorParam._string0$_text;
  102055. $label1$1: {
  102056. if ("auto" === _1_0) {
  102057. _0_1 = list1.get$separator(list1);
  102058. _0_4 = list2.get$separator(list2);
  102059. $label0$0: {
  102060. t1 = _null;
  102061. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  102062. t2 = _0_3;
  102063. if (t2) {
  102064. t3 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  102065. _0_40 = _0_4;
  102066. } else {
  102067. _0_40 = _null;
  102068. t3 = false;
  102069. }
  102070. if (t3) {
  102071. t1 = B.ListSeparator_nbm0;
  102072. break $label0$0;
  102073. }
  102074. if (_0_3)
  102075. separator = t2 ? _0_40 : _0_4;
  102076. else
  102077. separator = t1;
  102078. if (!_0_3)
  102079. separator = _0_1;
  102080. t1 = separator;
  102081. break $label0$0;
  102082. }
  102083. break $label1$1;
  102084. }
  102085. if ("space" === _1_0) {
  102086. t1 = B.ListSeparator_nbm0;
  102087. break $label1$1;
  102088. }
  102089. if ("comma" === _1_0) {
  102090. t1 = B.ListSeparator_ECn0;
  102091. break $label1$1;
  102092. }
  102093. if ("slash" === _1_0) {
  102094. t1 = B.ListSeparator_cQA0;
  102095. break $label1$1;
  102096. }
  102097. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  102098. }
  102099. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  102100. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  102101. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  102102. return A.SassList$0(t2, t1, bracketed);
  102103. },
  102104. $signature: 23
  102105. };
  102106. A._append_closure2.prototype = {
  102107. call$1($arguments) {
  102108. var t2,
  102109. t1 = J.getInterceptor$asx($arguments),
  102110. list = t1.$index($arguments, 0),
  102111. value = t1.$index($arguments, 1),
  102112. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  102113. $label0$0: {
  102114. if ("auto" === _0_0) {
  102115. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_nbm0 : list.get$separator(list);
  102116. break $label0$0;
  102117. }
  102118. if ("space" === _0_0) {
  102119. t1 = B.ListSeparator_nbm0;
  102120. break $label0$0;
  102121. }
  102122. if ("comma" === _0_0) {
  102123. t1 = B.ListSeparator_ECn0;
  102124. break $label0$0;
  102125. }
  102126. if ("slash" === _0_0) {
  102127. t1 = B.ListSeparator_cQA0;
  102128. break $label0$0;
  102129. }
  102130. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  102131. }
  102132. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  102133. t2.push(value);
  102134. return list.withListContents$2$separator(t2, t1);
  102135. },
  102136. $signature: 23
  102137. };
  102138. A._zip_closure0.prototype = {
  102139. call$1($arguments) {
  102140. var results, result, _box_0 = {},
  102141. t1 = J.$index$asx($arguments, 0).get$asList(),
  102142. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  102143. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  102144. if (lists.length === 0)
  102145. return B.SassList_bdS1;
  102146. _box_0.i = 0;
  102147. results = A._setArrayType([], type$.JSArray_SassList_2);
  102148. 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));) {
  102149. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  102150. result.fixed$length = Array;
  102151. result.immutable$list = Array;
  102152. results.push(new A.SassList0(result, B.ListSeparator_nbm0, false));
  102153. ++_box_0.i;
  102154. }
  102155. return A.SassList$0(results, B.ListSeparator_ECn0, false);
  102156. },
  102157. $signature: 23
  102158. };
  102159. A._zip__closure2.prototype = {
  102160. call$1(list) {
  102161. return list.get$asList();
  102162. },
  102163. $signature: 476
  102164. };
  102165. A._zip__closure3.prototype = {
  102166. call$1(list) {
  102167. return this._box_0.i !== J.get$length$asx(list);
  102168. },
  102169. $signature: 477
  102170. };
  102171. A._zip__closure4.prototype = {
  102172. call$1(list) {
  102173. return J.$index$asx(list, this._box_0.i);
  102174. },
  102175. $signature: 3
  102176. };
  102177. A._index_closure2.prototype = {
  102178. call$1($arguments) {
  102179. var t1 = J.getInterceptor$asx($arguments),
  102180. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  102181. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  102182. },
  102183. $signature: 3
  102184. };
  102185. A._separator_closure0.prototype = {
  102186. call$1($arguments) {
  102187. var t1,
  102188. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  102189. $label0$0: {
  102190. if (B.ListSeparator_ECn0 === _0_0) {
  102191. t1 = new A.SassString0("comma", false);
  102192. break $label0$0;
  102193. }
  102194. if (B.ListSeparator_cQA0 === _0_0) {
  102195. t1 = new A.SassString0("slash", false);
  102196. break $label0$0;
  102197. }
  102198. t1 = new A.SassString0("space", false);
  102199. break $label0$0;
  102200. }
  102201. return t1;
  102202. },
  102203. $signature: 16
  102204. };
  102205. A._isBracketed_closure0.prototype = {
  102206. call$1($arguments) {
  102207. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102208. },
  102209. $signature: 21
  102210. };
  102211. A._slash_closure0.prototype = {
  102212. call$1($arguments) {
  102213. var list = J.$index$asx($arguments, 0).get$asList();
  102214. if (list.length < 2)
  102215. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  102216. return A.SassList$0(list, B.ListSeparator_cQA0, false);
  102217. },
  102218. $signature: 23
  102219. };
  102220. A.SelectorList0.prototype = {
  102221. get$asSassList() {
  102222. var t1 = this.components;
  102223. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  102224. },
  102225. accept$1$1(visitor) {
  102226. return visitor.visitSelectorList$1(this);
  102227. },
  102228. accept$1(visitor) {
  102229. return this.accept$1$1(visitor, type$.dynamic);
  102230. },
  102231. unify$1(other) {
  102232. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  102233. t1 = type$.JSArray_ComplexSelector_2,
  102234. t2 = A._setArrayType([], t1);
  102235. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  102236. complex1 = t3[_i];
  102237. for (_i0 = 0; _i0 < t6; ++_i0) {
  102238. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  102239. if (t7 != null)
  102240. B.JSArray_methods.addAll$1(t2, t7);
  102241. }
  102242. }
  102243. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  102244. },
  102245. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  102246. var parentSelector, t1, _this = this;
  102247. if ($parent == null) {
  102248. if (preserveParentSelectors)
  102249. return _this;
  102250. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  102251. if (parentSelector == null)
  102252. return _this;
  102253. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  102254. }
  102255. t1 = _this.components;
  102256. return A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(t1, new A.SelectorList_nestWithin_closure0(_this, preserveParentSelectors, implicitParent, $parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")), type$.ComplexSelector_2), _this.span);
  102257. },
  102258. nestWithin$1($parent) {
  102259. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  102260. },
  102261. nestWithin$2$implicitParent($parent, implicitParent) {
  102262. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  102263. },
  102264. _list2$_nestWithinCompound$2(component, $parent) {
  102265. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  102266. t1 = component.selector,
  102267. simples = t1.components,
  102268. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  102269. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  102270. return null;
  102271. if (containsSelectorPseudo) {
  102272. t2 = simples;
  102273. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  102274. } else
  102275. resolvedSimples0 = simples;
  102276. resolvedSimples = resolvedSimples0;
  102277. parentSelector = J.get$first$ax(simples);
  102278. try {
  102279. if (!(parentSelector instanceof A.ParentSelector0)) {
  102280. t2 = component.span;
  102281. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty13, 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);
  102282. return t2;
  102283. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  102284. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  102285. return t1.components;
  102286. }
  102287. } catch (exception) {
  102288. t1 = A.unwrapException(exception);
  102289. if (t1 instanceof A.SassException0) {
  102290. error = t1;
  102291. stackTrace = A.getTraceFromException(exception);
  102292. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  102293. } else
  102294. throw exception;
  102295. }
  102296. t1 = $parent.components;
  102297. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102298. },
  102299. isSuperselector$1(other) {
  102300. return A.listIsSuperselector0(this.components, other.components);
  102301. },
  102302. withAdditionalCombinators$1(combinators) {
  102303. var t1;
  102304. if (combinators.length === 0)
  102305. t1 = this;
  102306. else {
  102307. t1 = this.components;
  102308. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  102309. }
  102310. return t1;
  102311. },
  102312. get$hashCode(_) {
  102313. return B.C_ListEquality0.hash$1(this.components);
  102314. },
  102315. $eq(_, other) {
  102316. if (other == null)
  102317. return false;
  102318. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  102319. }
  102320. };
  102321. A.SelectorList_asSassList_closure0.prototype = {
  102322. call$1(complex) {
  102323. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  102324. t1 = type$.JSArray_Value_2,
  102325. t2 = A._setArrayType([], t1);
  102326. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  102327. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  102328. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  102329. component = t3[_i];
  102330. t5 = component.selector;
  102331. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  102332. t5.accept$1(visitor);
  102333. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  102334. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  102335. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  102336. B.JSArray_methods.addAll$1(t2, t5);
  102337. }
  102338. return A.SassList$0(t2, B.ListSeparator_nbm0, false);
  102339. },
  102340. $signature: 478
  102341. };
  102342. A.SelectorList_nestWithin_closure0.prototype = {
  102343. call$1(complex) {
  102344. 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;
  102345. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  102346. if (!_this.implicitParent)
  102347. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  102348. t1 = _this.parent.components;
  102349. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102350. }
  102351. t1 = type$.JSArray_ComplexSelector_2;
  102352. newComplexes = A._setArrayType([], t1);
  102353. 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) {
  102354. component = t2[_i];
  102355. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  102356. if (resolved == null)
  102357. if (newComplexes.length === 0)
  102358. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  102359. else
  102360. for (i = 0; i < newComplexes.length; ++i) {
  102361. t12 = newComplexes[i];
  102362. t13 = t12.leadingCombinators;
  102363. t14 = A.List_List$of(t12.components, true, t10);
  102364. t14.push(component);
  102365. t12 = t12.lineBreak;
  102366. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12);
  102367. }
  102368. else if (newComplexes.length === 0)
  102369. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  102370. else {
  102371. t12 = A._setArrayType([], t1);
  102372. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  102373. newComplex = newComplexes[_i0];
  102374. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  102375. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  102376. }
  102377. newComplexes = t12;
  102378. }
  102379. }
  102380. return newComplexes;
  102381. },
  102382. $signature: 479
  102383. };
  102384. A.SelectorList_nestWithin__closure1.prototype = {
  102385. call$1(parentComplex) {
  102386. var t1 = this.complex;
  102387. return parentComplex.concatenate$2(t1, t1.span);
  102388. },
  102389. $signature: 56
  102390. };
  102391. A.SelectorList_nestWithin__closure2.prototype = {
  102392. call$1(resolvedComplex) {
  102393. var t1 = resolvedComplex.leadingCombinators,
  102394. t2 = this.complex,
  102395. t3 = t2.leadingCombinators;
  102396. if (t1.length === 0)
  102397. t1 = t3;
  102398. else {
  102399. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  102400. B.JSArray_methods.addAll$1(t3, t1);
  102401. t1 = t3;
  102402. }
  102403. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  102404. },
  102405. $signature: 56
  102406. };
  102407. A.SelectorList__nestWithinCompound_closure2.prototype = {
  102408. call$1(simple) {
  102409. var selector;
  102410. if (!(simple instanceof A.PseudoSelector0))
  102411. return false;
  102412. selector = simple.selector;
  102413. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102414. },
  102415. $signature: 14
  102416. };
  102417. A.SelectorList__nestWithinCompound_closure3.prototype = {
  102418. call$1(simple) {
  102419. var selector, t1, _0_2;
  102420. $label0$0: {
  102421. selector = null;
  102422. t1 = false;
  102423. if (simple instanceof A.PseudoSelector0) {
  102424. _0_2 = simple.selector;
  102425. if (_0_2 != null) {
  102426. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  102427. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102428. }
  102429. }
  102430. if (t1) {
  102431. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  102432. break $label0$0;
  102433. }
  102434. t1 = simple;
  102435. break $label0$0;
  102436. }
  102437. return t1;
  102438. },
  102439. $signature: 480
  102440. };
  102441. A.SelectorList__nestWithinCompound_closure4.prototype = {
  102442. call$1(complex) {
  102443. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  102444. try {
  102445. t4 = complex.components;
  102446. lastComponent = B.JSArray_methods.get$last(t4);
  102447. if (lastComponent.combinators.length !== 0) {
  102448. 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);
  102449. throw A.wrapException(t1);
  102450. }
  102451. suffix = _this.parentSelector.suffix;
  102452. lastSimples = lastComponent.selector.components;
  102453. t5 = type$.SimpleSelector_2;
  102454. t6 = _this.resolvedSimples;
  102455. t7 = J.getInterceptor$ax(t6);
  102456. if (suffix == null) {
  102457. t1 = A.List_List$of(lastSimples, true, t5);
  102458. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  102459. t1 = t1;
  102460. } else {
  102461. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  102462. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  102463. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  102464. t1 = t2;
  102465. }
  102466. t2 = _this.component;
  102467. last = A.CompoundSelector$0(t1, t2.selector.span);
  102468. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  102469. t4 = t2.span;
  102470. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  102471. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  102472. return t4;
  102473. } catch (exception) {
  102474. t1 = A.unwrapException(exception);
  102475. if (t1 instanceof A.SassException0) {
  102476. error = t1;
  102477. stackTrace = A.getTraceFromException(exception);
  102478. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  102479. } else
  102480. throw exception;
  102481. }
  102482. },
  102483. $signature: 56
  102484. };
  102485. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  102486. call$1(complex) {
  102487. return complex.withAdditionalCombinators$1(this.combinators);
  102488. },
  102489. $signature: 56
  102490. };
  102491. A._ParentSelectorVisitor0.prototype = {
  102492. visitParentSelector$1(selector) {
  102493. return selector;
  102494. }
  102495. };
  102496. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  102497. A.listClass_closure.prototype = {
  102498. call$0() {
  102499. var t1 = type$.JSClass,
  102500. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  102501. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  102502. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_k8F.constructor), jsClass);
  102503. return jsClass;
  102504. },
  102505. $signature: 15
  102506. };
  102507. A.listClass__closure.prototype = {
  102508. call$3($self, contentsOrOptions, options) {
  102509. var contents, t1, t2;
  102510. if (self.immutable.isList(contentsOrOptions))
  102511. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  102512. else if (type$.List_dynamic._is(contentsOrOptions))
  102513. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  102514. else {
  102515. contents = A._setArrayType([], type$.JSArray_Value_2);
  102516. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  102517. options = contentsOrOptions;
  102518. }
  102519. t1 = options == null;
  102520. if (!t1) {
  102521. t2 = J.get$separator$x(options);
  102522. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  102523. } else
  102524. t2 = true;
  102525. t2 = t2 ? B.ListSeparator_ECn0 : A.jsToDartSeparator(J.get$separator$x(options));
  102526. t1 = t1 ? null : J.get$brackets$x(options);
  102527. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  102528. },
  102529. call$1($self) {
  102530. return this.call$3($self, null, null);
  102531. },
  102532. call$2($self, contentsOrOptions) {
  102533. return this.call$3($self, contentsOrOptions, null);
  102534. },
  102535. "call*": "call$3",
  102536. $requiredArgCount: 1,
  102537. $defaultValues() {
  102538. return [null, null];
  102539. },
  102540. $signature: 481
  102541. };
  102542. A.listClass__closure0.prototype = {
  102543. call$2($self, indexFloat) {
  102544. var index = B.JSNumber_methods.floor$0(indexFloat);
  102545. if (index < 0)
  102546. index = $self.get$asList().length + index;
  102547. if (index < 0 || index >= $self.get$asList().length)
  102548. return self.undefined;
  102549. return $self.get$asList()[index];
  102550. },
  102551. $signature: 248
  102552. };
  102553. A._ConstructorOptions.prototype = {};
  102554. A._NodeSassList.prototype = {};
  102555. A.legacyListClass_closure.prototype = {
  102556. call$4(thisArg, $length, commaSeparator, dartValue) {
  102557. var t1;
  102558. if (dartValue == null) {
  102559. $length.toString;
  102560. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  102561. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_ECn0 : B.ListSeparator_nbm0, false);
  102562. } else
  102563. t1 = dartValue;
  102564. J.set$dartValue$x(thisArg, t1);
  102565. },
  102566. call$2(thisArg, $length) {
  102567. return this.call$4(thisArg, $length, null, null);
  102568. },
  102569. call$3(thisArg, $length, commaSeparator) {
  102570. return this.call$4(thisArg, $length, commaSeparator, null);
  102571. },
  102572. "call*": "call$4",
  102573. $requiredArgCount: 2,
  102574. $defaultValues() {
  102575. return [null, null];
  102576. },
  102577. $signature: 483
  102578. };
  102579. A.legacyListClass__closure.prototype = {
  102580. call$1(_) {
  102581. return B.C__SassNull0;
  102582. },
  102583. $signature: 245
  102584. };
  102585. A.legacyListClass_closure0.prototype = {
  102586. call$2(thisArg, index) {
  102587. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  102588. },
  102589. $signature: 485
  102590. };
  102591. A.legacyListClass_closure1.prototype = {
  102592. call$3(thisArg, index, value) {
  102593. var t1 = J.getInterceptor$x(thisArg),
  102594. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102595. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102596. mutable[index] = A.unwrapValue(value);
  102597. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  102598. },
  102599. "call*": "call$3",
  102600. $requiredArgCount: 3,
  102601. $signature: 486
  102602. };
  102603. A.legacyListClass_closure2.prototype = {
  102604. call$1(thisArg) {
  102605. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_ECn0;
  102606. },
  102607. $signature: 487
  102608. };
  102609. A.legacyListClass_closure3.prototype = {
  102610. call$2(thisArg, isComma) {
  102611. var t1 = J.getInterceptor$x(thisArg),
  102612. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102613. t3 = isComma ? B.ListSeparator_ECn0 : B.ListSeparator_nbm0;
  102614. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  102615. },
  102616. $signature: 488
  102617. };
  102618. A.legacyListClass_closure4.prototype = {
  102619. call$1(thisArg) {
  102620. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  102621. },
  102622. $signature: 489
  102623. };
  102624. A.SassList0.prototype = {
  102625. get$separator(_) {
  102626. return this._list1$_separator;
  102627. },
  102628. get$hasBrackets() {
  102629. return this._list1$_hasBrackets;
  102630. },
  102631. get$isBlank() {
  102632. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  102633. },
  102634. get$asList() {
  102635. return this._list1$_contents;
  102636. },
  102637. get$lengthAsList() {
  102638. return this._list1$_contents.length;
  102639. },
  102640. SassList$3$brackets0(contents, _separator, brackets) {
  102641. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  102642. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  102643. },
  102644. accept$1$1(visitor) {
  102645. return visitor.visitList$1(this);
  102646. },
  102647. accept$1(visitor) {
  102648. return this.accept$1$1(visitor, type$.dynamic);
  102649. },
  102650. assertMap$1($name) {
  102651. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  102652. },
  102653. tryMap$0() {
  102654. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  102655. },
  102656. $eq(_, other) {
  102657. var t1, _this = this;
  102658. if (other == null)
  102659. return false;
  102660. 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)))
  102661. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  102662. else
  102663. t1 = true;
  102664. return t1;
  102665. },
  102666. get$hashCode(_) {
  102667. return B.C_ListEquality0.hash$1(this._list1$_contents);
  102668. }
  102669. };
  102670. A.SassList_isBlank_closure0.prototype = {
  102671. call$1(element) {
  102672. return element.get$isBlank();
  102673. },
  102674. $signature: 48
  102675. };
  102676. A.ListSeparator0.prototype = {
  102677. _enumToString$0() {
  102678. return "ListSeparator." + this._name;
  102679. },
  102680. toString$0(_) {
  102681. return this._list1$_name;
  102682. }
  102683. };
  102684. A.JSLogger.prototype = {};
  102685. A.WarnOptions.prototype = {};
  102686. A.DebugOptions.prototype = {};
  102687. A.LoggerWithDeprecationType.prototype = {
  102688. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  102689. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_oty : null, span, trace);
  102690. },
  102691. warn$1(_, message) {
  102692. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  102693. },
  102694. warn$3$span$trace(_, message, span, trace) {
  102695. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  102696. },
  102697. warn$2$span(_, message, span) {
  102698. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  102699. },
  102700. warn$2$trace(_, message, trace) {
  102701. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  102702. }
  102703. };
  102704. A._QuietLogger0.prototype = {
  102705. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  102706. },
  102707. warn$2$span(_, message, span) {
  102708. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  102709. }
  102710. };
  102711. A.LoudComment0.prototype = {
  102712. get$span(_) {
  102713. return this.text.span;
  102714. },
  102715. accept$1$1(visitor) {
  102716. return visitor.visitLoudComment$1(0, this);
  102717. },
  102718. accept$1(visitor) {
  102719. return this.accept$1$1(visitor, type$.dynamic);
  102720. },
  102721. toString$0(_) {
  102722. return this.text.toString$0(0);
  102723. }
  102724. };
  102725. A.MapExpression0.prototype = {
  102726. accept$1$1(visitor) {
  102727. return visitor.visitMapExpression$1(0, this);
  102728. },
  102729. accept$1(visitor) {
  102730. return this.accept$1$1(visitor, type$.dynamic);
  102731. },
  102732. toString$0(_) {
  102733. var t2, t3, _i, t4, key, value,
  102734. t1 = A._setArrayType([], type$.JSArray_String);
  102735. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102736. t4 = t2[_i];
  102737. key = t4._0;
  102738. value = t4._1;
  102739. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  102740. }
  102741. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  102742. },
  102743. get$span(receiver) {
  102744. return this.span;
  102745. }
  102746. };
  102747. A._get_closure0.prototype = {
  102748. call$1($arguments) {
  102749. var value,
  102750. t1 = J.getInterceptor$asx($arguments),
  102751. map = t1.$index($arguments, 0).assertMap$1("map"),
  102752. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102753. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102754. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102755. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102756. if (!(value instanceof A.SassMap0))
  102757. return B.C__SassNull0;
  102758. }
  102759. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  102760. return t1 == null ? B.C__SassNull0 : t1;
  102761. },
  102762. $signature: 3
  102763. };
  102764. A._set_closure1.prototype = {
  102765. call$1($arguments) {
  102766. var t1 = J.getInterceptor$asx($arguments);
  102767. 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);
  102768. },
  102769. $signature: 3
  102770. };
  102771. A._set__closure2.prototype = {
  102772. call$1(_) {
  102773. return J.$index$asx(this.$arguments, 2);
  102774. },
  102775. $signature: 41
  102776. };
  102777. A._set_closure2.prototype = {
  102778. call$1($arguments) {
  102779. var keys, t3, t1 = {},
  102780. t2 = J.getInterceptor$asx($arguments),
  102781. map = t2.$index($arguments, 0).assertMap$1("map"),
  102782. _0_0 = t2.$index($arguments, 1).get$asList(),
  102783. _0_1 = _0_0.length;
  102784. if (_0_1 <= 0)
  102785. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  102786. if (_0_1 === 1)
  102787. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  102788. keys = t1.value = null;
  102789. t2 = _0_1 >= 1;
  102790. if (t2) {
  102791. t3 = _0_1 - 1;
  102792. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  102793. t1.value = _0_0[t3];
  102794. }
  102795. if (t2)
  102796. return A._modify0(map, keys, new A._set__closure1(t1), true);
  102797. throw A.wrapException("[BUG] Unreachable code");
  102798. },
  102799. $signature: 3
  102800. };
  102801. A._set__closure1.prototype = {
  102802. call$1(_) {
  102803. return this._box_0.value;
  102804. },
  102805. $signature: 41
  102806. };
  102807. A._merge_closure1.prototype = {
  102808. call$1($arguments) {
  102809. var t2,
  102810. t1 = J.getInterceptor$asx($arguments),
  102811. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102812. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  102813. t1 = type$.Value_2;
  102814. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  102815. t2.addAll$1(0, map2._map0$_contents);
  102816. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102817. },
  102818. $signature: 33
  102819. };
  102820. A._merge_closure2.prototype = {
  102821. call$1($arguments) {
  102822. var last, t2, keys, _null = null,
  102823. t1 = J.getInterceptor$asx($arguments),
  102824. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102825. _0_0 = t1.$index($arguments, 1).get$asList(),
  102826. _0_1 = _0_0.length;
  102827. if (_0_1 <= 0)
  102828. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  102829. if (_0_1 === 1)
  102830. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  102831. t1 = _0_1 >= 1;
  102832. last = _null;
  102833. if (t1) {
  102834. t2 = _0_1 - 1;
  102835. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  102836. last = _0_0[t2];
  102837. } else
  102838. keys = _null;
  102839. if (t1)
  102840. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  102841. throw A.wrapException("[BUG] Unreachable code");
  102842. },
  102843. $signature: 3
  102844. };
  102845. A._merge__closure0.prototype = {
  102846. call$1(oldValue) {
  102847. var t1, t2,
  102848. nestedMap = oldValue.tryMap$0();
  102849. if (nestedMap == null)
  102850. return this.map2;
  102851. t1 = type$.Value_2;
  102852. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102853. t2.addAll$1(0, this.map2._map0$_contents);
  102854. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102855. },
  102856. $signature: 490
  102857. };
  102858. A._deepMerge_closure0.prototype = {
  102859. call$1($arguments) {
  102860. var t1 = J.getInterceptor$asx($arguments);
  102861. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  102862. },
  102863. $signature: 33
  102864. };
  102865. A._deepRemove_closure0.prototype = {
  102866. call$1($arguments) {
  102867. var t1 = J.getInterceptor$asx($arguments),
  102868. map = t1.$index($arguments, 0).assertMap$1("map"),
  102869. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102870. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102871. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  102872. },
  102873. $signature: 3
  102874. };
  102875. A._deepRemove__closure0.prototype = {
  102876. call$1(value) {
  102877. var t1, nestedMap, t2,
  102878. _0_0 = value.tryMap$0();
  102879. if (_0_0 != null) {
  102880. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  102881. nestedMap = _0_0;
  102882. } else {
  102883. nestedMap = null;
  102884. t1 = false;
  102885. }
  102886. if (t1) {
  102887. t1 = type$.Value_2;
  102888. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102889. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  102890. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102891. }
  102892. return value;
  102893. },
  102894. $signature: 41
  102895. };
  102896. A._remove_closure1.prototype = {
  102897. call$1($arguments) {
  102898. return J.$index$asx($arguments, 0).assertMap$1("map");
  102899. },
  102900. $signature: 33
  102901. };
  102902. A._remove_closure2.prototype = {
  102903. call$1($arguments) {
  102904. var mutableMap, t3, _i,
  102905. t1 = J.getInterceptor$asx($arguments),
  102906. map = t1.$index($arguments, 0).assertMap$1("map"),
  102907. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102908. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102909. t1 = type$.Value_2;
  102910. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  102911. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  102912. mutableMap.remove$1(0, t2[_i]);
  102913. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102914. },
  102915. $signature: 33
  102916. };
  102917. A._keys_closure0.prototype = {
  102918. call$1($arguments) {
  102919. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102920. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_ECn0, false);
  102921. },
  102922. $signature: 23
  102923. };
  102924. A._values_closure0.prototype = {
  102925. call$1($arguments) {
  102926. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102927. return A.SassList$0(t1.get$values(t1), B.ListSeparator_ECn0, false);
  102928. },
  102929. $signature: 23
  102930. };
  102931. A._hasKey_closure0.prototype = {
  102932. call$1($arguments) {
  102933. var value,
  102934. t1 = J.getInterceptor$asx($arguments),
  102935. map = t1.$index($arguments, 0).assertMap$1("map"),
  102936. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102937. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102938. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102939. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102940. if (!(value instanceof A.SassMap0))
  102941. return B.SassBoolean_false0;
  102942. }
  102943. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102944. },
  102945. $signature: 21
  102946. };
  102947. A._modify_modifyNestedMap0.prototype = {
  102948. call$1(map) {
  102949. var nestedMap, _this = this,
  102950. t1 = type$.Value_2,
  102951. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  102952. t2 = _this.keyIterator,
  102953. key = t2.get$current(t2);
  102954. if (!t2.moveNext$0()) {
  102955. t2 = mutableMap.$index(0, key);
  102956. if (t2 == null)
  102957. t2 = B.C__SassNull0;
  102958. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  102959. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102960. }
  102961. t2 = mutableMap.$index(0, key);
  102962. nestedMap = t2 == null ? null : t2.tryMap$0();
  102963. t2 = nestedMap == null;
  102964. if (t2 && !_this.addNesting)
  102965. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102966. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  102967. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102968. },
  102969. $signature: 491
  102970. };
  102971. A.MapExtensions_get_pairs_closure0.prototype = {
  102972. call$1(e) {
  102973. return new A._Record_2(e.key, e.value);
  102974. },
  102975. $signature() {
  102976. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  102977. }
  102978. };
  102979. A.mapClass_closure.prototype = {
  102980. call$0() {
  102981. var t1 = type$.JSClass,
  102982. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  102983. t2 = J.getInterceptor$x(jsClass);
  102984. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  102985. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  102986. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  102987. return jsClass;
  102988. },
  102989. $signature: 15
  102990. };
  102991. A.mapClass__closure.prototype = {
  102992. call$2($self, contents) {
  102993. var t1;
  102994. if (contents == null)
  102995. t1 = B.SassMap_Map_empty0;
  102996. else {
  102997. t1 = type$.Value_2;
  102998. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  102999. }
  103000. return t1;
  103001. },
  103002. call$1($self) {
  103003. return this.call$2($self, null);
  103004. },
  103005. "call*": "call$2",
  103006. $requiredArgCount: 1,
  103007. $defaultValues() {
  103008. return [null];
  103009. },
  103010. $signature: 492
  103011. };
  103012. A.mapClass__closure0.prototype = {
  103013. call$1($self) {
  103014. return A.dartMapToImmutableMap($self._map0$_contents);
  103015. },
  103016. $signature: 493
  103017. };
  103018. A.mapClass__closure1.prototype = {
  103019. call$2($self, indexOrKey) {
  103020. var index, t1, _0_0;
  103021. if (typeof indexOrKey == "number") {
  103022. index = B.JSNumber_methods.floor$0(indexOrKey);
  103023. if (index < 0) {
  103024. t1 = $self._map0$_contents;
  103025. index = t1.get$length(t1) + index;
  103026. }
  103027. if (index >= 0) {
  103028. t1 = $self._map0$_contents;
  103029. t1 = index >= t1.get$length(t1);
  103030. } else
  103031. t1 = true;
  103032. if (t1)
  103033. return self.undefined;
  103034. t1 = type$.Value_2;
  103035. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  103036. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_nbm0, false);
  103037. } else {
  103038. t1 = $self._map0$_contents.$index(0, indexOrKey);
  103039. return t1 == null ? self.undefined : t1;
  103040. }
  103041. },
  103042. $signature: 494
  103043. };
  103044. A._NodeSassMap.prototype = {};
  103045. A.legacyMapClass_closure.prototype = {
  103046. call$3(thisArg, $length, dartValue) {
  103047. var t1, t2, t3, map;
  103048. if (dartValue == null) {
  103049. $length.toString;
  103050. t1 = type$.Value_2;
  103051. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  103052. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  103053. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  103054. A.MapBase__fillMapWithIterables(map, t2, t3);
  103055. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  103056. } else
  103057. t1 = dartValue;
  103058. J.set$dartValue$x(thisArg, t1);
  103059. },
  103060. call$2(thisArg, $length) {
  103061. return this.call$3(thisArg, $length, null);
  103062. },
  103063. "call*": "call$3",
  103064. $requiredArgCount: 2,
  103065. $defaultValues() {
  103066. return [null];
  103067. },
  103068. $signature: 495
  103069. };
  103070. A.legacyMapClass__closure.prototype = {
  103071. call$1(i) {
  103072. return A.SassNumber_SassNumber0(i, null);
  103073. },
  103074. $signature: 496
  103075. };
  103076. A.legacyMapClass__closure0.prototype = {
  103077. call$1(_) {
  103078. return B.C__SassNull0;
  103079. },
  103080. $signature: 245
  103081. };
  103082. A.legacyMapClass_closure0.prototype = {
  103083. call$2(thisArg, index) {
  103084. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103085. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  103086. },
  103087. $signature: 242
  103088. };
  103089. A.legacyMapClass_closure1.prototype = {
  103090. call$2(thisArg, index) {
  103091. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103092. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  103093. },
  103094. $signature: 242
  103095. };
  103096. A.legacyMapClass_closure2.prototype = {
  103097. call$1(thisArg) {
  103098. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103099. return t1.get$length(t1);
  103100. },
  103101. $signature: 498
  103102. };
  103103. A.legacyMapClass_closure3.prototype = {
  103104. call$3(thisArg, index, key) {
  103105. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  103106. t1 = J.getInterceptor$x(thisArg),
  103107. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  103108. $length = oldMap.get$length(oldMap);
  103109. A.IndexError_check(index, $length, oldMap, null, "index");
  103110. newKey = A.unwrapValue(key);
  103111. t2 = type$.Value_2;
  103112. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103113. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  103114. t4 = t3.get$current(t3);
  103115. oldKey = t4._0;
  103116. oldValue = t4._1;
  103117. if (i === index)
  103118. newMap.$indexSet(0, newKey, oldValue);
  103119. else {
  103120. if (newKey.$eq(0, oldKey))
  103121. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  103122. newMap.$indexSet(0, oldKey, oldValue);
  103123. }
  103124. ++i;
  103125. }
  103126. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  103127. },
  103128. "call*": "call$3",
  103129. $requiredArgCount: 3,
  103130. $signature: 241
  103131. };
  103132. A.legacyMapClass_closure4.prototype = {
  103133. call$3(thisArg, index, value) {
  103134. var t3,
  103135. t1 = J.getInterceptor$x(thisArg),
  103136. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  103137. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  103138. t2 = type$.Value_2;
  103139. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  103140. t3.$indexSet(0, key, A.unwrapValue(value));
  103141. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  103142. },
  103143. "call*": "call$3",
  103144. $requiredArgCount: 3,
  103145. $signature: 241
  103146. };
  103147. A.SassMap0.prototype = {
  103148. get$separator(_) {
  103149. var t1 = this._map0$_contents;
  103150. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_ECn0;
  103151. },
  103152. get$asList() {
  103153. var t3, t4, t5, result,
  103154. t1 = type$.JSArray_Value_2,
  103155. t2 = A._setArrayType([], t1);
  103156. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  103157. t5 = t4.get$current(t4);
  103158. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  103159. result.fixed$length = Array;
  103160. result.immutable$list = Array;
  103161. t2.push(new A.SassList0(result, B.ListSeparator_nbm0, false));
  103162. }
  103163. return t2;
  103164. },
  103165. get$lengthAsList() {
  103166. var t1 = this._map0$_contents;
  103167. return t1.get$length(t1);
  103168. },
  103169. accept$1$1(visitor) {
  103170. return visitor.visitMap$1(this);
  103171. },
  103172. accept$1(visitor) {
  103173. return this.accept$1$1(visitor, type$.dynamic);
  103174. },
  103175. assertMap$1($name) {
  103176. return this;
  103177. },
  103178. tryMap$0() {
  103179. return this;
  103180. },
  103181. $eq(_, other) {
  103182. var t1;
  103183. if (other == null)
  103184. return false;
  103185. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  103186. t1 = this._map0$_contents;
  103187. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  103188. } else
  103189. t1 = true;
  103190. return t1;
  103191. },
  103192. get$hashCode(_) {
  103193. var t1 = this._map0$_contents;
  103194. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  103195. }
  103196. };
  103197. A.global_closure31.prototype = {
  103198. call$1($arguments) {
  103199. var t1,
  103200. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103201. if (number.hasUnit$1("%"))
  103202. A.warnForDeprecation0(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_jYb);
  103203. t1 = number.get$numeratorUnits(number);
  103204. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  103205. },
  103206. $signature: 11
  103207. };
  103208. A.module_closure11.prototype = {
  103209. call$1(value) {
  103210. return Math.abs(value);
  103211. },
  103212. $signature: 37
  103213. };
  103214. A._ceil_closure0.prototype = {
  103215. call$1(value) {
  103216. return B.JSNumber_methods.ceil$0(value);
  103217. },
  103218. $signature: 37
  103219. };
  103220. A._clamp_closure0.prototype = {
  103221. call$1($arguments) {
  103222. var t1 = J.getInterceptor$asx($arguments),
  103223. min = t1.$index($arguments, 0).assertNumber$1("min"),
  103224. number = t1.$index($arguments, 1).assertNumber$1("number"),
  103225. max = t1.$index($arguments, 2).assertNumber$1("max");
  103226. number.convertValueToMatch$3(min, "number", "min");
  103227. max.convertValueToMatch$3(min, "max", "min");
  103228. if (min.greaterThanOrEquals$1(max).value)
  103229. return min;
  103230. if (min.greaterThanOrEquals$1(number).value)
  103231. return min;
  103232. if (number.greaterThanOrEquals$1(max).value)
  103233. return max;
  103234. return number;
  103235. },
  103236. $signature: 11
  103237. };
  103238. A._floor_closure0.prototype = {
  103239. call$1(value) {
  103240. return B.JSNumber_methods.floor$0(value);
  103241. },
  103242. $signature: 37
  103243. };
  103244. A._max_closure0.prototype = {
  103245. call$1($arguments) {
  103246. var t1, t2, max, _i, number;
  103247. 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) {
  103248. number = t1[_i].assertNumber$0();
  103249. if (max == null || max.lessThan$1(number).value)
  103250. max = number;
  103251. }
  103252. if (max != null)
  103253. return max;
  103254. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103255. },
  103256. $signature: 11
  103257. };
  103258. A._min_closure0.prototype = {
  103259. call$1($arguments) {
  103260. var t1, t2, min, _i, number;
  103261. 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) {
  103262. number = t1[_i].assertNumber$0();
  103263. if (min == null || min.greaterThan$1(number).value)
  103264. min = number;
  103265. }
  103266. if (min != null)
  103267. return min;
  103268. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103269. },
  103270. $signature: 11
  103271. };
  103272. A._round_closure0.prototype = {
  103273. call$1(number) {
  103274. return B.JSNumber_methods.round$0(number);
  103275. },
  103276. $signature: 37
  103277. };
  103278. A._hypot_closure0.prototype = {
  103279. call$1($arguments) {
  103280. var subtotal, i, i0, t3, t4,
  103281. t1 = J.$index$asx($arguments, 0).get$asList(),
  103282. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  103283. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  103284. t1 = numbers.length;
  103285. if (t1 === 0)
  103286. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103287. for (subtotal = 0, i = 0; i < t1; i = i0) {
  103288. i0 = i + 1;
  103289. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  103290. }
  103291. t1 = Math.sqrt(subtotal);
  103292. t2 = numbers[0];
  103293. t3 = J.getInterceptor$x(t2);
  103294. t4 = t3.get$numeratorUnits(t2);
  103295. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  103296. },
  103297. $signature: 11
  103298. };
  103299. A._hypot__closure0.prototype = {
  103300. call$1(argument) {
  103301. return argument.assertNumber$0();
  103302. },
  103303. $signature: 500
  103304. };
  103305. A._log_closure0.prototype = {
  103306. call$1($arguments) {
  103307. var base,
  103308. _s18_ = " to have no units.",
  103309. _null = null,
  103310. t1 = J.getInterceptor$asx($arguments),
  103311. number = t1.$index($arguments, 0).assertNumber$1("number");
  103312. if (number.get$hasUnits())
  103313. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  103314. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  103315. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  103316. base = t1.$index($arguments, 1).assertNumber$1("base");
  103317. if (base.get$hasUnits())
  103318. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  103319. else
  103320. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  103321. },
  103322. $signature: 11
  103323. };
  103324. A._pow_closure0.prototype = {
  103325. call$1($arguments) {
  103326. var t1 = J.getInterceptor$asx($arguments);
  103327. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  103328. },
  103329. $signature: 11
  103330. };
  103331. A._atan2_closure0.prototype = {
  103332. call$1($arguments) {
  103333. var t1 = J.getInterceptor$asx($arguments),
  103334. y = t1.$index($arguments, 0).assertNumber$1("y");
  103335. 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));
  103336. },
  103337. $signature: 11
  103338. };
  103339. A._compatible_closure0.prototype = {
  103340. call$1($arguments) {
  103341. var t1 = J.getInterceptor$asx($arguments);
  103342. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103343. },
  103344. $signature: 21
  103345. };
  103346. A._isUnitless_closure0.prototype = {
  103347. call$1($arguments) {
  103348. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103349. },
  103350. $signature: 21
  103351. };
  103352. A._unit_closure0.prototype = {
  103353. call$1($arguments) {
  103354. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  103355. },
  103356. $signature: 16
  103357. };
  103358. A._percentage_closure0.prototype = {
  103359. call$1($arguments) {
  103360. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103361. number.assertNoUnits$1("number");
  103362. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  103363. },
  103364. $signature: 11
  103365. };
  103366. A._randomFunction_closure0.prototype = {
  103367. call$1($arguments) {
  103368. var limit, limitScalar,
  103369. t1 = J.getInterceptor$asx($arguments);
  103370. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  103371. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  103372. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  103373. if (limit.get$hasUnits())
  103374. A.warnForDeprecation0(string$.math_r + limit.toString$0(0) + string$.x29x20in_a + limit.get$unitString() + ")) * 1" + limit.get$unitString() + string$.x0a_To_p + limit.get$unitString() + string$.x29x29__Mo, B.Deprecation_oCX);
  103375. limitScalar = limit.assertInt$1("limit");
  103376. if (limitScalar < 1)
  103377. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  103378. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  103379. },
  103380. $signature: 11
  103381. };
  103382. A._div_closure0.prototype = {
  103383. call$1($arguments) {
  103384. var t1 = J.getInterceptor$asx($arguments),
  103385. number1 = t1.$index($arguments, 0),
  103386. number2 = t1.$index($arguments, 1);
  103387. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  103388. A.warn0(string$.math_d);
  103389. return number1.dividedBy$1(number2);
  103390. },
  103391. $signature: 3
  103392. };
  103393. A._singleArgumentMathFunc_closure0.prototype = {
  103394. call$1($arguments) {
  103395. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  103396. },
  103397. $signature: 11
  103398. };
  103399. A._numberFunction_closure0.prototype = {
  103400. call$1($arguments) {
  103401. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  103402. t1 = this.transform.call$1(number._number1$_value),
  103403. t2 = number.get$numeratorUnits(number);
  103404. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  103405. },
  103406. $signature: 11
  103407. };
  103408. A.CssMediaQuery0.prototype = {
  103409. merge$1(other) {
  103410. 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";
  103411. if (!_this.conjunction || !other.conjunction)
  103412. return B._SingletonCssMediaQueryMergeResult_10;
  103413. t1 = _this.modifier;
  103414. ourModifier = t1 == null ? _null : t1.toLowerCase();
  103415. t2 = _this.type;
  103416. t3 = t2 == null;
  103417. ourType = t3 ? _null : t2.toLowerCase();
  103418. t4 = other.modifier;
  103419. theirModifier = t4 == null ? _null : t4.toLowerCase();
  103420. t5 = other.type;
  103421. t6 = t5 == null;
  103422. theirType = t6 ? _null : t5.toLowerCase();
  103423. t7 = ourType == null;
  103424. if (t7 && theirType == null) {
  103425. t1 = A.List_List$of(_this.conditions, true, type$.String);
  103426. B.JSArray_methods.addAll$1(t1, other.conditions);
  103427. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  103428. }
  103429. t8 = ourModifier === "not";
  103430. if (t8 !== (theirModifier === "not")) {
  103431. if (ourType == theirType) {
  103432. negativeConditions = t8 ? _this.conditions : other.conditions;
  103433. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  103434. return B._SingletonCssMediaQueryMergeResult_00;
  103435. else
  103436. return B._SingletonCssMediaQueryMergeResult_10;
  103437. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  103438. return B._SingletonCssMediaQueryMergeResult_10;
  103439. if (t8) {
  103440. conditions = other.conditions;
  103441. type = theirType;
  103442. modifier = theirModifier;
  103443. } else {
  103444. conditions = _this.conditions;
  103445. type = ourType;
  103446. modifier = ourModifier;
  103447. }
  103448. } else if (t8) {
  103449. if (ourType != theirType)
  103450. return B._SingletonCssMediaQueryMergeResult_10;
  103451. fewerConditions = _this.conditions;
  103452. fewerConditions0 = other.conditions;
  103453. t3 = fewerConditions.length > fewerConditions0.length;
  103454. moreConditions = t3 ? fewerConditions : fewerConditions0;
  103455. if (t3)
  103456. fewerConditions = fewerConditions0;
  103457. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  103458. return B._SingletonCssMediaQueryMergeResult_10;
  103459. conditions = moreConditions;
  103460. type = ourType;
  103461. modifier = ourModifier;
  103462. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  103463. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  103464. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103465. B.JSArray_methods.addAll$1(t3, other.conditions);
  103466. conditions = t3;
  103467. modifier = theirModifier;
  103468. } else {
  103469. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  103470. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103471. B.JSArray_methods.addAll$1(t3, other.conditions);
  103472. conditions = t3;
  103473. modifier = ourModifier;
  103474. } else {
  103475. if (ourType != theirType)
  103476. return B._SingletonCssMediaQueryMergeResult_00;
  103477. else {
  103478. modifier = ourModifier == null ? theirModifier : ourModifier;
  103479. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103480. B.JSArray_methods.addAll$1(t3, other.conditions);
  103481. }
  103482. conditions = t3;
  103483. }
  103484. type = ourType;
  103485. }
  103486. t2 = type == ourType ? t2 : t5;
  103487. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  103488. },
  103489. $eq(_, other) {
  103490. if (other == null)
  103491. return false;
  103492. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  103493. },
  103494. get$hashCode(_) {
  103495. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  103496. },
  103497. toString$0(_) {
  103498. var t2, _this = this,
  103499. t1 = _this.modifier;
  103500. t1 = t1 != null ? "" + (t1 + " ") : "";
  103501. t2 = _this.type;
  103502. if (t2 != null) {
  103503. t1 += t2;
  103504. if (_this.conditions.length !== 0)
  103505. t1 += " and ";
  103506. }
  103507. t2 = _this.conjunction ? " and " : " or ";
  103508. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  103509. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103510. }
  103511. };
  103512. A._SingletonCssMediaQueryMergeResult0.prototype = {
  103513. _enumToString$0() {
  103514. return "_SingletonCssMediaQueryMergeResult." + this._name;
  103515. }
  103516. };
  103517. A.MediaQuerySuccessfulMergeResult0.prototype = {
  103518. toString$0(_) {
  103519. return this.query.toString$0(0);
  103520. }
  103521. };
  103522. A.MediaQueryParser0.prototype = {
  103523. parse$0(_) {
  103524. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  103525. },
  103526. _media_query$_mediaQuery$0() {
  103527. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  103528. if (_this.scanner.peekChar$0() === 40) {
  103529. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  103530. _this.whitespace$0();
  103531. if (_this.scanIdentifier$1(_s3_)) {
  103532. _this.expectWhitespace$0();
  103533. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  103534. conjunction = true;
  103535. } else {
  103536. t1 = _this.scanIdentifier$1("or");
  103537. if (t1) {
  103538. _this.expectWhitespace$0();
  103539. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  103540. }
  103541. conjunction = !t1;
  103542. }
  103543. return A.CssMediaQuery$condition0(conditions, conjunction);
  103544. }
  103545. identifier1 = _this.identifier$0();
  103546. if (A.equalsIgnoreCase0(identifier1, "not")) {
  103547. _this.expectWhitespace$0();
  103548. if (!_this.lookingAtIdentifier$0())
  103549. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  103550. }
  103551. _this.whitespace$0();
  103552. if (!_this.lookingAtIdentifier$0())
  103553. return A.CssMediaQuery$type0(identifier1, _null, _null);
  103554. identifier2 = _this.identifier$0();
  103555. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  103556. _this.expectWhitespace$0();
  103557. type = identifier1;
  103558. modifier = _null;
  103559. } else {
  103560. _this.whitespace$0();
  103561. if (_this.scanIdentifier$1(_s3_))
  103562. _this.expectWhitespace$0();
  103563. else
  103564. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  103565. type = identifier2;
  103566. modifier = identifier1;
  103567. }
  103568. if (_this.scanIdentifier$1("not")) {
  103569. _this.expectWhitespace$0();
  103570. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  103571. }
  103572. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  103573. },
  103574. _media_query$_mediaLogicSequence$1(operator) {
  103575. var t1, t2, _this = this,
  103576. result = A._setArrayType([], type$.JSArray_String);
  103577. for (t1 = _this.scanner; true;) {
  103578. t1.expectChar$2$name(40, "media condition in parentheses");
  103579. t2 = _this.declarationValue$0();
  103580. t1.expectChar$1(41);
  103581. result.push("(" + t2 + ")");
  103582. _this.whitespace$0();
  103583. if (!_this.scanIdentifier$1(operator))
  103584. return result;
  103585. _this.expectWhitespace$0();
  103586. }
  103587. },
  103588. _media_query$_mediaInParens$0() {
  103589. var t2,
  103590. t1 = this.scanner;
  103591. t1.expectChar$2$name(40, "media condition in parentheses");
  103592. t2 = this.declarationValue$0();
  103593. t1.expectChar$1(41);
  103594. return "(" + t2 + ")";
  103595. }
  103596. };
  103597. A.MediaQueryParser_parse_closure0.prototype = {
  103598. call$0() {
  103599. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  103600. t1 = this.$this,
  103601. t2 = t1.scanner;
  103602. do {
  103603. t1.whitespace$0();
  103604. queries.push(t1._media_query$_mediaQuery$0());
  103605. t1.whitespace$0();
  103606. } while (t2.scanChar$1(44));
  103607. t2.expectDone$0();
  103608. return queries;
  103609. },
  103610. $signature: 501
  103611. };
  103612. A.ModifiableCssMediaRule0.prototype = {
  103613. accept$1$1(visitor) {
  103614. return visitor.visitCssMediaRule$1(this);
  103615. },
  103616. accept$1(visitor) {
  103617. return this.accept$1$1(visitor, type$.dynamic);
  103618. },
  103619. equalsIgnoringChildren$1(other) {
  103620. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  103621. },
  103622. copyWithoutChildren$0() {
  103623. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  103624. },
  103625. get$span(receiver) {
  103626. return this.span;
  103627. }
  103628. };
  103629. A.MediaRule0.prototype = {
  103630. accept$1$1(visitor) {
  103631. return visitor.visitMediaRule$1(0, this);
  103632. },
  103633. accept$1(visitor) {
  103634. return this.accept$1$1(visitor, type$.dynamic);
  103635. },
  103636. toString$0(_) {
  103637. var t1 = this.children;
  103638. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  103639. },
  103640. get$span(receiver) {
  103641. return this.span;
  103642. }
  103643. };
  103644. A.MergedExtension0.prototype = {
  103645. unmerge$0() {
  103646. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  103647. },
  103648. unmerge$body$MergedExtension0() {
  103649. var $async$self = this;
  103650. return function() {
  103651. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  103652. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  103653. if ($async$errorCode === 1) {
  103654. $async$currentError = $async$result;
  103655. $async$goto = $async$handler;
  103656. }
  103657. while (true)
  103658. switch ($async$goto) {
  103659. case 0:
  103660. // Function start
  103661. left = $async$self.left;
  103662. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  103663. break;
  103664. case 2:
  103665. // then
  103666. $async$goto = 5;
  103667. return $async$iterator._yieldStar$1(left.unmerge$0());
  103668. case 5:
  103669. // after yield
  103670. // goto join
  103671. $async$goto = 3;
  103672. break;
  103673. case 4:
  103674. // else
  103675. $async$goto = 6;
  103676. return $async$iterator._async$_current = left, 1;
  103677. case 6:
  103678. // after yield
  103679. case 3:
  103680. // join
  103681. right = $async$self.right;
  103682. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  103683. break;
  103684. case 7:
  103685. // then
  103686. $async$goto = 10;
  103687. return $async$iterator._yieldStar$1(right.unmerge$0());
  103688. case 10:
  103689. // after yield
  103690. // goto join
  103691. $async$goto = 8;
  103692. break;
  103693. case 9:
  103694. // else
  103695. $async$goto = 11;
  103696. return $async$iterator._async$_current = right, 1;
  103697. case 11:
  103698. // after yield
  103699. case 8:
  103700. // join
  103701. // implicit return
  103702. return 0;
  103703. case 1:
  103704. // rethrow
  103705. return $async$iterator._datum = $async$currentError, 3;
  103706. }
  103707. };
  103708. };
  103709. }
  103710. };
  103711. A.MergedMapView0.prototype = {
  103712. get$keys(_) {
  103713. var t1 = this._merged_map_view$_mapsByKey;
  103714. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  103715. },
  103716. get$length(_) {
  103717. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  103718. },
  103719. get$isEmpty(_) {
  103720. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  103721. },
  103722. get$isNotEmpty(_) {
  103723. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  103724. },
  103725. MergedMapView$10(maps, $K, $V) {
  103726. var t1, t2, t3, _i, map, t4, t5, t6;
  103727. 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) {
  103728. map = maps[_i];
  103729. if (t3._is(map))
  103730. for (t4 = map._merged_map_view$_mapsByKey.get$values(0), t5 = A._instanceType(t4), 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();) {
  103731. t6 = t4.__internal$_current;
  103732. if (t6 == null)
  103733. t6 = t5._as(t6);
  103734. A.setAll0(t2, t6.get$keys(t6), t6);
  103735. }
  103736. else
  103737. A.setAll0(t2, map.get$keys(map), map);
  103738. }
  103739. },
  103740. $index(_, key) {
  103741. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  103742. return t1 == null ? null : t1.$index(0, key);
  103743. },
  103744. $indexSet(_, key, value) {
  103745. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  103746. if (_0_0 != null)
  103747. _0_0.$indexSet(0, key, value);
  103748. else
  103749. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  103750. },
  103751. remove$1(_, key) {
  103752. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  103753. },
  103754. containsKey$1(key) {
  103755. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  103756. }
  103757. };
  103758. A.global_closure59.prototype = {
  103759. call$1($arguments) {
  103760. A.warnForDeprecation0(string$.The_fe, B.Deprecation_LBt);
  103761. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103762. },
  103763. $signature: 21
  103764. };
  103765. A.global_closure60.prototype = {
  103766. call$1($arguments) {
  103767. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  103768. },
  103769. $signature: 16
  103770. };
  103771. A.global_closure61.prototype = {
  103772. call$1($arguments) {
  103773. var t1 = J.getInterceptor$asx($arguments),
  103774. _0_0 = t1.$index($arguments, 0);
  103775. $label0$0: {
  103776. if (_0_0 instanceof A.SassArgumentList0) {
  103777. t1 = "arglist";
  103778. break $label0$0;
  103779. }
  103780. if (_0_0 instanceof A.SassBoolean0) {
  103781. t1 = "bool";
  103782. break $label0$0;
  103783. }
  103784. if (_0_0 instanceof A.SassColor0) {
  103785. t1 = "color";
  103786. break $label0$0;
  103787. }
  103788. if (_0_0 instanceof A.SassList0) {
  103789. t1 = "list";
  103790. break $label0$0;
  103791. }
  103792. if (_0_0 instanceof A.SassMap0) {
  103793. t1 = "map";
  103794. break $label0$0;
  103795. }
  103796. if (B.C__SassNull0 === _0_0) {
  103797. t1 = "null";
  103798. break $label0$0;
  103799. }
  103800. if (_0_0 instanceof A.SassNumber0) {
  103801. t1 = "number";
  103802. break $label0$0;
  103803. }
  103804. if (_0_0 instanceof A.SassFunction0) {
  103805. t1 = "function";
  103806. break $label0$0;
  103807. }
  103808. if (_0_0 instanceof A.SassMixin0) {
  103809. t1 = "mixin";
  103810. break $label0$0;
  103811. }
  103812. if (_0_0 instanceof A.SassCalculation0) {
  103813. t1 = "calculation";
  103814. break $label0$0;
  103815. }
  103816. if (_0_0 instanceof A.SassString0) {
  103817. t1 = "string";
  103818. break $label0$0;
  103819. }
  103820. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  103821. }
  103822. return new A.SassString0(t1, false);
  103823. },
  103824. $signature: 16
  103825. };
  103826. A.global_closure62.prototype = {
  103827. call$1($arguments) {
  103828. var t2, t3, t4,
  103829. t1 = J.getInterceptor$asx($arguments),
  103830. _1_0 = t1.$index($arguments, 0);
  103831. if (_1_0 instanceof A.SassArgumentList0) {
  103832. _1_0._argument_list$_wereKeywordsAccessed = true;
  103833. t1 = type$.Value_2;
  103834. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103835. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103836. t4 = t3.get$current(t3);
  103837. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  103838. }
  103839. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103840. } else
  103841. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  103842. },
  103843. $signature: 33
  103844. };
  103845. A.local_closure2.prototype = {
  103846. call$1($arguments) {
  103847. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  103848. },
  103849. $signature: 16
  103850. };
  103851. A.local_closure3.prototype = {
  103852. call$1($arguments) {
  103853. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  103854. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  103855. },
  103856. $signature: 23
  103857. };
  103858. A.local__closure0.prototype = {
  103859. call$1(argument) {
  103860. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  103861. },
  103862. $signature: 502
  103863. };
  103864. A.local_closure4.prototype = {
  103865. call$1($arguments) {
  103866. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  103867. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  103868. _0_0 = mixin.callable;
  103869. $label0$0: {
  103870. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  103871. if (_0_2_isSet) {
  103872. _0_2 = _0_0.get$acceptsContent();
  103873. acceptsContent = _0_2;
  103874. } else
  103875. acceptsContent = null;
  103876. if (!_0_2_isSet) {
  103877. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  103878. if (_0_2_isSet) {
  103879. _0_2 = _0_0.acceptsContent;
  103880. acceptsContent = _0_2;
  103881. }
  103882. t1 = _0_2_isSet;
  103883. } else
  103884. t1 = true;
  103885. if (t1) {
  103886. t1 = acceptsContent;
  103887. break $label0$0;
  103888. }
  103889. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  103890. if (_0_5_isSet) {
  103891. _0_5 = _0_0.declaration;
  103892. t1 = _0_5 instanceof A.MixinRule0;
  103893. } else {
  103894. _0_5 = null;
  103895. t1 = false;
  103896. }
  103897. if (t1) {
  103898. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  103899. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  103900. t1 = hasContent;
  103901. break $label0$0;
  103902. }
  103903. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  103904. }
  103905. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103906. },
  103907. $signature: 21
  103908. };
  103909. A.mixinClass_closure.prototype = {
  103910. call$0() {
  103911. var t1 = type$.JSClass,
  103912. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  103913. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  103914. return jsClass;
  103915. },
  103916. $signature: 15
  103917. };
  103918. A.mixinClass__closure.prototype = {
  103919. call$1($self) {
  103920. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  103921. },
  103922. $signature: 503
  103923. };
  103924. A.mixinClass__closure0.prototype = {
  103925. call$1(_) {
  103926. return B.C__SassNull0;
  103927. },
  103928. $signature: 3
  103929. };
  103930. A.SassMixin0.prototype = {
  103931. accept$1$1(visitor) {
  103932. var t1, t2;
  103933. if (!visitor._serialize0$_inspect)
  103934. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  103935. t1 = visitor._serialize0$_buffer;
  103936. t1.write$1(0, "get-mixin(");
  103937. t2 = this.callable;
  103938. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  103939. t1.writeCharCode$1(41);
  103940. return null;
  103941. },
  103942. accept$1(visitor) {
  103943. return this.accept$1$1(visitor, type$.dynamic);
  103944. },
  103945. assertMixin$1($name) {
  103946. return this;
  103947. },
  103948. $eq(_, other) {
  103949. if (other == null)
  103950. return false;
  103951. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  103952. },
  103953. get$hashCode(_) {
  103954. var t1 = this.callable;
  103955. return t1.get$hashCode(t1);
  103956. }
  103957. };
  103958. A.MixinRule0.prototype = {
  103959. get$hasContent() {
  103960. var result, _this = this,
  103961. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  103962. if (value === $) {
  103963. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  103964. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  103965. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  103966. value = result;
  103967. }
  103968. return value;
  103969. },
  103970. accept$1$1(visitor) {
  103971. return visitor.visitMixinRule$1(0, this);
  103972. },
  103973. accept$1(visitor) {
  103974. return this.accept$1$1(visitor, type$.dynamic);
  103975. },
  103976. toString$0(_) {
  103977. var t1 = "@mixin " + this.name,
  103978. t2 = this.$arguments;
  103979. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  103980. t1 += "(" + t2.toString$0(0) + ")";
  103981. t2 = this.children;
  103982. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  103983. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103984. }
  103985. };
  103986. A._HasContentVisitor0.prototype = {
  103987. visitContentRule$1(_, _0) {
  103988. return true;
  103989. },
  103990. $isStatementVisitor: 1
  103991. };
  103992. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  103993. A.ExtendMode0.prototype = {
  103994. _enumToString$0() {
  103995. return "ExtendMode." + this._name;
  103996. },
  103997. toString$0(_) {
  103998. return this.name;
  103999. }
  104000. };
  104001. A.JSModule0.prototype = {};
  104002. A.JSModuleRequire0.prototype = {};
  104003. A.MultiSpan0.prototype = {
  104004. get$start(_) {
  104005. var t1 = this._multi_span0$_primary;
  104006. return t1.get$start(t1);
  104007. },
  104008. get$end(_) {
  104009. var t1 = this._multi_span0$_primary;
  104010. return t1.get$end(t1);
  104011. },
  104012. get$text() {
  104013. return this._multi_span0$_primary.get$text();
  104014. },
  104015. get$context(_) {
  104016. var t1 = this._multi_span0$_primary;
  104017. return t1.get$context(t1);
  104018. },
  104019. get$file(_) {
  104020. var t1 = this._multi_span0$_primary;
  104021. return t1.get$file(t1);
  104022. },
  104023. get$length(_) {
  104024. var t1 = this._multi_span0$_primary;
  104025. return t1.get$length(t1);
  104026. },
  104027. get$sourceUrl(_) {
  104028. var t1 = this._multi_span0$_primary;
  104029. return t1.get$sourceUrl(t1);
  104030. },
  104031. compareTo$1(_, other) {
  104032. return this._multi_span0$_primary.compareTo$1(0, other);
  104033. },
  104034. toString$0(_) {
  104035. return this._multi_span0$_primary.toString$0(0);
  104036. },
  104037. expand$1(_, other) {
  104038. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  104039. },
  104040. highlight$1$color(color) {
  104041. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  104042. },
  104043. message$2$color(_, message, color) {
  104044. var t1 = J.$eq$(color, true) || typeof color == "string",
  104045. t2 = typeof color == "string" ? color : null;
  104046. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  104047. },
  104048. message$1(_, message) {
  104049. return this.message$2$color(0, message, null);
  104050. },
  104051. $isComparable: 1,
  104052. $isFileSpan: 1,
  104053. $isSourceSpan: 1,
  104054. $isSourceSpanWithContext: 1
  104055. };
  104056. A.SupportsNegation0.prototype = {
  104057. toString$0(_) {
  104058. var t1 = this.condition;
  104059. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  104060. return "not (" + t1.toString$0(0) + ")";
  104061. else
  104062. return "not " + t1.toString$0(0);
  104063. },
  104064. $isAstNode0: 1,
  104065. $isSassNode: 1,
  104066. get$span(receiver) {
  104067. return this.span;
  104068. }
  104069. };
  104070. A.NoOpImporter0.prototype = {
  104071. canonicalize$1(_, url) {
  104072. return null;
  104073. },
  104074. load$1(_, url) {
  104075. return null;
  104076. },
  104077. toString$0(_) {
  104078. return "(unknown)";
  104079. }
  104080. };
  104081. A.NoSourceMapBuffer0.prototype = {
  104082. get$length(_) {
  104083. return this._no_source_map_buffer0$_buffer._contents.length;
  104084. },
  104085. forSpan$1$2(span, callback) {
  104086. return callback.call$0();
  104087. },
  104088. forSpan$2(span, callback) {
  104089. return this.forSpan$1$2(span, callback, type$.dynamic);
  104090. },
  104091. write$1(_, object) {
  104092. var t1 = this._no_source_map_buffer0$_buffer,
  104093. t2 = A.S(object);
  104094. t1._contents += t2;
  104095. return null;
  104096. },
  104097. writeCharCode$1(charCode) {
  104098. var t1 = this._no_source_map_buffer0$_buffer,
  104099. t2 = A.Primitives_stringFromCharCode(charCode);
  104100. t1._contents += t2;
  104101. return null;
  104102. },
  104103. toString$0(_) {
  104104. var t1 = this._no_source_map_buffer0$_buffer._contents;
  104105. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104106. },
  104107. buildSourceMap$1$prefix(prefix) {
  104108. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  104109. }
  104110. };
  104111. A._FakeAstNode0.prototype = {
  104112. get$span(_) {
  104113. return this._node0$_callback.call$0();
  104114. },
  104115. $isAstNode0: 1
  104116. };
  104117. A.CssNode0.prototype = {
  104118. toString$0(_) {
  104119. return A.serialize0(this, true, null, true, null, false, null, true)._0;
  104120. },
  104121. $isAstNode0: 1
  104122. };
  104123. A.CssParentNode0.prototype = {};
  104124. A._IsInvisibleVisitor1.prototype = {
  104125. visitCssAtRule$1(rule) {
  104126. return false;
  104127. },
  104128. visitCssComment$1(comment) {
  104129. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  104130. },
  104131. visitCssStyleRule$1(rule) {
  104132. var t1 = rule._style_rule0$_selector._box0$_inner;
  104133. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  104134. }
  104135. };
  104136. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  104137. A.ModifiableCssNode0.prototype = {
  104138. get$hasFollowingSibling() {
  104139. var t2,
  104140. t1 = this._node$_parent;
  104141. if (t1 == null)
  104142. t1 = null;
  104143. else {
  104144. t1 = t1.children;
  104145. t2 = this._node$_indexInParent;
  104146. t2.toString;
  104147. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  104148. }
  104149. return t1 === true;
  104150. },
  104151. get$isGroupEnd() {
  104152. return this.isGroupEnd;
  104153. }
  104154. };
  104155. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  104156. call$1(sibling) {
  104157. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  104158. },
  104159. $signature: 504
  104160. };
  104161. A.ModifiableCssParentNode0.prototype = {
  104162. get$isChildless() {
  104163. return false;
  104164. },
  104165. addChild$1(child) {
  104166. var t1;
  104167. child._node$_parent = this;
  104168. t1 = this._node$_children;
  104169. child._node$_indexInParent = t1.length;
  104170. t1.push(child);
  104171. },
  104172. clearChildren$0() {
  104173. var t1, t2, _i, child;
  104174. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104175. child = t1[_i];
  104176. child._node$_indexInParent = child._node$_parent = null;
  104177. }
  104178. B.JSArray_methods.clear$0(t1);
  104179. },
  104180. $isCssParentNode0: 1,
  104181. get$children(receiver) {
  104182. return this.children;
  104183. }
  104184. };
  104185. A.NodePackageImporter0.prototype = {
  104186. isNonCanonicalScheme$1(scheme) {
  104187. return scheme === "pkg";
  104188. },
  104189. canonicalize$1(_, url) {
  104190. 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;
  104191. if (url.get$scheme() === "file")
  104192. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  104193. if (url.get$scheme() !== "pkg")
  104194. return _null;
  104195. if (url.get$hasAuthority())
  104196. throw A.wrapException(string$.A_pkg_h);
  104197. else {
  104198. t1 = $.$get$url();
  104199. t2 = t1.style;
  104200. if (t2.rootLength$1(url.get$path(url)) > 0)
  104201. throw A.wrapException("A pkg: URL's path must not begin with /.");
  104202. else if (url.get$path(url).length === 0)
  104203. throw A.wrapException("A pkg: URL must not have an empty path.");
  104204. else if (url.get$hasQuery() || url.get$hasFragment())
  104205. throw A.wrapException(string$.A_pkg_q);
  104206. }
  104207. t3 = A.canonicalizeContext0();
  104208. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  104209. t3 = t3._canonicalize_context$_containingUrl;
  104210. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  104211. t3 = A.canonicalizeContext0();
  104212. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  104213. t3 = t3._canonicalize_context$_containingUrl;
  104214. t3.toString;
  104215. t4 = $.$get$context();
  104216. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  104217. } else {
  104218. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  104219. t3 === $ && A.throwUnnamedLateFieldNI();
  104220. baseDirectory = t3;
  104221. }
  104222. packageName = null;
  104223. parts = t1.split$1(0, url.get$path(url));
  104224. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  104225. t4 = $.$get$context();
  104226. t3.toString;
  104227. t5 = t4.style;
  104228. $name = t5.pathFromUri$1(A._parseUri(t3));
  104229. if (B.JSString_methods.startsWith$1($name, "@"))
  104230. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  104231. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  104232. packageName = $name;
  104233. t1 = true;
  104234. if (!J.startsWith$1$s(packageName, "."))
  104235. if (!J.contains$1$asx(packageName, "\\"))
  104236. if (!J.contains$1$asx(packageName, "%"))
  104237. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  104238. if (t1)
  104239. return _null;
  104240. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  104241. if (packageRoot == null)
  104242. return _null;
  104243. jsonPath = A.join(packageRoot, "package.json", _null);
  104244. jsonString = A.readFile0(jsonPath);
  104245. packageManifest = null;
  104246. try {
  104247. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  104248. } catch (exception) {
  104249. e = A.unwrapException(exception);
  104250. t1 = A.S(jsonPath);
  104251. t2 = A.S(packageName);
  104252. t3 = A.S(e);
  104253. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  104254. }
  104255. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  104256. if (_1_0 != null)
  104257. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  104258. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  104259. else {
  104260. t1 = subpath == null ? "root" : subpath;
  104261. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  104262. }
  104263. if (subpath == null) {
  104264. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  104265. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  104266. }
  104267. subpathInRoot = A.join(packageRoot, subpath, _null);
  104268. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  104269. },
  104270. load$1(_, url) {
  104271. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  104272. },
  104273. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  104274. var potentialPackage, t1;
  104275. for (; true;) {
  104276. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  104277. if (A.dirExists0(potentialPackage))
  104278. return potentialPackage;
  104279. t1 = $.$get$context();
  104280. if (t1.split$1(0, baseDirectory).length === 1)
  104281. return null;
  104282. baseDirectory = t1.dirname$1(baseDirectory);
  104283. }
  104284. },
  104285. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  104286. var t1, sassValue, _1_0, styleValue, _null = null,
  104287. _0_0 = packageManifest.$index(0, "sass");
  104288. if (typeof _0_0 == "string") {
  104289. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  104290. sassValue = _0_0;
  104291. } else {
  104292. sassValue = _null;
  104293. t1 = false;
  104294. }
  104295. if (t1)
  104296. return A.join(packageRoot, sassValue, _null);
  104297. else {
  104298. _1_0 = packageManifest.$index(0, "style");
  104299. if (typeof _1_0 == "string") {
  104300. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  104301. styleValue = _1_0;
  104302. } else {
  104303. styleValue = _null;
  104304. t1 = false;
  104305. }
  104306. if (t1)
  104307. return A.join(packageRoot, styleValue, _null);
  104308. }
  104309. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  104310. },
  104311. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  104312. var _0_0, _1_0, _this = this,
  104313. exports = packageManifest.$index(0, "exports");
  104314. if (exports == null)
  104315. return null;
  104316. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  104317. if (_0_0 != null)
  104318. return _0_0;
  104319. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  104320. return null;
  104321. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  104322. if (_1_0 != null)
  104323. return _1_0;
  104324. return null;
  104325. },
  104326. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  104327. var t1, matches, _1_1, path;
  104328. 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()))
  104329. 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) + ".");
  104330. t1 = type$.NonNullsIterable_String;
  104331. matches = A.List_List$of(new A.NonNullsIterable(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure6(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), t1), true, t1._eval$1("Iterable.E"));
  104332. $label0$1: {
  104333. _1_1 = matches.length;
  104334. if (_1_1 === 1) {
  104335. path = matches[0];
  104336. t1 = path;
  104337. break $label0$1;
  104338. }
  104339. if (_1_1 <= 0) {
  104340. t1 = null;
  104341. break $label0$1;
  104342. }
  104343. t1 = subpath == null ? "root" : subpath;
  104344. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  104345. }
  104346. return t1;
  104347. },
  104348. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  104349. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  104350. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  104351. t2 = B.JSString_methods.contains$1(keyB, "*"),
  104352. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  104353. if (baseLengthA > baseLengthB)
  104354. return -1;
  104355. if (baseLengthB > baseLengthA)
  104356. return 1;
  104357. if (!t1)
  104358. return 1;
  104359. if (!t2)
  104360. return -1;
  104361. t1 = keyA.length;
  104362. t2 = keyB.length;
  104363. if (t1 > t2)
  104364. return -1;
  104365. if (t2 > t1)
  104366. return 1;
  104367. return 0;
  104368. },
  104369. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  104370. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  104371. t1 = typeof exports == "string";
  104372. if (t1) {
  104373. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  104374. string = exports;
  104375. } else {
  104376. string = _null;
  104377. t2 = false;
  104378. }
  104379. if (t2)
  104380. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  104381. if (t1) {
  104382. t2 = patternMatch != null;
  104383. string = exports;
  104384. } else {
  104385. string = _null;
  104386. t2 = false;
  104387. }
  104388. if (t2) {
  104389. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  104390. t2 = $.$get$context();
  104391. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  104392. return A.fileExists0(path) ? path : _null;
  104393. }
  104394. string = t1 ? exports : _null;
  104395. if (t1) {
  104396. t1 = $.$get$context();
  104397. string.toString;
  104398. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  104399. }
  104400. t1 = type$.Map_String_dynamic._is(exports);
  104401. map = t1 ? exports : _null;
  104402. if (t1) {
  104403. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  104404. t2 = t1.get$current(t1);
  104405. key = t2._0;
  104406. value = t2._1;
  104407. if (!B.Set_TnQrk.contains$1(0, key))
  104408. continue;
  104409. if (value == null)
  104410. continue;
  104411. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  104412. if (_1_0 != null)
  104413. return _1_0;
  104414. }
  104415. return _null;
  104416. }
  104417. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  104418. return _null;
  104419. t1 = type$.List_dynamic._is(exports);
  104420. array = t1 ? exports : _null;
  104421. if (t1) {
  104422. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  104423. value = t1.get$current(t1);
  104424. if (value == null)
  104425. continue;
  104426. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  104427. if (_2_0 != null)
  104428. return _2_0;
  104429. }
  104430. return _null;
  104431. }
  104432. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  104433. },
  104434. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  104435. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  104436. },
  104437. _node_package$_getMainExport$1(exports) {
  104438. var t1, t2, t3, map, _0_4, t4, $export;
  104439. $label0$0: {
  104440. t1 = null;
  104441. if (typeof exports == "string") {
  104442. t1 = exports;
  104443. break $label0$0;
  104444. }
  104445. if (type$.List_String._is(exports)) {
  104446. t1 = exports;
  104447. break $label0$0;
  104448. }
  104449. t2 = type$.Map_String_dynamic._is(exports);
  104450. if (t2) {
  104451. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  104452. map = exports;
  104453. } else {
  104454. map = t1;
  104455. t3 = false;
  104456. }
  104457. if (t3) {
  104458. t1 = map;
  104459. break $label0$0;
  104460. }
  104461. t3 = false;
  104462. if (t2) {
  104463. _0_4 = exports.$index(0, ".");
  104464. if (_0_4 == null)
  104465. t4 = exports.containsKey$1(".");
  104466. else
  104467. t4 = true;
  104468. if (t4)
  104469. t3 = _0_4 != null;
  104470. } else
  104471. _0_4 = null;
  104472. if (t3) {
  104473. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  104474. t1 = $export;
  104475. break $label0$0;
  104476. }
  104477. break $label0$0;
  104478. }
  104479. return t1;
  104480. },
  104481. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  104482. var basename, dirname, t3, t4, _i, path,
  104483. t1 = type$.JSArray_String,
  104484. paths = A._setArrayType([], t1),
  104485. t2 = subpath == null;
  104486. if (t2 && addIndex)
  104487. subpath = "index";
  104488. else if (!t2 && addIndex)
  104489. subpath = A.join(subpath, "index", null);
  104490. if (subpath == null)
  104491. return A._setArrayType([null], type$.JSArray_nullable_String);
  104492. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  104493. paths.push(subpath);
  104494. else
  104495. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  104496. t1 = $.$get$context();
  104497. t2 = t1.style;
  104498. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  104499. dirname = t1.dirname$1(subpath);
  104500. if (B.JSString_methods.startsWith$1(basename, "_"))
  104501. return paths;
  104502. t1 = A.List_List$of(paths, true, type$.nullable_String);
  104503. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  104504. path = paths[_i];
  104505. if (t4)
  104506. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  104507. else
  104508. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  104509. }
  104510. return t1;
  104511. },
  104512. _node_package$_exportsToCheck$1(subpath) {
  104513. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  104514. }
  104515. };
  104516. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  104517. call$1(key) {
  104518. return B.JSString_methods.startsWith$1(key, ".");
  104519. },
  104520. $signature: 4
  104521. };
  104522. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  104523. call$1(key) {
  104524. return !B.JSString_methods.startsWith$1(key, ".");
  104525. },
  104526. $signature: 4
  104527. };
  104528. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  104529. call$1(key) {
  104530. return '"' + key + '"';
  104531. },
  104532. $signature: 5
  104533. };
  104534. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  104535. call$1(variant) {
  104536. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  104537. if (variant == null) {
  104538. t1 = _this.$this;
  104539. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  104540. } else {
  104541. t1 = _this.exports;
  104542. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  104543. return _null;
  104544. }
  104545. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  104546. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  104547. t1 = J.$index$asx(t1, matchKey);
  104548. if (t1 == null)
  104549. t1 = type$.Object._as(t1);
  104550. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  104551. }
  104552. t2 = A._setArrayType([], type$.JSArray_String);
  104553. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  104554. t5 = t4.get$current(t4);
  104555. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  104556. t2.push(t5);
  104557. }
  104558. t4 = _this.$this;
  104559. B.JSArray_methods.sort$1(t2, t4.get$_node_package$_compareExpansionKeys());
  104560. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  104561. expansionKey = t2[_i];
  104562. _0_0 = expansionKey.split("*");
  104563. t7 = _0_0.length === 2;
  104564. if (t7) {
  104565. patternBase = _0_0[0];
  104566. patternTrailer = _0_0[1];
  104567. patternTrailer = patternTrailer;
  104568. } else {
  104569. patternTrailer = _null;
  104570. patternBase = patternTrailer;
  104571. }
  104572. if (!t7)
  104573. throw A.wrapException(A.StateError$("Pattern matching error"));
  104574. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  104575. continue;
  104576. if (matchKey === patternBase)
  104577. continue;
  104578. t7 = patternTrailer.length;
  104579. if (t7 !== 0)
  104580. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  104581. else
  104582. t8 = true;
  104583. if (t8) {
  104584. target = t3.$index(t1, expansionKey);
  104585. if (target == null)
  104586. continue;
  104587. return t4._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  104588. }
  104589. }
  104590. return _null;
  104591. },
  104592. $signature: 143
  104593. };
  104594. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  104595. call$1(mainExport) {
  104596. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  104597. },
  104598. $signature: 144
  104599. };
  104600. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  104601. call$1(key) {
  104602. return !B.JSString_methods.startsWith$1(key, ".");
  104603. },
  104604. $signature: 4
  104605. };
  104606. A.NodePackageImporter__getMainExport_closure0.prototype = {
  104607. call$1(key) {
  104608. return B.JSString_methods.startsWith$1(key, ".");
  104609. },
  104610. $signature: 4
  104611. };
  104612. A.NullExpression0.prototype = {
  104613. accept$1$1(visitor) {
  104614. return visitor.visitNullExpression$1(0, this);
  104615. },
  104616. accept$1(visitor) {
  104617. return this.accept$1$1(visitor, type$.dynamic);
  104618. },
  104619. toString$0(_) {
  104620. return "null";
  104621. },
  104622. get$span(receiver) {
  104623. return this.span;
  104624. }
  104625. };
  104626. A.legacyNullClass_closure.prototype = {
  104627. call$0() {
  104628. var t1 = type$.JSClass,
  104629. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  104630. jsClass.NULL = B.C__SassNull0;
  104631. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  104632. return jsClass;
  104633. },
  104634. $signature: 15
  104635. };
  104636. A.legacyNullClass__closure.prototype = {
  104637. call$2(_, __) {
  104638. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  104639. },
  104640. call$1(_) {
  104641. return this.call$2(_, null);
  104642. },
  104643. "call*": "call$2",
  104644. $requiredArgCount: 1,
  104645. $defaultValues() {
  104646. return [null];
  104647. },
  104648. $signature: 213
  104649. };
  104650. A._SassNull0.prototype = {
  104651. get$isTruthy() {
  104652. return false;
  104653. },
  104654. get$isBlank() {
  104655. return true;
  104656. },
  104657. get$realNull() {
  104658. return null;
  104659. },
  104660. accept$1$1(visitor) {
  104661. if (visitor._serialize0$_inspect)
  104662. visitor._serialize0$_buffer.write$1(0, "null");
  104663. return null;
  104664. },
  104665. accept$1(visitor) {
  104666. return this.accept$1$1(visitor, type$.dynamic);
  104667. },
  104668. unaryNot$0() {
  104669. return B.SassBoolean_true0;
  104670. }
  104671. };
  104672. A.NumberExpression0.prototype = {
  104673. accept$1$1(visitor) {
  104674. return visitor.visitNumberExpression$1(0, this);
  104675. },
  104676. accept$1(visitor) {
  104677. return this.accept$1$1(visitor, type$.dynamic);
  104678. },
  104679. toString$0(_) {
  104680. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  104681. },
  104682. get$span(receiver) {
  104683. return this.span;
  104684. }
  104685. };
  104686. A.numberClass_closure.prototype = {
  104687. call$0() {
  104688. var t1 = type$.JSClass,
  104689. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  104690. t2 = type$.String,
  104691. t3 = type$.Function;
  104692. 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));
  104693. 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));
  104694. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  104695. return jsClass;
  104696. },
  104697. $signature: 15
  104698. };
  104699. A.numberClass__closure.prototype = {
  104700. call$3($self, value, unitOrOptions) {
  104701. var t1, t2, _null = null;
  104702. if (typeof unitOrOptions == "string")
  104703. return A.SassNumber_SassNumber0(value, unitOrOptions);
  104704. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  104705. t1 = unitOrOptions == null;
  104706. if (t1)
  104707. t2 = _null;
  104708. else {
  104709. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104710. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  104711. }
  104712. if (t1)
  104713. t1 = _null;
  104714. else {
  104715. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104716. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  104717. }
  104718. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  104719. },
  104720. call$2($self, value) {
  104721. return this.call$3($self, value, null);
  104722. },
  104723. "call*": "call$3",
  104724. $requiredArgCount: 2,
  104725. $defaultValues() {
  104726. return [null];
  104727. },
  104728. $signature: 505
  104729. };
  104730. A.numberClass__closure0.prototype = {
  104731. call$1($self) {
  104732. return $self._number1$_value;
  104733. },
  104734. $signature: 506
  104735. };
  104736. A.numberClass__closure1.prototype = {
  104737. call$1($self) {
  104738. return A.fuzzyIsInt($self._number1$_value);
  104739. },
  104740. $signature: 239
  104741. };
  104742. A.numberClass__closure2.prototype = {
  104743. call$1($self) {
  104744. return A.fuzzyAsInt0($self._number1$_value);
  104745. },
  104746. $signature: 508
  104747. };
  104748. A.numberClass__closure3.prototype = {
  104749. call$1($self) {
  104750. return new self.immutable.List($self.get$numeratorUnits($self));
  104751. },
  104752. $signature: 232
  104753. };
  104754. A.numberClass__closure4.prototype = {
  104755. call$1($self) {
  104756. return new self.immutable.List($self.get$denominatorUnits($self));
  104757. },
  104758. $signature: 232
  104759. };
  104760. A.numberClass__closure5.prototype = {
  104761. call$1($self) {
  104762. return $self.get$hasUnits();
  104763. },
  104764. $signature: 239
  104765. };
  104766. A.numberClass__closure6.prototype = {
  104767. call$2($self, $name) {
  104768. return $self.assertInt$1($name);
  104769. },
  104770. call$1($self) {
  104771. return this.call$2($self, null);
  104772. },
  104773. "call*": "call$2",
  104774. $requiredArgCount: 1,
  104775. $defaultValues() {
  104776. return [null];
  104777. },
  104778. $signature: 510
  104779. };
  104780. A.numberClass__closure7.prototype = {
  104781. call$4($self, min, max, $name) {
  104782. return $self.valueInRange$3(min, max, $name);
  104783. },
  104784. call$3($self, min, max) {
  104785. return this.call$4($self, min, max, null);
  104786. },
  104787. "call*": "call$4",
  104788. $requiredArgCount: 3,
  104789. $defaultValues() {
  104790. return [null];
  104791. },
  104792. $signature: 511
  104793. };
  104794. A.numberClass__closure8.prototype = {
  104795. call$2($self, $name) {
  104796. $self.assertNoUnits$1($name);
  104797. return $self;
  104798. },
  104799. call$1($self) {
  104800. return this.call$2($self, null);
  104801. },
  104802. "call*": "call$2",
  104803. $requiredArgCount: 1,
  104804. $defaultValues() {
  104805. return [null];
  104806. },
  104807. $signature: 512
  104808. };
  104809. A.numberClass__closure9.prototype = {
  104810. call$3($self, unit, $name) {
  104811. $self.assertUnit$2(unit, $name);
  104812. return $self;
  104813. },
  104814. call$2($self, unit) {
  104815. return this.call$3($self, unit, null);
  104816. },
  104817. "call*": "call$3",
  104818. $requiredArgCount: 2,
  104819. $defaultValues() {
  104820. return [null];
  104821. },
  104822. $signature: 513
  104823. };
  104824. A.numberClass__closure10.prototype = {
  104825. call$2($self, unit) {
  104826. return $self.hasUnit$1(unit);
  104827. },
  104828. $signature: 231
  104829. };
  104830. A.numberClass__closure11.prototype = {
  104831. call$2($self, unit) {
  104832. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  104833. },
  104834. $signature: 231
  104835. };
  104836. A.numberClass__closure12.prototype = {
  104837. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104838. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104839. t2 = type$.String;
  104840. t1 = J.cast$1$0$ax(t1, t2);
  104841. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  104842. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  104843. },
  104844. call$3($self, numeratorUnits, denominatorUnits) {
  104845. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104846. },
  104847. "call*": "call$4",
  104848. $requiredArgCount: 3,
  104849. $defaultValues() {
  104850. return [null];
  104851. },
  104852. $signature: 226
  104853. };
  104854. A.numberClass__closure13.prototype = {
  104855. call$4($self, other, $name, otherName) {
  104856. return $self.convertToMatch$3(other, $name, otherName);
  104857. },
  104858. call$2($self, other) {
  104859. return this.call$4($self, other, null, null);
  104860. },
  104861. call$3($self, other, $name) {
  104862. return this.call$4($self, other, $name, null);
  104863. },
  104864. "call*": "call$4",
  104865. $requiredArgCount: 2,
  104866. $defaultValues() {
  104867. return [null, null];
  104868. },
  104869. $signature: 222
  104870. };
  104871. A.numberClass__closure14.prototype = {
  104872. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104873. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104874. t2 = type$.String;
  104875. t1 = J.cast$1$0$ax(t1, t2);
  104876. 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);
  104877. },
  104878. call$3($self, numeratorUnits, denominatorUnits) {
  104879. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104880. },
  104881. "call*": "call$4",
  104882. $requiredArgCount: 3,
  104883. $defaultValues() {
  104884. return [null];
  104885. },
  104886. $signature: 220
  104887. };
  104888. A.numberClass__closure15.prototype = {
  104889. call$4($self, other, $name, otherName) {
  104890. return $self.convertValueToMatch$3(other, $name, otherName);
  104891. },
  104892. call$2($self, other) {
  104893. return this.call$4($self, other, null, null);
  104894. },
  104895. call$3($self, other, $name) {
  104896. return this.call$4($self, other, $name, null);
  104897. },
  104898. "call*": "call$4",
  104899. $requiredArgCount: 2,
  104900. $defaultValues() {
  104901. return [null, null];
  104902. },
  104903. $signature: 205
  104904. };
  104905. A.numberClass__closure16.prototype = {
  104906. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104907. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104908. t2 = type$.String;
  104909. t1 = J.cast$1$0$ax(t1, t2);
  104910. 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);
  104911. },
  104912. call$3($self, numeratorUnits, denominatorUnits) {
  104913. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104914. },
  104915. "call*": "call$4",
  104916. $requiredArgCount: 3,
  104917. $defaultValues() {
  104918. return [null];
  104919. },
  104920. $signature: 226
  104921. };
  104922. A.numberClass__closure17.prototype = {
  104923. call$4($self, other, $name, otherName) {
  104924. return $self.coerceToMatch$3(other, $name, otherName);
  104925. },
  104926. call$2($self, other) {
  104927. return this.call$4($self, other, null, null);
  104928. },
  104929. call$3($self, other, $name) {
  104930. return this.call$4($self, other, $name, null);
  104931. },
  104932. "call*": "call$4",
  104933. $requiredArgCount: 2,
  104934. $defaultValues() {
  104935. return [null, null];
  104936. },
  104937. $signature: 222
  104938. };
  104939. A.numberClass__closure18.prototype = {
  104940. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104941. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104942. t2 = type$.String;
  104943. t1 = J.cast$1$0$ax(t1, t2);
  104944. 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);
  104945. },
  104946. call$3($self, numeratorUnits, denominatorUnits) {
  104947. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104948. },
  104949. "call*": "call$4",
  104950. $requiredArgCount: 3,
  104951. $defaultValues() {
  104952. return [null];
  104953. },
  104954. $signature: 220
  104955. };
  104956. A.numberClass__closure19.prototype = {
  104957. call$4($self, other, $name, otherName) {
  104958. return $self.coerceValueToMatch$3(other, $name, otherName);
  104959. },
  104960. call$2($self, other) {
  104961. return this.call$4($self, other, null, null);
  104962. },
  104963. call$3($self, other, $name) {
  104964. return this.call$4($self, other, $name, null);
  104965. },
  104966. "call*": "call$4",
  104967. $requiredArgCount: 2,
  104968. $defaultValues() {
  104969. return [null, null];
  104970. },
  104971. $signature: 205
  104972. };
  104973. A._ConstructorOptions0.prototype = {};
  104974. A._NodeSassNumber.prototype = {};
  104975. A.legacyNumberClass_closure.prototype = {
  104976. call$4(thisArg, value, unit, dartValue) {
  104977. var t1;
  104978. if (dartValue == null) {
  104979. value.toString;
  104980. t1 = A._parseNumber(value, unit);
  104981. } else
  104982. t1 = dartValue;
  104983. J.set$dartValue$x(thisArg, t1);
  104984. },
  104985. call$2(thisArg, value) {
  104986. return this.call$4(thisArg, value, null, null);
  104987. },
  104988. call$3(thisArg, value, unit) {
  104989. return this.call$4(thisArg, value, unit, null);
  104990. },
  104991. "call*": "call$4",
  104992. $requiredArgCount: 2,
  104993. $defaultValues() {
  104994. return [null, null];
  104995. },
  104996. $signature: 519
  104997. };
  104998. A.legacyNumberClass_closure0.prototype = {
  104999. call$1(thisArg) {
  105000. return J.get$dartValue$x(thisArg)._number1$_value;
  105001. },
  105002. $signature: 520
  105003. };
  105004. A.legacyNumberClass_closure1.prototype = {
  105005. call$2(thisArg, value) {
  105006. var t1 = J.getInterceptor$x(thisArg),
  105007. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  105008. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  105009. },
  105010. $signature: 521
  105011. };
  105012. A.legacyNumberClass_closure2.prototype = {
  105013. call$1(thisArg) {
  105014. var t1 = J.getInterceptor$x(thisArg),
  105015. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  105016. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  105017. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  105018. },
  105019. $signature: 522
  105020. };
  105021. A.legacyNumberClass_closure3.prototype = {
  105022. call$2(thisArg, unit) {
  105023. var t1 = J.getInterceptor$x(thisArg);
  105024. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  105025. },
  105026. $signature: 523
  105027. };
  105028. A._parseNumber_closure.prototype = {
  105029. call$1(unit) {
  105030. return unit.length === 0;
  105031. },
  105032. $signature: 4
  105033. };
  105034. A._parseNumber_closure0.prototype = {
  105035. call$1(unit) {
  105036. return unit.length === 0;
  105037. },
  105038. $signature: 4
  105039. };
  105040. A.SassNumber0.prototype = {
  105041. get$unitString() {
  105042. var _this = this;
  105043. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  105044. },
  105045. accept$1$1(visitor) {
  105046. return visitor.visitNumber$1(this);
  105047. },
  105048. accept$1(visitor) {
  105049. return this.accept$1$1(visitor, type$.dynamic);
  105050. },
  105051. withoutSlash$0() {
  105052. var _this = this;
  105053. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  105054. },
  105055. assertNumber$1($name) {
  105056. return this;
  105057. },
  105058. assertNumber$0() {
  105059. return this.assertNumber$1(null);
  105060. },
  105061. assertInt$1($name) {
  105062. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  105063. if (_0_0 != null)
  105064. return _0_0;
  105065. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  105066. },
  105067. assertInt$0() {
  105068. return this.assertInt$1(null);
  105069. },
  105070. valueInRange$3(min, max, $name) {
  105071. var _this = this,
  105072. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  105073. if (_0_0 != null)
  105074. return _0_0;
  105075. 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));
  105076. },
  105077. valueInRangeWithUnit$4(min, max, $name, unit) {
  105078. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  105079. if (_0_0 != null)
  105080. return _0_0;
  105081. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  105082. },
  105083. hasCompatibleUnits$1(other) {
  105084. var _this = this;
  105085. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  105086. return false;
  105087. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  105088. return false;
  105089. return _this.isComparableTo$1(other);
  105090. },
  105091. assertUnit$2(unit, $name) {
  105092. if (this.hasUnit$1(unit))
  105093. return;
  105094. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  105095. },
  105096. assertNoUnits$1($name) {
  105097. if (!this.get$hasUnits())
  105098. return;
  105099. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  105100. },
  105101. assertNoUnits$0() {
  105102. return this.assertNoUnits$1(null);
  105103. },
  105104. convertToMatch$3(other, $name, otherName) {
  105105. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  105106. t2 = other.get$numeratorUnits(other);
  105107. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  105108. },
  105109. convertValueToMatch$3(other, $name, otherName) {
  105110. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  105111. },
  105112. convertValueToMatch$1(other) {
  105113. return this.convertValueToMatch$3(other, null, null);
  105114. },
  105115. coerce$3(newNumerators, newDenominators, $name) {
  105116. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  105117. },
  105118. coerce$2(newNumerators, newDenominators) {
  105119. return this.coerce$3(newNumerators, newDenominators, null);
  105120. },
  105121. coerceValue$3(newNumerators, newDenominators, $name) {
  105122. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  105123. },
  105124. coerceValueToUnit$2(unit, $name) {
  105125. var t1 = type$.JSArray_String;
  105126. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  105127. },
  105128. coerceValueToUnit$1(unit) {
  105129. return this.coerceValueToUnit$2(unit, null);
  105130. },
  105131. coerceToMatch$3(other, $name, otherName) {
  105132. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  105133. t2 = other.get$numeratorUnits(other);
  105134. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  105135. },
  105136. coerceValueToMatch$3(other, $name, otherName) {
  105137. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  105138. },
  105139. coerceValueToMatch$1(other) {
  105140. return this.coerceValueToMatch$3(other, null, null);
  105141. },
  105142. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  105143. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  105144. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  105145. return _this._number1$_value;
  105146. t1 = J.getInterceptor$asx(newNumerators);
  105147. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  105148. if (coerceUnitless)
  105149. t2 = !_this.get$hasUnits() || !otherHasUnits;
  105150. else
  105151. t2 = false;
  105152. if (t2)
  105153. return _this._number1$_value;
  105154. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  105155. _box_0.value = _this._number1$_value;
  105156. t2 = _this.get$numeratorUnits(_this);
  105157. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  105158. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  105159. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  105160. t1 = _this.get$denominatorUnits(_this);
  105161. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  105162. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  105163. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  105164. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  105165. throw A.wrapException(compatibilityException.call$0());
  105166. return _box_0.value;
  105167. },
  105168. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  105169. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  105170. },
  105171. isComparableTo$1(other) {
  105172. var exception;
  105173. if (!this.get$hasUnits() || !other.get$hasUnits())
  105174. return true;
  105175. try {
  105176. this.greaterThan$1(other);
  105177. return true;
  105178. } catch (exception) {
  105179. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  105180. return false;
  105181. else
  105182. throw exception;
  105183. }
  105184. },
  105185. greaterThan$1(other) {
  105186. if (other instanceof A.SassNumber0)
  105187. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105188. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  105189. },
  105190. greaterThanOrEquals$1(other) {
  105191. if (other instanceof A.SassNumber0)
  105192. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105193. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  105194. },
  105195. lessThan$1(other) {
  105196. if (other instanceof A.SassNumber0)
  105197. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105198. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  105199. },
  105200. lessThanOrEquals$1(other) {
  105201. if (other instanceof A.SassNumber0)
  105202. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105203. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  105204. },
  105205. modulo$1(other) {
  105206. if (other instanceof A.SassNumber0)
  105207. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  105208. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  105209. },
  105210. plus$1(other) {
  105211. var _this = this;
  105212. if (other instanceof A.SassNumber0)
  105213. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  105214. if (!(other instanceof A.SassColor0))
  105215. return _this.super$Value$plus0(other);
  105216. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  105217. },
  105218. minus$1(other) {
  105219. var _this = this;
  105220. if (other instanceof A.SassNumber0)
  105221. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  105222. if (!(other instanceof A.SassColor0))
  105223. return _this.super$Value$minus0(other);
  105224. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  105225. },
  105226. times$1(other) {
  105227. var _this = this;
  105228. if (other instanceof A.SassNumber0) {
  105229. if (!other.get$hasUnits())
  105230. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  105231. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  105232. }
  105233. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  105234. },
  105235. dividedBy$1(other) {
  105236. var _this = this;
  105237. if (other instanceof A.SassNumber0) {
  105238. if (!other.get$hasUnits())
  105239. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  105240. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  105241. }
  105242. return _this.super$Value$dividedBy0(other);
  105243. },
  105244. unaryPlus$0() {
  105245. return this;
  105246. },
  105247. _number1$_coerceUnits$1$2(other, operation) {
  105248. var t1, exception;
  105249. try {
  105250. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  105251. return t1;
  105252. } catch (exception) {
  105253. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  105254. this.coerceValueToMatch$1(other);
  105255. throw exception;
  105256. } else
  105257. throw exception;
  105258. }
  105259. },
  105260. _number1$_coerceUnits$2(other, operation) {
  105261. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  105262. },
  105263. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  105264. var t1, _0_1, _0_6, _0_3, _0_9, _0_9_isSet, _0_7, _0_7_isSet, t2, _0_2, denominators_case_0, _0_11_isSet, _0_11, _0_13, _0_13_isSet, _0_10, numerators_case_0, t4, t3, t5, t6, t7, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  105265. _box_0.value = value;
  105266. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  105267. _0_1 = t1[0];
  105268. _0_6 = _null;
  105269. _0_3 = _null;
  105270. _0_9 = _null;
  105271. _0_9_isSet = false;
  105272. _0_7 = _null;
  105273. _0_7_isSet = false;
  105274. t2 = false;
  105275. _0_2 = t1[1];
  105276. _0_3 = t1[2];
  105277. _0_6 = _0_3.length <= 0;
  105278. _0_7_isSet = _0_6;
  105279. if (_0_7_isSet) {
  105280. _0_7 = t1[3];
  105281. _0_9 = _0_7.length <= 0;
  105282. t2 = _0_9;
  105283. }
  105284. _0_9_isSet = _0_7_isSet;
  105285. denominators_case_0 = _0_2;
  105286. _0_11_isSet = !t2;
  105287. _0_11 = _null;
  105288. _0_13 = _null;
  105289. if (_0_11_isSet) {
  105290. _0_11 = _0_1.length <= 0;
  105291. _0_13_isSet = _0_11;
  105292. _0_10 = _0_1;
  105293. if (_0_13_isSet) {
  105294. _0_13 = _0_2.length <= 0;
  105295. t2 = _0_13;
  105296. if (t2) {
  105297. if (_0_7_isSet)
  105298. denominators_case_0 = _0_7;
  105299. else {
  105300. _0_7 = t1[3];
  105301. denominators_case_0 = _0_7;
  105302. _0_7_isSet = true;
  105303. }
  105304. numerators_case_0 = _0_3;
  105305. } else
  105306. numerators_case_0 = _0_1;
  105307. } else {
  105308. numerators_case_0 = _0_1;
  105309. t2 = false;
  105310. }
  105311. _0_1 = _0_10;
  105312. } else {
  105313. numerators_case_0 = _0_1;
  105314. _0_13_isSet = false;
  105315. t2 = true;
  105316. }
  105317. if (t2) {
  105318. t4 = denominators_case_0;
  105319. t3 = numerators_case_0;
  105320. } else {
  105321. t4 = _null;
  105322. t3 = t4;
  105323. }
  105324. if (!t2) {
  105325. t2 = _null;
  105326. t5 = _null;
  105327. if (_0_11_isSet)
  105328. t6 = _0_11;
  105329. else {
  105330. _0_11 = _0_1.length <= 0;
  105331. t6 = _0_11;
  105332. }
  105333. t7 = false;
  105334. if (t6) {
  105335. if (_0_9_isSet)
  105336. t2 = _0_9;
  105337. else {
  105338. if (_0_7_isSet)
  105339. t2 = _0_7;
  105340. else {
  105341. _0_7 = t1[3];
  105342. t2 = _0_7;
  105343. _0_7_isSet = true;
  105344. }
  105345. _0_9 = t2.length <= 0;
  105346. t2 = _0_9;
  105347. }
  105348. numerators_case_1 = _0_3;
  105349. denominators_case_1 = _0_2;
  105350. } else {
  105351. numerators_case_1 = t2;
  105352. t2 = t7;
  105353. denominators_case_1 = t5;
  105354. }
  105355. if (!t2) {
  105356. t2 = false;
  105357. if (_0_13_isSet)
  105358. t5 = _0_13;
  105359. else {
  105360. _0_13 = _0_2.length <= 0;
  105361. t5 = _0_13;
  105362. }
  105363. if (t5) {
  105364. if (_0_6)
  105365. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  105366. t1 = _0_6;
  105367. } else
  105368. t1 = t2;
  105369. numerators_case_1 = _0_1;
  105370. } else
  105371. t1 = true;
  105372. if (t1) {
  105373. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  105374. if (t1) {
  105375. t3 = denominators_case_1;
  105376. t2 = numerators_case_1;
  105377. } else {
  105378. t2 = t3;
  105379. t3 = t4;
  105380. }
  105381. t0 = t3;
  105382. t3 = t1;
  105383. t1 = t2;
  105384. t2 = t0;
  105385. } else {
  105386. t2 = t4;
  105387. t1 = t3;
  105388. t3 = false;
  105389. }
  105390. } else {
  105391. t2 = t4;
  105392. t1 = t3;
  105393. t3 = true;
  105394. }
  105395. if (t3)
  105396. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  105397. newNumerators = A._setArrayType([], type$.JSArray_String);
  105398. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  105399. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105400. numerator = t1[_i];
  105401. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  105402. }
  105403. t1 = _this.get$denominatorUnits(_this);
  105404. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  105405. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  105406. numerator = otherNumerators[_i];
  105407. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  105408. }
  105409. t1 = _box_0.value;
  105410. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  105411. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  105412. },
  105413. _number1$_areAnyConvertible$2(units1, units2) {
  105414. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  105415. },
  105416. _number1$_unitString$2(numerators, denominators) {
  105417. var _0_4, _0_7, _0_6, _0_5, t1, _null = null;
  105418. $label0$0: {
  105419. _0_4 = J.get$length$asx(numerators) <= 0;
  105420. _0_7 = _null;
  105421. _0_6 = _null;
  105422. _0_5 = _null;
  105423. if (_0_4) {
  105424. _0_6 = J.get$length$asx(denominators);
  105425. t1 = _0_6;
  105426. _0_7 = t1 <= 0;
  105427. t1 = _0_7;
  105428. _0_5 = denominators;
  105429. } else
  105430. t1 = false;
  105431. if (t1) {
  105432. t1 = "no units";
  105433. break $label0$0;
  105434. }
  105435. if (_0_4)
  105436. t1 = _0_6 === 1;
  105437. else
  105438. t1 = false;
  105439. if (t1) {
  105440. t1 = J.$index$asx(_0_4 ? _0_5 : denominators, 0) + "^-1";
  105441. break $label0$0;
  105442. }
  105443. if (_0_4) {
  105444. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  105445. break $label0$0;
  105446. }
  105447. _0_6 = J.get$length$asx(denominators);
  105448. t1 = _0_6;
  105449. _0_7 = t1 <= 0;
  105450. t1 = _0_7;
  105451. if (t1) {
  105452. t1 = J.join$1$ax(numerators, "*");
  105453. break $label0$0;
  105454. }
  105455. t1 = J.join$1$ax(numerators, "*") + "/" + J.join$1$ax(denominators, "*");
  105456. break $label0$0;
  105457. }
  105458. return t1;
  105459. },
  105460. $eq(_, other) {
  105461. var _this = this;
  105462. if (other == null)
  105463. return false;
  105464. if (!(other instanceof A.SassNumber0))
  105465. return false;
  105466. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  105467. return false;
  105468. if (!_this.get$hasUnits())
  105469. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  105470. 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))))
  105471. return false;
  105472. 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)));
  105473. },
  105474. get$hashCode(_) {
  105475. var _this = this,
  105476. t1 = _this.hashCache;
  105477. 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;
  105478. },
  105479. _number1$_canonicalizeUnitList$1(units) {
  105480. var type,
  105481. t1 = units.length;
  105482. if (t1 === 0)
  105483. return units;
  105484. if (t1 === 1) {
  105485. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  105486. if (type == null)
  105487. t1 = units;
  105488. else {
  105489. t1 = B.Map_397RH.$index(0, type);
  105490. t1.toString;
  105491. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  105492. }
  105493. return t1;
  105494. }
  105495. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  105496. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  105497. B.JSArray_methods.sort$0(t1);
  105498. return t1;
  105499. },
  105500. _number1$_canonicalMultiplier$1(units) {
  105501. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  105502. },
  105503. canonicalMultiplierForUnit$1(unit) {
  105504. var t1,
  105505. innerMap = B.Map_gQqJO.$index(0, unit);
  105506. if (innerMap == null)
  105507. t1 = 1;
  105508. else {
  105509. t1 = innerMap.get$values(innerMap);
  105510. t1 = 1 / t1.get$first(t1);
  105511. }
  105512. return t1;
  105513. },
  105514. unitSuggestion$2($name, unit) {
  105515. var t2, t3, result, _this = this,
  105516. t1 = _this.get$denominatorUnits(_this);
  105517. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  105518. t2 = _this.get$numeratorUnits(_this);
  105519. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  105520. t3 = unit == null ? "" : " * 1" + unit;
  105521. result = "$" + $name + t1 + t2 + t3;
  105522. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  105523. },
  105524. unitSuggestion$1($name) {
  105525. return this.unitSuggestion$2($name, null);
  105526. }
  105527. };
  105528. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  105529. call$0() {
  105530. var t2, t3, message, t4, type, unit, _this = this,
  105531. t1 = _this.other;
  105532. if (t1 != null) {
  105533. t2 = _this.$this;
  105534. t3 = t2.toString$0(0) + " and";
  105535. message = new A.StringBuffer(t3);
  105536. t4 = _this.otherName;
  105537. if (t4 != null)
  105538. t3 = message._contents = t3 + (" $" + t4 + ":");
  105539. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  105540. message._contents = t1;
  105541. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  105542. message._contents = t1 + " (one has units and the other doesn't)";
  105543. t1 = message.toString$0(0) + ".";
  105544. t2 = _this.name;
  105545. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105546. } else if (!_this.otherHasUnits) {
  105547. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  105548. t2 = _this.name;
  105549. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105550. } else {
  105551. t1 = _this.newNumerators;
  105552. t2 = J.getInterceptor$asx(t1);
  105553. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  105554. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  105555. if (type != null) {
  105556. t1 = _this.$this.toString$0(0);
  105557. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  105558. t3 = B.Map_397RH.$index(0, type);
  105559. t3.toString;
  105560. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  105561. t2 = _this.name;
  105562. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  105563. }
  105564. }
  105565. t3 = _this.newDenominators;
  105566. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  105567. t2 = _this.$this;
  105568. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  105569. t1 = _this.name;
  105570. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  105571. }
  105572. },
  105573. $signature: 524
  105574. };
  105575. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  105576. call$1(oldNumerator) {
  105577. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  105578. if (factor == null)
  105579. return false;
  105580. this._box_0.value *= factor;
  105581. return true;
  105582. },
  105583. $signature: 4
  105584. };
  105585. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  105586. call$0() {
  105587. return A.throwExpression(this.compatibilityException.call$0());
  105588. },
  105589. $signature: 0
  105590. };
  105591. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  105592. call$1(oldDenominator) {
  105593. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  105594. if (factor == null)
  105595. return false;
  105596. this._box_0.value /= factor;
  105597. return true;
  105598. },
  105599. $signature: 4
  105600. };
  105601. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  105602. call$0() {
  105603. return A.throwExpression(this.compatibilityException.call$0());
  105604. },
  105605. $signature: 0
  105606. };
  105607. A.SassNumber_plus_closure0.prototype = {
  105608. call$2(num1, num2) {
  105609. return num1 + num2;
  105610. },
  105611. $signature: 63
  105612. };
  105613. A.SassNumber_minus_closure0.prototype = {
  105614. call$2(num1, num2) {
  105615. return num1 - num2;
  105616. },
  105617. $signature: 63
  105618. };
  105619. A.SassNumber_multiplyUnits_closure3.prototype = {
  105620. call$1(denominator) {
  105621. var factor = A.conversionFactor0(this.numerator, denominator);
  105622. if (factor == null)
  105623. return false;
  105624. this._box_0.value /= factor;
  105625. return true;
  105626. },
  105627. $signature: 4
  105628. };
  105629. A.SassNumber_multiplyUnits_closure4.prototype = {
  105630. call$0() {
  105631. return this.newNumerators.push(this.numerator);
  105632. },
  105633. $signature: 0
  105634. };
  105635. A.SassNumber_multiplyUnits_closure5.prototype = {
  105636. call$1(denominator) {
  105637. var factor = A.conversionFactor0(this.numerator, denominator);
  105638. if (factor == null)
  105639. return false;
  105640. this._box_0.value /= factor;
  105641. return true;
  105642. },
  105643. $signature: 4
  105644. };
  105645. A.SassNumber_multiplyUnits_closure6.prototype = {
  105646. call$0() {
  105647. return this.newNumerators.push(this.numerator);
  105648. },
  105649. $signature: 0
  105650. };
  105651. A.SassNumber__areAnyConvertible_closure0.prototype = {
  105652. call$1(unit1) {
  105653. var t1,
  105654. _0_0 = B.Map_gQqJO.$index(0, unit1);
  105655. $label0$0: {
  105656. if (_0_0 != null) {
  105657. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  105658. break $label0$0;
  105659. }
  105660. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  105661. break $label0$0;
  105662. }
  105663. return t1;
  105664. },
  105665. $signature: 4
  105666. };
  105667. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  105668. call$1(unit) {
  105669. var t1,
  105670. type = $.$get$_typesByUnit0().$index(0, unit);
  105671. if (type == null)
  105672. t1 = unit;
  105673. else {
  105674. t1 = B.Map_397RH.$index(0, type);
  105675. t1.toString;
  105676. t1 = B.JSArray_methods.get$first(t1);
  105677. }
  105678. return t1;
  105679. },
  105680. $signature: 5
  105681. };
  105682. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  105683. call$2(multiplier, unit) {
  105684. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  105685. },
  105686. $signature: 161
  105687. };
  105688. A.SassNumber_unitSuggestion_closure1.prototype = {
  105689. call$1(unit) {
  105690. return " * 1" + unit;
  105691. },
  105692. $signature: 5
  105693. };
  105694. A.SassNumber_unitSuggestion_closure2.prototype = {
  105695. call$1(unit) {
  105696. return " / 1" + unit;
  105697. },
  105698. $signature: 5
  105699. };
  105700. A.SupportsOperation0.prototype = {
  105701. toString$0(_) {
  105702. var _this = this;
  105703. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  105704. },
  105705. _operation0$_parenthesize$1(condition) {
  105706. var t1;
  105707. if (!(condition instanceof A.SupportsNegation0))
  105708. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  105709. else
  105710. t1 = true;
  105711. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  105712. },
  105713. $isAstNode0: 1,
  105714. $isSassNode: 1,
  105715. get$span(receiver) {
  105716. return this.span;
  105717. }
  105718. };
  105719. A.ParentSelector0.prototype = {
  105720. accept$1$1(visitor) {
  105721. return visitor.visitParentSelector$1(this);
  105722. },
  105723. accept$1(visitor) {
  105724. return this.accept$1$1(visitor, type$.dynamic);
  105725. },
  105726. unify$1(compound) {
  105727. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  105728. }
  105729. };
  105730. A.ParentStatement0.prototype = {};
  105731. A.ParentStatement_closure0.prototype = {
  105732. call$1(child) {
  105733. var t1;
  105734. $label0$0: {
  105735. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  105736. t1 = true;
  105737. break $label0$0;
  105738. }
  105739. if (child instanceof A.ImportRule0) {
  105740. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  105741. break $label0$0;
  105742. }
  105743. t1 = false;
  105744. break $label0$0;
  105745. }
  105746. return t1;
  105747. },
  105748. $signature: 250
  105749. };
  105750. A.ParentStatement__closure0.prototype = {
  105751. call$1($import) {
  105752. return $import instanceof A.DynamicImport0;
  105753. },
  105754. $signature: 249
  105755. };
  105756. A.ParenthesizedExpression0.prototype = {
  105757. accept$1$1(visitor) {
  105758. return visitor.visitParenthesizedExpression$1(0, this);
  105759. },
  105760. accept$1(visitor) {
  105761. return this.accept$1$1(visitor, type$.dynamic);
  105762. },
  105763. toString$0(_) {
  105764. return "(" + this.expression.toString$0(0) + ")";
  105765. },
  105766. get$span(receiver) {
  105767. return this.span;
  105768. }
  105769. };
  105770. A.ParserExports.prototype = {};
  105771. A.loadParserExports_closure.prototype = {
  105772. call$1(inner) {
  105773. return new A.JSExpressionVisitor(inner);
  105774. },
  105775. $signature: 525
  105776. };
  105777. A.loadParserExports_closure0.prototype = {
  105778. call$1(inner) {
  105779. return new A.JSStatementVisitor(inner);
  105780. },
  105781. $signature: 526
  105782. };
  105783. A._updateAstPrototypes_closure.prototype = {
  105784. call$3($self, start, end) {
  105785. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  105786. },
  105787. call$2($self, start) {
  105788. return this.call$3($self, start, null);
  105789. },
  105790. "call*": "call$3",
  105791. $requiredArgCount: 2,
  105792. $defaultValues() {
  105793. return [null];
  105794. },
  105795. $signature: 527
  105796. };
  105797. A._updateAstPrototypes_closure0.prototype = {
  105798. call$1($self) {
  105799. return $self.get$asPlain();
  105800. },
  105801. $signature: 528
  105802. };
  105803. A._updateAstPrototypes_closure1.prototype = {
  105804. call$2($self, visitor) {
  105805. return $self.accept$1(visitor);
  105806. },
  105807. $signature: 529
  105808. };
  105809. A._updateAstPrototypes_closure2.prototype = {
  105810. call$2($self, visitor) {
  105811. return $self.accept$1(visitor);
  105812. },
  105813. $signature: 530
  105814. };
  105815. A._updateAstPrototypes_closure3.prototype = {
  105816. call$1($self) {
  105817. return $self.get$span($self);
  105818. },
  105819. $signature: 531
  105820. };
  105821. A.Parser1.prototype = {
  105822. _parser1$_parseIdentifier$0() {
  105823. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  105824. },
  105825. whitespace$0() {
  105826. do
  105827. this.whitespaceWithoutComments$0();
  105828. while (this.scanComment$0());
  105829. },
  105830. whitespaceWithoutComments$0() {
  105831. var t3,
  105832. t1 = this.scanner,
  105833. t2 = t1.string.length;
  105834. while (true) {
  105835. if (t1._string_scanner$_position !== t2) {
  105836. t3 = t1.peekChar$0();
  105837. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  105838. } else
  105839. t3 = false;
  105840. if (!t3)
  105841. break;
  105842. t1.readChar$0();
  105843. }
  105844. },
  105845. spaces$0() {
  105846. var t3,
  105847. t1 = this.scanner,
  105848. t2 = t1.string.length;
  105849. while (true) {
  105850. if (t1._string_scanner$_position !== t2) {
  105851. t3 = t1.peekChar$0();
  105852. t3 = t3 === 32 || t3 === 9;
  105853. } else
  105854. t3 = false;
  105855. if (!t3)
  105856. break;
  105857. t1.readChar$0();
  105858. }
  105859. },
  105860. scanComment$0() {
  105861. var _0_0,
  105862. t1 = this.scanner;
  105863. if (t1.peekChar$0() !== 47)
  105864. return false;
  105865. _0_0 = t1.peekChar$1(1);
  105866. if (47 === _0_0)
  105867. return this.silentComment$0();
  105868. if (42 === _0_0) {
  105869. this.loudComment$0();
  105870. return true;
  105871. }
  105872. return false;
  105873. },
  105874. expectWhitespace$0() {
  105875. var t2, t3,
  105876. t1 = this.scanner;
  105877. if (t1._string_scanner$_position !== t1.string.length) {
  105878. t2 = t1.peekChar$0();
  105879. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  105880. t2 = t3;
  105881. } else
  105882. t2 = true;
  105883. if (t2)
  105884. t1.error$1(0, "Expected whitespace.");
  105885. this.whitespace$0();
  105886. },
  105887. silentComment$0() {
  105888. var t2, t3,
  105889. t1 = this.scanner;
  105890. t1.expect$1("//");
  105891. t2 = t1.string.length;
  105892. while (true) {
  105893. if (t1._string_scanner$_position !== t2) {
  105894. t3 = t1.peekChar$0();
  105895. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  105896. } else
  105897. t3 = false;
  105898. if (!t3)
  105899. break;
  105900. t1.readChar$0();
  105901. }
  105902. return true;
  105903. },
  105904. loudComment$0() {
  105905. var next,
  105906. t1 = this.scanner;
  105907. t1.expect$1("/*");
  105908. for (; true;) {
  105909. if (t1.readChar$0() !== 42)
  105910. continue;
  105911. do
  105912. next = t1.readChar$0();
  105913. while (next === 42);
  105914. if (next === 47)
  105915. break;
  105916. }
  105917. },
  105918. identifier$2$normalize$unit(normalize, unit) {
  105919. var t2, _0_0, _this = this,
  105920. _s20_ = "Expected identifier.",
  105921. text = new A.StringBuffer(""),
  105922. t1 = _this.scanner;
  105923. if (t1.scanChar$1(45)) {
  105924. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  105925. if (t1.scanChar$1(45)) {
  105926. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105927. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  105928. t1 = text._contents;
  105929. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105930. }
  105931. } else
  105932. t2 = "";
  105933. $label0$0: {
  105934. _0_0 = t1.peekChar$0();
  105935. if (_0_0 == null)
  105936. t1.error$1(0, _s20_);
  105937. if (95 === _0_0 && normalize) {
  105938. t1.readChar$0();
  105939. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105940. break $label0$0;
  105941. }
  105942. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  105943. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  105944. break $label0$0;
  105945. }
  105946. if (92 === _0_0) {
  105947. text._contents = t2 + _this.escape$1$identifierStart(true);
  105948. break $label0$0;
  105949. }
  105950. t1.error$1(0, _s20_);
  105951. }
  105952. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  105953. t1 = text._contents;
  105954. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105955. },
  105956. identifier$0() {
  105957. return this.identifier$2$normalize$unit(false, false);
  105958. },
  105959. identifier$1$normalize(normalize) {
  105960. return this.identifier$2$normalize$unit(normalize, false);
  105961. },
  105962. identifier$1$unit(unit) {
  105963. return this.identifier$2$normalize$unit(false, unit);
  105964. },
  105965. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  105966. var t1, _1_0, _0_0, t2;
  105967. for (t1 = this.scanner; true;) {
  105968. _1_0 = t1.peekChar$0();
  105969. if (_1_0 == null)
  105970. break;
  105971. if (45 === _1_0 && unit) {
  105972. _0_0 = t1.peekChar$1(1);
  105973. if (46 !== _0_0)
  105974. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  105975. else
  105976. t2 = true;
  105977. if (t2)
  105978. break;
  105979. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  105980. text._contents += t2;
  105981. continue;
  105982. }
  105983. if (95 === _1_0 && normalize) {
  105984. t1.readChar$0();
  105985. t2 = A.Primitives_stringFromCharCode(45);
  105986. text._contents += t2;
  105987. continue;
  105988. }
  105989. if (_1_0 !== 95) {
  105990. if (!(_1_0 >= 97 && _1_0 <= 122))
  105991. t2 = _1_0 >= 65 && _1_0 <= 90;
  105992. else
  105993. t2 = true;
  105994. t2 = t2 || _1_0 >= 128;
  105995. } else
  105996. t2 = true;
  105997. if (!t2)
  105998. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  105999. else
  106000. t2 = true;
  106001. if (t2) {
  106002. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106003. text._contents += t2;
  106004. continue;
  106005. }
  106006. if (92 === _1_0) {
  106007. t2 = this.escape$0();
  106008. text._contents += t2;
  106009. continue;
  106010. }
  106011. break;
  106012. }
  106013. },
  106014. _parser1$_identifierBody$1(text) {
  106015. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  106016. },
  106017. string$0() {
  106018. var buffer, _0_0, t2,
  106019. t1 = this.scanner,
  106020. quote = t1.readChar$0();
  106021. if (quote !== 39 && quote !== 34)
  106022. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  106023. buffer = new A.StringBuffer("");
  106024. for (; true;) {
  106025. _0_0 = t1.peekChar$0();
  106026. if (_0_0 === quote) {
  106027. t1.readChar$0();
  106028. break;
  106029. }
  106030. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  106031. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  106032. if (92 === _0_0) {
  106033. t2 = t1.peekChar$1(1);
  106034. if (t2 === 10 || t2 === 13 || t2 === 12) {
  106035. t1.readChar$0();
  106036. t1.readChar$0();
  106037. } else {
  106038. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  106039. buffer._contents += t2;
  106040. }
  106041. continue;
  106042. }
  106043. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106044. buffer._contents += t2;
  106045. }
  106046. t1 = buffer._contents;
  106047. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106048. },
  106049. declarationValue$1$allowEmpty(allowEmpty) {
  106050. var t1, t2, wroteNewline, next, wroteNewline0, t3, start, end, _0_0, _this = this,
  106051. buffer = new A.StringBuffer(""),
  106052. brackets = A._setArrayType([], type$.JSArray_int);
  106053. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  106054. next = t1.peekChar$0();
  106055. if (next == null)
  106056. break;
  106057. wroteNewline0 = false;
  106058. if (92 === next) {
  106059. t3 = _this.escape$1$identifierStart(true);
  106060. buffer._contents += t3;
  106061. wroteNewline = wroteNewline0;
  106062. continue;
  106063. }
  106064. if (34 === next || 39 === next) {
  106065. start = t1._string_scanner$_position;
  106066. t2.call$0();
  106067. end = t1._string_scanner$_position;
  106068. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  106069. wroteNewline = wroteNewline0;
  106070. continue;
  106071. }
  106072. if (47 === next) {
  106073. if (t1.peekChar$1(1) === 42) {
  106074. t3 = _this.get$loudComment();
  106075. start = t1._string_scanner$_position;
  106076. t3.call$0();
  106077. end = t1._string_scanner$_position;
  106078. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  106079. } else {
  106080. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106081. buffer._contents += t3;
  106082. }
  106083. wroteNewline = wroteNewline0;
  106084. continue;
  106085. }
  106086. if (32 === next || 9 === next) {
  106087. if (!wroteNewline) {
  106088. t3 = t1.peekChar$1(1);
  106089. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  106090. } else
  106091. t3 = true;
  106092. if (t3) {
  106093. t3 = A.Primitives_stringFromCharCode(32);
  106094. buffer._contents += t3;
  106095. }
  106096. t1.readChar$0();
  106097. continue;
  106098. }
  106099. if (10 === next || 13 === next || 12 === next) {
  106100. t3 = t1.peekChar$1(-1);
  106101. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  106102. buffer._contents += "\n";
  106103. t1.readChar$0();
  106104. wroteNewline = true;
  106105. continue;
  106106. }
  106107. if (40 === next || 123 === next || 91 === next) {
  106108. t3 = A.Primitives_stringFromCharCode(next);
  106109. buffer._contents += t3;
  106110. brackets.push(A.opposite0(t1.readChar$0()));
  106111. wroteNewline = wroteNewline0;
  106112. continue;
  106113. }
  106114. if (41 === next || 125 === next || 93 === next) {
  106115. if (brackets.length === 0)
  106116. break;
  106117. t3 = A.Primitives_stringFromCharCode(next);
  106118. buffer._contents += t3;
  106119. t1.expectChar$1(brackets.pop());
  106120. wroteNewline = wroteNewline0;
  106121. continue;
  106122. }
  106123. if (59 === next) {
  106124. if (brackets.length === 0)
  106125. break;
  106126. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106127. buffer._contents += t3;
  106128. continue;
  106129. }
  106130. if (117 === next || 85 === next) {
  106131. _0_0 = _this.tryUrl$0();
  106132. if (_0_0 != null)
  106133. buffer._contents += _0_0;
  106134. else {
  106135. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106136. buffer._contents += t3;
  106137. }
  106138. wroteNewline = wroteNewline0;
  106139. continue;
  106140. }
  106141. if (_this.lookingAtIdentifier$0()) {
  106142. t3 = _this.identifier$0();
  106143. buffer._contents += t3;
  106144. } else {
  106145. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106146. buffer._contents += t3;
  106147. }
  106148. wroteNewline = wroteNewline0;
  106149. }
  106150. if (brackets.length !== 0)
  106151. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  106152. if (!allowEmpty && buffer._contents.length === 0)
  106153. t1.error$1(0, "Expected token.");
  106154. t1 = buffer._contents;
  106155. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106156. },
  106157. declarationValue$0() {
  106158. return this.declarationValue$1$allowEmpty(false);
  106159. },
  106160. tryUrl$0() {
  106161. var buffer, _0_0, t2, _this = this,
  106162. t1 = _this.scanner,
  106163. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106164. if (!_this.scanIdentifier$1("url"))
  106165. return null;
  106166. if (!t1.scanChar$1(40)) {
  106167. t1.set$state(start);
  106168. return null;
  106169. }
  106170. _this.whitespace$0();
  106171. buffer = new A.StringBuffer("");
  106172. buffer._contents = "" + "url(";
  106173. for (; true;) {
  106174. _0_0 = t1.peekChar$0();
  106175. if (_0_0 == null)
  106176. break;
  106177. if (92 === _0_0) {
  106178. t2 = _this.escape$0();
  106179. buffer._contents += t2;
  106180. continue;
  106181. }
  106182. t2 = true;
  106183. if (37 !== _0_0)
  106184. if (38 !== _0_0)
  106185. if (35 !== _0_0)
  106186. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  106187. if (t2) {
  106188. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106189. buffer._contents += t2;
  106190. continue;
  106191. }
  106192. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  106193. _this.whitespace$0();
  106194. if (t1.peekChar$0() !== 41)
  106195. break;
  106196. continue;
  106197. }
  106198. if (41 === _0_0) {
  106199. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106200. t2 = buffer._contents += t2;
  106201. return t2.charCodeAt(0) == 0 ? t2 : t2;
  106202. }
  106203. break;
  106204. }
  106205. t1.set$state(start);
  106206. return null;
  106207. },
  106208. variableName$0() {
  106209. this.scanner.expectChar$1(36);
  106210. return this.identifier$1$normalize(true);
  106211. },
  106212. escape$1$identifierStart(identifierStart) {
  106213. var value, _0_0, i, next, t2, exception,
  106214. _s25_ = "Expected escape sequence.",
  106215. t1 = this.scanner,
  106216. start = t1._string_scanner$_position;
  106217. t1.expectChar$1(92);
  106218. value = 0;
  106219. $label0$1: {
  106220. _0_0 = t1.peekChar$0();
  106221. if (_0_0 == null)
  106222. t1.error$1(0, _s25_);
  106223. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  106224. t1.error$1(0, _s25_);
  106225. if (A.CharacterExtension_get_isHex0(_0_0)) {
  106226. for (i = 0; i < 6; ++i) {
  106227. next = t1.peekChar$0();
  106228. if (next != null) {
  106229. t2 = true;
  106230. if (!(next >= 48 && next <= 57))
  106231. if (!(next >= 97 && next <= 102))
  106232. t2 = next >= 65 && next <= 70;
  106233. t2 = !t2;
  106234. } else
  106235. t2 = true;
  106236. if (t2)
  106237. break;
  106238. value *= 16;
  106239. value += A.asHex0(t1.readChar$0());
  106240. }
  106241. this.scanCharIf$1(new A.Parser_escape_closure0());
  106242. break $label0$1;
  106243. }
  106244. value = t1.readChar$0();
  106245. }
  106246. if (identifierStart) {
  106247. t2 = value;
  106248. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  106249. } else {
  106250. t2 = value;
  106251. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  106252. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  106253. else
  106254. t2 = true;
  106255. }
  106256. if (t2)
  106257. try {
  106258. t2 = A.Primitives_stringFromCharCode(value);
  106259. return t2;
  106260. } catch (exception) {
  106261. if (type$.RangeError._is(A.unwrapException(exception)))
  106262. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  106263. else
  106264. throw exception;
  106265. }
  106266. else {
  106267. t1 = true;
  106268. if (!(value <= 31))
  106269. if (!J.$eq$(value, 127))
  106270. if (identifierStart) {
  106271. t1 = value;
  106272. t1 = t1 >= 48 && t1 <= 57;
  106273. } else
  106274. t1 = false;
  106275. if (t1) {
  106276. t1 = "" + A.Primitives_stringFromCharCode(92);
  106277. if (value > 15)
  106278. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  106279. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  106280. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106281. } else
  106282. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  106283. }
  106284. },
  106285. escape$0() {
  106286. return this.escape$1$identifierStart(false);
  106287. },
  106288. scanCharIf$1(condition) {
  106289. var t1 = this.scanner;
  106290. if (!condition.call$1(t1.peekChar$0()))
  106291. return false;
  106292. t1.readChar$0();
  106293. return true;
  106294. },
  106295. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  106296. var t3,
  106297. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  106298. t2 = this.scanner,
  106299. _0_0 = t2.peekChar$0();
  106300. if (_0_0 != null) {
  106301. t3 = t1.call$1(_0_0);
  106302. t3 = t3;
  106303. } else
  106304. t3 = false;
  106305. if (t3) {
  106306. t2.readChar$0();
  106307. return true;
  106308. }
  106309. if (92 === _0_0) {
  106310. t3 = t2._string_scanner$_position;
  106311. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  106312. return true;
  106313. t2.set$state(new A._SpanScannerState(t2, t3));
  106314. }
  106315. return false;
  106316. },
  106317. scanIdentChar$1(char) {
  106318. return this.scanIdentChar$2$caseSensitive(char, false);
  106319. },
  106320. expectIdentChar$1(letter) {
  106321. var t1;
  106322. if (this.scanIdentChar$2$caseSensitive(letter, false))
  106323. return;
  106324. t1 = this.scanner;
  106325. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  106326. },
  106327. lookingAtIdentifier$1($forward) {
  106328. var t1, _1_0, t2, _0_0;
  106329. if ($forward == null)
  106330. $forward = 0;
  106331. t1 = this.scanner;
  106332. _1_0 = t1.peekChar$1($forward);
  106333. $label0$0: {
  106334. if (A._isInt(_1_0))
  106335. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  106336. else
  106337. t2 = false;
  106338. if (t2 || 92 === _1_0) {
  106339. t1 = true;
  106340. break $label0$0;
  106341. }
  106342. if (45 === _1_0) {
  106343. _0_0 = t1.peekChar$1($forward + 1);
  106344. $label1$1: {
  106345. if (A._isInt(_0_0))
  106346. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  106347. else
  106348. t1 = false;
  106349. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  106350. if (t1)
  106351. break $label1$1;
  106352. break $label1$1;
  106353. }
  106354. break $label0$0;
  106355. }
  106356. t1 = false;
  106357. break $label0$0;
  106358. }
  106359. return t1;
  106360. },
  106361. lookingAtIdentifier$0() {
  106362. return this.lookingAtIdentifier$1(null);
  106363. },
  106364. lookingAtIdentifierBody$0() {
  106365. var t1,
  106366. next = this.scanner.peekChar$0();
  106367. if (next != null) {
  106368. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  106369. t1 = next >= 48 && next <= 57 || next === 45;
  106370. else
  106371. t1 = true;
  106372. t1 = t1 || next === 92;
  106373. } else
  106374. t1 = false;
  106375. return t1;
  106376. },
  106377. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  106378. var t1, t2, _this = this;
  106379. if (!_this.lookingAtIdentifier$0())
  106380. return false;
  106381. t1 = _this.scanner;
  106382. t2 = t1._string_scanner$_position;
  106383. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  106384. return true;
  106385. else {
  106386. t1.set$state(new A._SpanScannerState(t1, t2));
  106387. return false;
  106388. }
  106389. },
  106390. scanIdentifier$1(text) {
  106391. return this.scanIdentifier$2$caseSensitive(text, false);
  106392. },
  106393. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  106394. var t1, t2, t3;
  106395. 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();) {
  106396. t3 = t1.__internal$_current;
  106397. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  106398. return false;
  106399. }
  106400. return true;
  106401. },
  106402. expectIdentifier$2$name(text, $name) {
  106403. var t1, start, t2, t3, t4, t5, t6;
  106404. if ($name == null)
  106405. $name = '"' + text + '"';
  106406. t1 = this.scanner;
  106407. start = t1._string_scanner$_position;
  106408. 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();) {
  106409. t6 = t2.__internal$_current;
  106410. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  106411. continue;
  106412. t1.error$2$position(0, t5, start);
  106413. }
  106414. if (!this.lookingAtIdentifierBody$0())
  106415. return;
  106416. t1.error$2$position(0, t4, start);
  106417. },
  106418. expectIdentifier$1(text) {
  106419. return this.expectIdentifier$2$name(text, null);
  106420. },
  106421. rawText$1(consumer) {
  106422. var t1 = this.scanner,
  106423. start = t1._string_scanner$_position;
  106424. consumer.call$0();
  106425. return t1.substring$1(0, start);
  106426. },
  106427. spanFrom$1(state) {
  106428. var span = this.scanner.spanFrom$1(state);
  106429. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  106430. },
  106431. error$3(_, message, span, trace) {
  106432. var exception = new A.StringScannerException(this.scanner.string, message, span);
  106433. if (trace == null)
  106434. throw A.wrapException(exception);
  106435. else
  106436. A.throwWithTrace0(exception, this.get$error(this), trace);
  106437. },
  106438. error$2(_, message, span) {
  106439. return this.error$3(0, message, span, null);
  106440. },
  106441. withErrorMessage$1$2(message, callback) {
  106442. var error, stackTrace, t1, exception;
  106443. try {
  106444. t1 = callback.call$0();
  106445. return t1;
  106446. } catch (exception) {
  106447. t1 = A.unwrapException(exception);
  106448. if (type$.SourceSpanFormatException._is(t1)) {
  106449. error = t1;
  106450. stackTrace = A.getTraceFromException(exception);
  106451. t1 = J.get$span$z(error);
  106452. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  106453. } else
  106454. throw exception;
  106455. }
  106456. },
  106457. withErrorMessage$2(message, callback) {
  106458. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  106459. },
  106460. wrapSpanFormatException$1$1(callback) {
  106461. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  106462. _s8_ = "expected";
  106463. try {
  106464. try {
  106465. t3 = callback.call$0();
  106466. return t3;
  106467. } catch (exception) {
  106468. t3 = A.unwrapException(exception);
  106469. if (type$.SourceSpanFormatException._is(t3)) {
  106470. error = t3;
  106471. stackTrace = A.getTraceFromException(exception);
  106472. map = _this._parser1$_interpolationMap;
  106473. if (map == null)
  106474. throw exception;
  106475. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  106476. } else
  106477. throw exception;
  106478. }
  106479. } catch (exception) {
  106480. t3 = A.unwrapException(exception);
  106481. if (type$.SourceSpanFormatException._is(t3)) {
  106482. error0 = t3;
  106483. stackTrace0 = A.getTraceFromException(exception);
  106484. span = J.get$span$z(error0);
  106485. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  106486. span = _this._parser1$_adjustExceptionSpan$1(span);
  106487. t1 = error0._span_exception$_message;
  106488. t2 = span;
  106489. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error0, stackTrace0);
  106490. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  106491. error1 = t3;
  106492. stackTrace1 = A.getTraceFromException(exception);
  106493. span0 = J.get$span$z(error1);
  106494. t3 = type$.FileSpan;
  106495. t4 = type$.String;
  106496. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  106497. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  106498. span0 = _this._parser1$_adjustExceptionSpan$1(span0);
  106499. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  106500. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  106501. t2 = t3.get$current(t3);
  106502. span1 = null;
  106503. description = null;
  106504. _0_0 = t2;
  106505. span1 = _0_0._0;
  106506. description = _0_0._1;
  106507. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span1), description);
  106508. }
  106509. secondarySpans = t1;
  106510. }
  106511. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  106512. } else
  106513. throw exception;
  106514. }
  106515. },
  106516. wrapSpanFormatException$1(callback) {
  106517. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  106518. },
  106519. _parser1$_adjustExceptionSpan$1(span) {
  106520. var start, t1;
  106521. if (span.get$length(span) > 0)
  106522. return span;
  106523. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  106524. if (start.$eq(0, span.get$start(span)))
  106525. t1 = span;
  106526. else {
  106527. t1 = start.offset;
  106528. t1 = A._FileSpan$(start.file, t1, t1);
  106529. }
  106530. return t1;
  106531. },
  106532. _parser1$_firstNewlineBefore$1($location) {
  106533. var lastNewline, codeUnit,
  106534. t1 = $location.file,
  106535. t2 = $location.offset,
  106536. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  106537. index = t2 - 1;
  106538. for (lastNewline = null; index >= 0;) {
  106539. codeUnit = text.charCodeAt(index);
  106540. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  106541. if (lastNewline == null)
  106542. t1 = $location;
  106543. else {
  106544. t2 = new A.FileLocation(t1, lastNewline);
  106545. t2.FileLocation$_$2(t1, lastNewline);
  106546. t1 = t2;
  106547. }
  106548. return t1;
  106549. }
  106550. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  106551. lastNewline = index;
  106552. --index;
  106553. }
  106554. return $location;
  106555. }
  106556. };
  106557. A.Parser__parseIdentifier_closure0.prototype = {
  106558. call$0() {
  106559. var t1 = this.$this,
  106560. result = t1.identifier$0();
  106561. t1.scanner.expectDone$0();
  106562. return result;
  106563. },
  106564. $signature: 26
  106565. };
  106566. A.Parser_escape_closure0.prototype = {
  106567. call$1(char) {
  106568. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  106569. },
  106570. $signature: 30
  106571. };
  106572. A.Parser_scanIdentChar_matches0.prototype = {
  106573. call$1(actual) {
  106574. var t1 = this.char;
  106575. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  106576. },
  106577. $signature: 46
  106578. };
  106579. A.Parser_spanFrom_closure0.prototype = {
  106580. call$0() {
  106581. return this.$this._parser1$_interpolationMap.mapSpan$1(this.span);
  106582. },
  106583. $signature: 27
  106584. };
  106585. A.PlaceholderSelector0.prototype = {
  106586. accept$1$1(visitor) {
  106587. return visitor.visitPlaceholderSelector$1(this);
  106588. },
  106589. accept$1(visitor) {
  106590. return this.accept$1$1(visitor, type$.dynamic);
  106591. },
  106592. addSuffix$1(suffix) {
  106593. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  106594. },
  106595. $eq(_, other) {
  106596. if (other == null)
  106597. return false;
  106598. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  106599. },
  106600. get$hashCode(_) {
  106601. return B.JSString_methods.get$hashCode(this.name);
  106602. }
  106603. };
  106604. A.PlainCssCallable0.prototype = {
  106605. $eq(_, other) {
  106606. if (other == null)
  106607. return false;
  106608. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  106609. },
  106610. get$hashCode(_) {
  106611. return B.JSString_methods.get$hashCode(this.name);
  106612. },
  106613. $isAsyncCallable0: 1,
  106614. $isCallable: 1,
  106615. get$name(receiver) {
  106616. return this.name;
  106617. }
  106618. };
  106619. A.PrefixedMapView0.prototype = {
  106620. get$keys(_) {
  106621. return new A._PrefixedKeys0(this);
  106622. },
  106623. get$length(_) {
  106624. var t1 = this._prefixed_map_view0$_map;
  106625. return t1.get$length(t1);
  106626. },
  106627. get$isEmpty(_) {
  106628. var t1 = this._prefixed_map_view0$_map;
  106629. return t1.get$isEmpty(t1);
  106630. },
  106631. get$isNotEmpty(_) {
  106632. var t1 = this._prefixed_map_view0$_map;
  106633. return t1.get$isNotEmpty(t1);
  106634. },
  106635. $index(_, key) {
  106636. 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;
  106637. },
  106638. containsKey$1(key) {
  106639. 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));
  106640. }
  106641. };
  106642. A._PrefixedKeys0.prototype = {
  106643. get$length(_) {
  106644. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106645. return t1.get$length(t1);
  106646. },
  106647. get$iterator(_) {
  106648. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106649. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  106650. return t1.get$iterator(t1);
  106651. },
  106652. contains$1(_, key) {
  106653. return this._prefixed_map_view0$_view.containsKey$1(key);
  106654. }
  106655. };
  106656. A._PrefixedKeys_iterator_closure0.prototype = {
  106657. call$1(key) {
  106658. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  106659. },
  106660. $signature: 5
  106661. };
  106662. A.PseudoSelector0.prototype = {
  106663. get$isHostContext() {
  106664. return this.isClass && this.name === "host-context" && this.selector != null;
  106665. },
  106666. get$hasComplicatedSuperselectorSemantics() {
  106667. return !this.isClass || this.selector != null;
  106668. },
  106669. get$specificity() {
  106670. var result, _this = this,
  106671. value = _this._pseudo$__PseudoSelector_specificity_FI;
  106672. if (value === $) {
  106673. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  106674. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  106675. _this._pseudo$__PseudoSelector_specificity_FI = result;
  106676. value = result;
  106677. }
  106678. return value;
  106679. },
  106680. withSelector$1(selector) {
  106681. var _this = this;
  106682. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  106683. },
  106684. addSuffix$1(suffix) {
  106685. var _this = this;
  106686. if (_this.argument != null || _this.selector != null)
  106687. _this.super$SimpleSelector$addSuffix0(suffix);
  106688. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  106689. },
  106690. unify$1(compound) {
  106691. var other, result, t2, addedThis, _i, simple, _this = this,
  106692. t1 = _this.name;
  106693. if (t1 === "host" || t1 === "host-context") {
  106694. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  106695. return null;
  106696. } else {
  106697. t1 = false;
  106698. if (compound.length === 1) {
  106699. other = compound[0];
  106700. if (!(other instanceof A.UniversalSelector0)) {
  106701. if (other instanceof A.PseudoSelector0)
  106702. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  106703. } else
  106704. t1 = true;
  106705. } else
  106706. other = null;
  106707. if (t1)
  106708. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  106709. }
  106710. if (B.JSArray_methods.contains$1(compound, _this))
  106711. return compound;
  106712. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  106713. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  106714. simple = compound[_i];
  106715. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  106716. if (t2)
  106717. return null;
  106718. result.push(_this);
  106719. addedThis = true;
  106720. }
  106721. result.push(simple);
  106722. }
  106723. if (!addedThis)
  106724. result.push(_this);
  106725. return result;
  106726. },
  106727. isSuperselector$1(other) {
  106728. var selector, t1, t2, _this = this;
  106729. if (_this.super$SimpleSelector$isSuperselector0(other))
  106730. return true;
  106731. selector = _this.selector;
  106732. if (selector == null)
  106733. return _this.$eq(0, other);
  106734. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  106735. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  106736. return t1 == null ? false : t1;
  106737. }
  106738. t1 = type$.JSArray_SimpleSelector_2;
  106739. t2 = _this.span;
  106740. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  106741. },
  106742. accept$1$1(visitor) {
  106743. return visitor.visitPseudoSelector$1(this);
  106744. },
  106745. accept$1(visitor) {
  106746. return this.accept$1$1(visitor, type$.dynamic);
  106747. },
  106748. $eq(_, other) {
  106749. var _this = this;
  106750. if (other == null)
  106751. return false;
  106752. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  106753. },
  106754. get$hashCode(_) {
  106755. var _this = this,
  106756. t1 = B.JSString_methods.get$hashCode(_this.name),
  106757. t2 = !_this.isClass ? 519018 : 218159;
  106758. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  106759. }
  106760. };
  106761. A.PseudoSelector_specificity_closure0.prototype = {
  106762. call$0() {
  106763. var selector, t2,
  106764. t1 = this.$this;
  106765. if (!t1.isClass)
  106766. return 1;
  106767. selector = t1.selector;
  106768. if (selector == null)
  106769. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106770. switch (t1.normalizedName) {
  106771. case "where":
  106772. return 0;
  106773. case "is":
  106774. case "not":
  106775. case "has":
  106776. case "matches":
  106777. t1 = selector.components;
  106778. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  106779. case "nth-child":
  106780. case "nth-last-child":
  106781. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  106782. t2 = selector.components;
  106783. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  106784. default:
  106785. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106786. }
  106787. },
  106788. $signature: 10
  106789. };
  106790. A.PseudoSelector_specificity__closure1.prototype = {
  106791. call$1(component) {
  106792. return component.get$specificity();
  106793. },
  106794. $signature: 204
  106795. };
  106796. A.PseudoSelector_specificity__closure2.prototype = {
  106797. call$1(component) {
  106798. return component.get$specificity();
  106799. },
  106800. $signature: 204
  106801. };
  106802. A.PseudoSelector_unify_closure0.prototype = {
  106803. call$1(simple) {
  106804. var t1;
  106805. if (simple instanceof A.PseudoSelector0)
  106806. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  106807. else
  106808. t1 = false;
  106809. return t1;
  106810. },
  106811. $signature: 14
  106812. };
  106813. A.PublicMemberMapView0.prototype = {
  106814. get$keys(_) {
  106815. var t1 = this._public_member_map_view0$_inner;
  106816. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  106817. },
  106818. containsKey$1(key) {
  106819. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  106820. },
  106821. $index(_, key) {
  106822. if (typeof key == "string" && A.isPublic0(key))
  106823. return this._public_member_map_view0$_inner.$index(0, key);
  106824. return null;
  106825. }
  106826. };
  106827. A.QualifiedName0.prototype = {
  106828. $eq(_, other) {
  106829. if (other == null)
  106830. return false;
  106831. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  106832. },
  106833. get$hashCode(_) {
  106834. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  106835. },
  106836. toString$0(_) {
  106837. var t1 = this.namespace,
  106838. t2 = this.name;
  106839. return t1 == null ? t2 : t1 + "|" + t2;
  106840. }
  106841. };
  106842. A.JSClass0.prototype = {};
  106843. A.JSClassExtension_setCustomInspect_closure.prototype = {
  106844. call$4($self, _, __, ___) {
  106845. return this.inspect.call$1($self);
  106846. },
  106847. call$3($self, _, __) {
  106848. return this.call$4($self, _, __, null);
  106849. },
  106850. "call*": "call$4",
  106851. $requiredArgCount: 3,
  106852. $defaultValues() {
  106853. return [null];
  106854. },
  106855. $signature: 533
  106856. };
  106857. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  106858. call$2($name, body) {
  106859. this._this[$name] = A.allowInteropNamed($name, body);
  106860. return null;
  106861. },
  106862. $signature: 109
  106863. };
  106864. A.JSClassExtension_get_defineMethod_closure.prototype = {
  106865. call$2($name, body) {
  106866. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  106867. return null;
  106868. },
  106869. $signature: 109
  106870. };
  106871. A.JSClassExtension_get_defineGetter_closure.prototype = {
  106872. call$2($name, body) {
  106873. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  106874. return null;
  106875. },
  106876. $signature: 109
  106877. };
  106878. A.RenderContext0.prototype = {};
  106879. A.RenderContextOptions0.prototype = {};
  106880. A.RenderContextResult0.prototype = {};
  106881. A.RenderContextResultStats0.prototype = {};
  106882. A.RenderOptions.prototype = {};
  106883. A.RenderResult.prototype = {};
  106884. A.RenderResultStats.prototype = {};
  106885. A.ReplaceExpressionVisitor0.prototype = {
  106886. visitBinaryOperationExpression$1(_, node) {
  106887. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  106888. },
  106889. visitBooleanExpression$1(_, node) {
  106890. return node;
  106891. },
  106892. visitColorExpression$1(_, node) {
  106893. return node;
  106894. },
  106895. visitFunctionExpression$1(_, node) {
  106896. var t1 = node.originalName,
  106897. t2 = this.visitArgumentInvocation$1(node.$arguments);
  106898. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  106899. },
  106900. visitInterpolatedFunctionExpression$1(_, node) {
  106901. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  106902. },
  106903. visitIfExpression$1(_, node) {
  106904. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  106905. },
  106906. visitListExpression$1(_, node) {
  106907. var t1 = node.contents;
  106908. 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);
  106909. },
  106910. visitMapExpression$1(_, node) {
  106911. var t2, t3, _i, t4, key, value,
  106912. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  106913. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  106914. t4 = t2[_i];
  106915. key = t4._0;
  106916. value = t4._1;
  106917. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  106918. }
  106919. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  106920. },
  106921. visitNullExpression$1(_, node) {
  106922. return node;
  106923. },
  106924. visitNumberExpression$1(_, node) {
  106925. return node;
  106926. },
  106927. visitParenthesizedExpression$1(_, node) {
  106928. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  106929. },
  106930. visitSelectorExpression$1(_, node) {
  106931. return node;
  106932. },
  106933. visitStringExpression$1(_, node) {
  106934. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  106935. },
  106936. visitSupportsExpression$1(_, node) {
  106937. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  106938. },
  106939. visitUnaryOperationExpression$1(_, node) {
  106940. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  106941. },
  106942. visitValueExpression$1(_, node) {
  106943. return node;
  106944. },
  106945. visitVariableExpression$1(_, node) {
  106946. return node;
  106947. },
  106948. visitArgumentInvocation$1(invocation) {
  106949. var t5, t6, _this = this,
  106950. t1 = invocation.positional,
  106951. t2 = type$.String,
  106952. t3 = type$.Expression_2,
  106953. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106954. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  106955. t6 = t5.get$current(t5);
  106956. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  106957. }
  106958. t5 = invocation.rest;
  106959. t5 = t5 == null ? null : t5.accept$1(_this);
  106960. t6 = invocation.keywordRest;
  106961. t6 = t6 == null ? null : t6.accept$1(_this);
  106962. 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);
  106963. },
  106964. visitSupportsCondition$1(condition) {
  106965. var _this = this;
  106966. if (condition instanceof A.SupportsOperation0)
  106967. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  106968. else if (condition instanceof A.SupportsNegation0)
  106969. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  106970. else if (condition instanceof A.SupportsInterpolation0)
  106971. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  106972. else if (condition instanceof A.SupportsDeclaration0)
  106973. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  106974. else
  106975. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  106976. },
  106977. visitInterpolation$1(interpolation) {
  106978. var t1 = interpolation.contents;
  106979. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  106980. }
  106981. };
  106982. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  106983. call$1(item) {
  106984. return item.accept$1(this.$this);
  106985. },
  106986. $signature: 203
  106987. };
  106988. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  106989. call$1(expression) {
  106990. return expression.accept$1(this.$this);
  106991. },
  106992. $signature: 203
  106993. };
  106994. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  106995. call$1(node) {
  106996. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  106997. },
  106998. $signature: 70
  106999. };
  107000. A.ImporterResult0.prototype = {
  107001. get$sourceMapUrl(_) {
  107002. var t1 = this._result$_sourceMapUrl;
  107003. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  107004. }
  107005. };
  107006. A.ReturnRule0.prototype = {
  107007. accept$1$1(visitor) {
  107008. return visitor.visitReturnRule$1(0, this);
  107009. },
  107010. accept$1(visitor) {
  107011. return this.accept$1$1(visitor, type$.dynamic);
  107012. },
  107013. toString$0(_) {
  107014. return "@return " + this.expression.toString$0(0) + ";";
  107015. },
  107016. get$span(receiver) {
  107017. return this.span;
  107018. }
  107019. };
  107020. A.SassParser0.prototype = {
  107021. get$currentIndentation() {
  107022. return this._sass0$_currentIndentation;
  107023. },
  107024. get$indented() {
  107025. return true;
  107026. },
  107027. styleRuleSelector$0() {
  107028. var t4,
  107029. t1 = this.scanner,
  107030. t2 = t1._string_scanner$_position,
  107031. t3 = new A.StringBuffer(""),
  107032. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  107033. do {
  107034. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  107035. t4 = A.Primitives_stringFromCharCode(10);
  107036. t4 = t3._contents += t4;
  107037. } 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()));
  107038. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107039. },
  107040. expectStatementSeparator$1($name) {
  107041. var t1, _this = this;
  107042. if (!_this.atEndOfStatement$0())
  107043. _this._sass0$_expectNewline$0();
  107044. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  107045. return;
  107046. t1 = $name == null ? "here" : "beneath a " + $name;
  107047. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  107048. },
  107049. expectStatementSeparator$0() {
  107050. return this.expectStatementSeparator$1(null);
  107051. },
  107052. atEndOfStatement$0() {
  107053. var t1 = this.scanner.peekChar$0();
  107054. if (t1 == null)
  107055. t1 = null;
  107056. else
  107057. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  107058. return t1 !== false;
  107059. },
  107060. lookingAtChildren$0() {
  107061. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  107062. },
  107063. importArgument$0() {
  107064. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  107065. $label0$0: {
  107066. t1 = _this.scanner;
  107067. _0_0 = t1.peekChar$0();
  107068. if (117 === _0_0 || 85 === _0_0) {
  107069. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107070. if (_this.scanIdentifier$1("url"))
  107071. if (t1.scanChar$1(40)) {
  107072. t1.set$state(start);
  107073. return _this.super$StylesheetParser$importArgument0();
  107074. } else
  107075. t1.set$state(start);
  107076. break $label0$0;
  107077. }
  107078. if (39 === _0_0 || 34 === _0_0)
  107079. return _this.super$StylesheetParser$importArgument0();
  107080. }
  107081. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107082. next = t1.peekChar$0();
  107083. while (true) {
  107084. t2 = false;
  107085. if (next != null)
  107086. if (next !== 44)
  107087. if (next !== 59)
  107088. t2 = !(next === 10 || next === 13 || next === 12);
  107089. if (!t2)
  107090. break;
  107091. t1.readChar$0();
  107092. next = t1.peekChar$0();
  107093. }
  107094. url = t1.substring$1(0, start.position);
  107095. span = t1.spanFrom$1(start);
  107096. if (_this.isPlainImportUrl$1(url))
  107097. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  107098. else
  107099. try {
  107100. t1 = _this.parseImportUrl$1(url);
  107101. return new A.DynamicImport0(t1, span);
  107102. } catch (exception) {
  107103. t1 = A.unwrapException(exception);
  107104. if (type$.FormatException._is(t1)) {
  107105. innerError = t1;
  107106. stackTrace = A.getTraceFromException(exception);
  107107. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  107108. } else
  107109. throw exception;
  107110. }
  107111. },
  107112. scanElse$1(ifIndentation) {
  107113. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  107114. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  107115. return false;
  107116. t1 = _this.scanner;
  107117. t2 = t1._string_scanner$_position;
  107118. startIndentation = _this._sass0$_currentIndentation;
  107119. startNextIndentation = _this._sass0$_nextIndentation;
  107120. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  107121. _this._sass0$_readIndentation$0();
  107122. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  107123. return true;
  107124. t1.set$state(new A._SpanScannerState(t1, t2));
  107125. _this._sass0$_currentIndentation = startIndentation;
  107126. _this._sass0$_nextIndentation = startNextIndentation;
  107127. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  107128. return false;
  107129. },
  107130. children$1(_, child) {
  107131. var children = A._setArrayType([], type$.JSArray_Statement_2);
  107132. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  107133. return children;
  107134. },
  107135. statements$1(statement) {
  107136. var statements, t2, _1_0,
  107137. t1 = this.scanner,
  107138. _0_0 = t1.peekChar$0();
  107139. if (9 === _0_0 || 32 === _0_0)
  107140. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  107141. statements = A._setArrayType([], type$.JSArray_Statement_2);
  107142. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  107143. _1_0 = this._sass0$_child$1(statement);
  107144. if (_1_0 != null)
  107145. statements.push(_1_0);
  107146. this._sass0$_readIndentation$0();
  107147. }
  107148. return statements;
  107149. },
  107150. _sass0$_child$1(child) {
  107151. var _0_0, _this = this,
  107152. t1 = _this.scanner,
  107153. _1_0 = t1.peekChar$0();
  107154. $label0$0: {
  107155. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  107156. t1 = null;
  107157. break $label0$0;
  107158. }
  107159. if (36 === _1_0) {
  107160. t1 = _this.variableDeclarationWithoutNamespace$0();
  107161. break $label0$0;
  107162. }
  107163. if (47 === _1_0) {
  107164. _0_0 = t1.peekChar$1(1);
  107165. $label1$1: {
  107166. if (47 === _0_0) {
  107167. t1 = _this._sass0$_silentComment$0();
  107168. break $label1$1;
  107169. }
  107170. if (42 === _0_0) {
  107171. t1 = _this._sass0$_loudComment$0();
  107172. break $label1$1;
  107173. }
  107174. t1 = child.call$0();
  107175. break $label1$1;
  107176. }
  107177. break $label0$0;
  107178. }
  107179. t1 = child.call$0();
  107180. break $label0$0;
  107181. }
  107182. return t1;
  107183. },
  107184. _sass0$_silentComment$0() {
  107185. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  107186. t1 = _this.scanner,
  107187. t2 = t1._string_scanner$_position;
  107188. t1.expect$1("//");
  107189. buffer = new A.StringBuffer("");
  107190. parentIndentation = _this._sass0$_currentIndentation;
  107191. t3 = t1.string.length;
  107192. t4 = 1 + parentIndentation;
  107193. t5 = 2 + parentIndentation;
  107194. $label0$0:
  107195. do {
  107196. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  107197. for (i = commentPrefix.length; true;) {
  107198. t6 = buffer._contents += commentPrefix;
  107199. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  107200. t6 += A.Primitives_stringFromCharCode(32);
  107201. buffer._contents = t6;
  107202. }
  107203. while (true) {
  107204. if (t1._string_scanner$_position !== t3) {
  107205. t7 = t1.peekChar$0();
  107206. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  107207. } else
  107208. t7 = false;
  107209. if (!t7)
  107210. break;
  107211. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107212. buffer._contents = t6;
  107213. }
  107214. buffer._contents = t6 + "\n";
  107215. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  107216. break $label0$0;
  107217. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  107218. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  107219. _this._sass0$_readIndentation$0();
  107220. break;
  107221. }
  107222. _this._sass0$_readIndentation$0();
  107223. }
  107224. } while (t1.scan$1("//"));
  107225. t3 = buffer._contents;
  107226. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107227. },
  107228. _sass0$_loudComment$0() {
  107229. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  107230. t1 = _this.scanner,
  107231. t2 = t1._string_scanner$_position;
  107232. t1.expect$1("/*");
  107233. t3 = new A.StringBuffer("");
  107234. t4 = A._setArrayType([], type$.JSArray_Object);
  107235. buffer = new A.InterpolationBuffer0(t3, t4);
  107236. t3._contents = "" + "/*";
  107237. parentIndentation = _this._sass0$_currentIndentation;
  107238. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  107239. if (first) {
  107240. beginningOfComment = t1._string_scanner$_position;
  107241. _this.spaces$0();
  107242. t7 = t1.peekChar$0();
  107243. if (t7 === 10 || t7 === 13 || t7 === 12) {
  107244. _this._sass0$_readIndentation$0();
  107245. t7 = A.Primitives_stringFromCharCode(32);
  107246. t3._contents += t7;
  107247. } else {
  107248. end = t1._string_scanner$_position;
  107249. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  107250. }
  107251. } else {
  107252. t7 = t3._contents += "\n";
  107253. t3._contents = t7 + " * ";
  107254. }
  107255. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  107256. t7 = A.Primitives_stringFromCharCode(32);
  107257. t3._contents += t7;
  107258. }
  107259. for (; t1._string_scanner$_position !== t6;) {
  107260. _0_0 = t1.peekChar$0();
  107261. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  107262. break;
  107263. if (35 === _0_0) {
  107264. if (t1.peekChar$1(1) === 123) {
  107265. t7 = _this.singleInterpolation$0();
  107266. buffer._interpolation_buffer0$_flushText$0();
  107267. t4.push(t7);
  107268. } else {
  107269. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107270. t3._contents += t7;
  107271. }
  107272. continue;
  107273. }
  107274. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107275. t3._contents += t7;
  107276. }
  107277. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  107278. break;
  107279. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  107280. _this._sass0$_expectNewline$0();
  107281. t7 = t3._contents += "\n";
  107282. t3._contents = t7 + " *";
  107283. }
  107284. _this._sass0$_readIndentation$0();
  107285. }
  107286. t4 = t3._contents;
  107287. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  107288. t3._contents += " */";
  107289. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  107290. },
  107291. whitespaceWithoutComments$0() {
  107292. var t1, t2, next;
  107293. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  107294. next = t1.peekChar$0();
  107295. if (next !== 9 && next !== 32)
  107296. break;
  107297. t1.readChar$0();
  107298. }
  107299. },
  107300. loudComment$0() {
  107301. var next,
  107302. t1 = this.scanner;
  107303. t1.expect$1("/*");
  107304. for (; true;) {
  107305. next = t1.readChar$0();
  107306. if (next === 10 || next === 13 || next === 12)
  107307. t1.error$1(0, "expected */.");
  107308. if (next !== 42)
  107309. continue;
  107310. do
  107311. next = t1.readChar$0();
  107312. while (next === 42);
  107313. if (next === 47)
  107314. break;
  107315. }
  107316. },
  107317. _sass0$_expectNewline$0() {
  107318. var t1 = this.scanner,
  107319. _0_0 = t1.peekChar$0();
  107320. if (59 === _0_0)
  107321. t1.error$1(0, string$.semico);
  107322. if (13 === _0_0) {
  107323. t1.readChar$0();
  107324. if (t1.peekChar$0() === 10)
  107325. t1.readChar$0();
  107326. return;
  107327. }
  107328. if (10 === _0_0 || 12 === _0_0) {
  107329. t1.readChar$0();
  107330. return;
  107331. }
  107332. t1.error$1(0, "expected newline.");
  107333. },
  107334. _sass0$_lookingAtDoubleNewline$0() {
  107335. var t2, _0_0,
  107336. t1 = this.scanner,
  107337. _1_0 = t1.peekChar$0();
  107338. $label1$1: {
  107339. t2 = false;
  107340. if (13 === _1_0) {
  107341. _0_0 = t1.peekChar$1(1);
  107342. $label0$0: {
  107343. if (10 === _0_0) {
  107344. t1 = t1.peekChar$1(2);
  107345. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  107346. break $label0$0;
  107347. }
  107348. if (13 === _0_0 || 12 === _0_0) {
  107349. t1 = true;
  107350. break $label0$0;
  107351. }
  107352. t1 = t2;
  107353. break $label0$0;
  107354. }
  107355. break $label1$1;
  107356. }
  107357. if (10 === _1_0 || 12 === _1_0) {
  107358. t1 = t1.peekChar$1(1);
  107359. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  107360. break $label1$1;
  107361. }
  107362. t1 = t2;
  107363. break $label1$1;
  107364. }
  107365. return t1;
  107366. },
  107367. _sass0$_whileIndentedLower$1(body) {
  107368. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  107369. parentIndentation = _this._sass0$_currentIndentation;
  107370. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  107371. indentation = _this._sass0$_readIndentation$0();
  107372. if (childIndentation == null)
  107373. childIndentation = indentation;
  107374. if (childIndentation !== indentation) {
  107375. t3 = t1._string_scanner$_position;
  107376. t4 = t2.getColumn$1(t3);
  107377. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  107378. }
  107379. body.call$0();
  107380. }
  107381. },
  107382. _sass0$_readIndentation$0() {
  107383. var t1, _this = this,
  107384. currentIndentation = _this._sass0$_nextIndentation;
  107385. if (currentIndentation == null)
  107386. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  107387. _this._sass0$_currentIndentation = currentIndentation;
  107388. t1 = _this._sass0$_nextIndentationEnd;
  107389. t1.toString;
  107390. _this.scanner.set$state(t1);
  107391. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  107392. return currentIndentation;
  107393. },
  107394. _sass0$_peekIndentation$0() {
  107395. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  107396. _0_0 = _this._sass0$_nextIndentation;
  107397. if (_0_0 != null)
  107398. return _0_0;
  107399. t1 = _this.scanner;
  107400. t2 = t1._string_scanner$_position;
  107401. t3 = t1.string.length;
  107402. if (t2 === t3) {
  107403. _this._sass0$_nextIndentation = 0;
  107404. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  107405. return 0;
  107406. }
  107407. start = new A._SpanScannerState(t1, t2);
  107408. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  107409. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  107410. containsTab = A._Cell$();
  107411. containsSpace = A._Cell$();
  107412. nextIndentation = A._Cell$();
  107413. do {
  107414. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  107415. nextIndentation.__late_helper$_value = 0;
  107416. for (; true;) {
  107417. $label0$0: {
  107418. _1_0 = t1.peekChar$0();
  107419. if (32 === _1_0) {
  107420. containsSpace.__late_helper$_value = true;
  107421. break $label0$0;
  107422. }
  107423. if (9 === _1_0) {
  107424. containsTab.__late_helper$_value = true;
  107425. break $label0$0;
  107426. }
  107427. break;
  107428. }
  107429. t2 = nextIndentation.__late_helper$_value;
  107430. if (t2 === nextIndentation)
  107431. A.throwExpression(A.LateError$localNI(""));
  107432. nextIndentation.__late_helper$_value = t2 + 1;
  107433. t1.readChar$0();
  107434. }
  107435. t2 = t1._string_scanner$_position;
  107436. if (t2 === t3) {
  107437. _this._sass0$_nextIndentation = 0;
  107438. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  107439. t1.set$state(start);
  107440. return 0;
  107441. }
  107442. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  107443. t2 = containsTab._readLocal$0();
  107444. t3 = containsSpace._readLocal$0();
  107445. if (t2) {
  107446. if (t3) {
  107447. t2 = t1._string_scanner$_position;
  107448. t3 = t1._sourceFile;
  107449. t4 = t3.getColumn$1(t2);
  107450. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107451. } else if (_this._sass0$_spaces === true) {
  107452. t2 = t1._string_scanner$_position;
  107453. t3 = t1._sourceFile;
  107454. t4 = t3.getColumn$1(t2);
  107455. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107456. }
  107457. } else if (t3 && _this._sass0$_spaces === false) {
  107458. t2 = t1._string_scanner$_position;
  107459. t3 = t1._sourceFile;
  107460. t4 = t3.getColumn$1(t2);
  107461. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107462. }
  107463. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  107464. if (nextIndentation._readLocal$0() > 0)
  107465. if (_this._sass0$_spaces == null)
  107466. _this._sass0$_spaces = containsSpace._readLocal$0();
  107467. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107468. t1.set$state(start);
  107469. return nextIndentation._readLocal$0();
  107470. }
  107471. };
  107472. A.SassParser_styleRuleSelector_closure0.prototype = {
  107473. call$1(char) {
  107474. return char === 10 || char === 13 || char === 12;
  107475. },
  107476. $signature: 30
  107477. };
  107478. A.SassParser_children_closure0.prototype = {
  107479. call$0() {
  107480. var _0_0 = this.$this._sass0$_child$1(this.child);
  107481. if (_0_0 != null)
  107482. this.children.push(_0_0);
  107483. },
  107484. $signature: 0
  107485. };
  107486. A.SassParser__peekIndentation_closure1.prototype = {
  107487. call$1(char) {
  107488. return char === 10 || char === 13 || char === 12;
  107489. },
  107490. $signature: 30
  107491. };
  107492. A.SassParser__peekIndentation_closure2.prototype = {
  107493. call$1(char) {
  107494. return char === 10 || char === 13 || char === 12;
  107495. },
  107496. $signature: 30
  107497. };
  107498. A._Exports.prototype = {};
  107499. A._wrapMain_closure.prototype = {
  107500. call$1(_) {
  107501. return A._translateReturnValue(this.main.call$0());
  107502. },
  107503. $signature: 105
  107504. };
  107505. A._wrapMain_closure0.prototype = {
  107506. call$1(args) {
  107507. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  107508. },
  107509. $signature: 105
  107510. };
  107511. A.ScssParser0.prototype = {
  107512. get$indented() {
  107513. return false;
  107514. },
  107515. get$currentIndentation() {
  107516. return 0;
  107517. },
  107518. styleRuleSelector$0() {
  107519. return this.almostAnyValue$0();
  107520. },
  107521. expectStatementSeparator$1($name) {
  107522. var t1, _0_0;
  107523. this.whitespaceWithoutComments$0();
  107524. t1 = this.scanner;
  107525. if (t1._string_scanner$_position === t1.string.length)
  107526. return;
  107527. _0_0 = t1.peekChar$0();
  107528. if (59 === _0_0 || 125 === _0_0)
  107529. return;
  107530. t1.expectChar$1(59);
  107531. },
  107532. expectStatementSeparator$0() {
  107533. return this.expectStatementSeparator$1(null);
  107534. },
  107535. atEndOfStatement$0() {
  107536. var next = this.scanner.peekChar$0();
  107537. return next == null || next === 59 || next === 125 || next === 123;
  107538. },
  107539. lookingAtChildren$0() {
  107540. return this.scanner.peekChar$0() === 123;
  107541. },
  107542. scanElse$1(ifIndentation) {
  107543. var t3, _this = this,
  107544. t1 = _this.scanner,
  107545. t2 = t1._string_scanner$_position;
  107546. _this.whitespace$0();
  107547. t3 = t1._string_scanner$_position;
  107548. if (t1.scanChar$1(64)) {
  107549. if (_this.scanIdentifier$2$caseSensitive("else", true))
  107550. return true;
  107551. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  107552. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_xw8, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  107553. t1.set$position(t1._string_scanner$_position - 2);
  107554. return true;
  107555. }
  107556. }
  107557. t1.set$state(new A._SpanScannerState(t1, t2));
  107558. return false;
  107559. },
  107560. children$1(_, child) {
  107561. var children, _this = this,
  107562. t1 = _this.scanner;
  107563. t1.expectChar$1(123);
  107564. _this.whitespaceWithoutComments$0();
  107565. children = A._setArrayType([], type$.JSArray_Statement_2);
  107566. for (; true;)
  107567. switch (t1.peekChar$0()) {
  107568. case 36:
  107569. children.push(_this.variableDeclarationWithoutNamespace$0());
  107570. break;
  107571. case 47:
  107572. switch (t1.peekChar$1(1)) {
  107573. case 47:
  107574. children.push(_this._scss0$_silentComment$0());
  107575. _this.whitespaceWithoutComments$0();
  107576. break;
  107577. case 42:
  107578. children.push(_this._scss0$_loudComment$0());
  107579. _this.whitespaceWithoutComments$0();
  107580. break;
  107581. default:
  107582. children.push(child.call$0());
  107583. }
  107584. break;
  107585. case 59:
  107586. t1.readChar$0();
  107587. _this.whitespaceWithoutComments$0();
  107588. break;
  107589. case 125:
  107590. t1.expectChar$1(125);
  107591. return children;
  107592. default:
  107593. children.push(child.call$0());
  107594. }
  107595. },
  107596. statements$1(statement) {
  107597. var t1, t2, _0_0, _1_0, _this = this,
  107598. statements = A._setArrayType([], type$.JSArray_Statement_2);
  107599. _this.whitespaceWithoutComments$0();
  107600. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  107601. switch (t1.peekChar$0()) {
  107602. case 36:
  107603. statements.push(_this.variableDeclarationWithoutNamespace$0());
  107604. break;
  107605. case 47:
  107606. switch (t1.peekChar$1(1)) {
  107607. case 47:
  107608. statements.push(_this._scss0$_silentComment$0());
  107609. _this.whitespaceWithoutComments$0();
  107610. break;
  107611. case 42:
  107612. statements.push(_this._scss0$_loudComment$0());
  107613. _this.whitespaceWithoutComments$0();
  107614. break;
  107615. default:
  107616. _0_0 = statement.call$0();
  107617. if (_0_0 != null)
  107618. statements.push(_0_0);
  107619. }
  107620. break;
  107621. case 59:
  107622. t1.readChar$0();
  107623. _this.whitespaceWithoutComments$0();
  107624. break;
  107625. default:
  107626. _1_0 = statement.call$0();
  107627. if (_1_0 != null)
  107628. statements.push(_1_0);
  107629. }
  107630. return statements;
  107631. },
  107632. _scss0$_silentComment$0() {
  107633. var t2, t3, _this = this,
  107634. t1 = _this.scanner,
  107635. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107636. t1.expect$1("//");
  107637. t2 = t1.string.length;
  107638. do {
  107639. while (true) {
  107640. if (t1._string_scanner$_position !== t2) {
  107641. t3 = t1.readChar$0();
  107642. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  107643. } else
  107644. t3 = false;
  107645. if (!t3)
  107646. break;
  107647. }
  107648. if (t1._string_scanner$_position === t2)
  107649. break;
  107650. _this.spaces$0();
  107651. } while (t1.scan$1("//"));
  107652. if (_this.get$plainCss())
  107653. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  107654. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  107655. },
  107656. _scss0$_loudComment$0() {
  107657. var t3, t4, buffer, t5, endPosition, t6, result,
  107658. t1 = this.scanner,
  107659. t2 = t1._string_scanner$_position;
  107660. t1.expect$1("/*");
  107661. t3 = new A.StringBuffer("");
  107662. t4 = A._setArrayType([], type$.JSArray_Object);
  107663. buffer = new A.InterpolationBuffer0(t3, t4);
  107664. t3._contents = "" + "/*";
  107665. $label0$1:
  107666. for (; true;)
  107667. switch (t1.peekChar$0()) {
  107668. case 35:
  107669. if (t1.peekChar$1(1) === 123) {
  107670. t5 = this.singleInterpolation$0();
  107671. buffer._interpolation_buffer0$_flushText$0();
  107672. t4.push(t5);
  107673. } else {
  107674. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107675. t3._contents += t5;
  107676. }
  107677. break;
  107678. case 42:
  107679. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107680. t3._contents += t5;
  107681. if (t1.peekChar$0() !== 47)
  107682. continue $label0$1;
  107683. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107684. t3._contents += t5;
  107685. endPosition = t1._string_scanner$_position;
  107686. t5 = t1._sourceFile;
  107687. t6 = new A._SpanScannerState(t1, t2).position;
  107688. t1 = new A._FileSpan(t5, t6, endPosition);
  107689. t1._FileSpan$3(t5, t6, endPosition);
  107690. t6 = type$.Object;
  107691. t5 = A.List_List$of(t4, true, t6);
  107692. t2 = t3._contents;
  107693. if (t2.length !== 0)
  107694. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107695. result = A.List_List$from(t5, false, t6);
  107696. result.fixed$length = Array;
  107697. result.immutable$list = Array;
  107698. t2 = new A.Interpolation0(result, t1);
  107699. t2.Interpolation$20(t5, t1);
  107700. return new A.LoudComment0(t2);
  107701. case 13:
  107702. t1.readChar$0();
  107703. if (t1.peekChar$0() !== 10) {
  107704. t5 = A.Primitives_stringFromCharCode(10);
  107705. t3._contents += t5;
  107706. }
  107707. break;
  107708. case 12:
  107709. t1.readChar$0();
  107710. t5 = A.Primitives_stringFromCharCode(10);
  107711. t3._contents += t5;
  107712. break;
  107713. default:
  107714. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107715. t3._contents += t5;
  107716. }
  107717. }
  107718. };
  107719. A.Selector0.prototype = {
  107720. assertNotBogus$1$name($name) {
  107721. if (!this.accept$1(B._IsBogusVisitor_true0))
  107722. return;
  107723. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_5pG);
  107724. },
  107725. toString$0(_) {
  107726. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  107727. this.accept$1(visitor);
  107728. return visitor._serialize0$_buffer.toString$0(0);
  107729. },
  107730. $isAstNode0: 1,
  107731. get$span(receiver) {
  107732. return this.span;
  107733. }
  107734. };
  107735. A._IsInvisibleVisitor2.prototype = {
  107736. visitSelectorList$1(list) {
  107737. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  107738. },
  107739. visitComplexSelector$1(complex) {
  107740. var t1;
  107741. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  107742. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  107743. else
  107744. t1 = true;
  107745. return t1;
  107746. },
  107747. visitPlaceholderSelector$1(placeholder) {
  107748. return true;
  107749. },
  107750. visitPseudoSelector$1(pseudo) {
  107751. var t1,
  107752. _0_0 = pseudo.selector;
  107753. if (_0_0 != null) {
  107754. if (pseudo.name === "not")
  107755. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  107756. else
  107757. t1 = this.visitSelectorList$1(_0_0);
  107758. return t1;
  107759. } else
  107760. return false;
  107761. }
  107762. };
  107763. A._IsBogusVisitor0.prototype = {
  107764. visitComplexSelector$1(complex) {
  107765. var t2,
  107766. t1 = complex.components;
  107767. if (t1.length === 0)
  107768. return complex.leadingCombinators.length !== 0;
  107769. else {
  107770. t2 = this.includeLeadingCombinator ? 0 : 1;
  107771. 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));
  107772. }
  107773. },
  107774. visitPseudoSelector$1(pseudo) {
  107775. var selector = pseudo.selector;
  107776. if (selector == null)
  107777. return false;
  107778. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  107779. }
  107780. };
  107781. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  107782. call$1(component) {
  107783. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107784. },
  107785. $signature: 52
  107786. };
  107787. A._IsUselessVisitor0.prototype = {
  107788. visitComplexSelector$1(complex) {
  107789. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  107790. },
  107791. visitPseudoSelector$1(pseudo) {
  107792. return pseudo.accept$1(B._IsBogusVisitor_true0);
  107793. }
  107794. };
  107795. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  107796. call$1(component) {
  107797. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107798. },
  107799. $signature: 52
  107800. };
  107801. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  107802. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  107803. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  107804. A.SelectorExpression0.prototype = {
  107805. accept$1$1(visitor) {
  107806. return visitor.visitSelectorExpression$1(0, this);
  107807. },
  107808. accept$1(visitor) {
  107809. return this.accept$1$1(visitor, type$.dynamic);
  107810. },
  107811. toString$0(_) {
  107812. return "&";
  107813. },
  107814. get$span(receiver) {
  107815. return this.span;
  107816. }
  107817. };
  107818. A._nest_closure0.prototype = {
  107819. call$1($arguments) {
  107820. var t1 = {},
  107821. selectors = J.$index$asx($arguments, 0).get$asList();
  107822. if (selectors.length === 0)
  107823. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107824. t1.first = true;
  107825. 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();
  107826. },
  107827. $signature: 23
  107828. };
  107829. A._nest__closure1.prototype = {
  107830. call$1(selector) {
  107831. var t1 = this._box_0,
  107832. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  107833. t1.first = false;
  107834. return result;
  107835. },
  107836. $signature: 202
  107837. };
  107838. A._nest__closure2.prototype = {
  107839. call$2($parent, child) {
  107840. return child.nestWithin$1($parent);
  107841. },
  107842. $signature: 195
  107843. };
  107844. A._append_closure1.prototype = {
  107845. call$1($arguments) {
  107846. var t1,
  107847. selectors = J.$index$asx($arguments, 0).get$asList();
  107848. if (selectors.length === 0)
  107849. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107850. t1 = A.EvaluationContext_currentOrNull0();
  107851. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2((t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan())).get$asSassList();
  107852. },
  107853. $signature: 23
  107854. };
  107855. A._append__closure1.prototype = {
  107856. call$1(selector) {
  107857. return A.SassApiValue_assertSelector0(selector, false, null);
  107858. },
  107859. $signature: 202
  107860. };
  107861. A._append__closure2.prototype = {
  107862. call$2($parent, child) {
  107863. var t1 = child.components,
  107864. t2 = this.span;
  107865. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), t2).nestWithin$1($parent);
  107866. },
  107867. $signature: 195
  107868. };
  107869. A._append___closure0.prototype = {
  107870. call$1(complex) {
  107871. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  107872. if (complex.leadingCombinators.length !== 0)
  107873. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107874. _0_0 = complex.components;
  107875. t1 = _0_0.length >= 1;
  107876. if (t1) {
  107877. component = _0_0[0];
  107878. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  107879. } else {
  107880. rest = _null;
  107881. component = rest;
  107882. }
  107883. if (!t1)
  107884. throw A.wrapException(A.StateError$("Pattern matching error"));
  107885. newCompound = A._prependParent0(component.selector);
  107886. if (newCompound == null)
  107887. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107888. t1 = this.span;
  107889. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  107890. B.JSArray_methods.addAll$1(t2, rest);
  107891. return A.ComplexSelector$0(B.List_empty13, t2, t1, false);
  107892. },
  107893. $signature: 56
  107894. };
  107895. A._extend_closure0.prototype = {
  107896. call$1($arguments) {
  107897. var target, source,
  107898. _s8_ = "selector",
  107899. _s8_0 = "extendee",
  107900. _s8_1 = "extender",
  107901. t1 = J.getInterceptor$asx($arguments),
  107902. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107903. selector.assertNotBogus$1$name(_s8_);
  107904. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107905. target.assertNotBogus$1$name(_s8_0);
  107906. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  107907. source.assertNotBogus$1$name(_s8_1);
  107908. t1 = A.EvaluationContext_currentOrNull0();
  107909. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  107910. },
  107911. $signature: 23
  107912. };
  107913. A._replace_closure0.prototype = {
  107914. call$1($arguments) {
  107915. var target, source,
  107916. _s8_ = "selector",
  107917. _s8_0 = "original",
  107918. _s11_ = "replacement",
  107919. t1 = J.getInterceptor$asx($arguments),
  107920. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107921. selector.assertNotBogus$1$name(_s8_);
  107922. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107923. target.assertNotBogus$1$name(_s8_0);
  107924. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  107925. source.assertNotBogus$1$name(_s11_);
  107926. t1 = A.EvaluationContext_currentOrNull0();
  107927. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  107928. },
  107929. $signature: 23
  107930. };
  107931. A._unify_closure0.prototype = {
  107932. call$1($arguments) {
  107933. var selector2,
  107934. _s9_ = "selector1",
  107935. _s9_0 = "selector2",
  107936. t1 = J.getInterceptor$asx($arguments),
  107937. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  107938. selector1.assertNotBogus$1$name(_s9_);
  107939. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  107940. selector2.assertNotBogus$1$name(_s9_0);
  107941. t1 = selector1.unify$1(selector2);
  107942. t1 = t1 == null ? null : t1.get$asSassList();
  107943. return t1 == null ? B.C__SassNull0 : t1;
  107944. },
  107945. $signature: 3
  107946. };
  107947. A._isSuperselector_closure0.prototype = {
  107948. call$1($arguments) {
  107949. var selector2,
  107950. t1 = J.getInterceptor$asx($arguments),
  107951. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  107952. selector1.assertNotBogus$1$name("super");
  107953. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  107954. selector2.assertNotBogus$1$name("sub");
  107955. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  107956. },
  107957. $signature: 21
  107958. };
  107959. A._simpleSelectors_closure0.prototype = {
  107960. call$1($arguments) {
  107961. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  107962. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  107963. },
  107964. $signature: 23
  107965. };
  107966. A._simpleSelectors__closure0.prototype = {
  107967. call$1(simple) {
  107968. return new A.SassString0(A.serializeSelector0(simple, true), false);
  107969. },
  107970. $signature: 538
  107971. };
  107972. A._parse_closure0.prototype = {
  107973. call$1($arguments) {
  107974. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  107975. },
  107976. $signature: 23
  107977. };
  107978. A.SelectorParser0.prototype = {
  107979. parse$0(_) {
  107980. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  107981. },
  107982. parseCompoundSelector$0() {
  107983. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  107984. },
  107985. _selector$_selectorList$0() {
  107986. var t4, t5, lineBreak, _this = this,
  107987. t1 = _this.scanner,
  107988. t2 = t1._string_scanner$_position,
  107989. t3 = t1._sourceFile,
  107990. previousLine = t3.getLine$1(t2),
  107991. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  107992. _this.whitespace$0();
  107993. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  107994. _this.whitespace$0();
  107995. if (t1.peekChar$0() === 44)
  107996. continue;
  107997. t5 = t1._string_scanner$_position;
  107998. if (t5 === t4)
  107999. break;
  108000. lineBreak = t3.getLine$1(t5) !== previousLine;
  108001. if (lineBreak)
  108002. previousLine = t3.getLine$1(t1._string_scanner$_position);
  108003. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  108004. }
  108005. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108006. },
  108007. _selector$_complexSelector$1$lineBreak(lineBreak) {
  108008. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  108009. _s18_ = "expected selector.",
  108010. t1 = _this.scanner,
  108011. t2 = t1._string_scanner$_position,
  108012. componentStart = new A._SpanScannerState(t1, t2),
  108013. t3 = type$.JSArray_CssValue_Combinator_2,
  108014. combinators = A._setArrayType([], t3),
  108015. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  108016. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  108017. _this.whitespace$0();
  108018. _0_0 = t1.peekChar$0();
  108019. if (43 === _0_0) {
  108020. t5 = t1._string_scanner$_position;
  108021. t1.readChar$0();
  108022. combinators.push(new A.CssValue0(B.Combinator_gRV0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  108023. continue;
  108024. }
  108025. if (62 === _0_0) {
  108026. t5 = t1._string_scanner$_position;
  108027. t1.readChar$0();
  108028. combinators.push(new A.CssValue0(B.Combinator_8I80, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  108029. continue;
  108030. }
  108031. if (126 === _0_0) {
  108032. t5 = t1._string_scanner$_position;
  108033. t1.readChar$0();
  108034. combinators.push(new A.CssValue0(B.Combinator_y180, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  108035. continue;
  108036. }
  108037. if (_0_0 == null)
  108038. break;
  108039. t5 = true;
  108040. if (91 !== _0_0)
  108041. if (46 !== _0_0)
  108042. if (35 !== _0_0)
  108043. if (37 !== _0_0)
  108044. if (58 !== _0_0)
  108045. if (38 !== _0_0)
  108046. if (42 !== _0_0)
  108047. if (124 !== _0_0)
  108048. t5 = _this.lookingAtIdentifier$0();
  108049. if (t5) {
  108050. if (lastCompound != null) {
  108051. t5 = _this.spanFrom$1(componentStart);
  108052. result = A.List_List$from(combinators, false, t4);
  108053. result.fixed$length = Array;
  108054. result.immutable$list = Array;
  108055. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  108056. } else if (combinators.length !== 0) {
  108057. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108058. initialCombinators = combinators;
  108059. }
  108060. lastCompound = _this._selector$_compoundSelector$0();
  108061. combinators = A._setArrayType([], t3);
  108062. if (t1.peekChar$0() === 38)
  108063. t1.error$1(0, string$.x22x26__ma);
  108064. continue;
  108065. }
  108066. break;
  108067. }
  108068. t3 = combinators.length !== 0;
  108069. if (t3 && _this._selector$_plainCss)
  108070. t1.error$1(0, _s18_);
  108071. else if (lastCompound != null) {
  108072. t3 = _this.spanFrom$1(componentStart);
  108073. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  108074. } else if (t3)
  108075. initialCombinators = combinators;
  108076. else
  108077. t1.error$1(0, _s18_);
  108078. t3 = initialCombinators == null ? B.List_empty13 : initialCombinators;
  108079. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  108080. },
  108081. _selector$_complexSelector$0() {
  108082. return this._selector$_complexSelector$1$lineBreak(false);
  108083. },
  108084. _selector$_compoundSelector$0() {
  108085. var t3, _this = this,
  108086. t1 = _this.scanner,
  108087. t2 = t1._string_scanner$_position,
  108088. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  108089. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  108090. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  108091. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108092. },
  108093. _selector$_simpleSelector$1$allowParent(allowParent) {
  108094. var t2, $name, text, t3, suffix, _this = this,
  108095. t1 = _this.scanner,
  108096. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108097. if (allowParent == null)
  108098. allowParent = _this._selector$_allowParent;
  108099. switch (t1.peekChar$0()) {
  108100. case 91:
  108101. return _this._selector$_attributeSelector$0();
  108102. case 46:
  108103. t2 = t1._string_scanner$_position;
  108104. t1.expectChar$1(46);
  108105. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108106. case 35:
  108107. t2 = t1._string_scanner$_position;
  108108. t1.expectChar$1(35);
  108109. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108110. case 37:
  108111. t2 = t1._string_scanner$_position;
  108112. t1.expectChar$1(37);
  108113. $name = _this.identifier$0();
  108114. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  108115. if (_this._selector$_plainCss)
  108116. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  108117. return new A.PlaceholderSelector0($name, t2);
  108118. case 58:
  108119. return _this._selector$_pseudoSelector$0();
  108120. case 38:
  108121. t2 = t1._string_scanner$_position;
  108122. t1.expectChar$1(38);
  108123. if (_this.lookingAtIdentifierBody$0()) {
  108124. text = new A.StringBuffer("");
  108125. _this._parser1$_identifierBody$1(text);
  108126. if (text._contents.length === 0)
  108127. t1.error$1(0, "Expected identifier body.");
  108128. t3 = text._contents;
  108129. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  108130. } else
  108131. suffix = null;
  108132. if (_this._selector$_plainCss && suffix != null)
  108133. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  108134. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  108135. if (!allowParent)
  108136. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  108137. return new A.ParentSelector0(suffix, t2);
  108138. default:
  108139. return _this._selector$_typeOrUniversalSelector$0();
  108140. }
  108141. },
  108142. _selector$_simpleSelector$0() {
  108143. return this._selector$_simpleSelector$1$allowParent(null);
  108144. },
  108145. _selector$_attributeSelector$0() {
  108146. var $name, operator, next, value, modifier, _this = this, _null = null,
  108147. t1 = _this.scanner,
  108148. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108149. t1.expectChar$1(91);
  108150. _this.whitespace$0();
  108151. $name = _this._selector$_attributeName$0();
  108152. _this.whitespace$0();
  108153. if (t1.scanChar$1(93))
  108154. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  108155. operator = _this._selector$_attributeOperator$0();
  108156. _this.whitespace$0();
  108157. next = t1.peekChar$0();
  108158. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  108159. _this.whitespace$0();
  108160. next = t1.peekChar$0();
  108161. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  108162. t1.expectChar$1(93);
  108163. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  108164. },
  108165. _selector$_attributeName$0() {
  108166. var nameOrNamespace, _this = this,
  108167. t1 = _this.scanner;
  108168. if (t1.scanChar$1(42)) {
  108169. t1.expectChar$1(124);
  108170. return new A.QualifiedName0(_this.identifier$0(), "*");
  108171. }
  108172. if (t1.scanChar$1(124))
  108173. return new A.QualifiedName0(_this.identifier$0(), "");
  108174. nameOrNamespace = _this.identifier$0();
  108175. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  108176. return new A.QualifiedName0(nameOrNamespace, null);
  108177. t1.readChar$0();
  108178. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  108179. },
  108180. _selector$_attributeOperator$0() {
  108181. var t1 = this.scanner,
  108182. t2 = t1._string_scanner$_position;
  108183. switch (t1.readChar$0()) {
  108184. case 61:
  108185. return B.AttributeOperator_4QF0;
  108186. case 126:
  108187. t1.expectChar$1(61);
  108188. return B.AttributeOperator_yT80;
  108189. case 124:
  108190. t1.expectChar$1(61);
  108191. return B.AttributeOperator_jqB0;
  108192. case 94:
  108193. t1.expectChar$1(61);
  108194. return B.AttributeOperator_cMb0;
  108195. case 36:
  108196. t1.expectChar$1(61);
  108197. return B.AttributeOperator_qhE0;
  108198. case 42:
  108199. t1.expectChar$1(61);
  108200. return B.AttributeOperator_61T0;
  108201. default:
  108202. t1.error$2$position(0, 'Expected "]".', t2);
  108203. }
  108204. },
  108205. _selector$_pseudoSelector$0() {
  108206. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  108207. t1 = _this.scanner,
  108208. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108209. t1.expectChar$1(58);
  108210. element = t1.scanChar$1(58);
  108211. $name = _this.identifier$0();
  108212. if (!t1.scanChar$1(40))
  108213. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  108214. _this.whitespace$0();
  108215. unvendored = A.unvendor0($name);
  108216. argument = _null;
  108217. selector = _null;
  108218. if (element)
  108219. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  108220. selector = _this._selector$_selectorList$0();
  108221. else
  108222. argument = _this.declarationValue$1$allowEmpty(true);
  108223. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  108224. selector = _this._selector$_selectorList$0();
  108225. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  108226. argument = _this._selector$_aNPlusB$0();
  108227. _this.whitespace$0();
  108228. t2 = t1.peekChar$1(-1);
  108229. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  108230. _this.expectIdentifier$1("of");
  108231. argument += " of";
  108232. _this.whitespace$0();
  108233. selector = _this._selector$_selectorList$0();
  108234. }
  108235. } else
  108236. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  108237. t1.expectChar$1(41);
  108238. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  108239. },
  108240. _selector$_aNPlusB$0() {
  108241. var t1, _0_0, t2, $self, next, _this = this;
  108242. $label0$0: {
  108243. t1 = _this.scanner;
  108244. _0_0 = t1.peekChar$0();
  108245. if (101 === _0_0 || 69 === _0_0) {
  108246. _this.expectIdentifier$1("even");
  108247. return "even";
  108248. }
  108249. if (111 === _0_0 || 79 === _0_0) {
  108250. _this.expectIdentifier$1("odd");
  108251. return "odd";
  108252. }
  108253. if (43 === _0_0 || 45 === _0_0) {
  108254. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  108255. break $label0$0;
  108256. }
  108257. t2 = "";
  108258. }
  108259. $self = t1.peekChar$0();
  108260. if ($self != null && $self >= 48 && $self <= 57) {
  108261. do {
  108262. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108263. $self = t1.peekChar$0();
  108264. } while ($self != null && $self >= 48 && $self <= 57);
  108265. _this.whitespace$0();
  108266. if (!_this.scanIdentChar$1(110))
  108267. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108268. } else
  108269. _this.expectIdentChar$1(110);
  108270. t2 += A.Primitives_stringFromCharCode(110);
  108271. _this.whitespace$0();
  108272. next = t1.peekChar$0();
  108273. if (next !== 43 && next !== 45)
  108274. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108275. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108276. _this.whitespace$0();
  108277. $self = t1.peekChar$0();
  108278. if (!($self != null && $self >= 48 && $self <= 57))
  108279. t1.error$1(0, "Expected a number.");
  108280. do {
  108281. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108282. $self = t1.peekChar$0();
  108283. } while ($self != null && $self >= 48 && $self <= 57);
  108284. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108285. },
  108286. _selector$_typeOrUniversalSelector$0() {
  108287. var nameOrNamespace, _this = this,
  108288. t1 = _this.scanner,
  108289. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108290. if (t1.scanChar$1(42)) {
  108291. if (!t1.scanChar$1(124))
  108292. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  108293. 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));
  108294. } else if (t1.scanChar$1(124))
  108295. 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));
  108296. nameOrNamespace = _this.identifier$0();
  108297. if (!t1.scanChar$1(124))
  108298. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  108299. else if (t1.scanChar$1(42))
  108300. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  108301. else
  108302. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  108303. },
  108304. _selector$_isSimpleSelectorStart$1(character) {
  108305. var t1;
  108306. $label0$0: {
  108307. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  108308. t1 = true;
  108309. break $label0$0;
  108310. }
  108311. if (38 === character) {
  108312. t1 = this._selector$_plainCss;
  108313. break $label0$0;
  108314. }
  108315. t1 = false;
  108316. break $label0$0;
  108317. }
  108318. return t1;
  108319. }
  108320. };
  108321. A.SelectorParser_parse_closure0.prototype = {
  108322. call$0() {
  108323. var t1 = this.$this,
  108324. selector = t1._selector$_selectorList$0();
  108325. t1 = t1.scanner;
  108326. if (t1._string_scanner$_position !== t1.string.length)
  108327. t1.error$1(0, "expected selector.");
  108328. return selector;
  108329. },
  108330. $signature: 539
  108331. };
  108332. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  108333. call$0() {
  108334. var t1 = this.$this,
  108335. compound = t1._selector$_compoundSelector$0();
  108336. t1 = t1.scanner;
  108337. if (t1._string_scanner$_position !== t1.string.length)
  108338. t1.error$1(0, "expected selector.");
  108339. return compound;
  108340. },
  108341. $signature: 540
  108342. };
  108343. A.SelectorSearchVisitor0.prototype = {
  108344. visitAttributeSelector$1(attribute) {
  108345. return null;
  108346. },
  108347. visitClassSelector$1(klass) {
  108348. return null;
  108349. },
  108350. visitIDSelector$1(id) {
  108351. return null;
  108352. },
  108353. visitParentSelector$1(placeholder) {
  108354. return null;
  108355. },
  108356. visitPlaceholderSelector$1(placeholder) {
  108357. return null;
  108358. },
  108359. visitTypeSelector$1(type) {
  108360. return null;
  108361. },
  108362. visitUniversalSelector$1(universal) {
  108363. return null;
  108364. },
  108365. visitComplexSelector$1(complex) {
  108366. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  108367. },
  108368. visitCompoundSelector$1(compound) {
  108369. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  108370. },
  108371. visitPseudoSelector$1(pseudo) {
  108372. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  108373. },
  108374. visitSelectorList$1(list) {
  108375. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  108376. }
  108377. };
  108378. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  108379. call$1(component) {
  108380. return this.$this.visitCompoundSelector$1(component.selector);
  108381. },
  108382. $signature() {
  108383. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  108384. }
  108385. };
  108386. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  108387. call$1(simple) {
  108388. return simple.accept$1(this.$this);
  108389. },
  108390. $signature() {
  108391. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  108392. }
  108393. };
  108394. A.serialize_closure0.prototype = {
  108395. call$1(codeUnit) {
  108396. return codeUnit > 127;
  108397. },
  108398. $signature: 46
  108399. };
  108400. A._SerializeVisitor0.prototype = {
  108401. visitCssStylesheet$1(node) {
  108402. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  108403. 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();) {
  108404. previous0 = t1.get$current(t1);
  108405. if (t2)
  108406. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  108407. else
  108408. t8 = false;
  108409. if (t8)
  108410. continue;
  108411. if (previous != null) {
  108412. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  108413. t6.writeCharCode$1(59);
  108414. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  108415. if (t4)
  108416. t6.writeCharCode$1(32);
  108417. } else {
  108418. if (t4)
  108419. t6.write$1(0, t7);
  108420. if (previous.get$isGroupEnd())
  108421. if (t4)
  108422. t6.write$1(0, t7);
  108423. }
  108424. }
  108425. previous0.accept$1(_this);
  108426. previous = previous0;
  108427. }
  108428. if (previous != null)
  108429. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  108430. else
  108431. t1 = false;
  108432. if (t1)
  108433. t6.writeCharCode$1(59);
  108434. },
  108435. visitCssComment$1(node) {
  108436. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  108437. },
  108438. visitCssAtRule$1(node) {
  108439. var t1, _this = this;
  108440. _this._serialize0$_writeIndentation$0();
  108441. t1 = _this._serialize0$_buffer;
  108442. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  108443. if (!node.isChildless) {
  108444. if (_this._serialize0$_style !== B.OutputStyle_10)
  108445. t1.writeCharCode$1(32);
  108446. _this._serialize0$_visitChildren$1(node);
  108447. }
  108448. },
  108449. visitCssMediaRule$1(node) {
  108450. var t1, _this = this;
  108451. _this._serialize0$_writeIndentation$0();
  108452. t1 = _this._serialize0$_buffer;
  108453. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  108454. if (_this._serialize0$_style !== B.OutputStyle_10)
  108455. t1.writeCharCode$1(32);
  108456. _this._serialize0$_visitChildren$1(node);
  108457. },
  108458. visitCssImport$1(node) {
  108459. this._serialize0$_writeIndentation$0();
  108460. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  108461. },
  108462. _serialize0$_writeImportUrl$1(url) {
  108463. var urlContents, maybeQuote, _this = this;
  108464. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  108465. _this._serialize0$_buffer.write$1(0, url);
  108466. return;
  108467. }
  108468. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  108469. maybeQuote = urlContents.charCodeAt(0);
  108470. if (maybeQuote === 39 || maybeQuote === 34)
  108471. _this._serialize0$_buffer.write$1(0, urlContents);
  108472. else
  108473. _this._serialize0$_visitQuotedString$1(urlContents);
  108474. },
  108475. visitCssKeyframeBlock$1(node) {
  108476. var t1, _this = this;
  108477. _this._serialize0$_writeIndentation$0();
  108478. t1 = _this._serialize0$_buffer;
  108479. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  108480. if (_this._serialize0$_style !== B.OutputStyle_10)
  108481. t1.writeCharCode$1(32);
  108482. _this._serialize0$_visitChildren$1(node);
  108483. },
  108484. _serialize0$_visitMediaQuery$1(query) {
  108485. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  108486. _0_0 = query.modifier;
  108487. if (_0_0 != null) {
  108488. t1 = _this._serialize0$_buffer;
  108489. t1.write$1(0, _0_0);
  108490. t1.writeCharCode$1(32);
  108491. }
  108492. _1_0 = query.type;
  108493. if (_1_0 != null) {
  108494. t1 = _this._serialize0$_buffer;
  108495. t1.write$1(0, _1_0);
  108496. if (query.conditions.length !== 0)
  108497. t1.write$1(0, " and ");
  108498. }
  108499. _2_0 = query.conditions;
  108500. if (_2_0.length === 1)
  108501. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  108502. else
  108503. t1 = false;
  108504. if (t1) {
  108505. t1 = _this._serialize0$_buffer;
  108506. t1.write$1(0, "not ");
  108507. condition = B.JSArray_methods.get$first(_2_0);
  108508. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  108509. } else {
  108510. operator = query.conjunction ? "and" : "or";
  108511. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  108512. t2 = _this._serialize0$_buffer;
  108513. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  108514. }
  108515. },
  108516. visitCssStyleRule$1(node) {
  108517. var t1, _this = this;
  108518. _this._serialize0$_writeIndentation$0();
  108519. t1 = _this._serialize0$_buffer;
  108520. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  108521. if (_this._serialize0$_style !== B.OutputStyle_10)
  108522. t1.writeCharCode$1(32);
  108523. _this._serialize0$_visitChildren$1(node);
  108524. },
  108525. visitCssSupportsRule$1(node) {
  108526. var t1, _this = this;
  108527. _this._serialize0$_writeIndentation$0();
  108528. t1 = _this._serialize0$_buffer;
  108529. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  108530. if (_this._serialize0$_style !== B.OutputStyle_10)
  108531. t1.writeCharCode$1(32);
  108532. _this._serialize0$_visitChildren$1(node);
  108533. },
  108534. visitCssDeclaration$1(node) {
  108535. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  108536. _this._serialize0$_writeIndentation$0();
  108537. t1 = node.name;
  108538. _this._serialize0$_write$1(t1);
  108539. t2 = _this._serialize0$_buffer;
  108540. t2.writeCharCode$1(58);
  108541. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  108542. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  108543. else {
  108544. if (_this._serialize0$_style !== B.OutputStyle_10)
  108545. t2.writeCharCode$1(32);
  108546. try {
  108547. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  108548. } catch (exception) {
  108549. t1 = A.unwrapException(exception);
  108550. if (t1 instanceof A.MultiSpanSassScriptException0) {
  108551. error = t1;
  108552. stackTrace = A.getTraceFromException(exception);
  108553. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  108554. } else if (t1 instanceof A.SassScriptException0) {
  108555. error0 = t1;
  108556. stackTrace0 = A.getTraceFromException(exception);
  108557. t1 = error0.message;
  108558. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  108559. } else
  108560. throw exception;
  108561. }
  108562. }
  108563. },
  108564. _serialize0$_writeFoldedValue$1(node) {
  108565. var t1, t2, next, t3,
  108566. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  108567. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  108568. next = scanner.readChar$0();
  108569. if (next !== 10) {
  108570. t2.writeCharCode$1(next);
  108571. continue;
  108572. }
  108573. t2.writeCharCode$1(32);
  108574. while (true) {
  108575. t3 = scanner.peekChar$0();
  108576. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  108577. break;
  108578. scanner.readChar$0();
  108579. }
  108580. }
  108581. },
  108582. _serialize0$_writeReindentedValue$1(node) {
  108583. var _0_0, t1, _this = this,
  108584. value = type$.SassString_2._as(node.value.value)._string0$_text;
  108585. $label0$0: {
  108586. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  108587. if (_0_0 == null) {
  108588. _this._serialize0$_buffer.write$1(0, value);
  108589. break $label0$0;
  108590. }
  108591. if (-1 === _0_0) {
  108592. t1 = _this._serialize0$_buffer;
  108593. t1.write$1(0, A.trimAsciiRight0(value, true));
  108594. t1.writeCharCode$1(32);
  108595. break $label0$0;
  108596. }
  108597. t1 = node.name.span;
  108598. t1 = t1.get$start(t1);
  108599. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  108600. }
  108601. },
  108602. _serialize0$_minimumIndentation$1(text) {
  108603. var character, t2, min, next, min0,
  108604. scanner = A.LineScanner$(text),
  108605. t1 = scanner.string.length;
  108606. while (true) {
  108607. if (scanner._string_scanner$_position !== t1) {
  108608. character = scanner.super$StringScanner$readChar();
  108609. scanner._adjustLineAndColumn$1(character);
  108610. t2 = character !== 10;
  108611. } else
  108612. t2 = false;
  108613. if (!t2)
  108614. break;
  108615. }
  108616. if (scanner._string_scanner$_position === t1)
  108617. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  108618. for (min = null; scanner._string_scanner$_position !== t1;) {
  108619. for (; scanner._string_scanner$_position !== t1;) {
  108620. next = scanner.peekChar$0();
  108621. if (next !== 32 && next !== 9)
  108622. break;
  108623. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  108624. }
  108625. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  108626. continue;
  108627. min0 = scanner._line_scanner$_column;
  108628. min = min == null ? min0 : Math.min(min, min0);
  108629. while (true) {
  108630. if (scanner._string_scanner$_position !== t1) {
  108631. character = scanner.super$StringScanner$readChar();
  108632. scanner._adjustLineAndColumn$1(character);
  108633. t2 = character !== 10;
  108634. } else
  108635. t2 = false;
  108636. if (!t2)
  108637. break;
  108638. }
  108639. }
  108640. return min == null ? -1 : min;
  108641. },
  108642. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  108643. var t1, t2, t3, character, lineStart, newlines, end,
  108644. scanner = A.LineScanner$(text);
  108645. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  108646. character = scanner.super$StringScanner$readChar();
  108647. scanner._adjustLineAndColumn$1(character);
  108648. if (character === 10)
  108649. break;
  108650. t3.writeCharCode$1(character);
  108651. }
  108652. for (; true;) {
  108653. lineStart = scanner._string_scanner$_position;
  108654. for (newlines = 1; true;) {
  108655. if (scanner._string_scanner$_position === t2) {
  108656. t3.writeCharCode$1(32);
  108657. return;
  108658. }
  108659. $label0$2: {
  108660. character = scanner.super$StringScanner$readChar();
  108661. scanner._adjustLineAndColumn$1(character);
  108662. if (32 === character || 9 === character)
  108663. continue;
  108664. if (10 === character) {
  108665. lineStart = scanner._string_scanner$_position;
  108666. ++newlines;
  108667. break $label0$2;
  108668. }
  108669. break;
  108670. }
  108671. }
  108672. this._serialize0$_writeTimes$2(10, newlines);
  108673. this._serialize0$_writeIndentation$0();
  108674. end = scanner._string_scanner$_position;
  108675. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  108676. for (; true;) {
  108677. if (scanner._string_scanner$_position === t2)
  108678. return;
  108679. character = scanner.super$StringScanner$readChar();
  108680. scanner._adjustLineAndColumn$1(character);
  108681. if (character === 10)
  108682. break;
  108683. t3.writeCharCode$1(character);
  108684. }
  108685. }
  108686. },
  108687. visitCalculation$1(value) {
  108688. var t2, _this = this,
  108689. t1 = _this._serialize0$_buffer;
  108690. t1.write$1(0, value.name);
  108691. t1.writeCharCode$1(40);
  108692. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108693. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  108694. t1.writeCharCode$1(41);
  108695. },
  108696. _serialize0$_writeCalculationValue$1(value) {
  108697. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  108698. $label1$1: {
  108699. _2_4_isSet = value instanceof A.SassNumber0;
  108700. if (_2_4_isSet) {
  108701. _2_4 = value.get$hasComplexUnits();
  108702. t1 = _2_4 && !_this._serialize0$_inspect;
  108703. } else {
  108704. _2_4 = _null;
  108705. t1 = false;
  108706. }
  108707. if (t1)
  108708. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  108709. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  108710. $label0$0: {
  108711. _0_0 = value._number1$_value;
  108712. if (1 / 0 === _0_0) {
  108713. _this._serialize0$_buffer.write$1(0, "infinity");
  108714. break $label0$0;
  108715. }
  108716. if (-1 / 0 === _0_0) {
  108717. _this._serialize0$_buffer.write$1(0, "-infinity");
  108718. break $label0$0;
  108719. }
  108720. if (isNaN(_0_0))
  108721. _this._serialize0$_buffer.write$1(0, "NaN");
  108722. }
  108723. t1 = J.getInterceptor$x(value);
  108724. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  108725. break $label1$1;
  108726. }
  108727. if (_2_4_isSet)
  108728. t1 = _2_4;
  108729. else
  108730. t1 = false;
  108731. if (t1) {
  108732. _this._serialize0$_writeNumber$1(value._number1$_value);
  108733. t1 = J.getInterceptor$x(value);
  108734. _1_0 = t1.get$numeratorUnits(value);
  108735. if (_1_0.length >= 1) {
  108736. first = _1_0[0];
  108737. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  108738. _this._serialize0$_buffer.write$1(0, first);
  108739. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  108740. } else
  108741. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  108742. break $label1$1;
  108743. }
  108744. if (value instanceof A.Value0) {
  108745. value.accept$1(_this);
  108746. break $label1$1;
  108747. }
  108748. t1 = value instanceof A.CalculationOperation0;
  108749. left = _null;
  108750. right = _null;
  108751. if (t1) {
  108752. operator = value._calculation0$_operator;
  108753. left = value._calculation0$_left;
  108754. right = value._calculation0$_right;
  108755. right = right;
  108756. } else
  108757. operator = _null;
  108758. if (t1) {
  108759. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  108760. if (parenthesizeLeft)
  108761. _this._serialize0$_buffer.writeCharCode$1(40);
  108762. _this._serialize0$_writeCalculationValue$1(left);
  108763. if (parenthesizeLeft)
  108764. _this._serialize0$_buffer.writeCharCode$1(41);
  108765. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  108766. if (operatorWhitespace)
  108767. _this._serialize0$_buffer.writeCharCode$1(32);
  108768. t1 = _this._serialize0$_buffer;
  108769. t1.write$1(0, operator.operator);
  108770. if (operatorWhitespace)
  108771. t1.writeCharCode$1(32);
  108772. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  108773. parenthesizeRight = false;
  108774. if (operator === B.CalculationOperator_Qf10) {
  108775. if (right instanceof A.SassNumber0)
  108776. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  108777. else
  108778. t2 = parenthesizeRight;
  108779. parenthesizeRight = t2;
  108780. }
  108781. } else
  108782. parenthesizeRight = true;
  108783. if (parenthesizeRight)
  108784. t1.writeCharCode$1(40);
  108785. _this._serialize0$_writeCalculationValue$1(right);
  108786. if (parenthesizeRight)
  108787. t1.writeCharCode$1(41);
  108788. }
  108789. }
  108790. },
  108791. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  108792. var t1, t2, t3, t4;
  108793. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  108794. t4 = t1.get$current(t1);
  108795. if (t3)
  108796. t2.writeCharCode$1(32);
  108797. t2.writeCharCode$1(42);
  108798. if (t3)
  108799. t2.writeCharCode$1(32);
  108800. t2.writeCharCode$1(49);
  108801. t2.write$1(0, t4);
  108802. }
  108803. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  108804. t4 = t1.get$current(t1);
  108805. if (t3)
  108806. t2.writeCharCode$1(32);
  108807. t2.writeCharCode$1(47);
  108808. if (t3)
  108809. t2.writeCharCode$1(32);
  108810. t2.writeCharCode$1(49);
  108811. t2.write$1(0, t4);
  108812. }
  108813. },
  108814. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  108815. var t1;
  108816. $label0$0: {
  108817. if (B.CalculationOperator_Qf10 === outer) {
  108818. t1 = true;
  108819. break $label0$0;
  108820. }
  108821. if (B.CalculationOperator_g2q0 === outer) {
  108822. t1 = false;
  108823. break $label0$0;
  108824. }
  108825. t1 = right === B.CalculationOperator_g2q0 || right === B.CalculationOperator_CxF0;
  108826. break $label0$0;
  108827. }
  108828. return t1;
  108829. },
  108830. visitColor$1(value) {
  108831. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  108832. if (_this._serialize0$_style === B.OutputStyle_10)
  108833. if (!A.fuzzyEquals0(value._color1$_alpha, 1))
  108834. _this._serialize0$_writeRgb$1(value);
  108835. else {
  108836. hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
  108837. _0_0 = $.$get$namesByColor0().$index(0, value);
  108838. if (_0_0 != null) {
  108839. t1 = _0_0.length <= hexLength;
  108840. $name = _0_0;
  108841. } else {
  108842. $name = null;
  108843. t1 = false;
  108844. }
  108845. if (t1)
  108846. _this._serialize0$_buffer.write$1(0, $name);
  108847. else {
  108848. t1 = _this._serialize0$_buffer;
  108849. if (_this._serialize0$_canUseShortHex$1(value)) {
  108850. t1.writeCharCode$1(35);
  108851. t1.writeCharCode$1(A.hexCharFor0(value.get$red(0) & 15));
  108852. t1.writeCharCode$1(A.hexCharFor0(value.get$green(0) & 15));
  108853. t1.writeCharCode$1(A.hexCharFor0(value.get$blue(0) & 15));
  108854. } else {
  108855. t1.writeCharCode$1(35);
  108856. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108857. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108858. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108859. }
  108860. }
  108861. }
  108862. else {
  108863. _1_0 = value.format;
  108864. if (_1_0 != null)
  108865. $label0$0: {
  108866. if (B._ColorFormatEnum_rgbFunction0 === _1_0) {
  108867. _this._serialize0$_writeRgb$1(value);
  108868. break $label0$0;
  108869. }
  108870. if (B._ColorFormatEnum_hslFunction0 === _1_0) {
  108871. t1 = value._color1$_alpha;
  108872. opaque = A.fuzzyEquals0(t1, 1);
  108873. t2 = _this._serialize0$_buffer;
  108874. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  108875. _this._serialize0$_writeNumber$1(value.get$hue(0));
  108876. t2.write$1(0, ", ");
  108877. _this._serialize0$_writeNumber$1(value.get$saturation(0));
  108878. t2.writeCharCode$1(37);
  108879. t2.write$1(0, ", ");
  108880. _this._serialize0$_writeNumber$1(value.get$lightness(0));
  108881. t2.writeCharCode$1(37);
  108882. if (!opaque) {
  108883. t2.write$1(0, ", ");
  108884. _this._serialize0$_writeNumber$1(t1);
  108885. }
  108886. t2.writeCharCode$1(41);
  108887. break $label0$0;
  108888. }
  108889. if (_1_0 instanceof A.SpanColorFormat0) {
  108890. _this._serialize0$_buffer.write$1(0, _1_0._color1$_span.get$text());
  108891. break $label0$0;
  108892. }
  108893. }
  108894. else {
  108895. _3_0 = $.$get$namesByColor0().$index(0, value);
  108896. if (_3_0 != null) {
  108897. t1 = !A.fuzzyEquals0(value._color1$_alpha, 0);
  108898. $name = _3_0;
  108899. } else {
  108900. $name = null;
  108901. t1 = false;
  108902. }
  108903. if (t1)
  108904. _this._serialize0$_buffer.write$1(0, $name);
  108905. else if (A.fuzzyEquals0(value._color1$_alpha, 1)) {
  108906. _this._serialize0$_buffer.writeCharCode$1(35);
  108907. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108908. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108909. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108910. } else
  108911. _this._serialize0$_writeRgb$1(value);
  108912. }
  108913. }
  108914. },
  108915. _serialize0$_writeRgb$1(value) {
  108916. var t3,
  108917. t1 = value._color1$_alpha,
  108918. opaque = A.fuzzyEquals0(t1, 1),
  108919. t2 = this._serialize0$_buffer;
  108920. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  108921. t2.write$1(0, value.get$red(0));
  108922. t3 = this._serialize0$_style === B.OutputStyle_10;
  108923. t2.write$1(0, t3 ? "," : ", ");
  108924. t2.write$1(0, value.get$green(0));
  108925. t2.write$1(0, t3 ? "," : ", ");
  108926. t2.write$1(0, value.get$blue(0));
  108927. if (!opaque) {
  108928. t2.write$1(0, t3 ? "," : ", ");
  108929. this._serialize0$_writeNumber$1(t1);
  108930. }
  108931. t2.writeCharCode$1(41);
  108932. },
  108933. _serialize0$_canUseShortHex$1(color) {
  108934. var t1 = color.get$red(0),
  108935. t2 = false;
  108936. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108937. t1 = color.get$green(0);
  108938. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108939. t1 = color.get$blue(0);
  108940. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  108941. } else
  108942. t1 = t2;
  108943. } else
  108944. t1 = t2;
  108945. return t1;
  108946. },
  108947. _serialize0$_writeHexComponent$1(color) {
  108948. var t1 = this._serialize0$_buffer;
  108949. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  108950. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  108951. },
  108952. visitList$1(value) {
  108953. var t2, singleton, t3, t4, t5, _this = this,
  108954. t1 = value._list1$_hasBrackets;
  108955. if (t1)
  108956. _this._serialize0$_buffer.writeCharCode$1(91);
  108957. else if (value._list1$_contents.length === 0) {
  108958. if (!_this._serialize0$_inspect)
  108959. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  108960. _this._serialize0$_buffer.write$1(0, "()");
  108961. return;
  108962. }
  108963. t2 = _this._serialize0$_inspect;
  108964. singleton = false;
  108965. if (t2)
  108966. if (value._list1$_contents.length === 1) {
  108967. t3 = value._list1$_separator;
  108968. t3 = t3 === B.ListSeparator_ECn0 || t3 === B.ListSeparator_cQA0;
  108969. singleton = t3;
  108970. }
  108971. if (singleton && !t1)
  108972. _this._serialize0$_buffer.writeCharCode$1(40);
  108973. t3 = value._list1$_contents;
  108974. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  108975. t4 = value._list1$_separator;
  108976. t5 = _this._serialize0$_separatorString$1(t4);
  108977. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  108978. if (singleton) {
  108979. t2 = _this._serialize0$_buffer;
  108980. t2.write$1(0, t4.separator);
  108981. if (!t1)
  108982. t2.writeCharCode$1(41);
  108983. }
  108984. if (t1)
  108985. _this._serialize0$_buffer.writeCharCode$1(93);
  108986. },
  108987. _serialize0$_separatorString$1(separator) {
  108988. var t1;
  108989. $label0$0: {
  108990. if (B.ListSeparator_ECn0 === separator) {
  108991. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108992. break $label0$0;
  108993. }
  108994. if (B.ListSeparator_cQA0 === separator) {
  108995. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  108996. break $label0$0;
  108997. }
  108998. if (B.ListSeparator_nbm0 === separator) {
  108999. t1 = " ";
  109000. break $label0$0;
  109001. }
  109002. t1 = "";
  109003. break $label0$0;
  109004. }
  109005. return t1;
  109006. },
  109007. _serialize0$_elementNeedsParens$2(separator, value) {
  109008. var t1;
  109009. $label1$1: {
  109010. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  109011. $label0$0: {
  109012. if (B.ListSeparator_ECn0 === separator) {
  109013. t1 = value._list1$_separator === B.ListSeparator_ECn0;
  109014. break $label0$0;
  109015. }
  109016. if (B.ListSeparator_cQA0 === separator) {
  109017. t1 = value._list1$_separator;
  109018. t1 = t1 === B.ListSeparator_ECn0 || t1 === B.ListSeparator_cQA0;
  109019. break $label0$0;
  109020. }
  109021. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  109022. break $label0$0;
  109023. }
  109024. break $label1$1;
  109025. }
  109026. t1 = false;
  109027. break $label1$1;
  109028. }
  109029. return t1;
  109030. },
  109031. visitMap$1(map) {
  109032. var t1, t2, _this = this;
  109033. if (!_this._serialize0$_inspect)
  109034. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  109035. t1 = _this._serialize0$_buffer;
  109036. t1.writeCharCode$1(40);
  109037. t2 = map._map0$_contents;
  109038. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  109039. t1.writeCharCode$1(41);
  109040. },
  109041. _serialize0$_writeMapElement$1(value) {
  109042. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_ECn0 && !value._list1$_hasBrackets;
  109043. if (needsParens)
  109044. this._serialize0$_buffer.writeCharCode$1(40);
  109045. value.accept$1(this);
  109046. if (needsParens)
  109047. this._serialize0$_buffer.writeCharCode$1(41);
  109048. },
  109049. visitNumber$1(value) {
  109050. var before, after, t1, _1_0, _this = this,
  109051. _0_0 = value.asSlash;
  109052. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  109053. before = _0_0._0;
  109054. after = _0_0._1;
  109055. _this.visitNumber$1(before);
  109056. _this._serialize0$_buffer.writeCharCode$1(47);
  109057. _this.visitNumber$1(after);
  109058. return;
  109059. }
  109060. t1 = value._number1$_value;
  109061. if (!isFinite(t1)) {
  109062. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  109063. return;
  109064. }
  109065. if (value.get$hasComplexUnits()) {
  109066. if (!_this._serialize0$_inspect)
  109067. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  109068. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  109069. } else {
  109070. _this._serialize0$_writeNumber$1(t1);
  109071. _1_0 = value.get$numeratorUnits(value);
  109072. if (_1_0.length === 1)
  109073. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  109074. }
  109075. },
  109076. _serialize0$_writeNumber$1(number) {
  109077. var text, _this = this,
  109078. _0_0 = A.fuzzyAsInt0(number);
  109079. if (_0_0 != null) {
  109080. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  109081. return;
  109082. }
  109083. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  109084. if (text.length < 12) {
  109085. if (_this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48)
  109086. text = B.JSString_methods.substring$1(text, 1);
  109087. _this._serialize0$_buffer.write$1(0, text);
  109088. return;
  109089. }
  109090. _this._serialize0$_writeRounded$1(text);
  109091. },
  109092. _serialize0$_removeExponent$1(text) {
  109093. var buffer, t2, t3, additionalZeroes,
  109094. negative = text.charCodeAt(0) === 45,
  109095. exponent = A._Cell$(),
  109096. t1 = text.length,
  109097. i = 0;
  109098. while (true) {
  109099. if (!(i < t1)) {
  109100. buffer = null;
  109101. break;
  109102. }
  109103. c$0: {
  109104. if (text.charCodeAt(i) !== 101)
  109105. break c$0;
  109106. buffer = new A.StringBuffer("");
  109107. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  109108. if (negative) {
  109109. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  109110. buffer._contents = t2;
  109111. if (i > 3)
  109112. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  109113. } else if (i > 2)
  109114. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  109115. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  109116. break;
  109117. }
  109118. ++i;
  109119. }
  109120. if (buffer == null)
  109121. return text;
  109122. if (exponent._readLocal$0() > 0) {
  109123. t1 = exponent._readLocal$0();
  109124. t2 = buffer._contents;
  109125. t3 = negative ? 1 : 0;
  109126. additionalZeroes = t1 - (t2.length - 1 - t3);
  109127. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  109128. t1 = A.Primitives_stringFromCharCode(48);
  109129. t1 = buffer._contents += t1;
  109130. }
  109131. return t1.charCodeAt(0) == 0 ? t1 : t1;
  109132. } else {
  109133. negative = text.charCodeAt(0) === 45;
  109134. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  109135. i = -1;
  109136. while (true) {
  109137. t2 = exponent.__late_helper$_value;
  109138. if (t2 === exponent)
  109139. A.throwExpression(A.LateError$localNI(""));
  109140. if (!(i > t2))
  109141. break;
  109142. t1 += A.Primitives_stringFromCharCode(48);
  109143. --i;
  109144. }
  109145. if (negative) {
  109146. t2 = buffer._contents;
  109147. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  109148. } else
  109149. t2 = buffer;
  109150. t2 = t1 + A.S(t2);
  109151. return t2.charCodeAt(0) == 0 ? t2 : t2;
  109152. }
  109153. },
  109154. _serialize0$_writeRounded$1(text) {
  109155. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  109156. if (B.JSString_methods.endsWith$1(text, ".0")) {
  109157. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  109158. return;
  109159. }
  109160. t1 = text.length;
  109161. digits = new Uint8Array(t1 + 1);
  109162. negative = text.charCodeAt(0) === 45;
  109163. textIndex = negative ? 1 : 0;
  109164. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  109165. if (textIndex === t1) {
  109166. _this._serialize0$_buffer.write$1(0, text);
  109167. return;
  109168. }
  109169. textIndex0 = textIndex + 1;
  109170. codeUnit = text.charCodeAt(textIndex);
  109171. if (codeUnit === 46) {
  109172. textIndex = textIndex0;
  109173. break;
  109174. }
  109175. digitsIndex0 = digitsIndex + 1;
  109176. digits[digitsIndex] = codeUnit - 48;
  109177. }
  109178. indexAfterPrecision = textIndex + 10;
  109179. if (indexAfterPrecision >= t1) {
  109180. _this._serialize0$_buffer.write$1(0, text);
  109181. return;
  109182. }
  109183. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  109184. digitsIndex1 = digitsIndex0 + 1;
  109185. textIndex0 = textIndex + 1;
  109186. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  109187. }
  109188. if (text.charCodeAt(textIndex) - 48 >= 5)
  109189. for (; true; digitsIndex0 = digitsIndex1) {
  109190. digitsIndex1 = digitsIndex0 - 1;
  109191. newDigit = digits[digitsIndex1] + 1;
  109192. digits[digitsIndex1] = newDigit;
  109193. if (newDigit !== 10)
  109194. break;
  109195. }
  109196. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  109197. digits[digitsIndex0] = 0;
  109198. while (true) {
  109199. t1 = digitsIndex0 > digitsIndex;
  109200. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  109201. break;
  109202. --digitsIndex0;
  109203. }
  109204. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  109205. _this._serialize0$_buffer.writeCharCode$1(48);
  109206. return;
  109207. }
  109208. if (negative)
  109209. _this._serialize0$_buffer.writeCharCode$1(45);
  109210. if (digits[0] === 0)
  109211. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  109212. else
  109213. writtenIndex = 0;
  109214. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  109215. t2.writeCharCode$1(48 + digits[writtenIndex]);
  109216. if (t1) {
  109217. t2.writeCharCode$1(46);
  109218. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  109219. t2.writeCharCode$1(48 + digits[writtenIndex]);
  109220. }
  109221. },
  109222. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  109223. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  109224. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  109225. if (forceDoubleQuote)
  109226. buffer.writeCharCode$1(34);
  109227. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  109228. char = string.charCodeAt(i);
  109229. _1_2 = 39 === char;
  109230. if (_1_2 && forceDoubleQuote) {
  109231. buffer.writeCharCode$1(39);
  109232. continue;
  109233. }
  109234. if (_1_2 && includesDoubleQuote) {
  109235. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  109236. return;
  109237. }
  109238. if (_1_2) {
  109239. buffer.writeCharCode$1(39);
  109240. includesSingleQuote = true;
  109241. continue;
  109242. }
  109243. _1_4 = 34 === char;
  109244. if (_1_4 && forceDoubleQuote) {
  109245. buffer.writeCharCode$1(92);
  109246. buffer.writeCharCode$1(34);
  109247. continue;
  109248. }
  109249. if (_1_4 && includesSingleQuote) {
  109250. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  109251. return;
  109252. }
  109253. if (_1_4) {
  109254. buffer.writeCharCode$1(34);
  109255. includesDoubleQuote = true;
  109256. continue;
  109257. }
  109258. 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) {
  109259. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  109260. continue;
  109261. }
  109262. if (92 === char) {
  109263. buffer.writeCharCode$1(92);
  109264. buffer.writeCharCode$1(92);
  109265. continue;
  109266. }
  109267. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  109268. if (_0_0 != null)
  109269. i = _0_0;
  109270. else
  109271. buffer.writeCharCode$1(char);
  109272. }
  109273. if (forceDoubleQuote)
  109274. buffer.writeCharCode$1(34);
  109275. else {
  109276. quote = includesDoubleQuote ? 39 : 34;
  109277. t1 = _this._serialize0$_buffer;
  109278. t1.writeCharCode$1(quote);
  109279. t1.write$1(0, buffer);
  109280. t1.writeCharCode$1(quote);
  109281. }
  109282. },
  109283. _serialize0$_visitQuotedString$1(string) {
  109284. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  109285. },
  109286. _serialize0$_visitUnquotedString$1(string) {
  109287. var t1, t2, afterNewline, i, _1_0, _0_0;
  109288. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  109289. _1_0 = string.charCodeAt(i);
  109290. if (10 === _1_0) {
  109291. t2.writeCharCode$1(32);
  109292. afterNewline = true;
  109293. continue;
  109294. }
  109295. if (32 === _1_0) {
  109296. if (!afterNewline)
  109297. t2.writeCharCode$1(32);
  109298. continue;
  109299. }
  109300. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  109301. if (_0_0 != null)
  109302. i = _0_0;
  109303. else
  109304. t2.writeCharCode$1(_1_0);
  109305. afterNewline = false;
  109306. }
  109307. },
  109308. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  109309. var t1;
  109310. if (this._serialize0$_style === B.OutputStyle_10)
  109311. return null;
  109312. if (codeUnit >= 57344 && codeUnit <= 63743) {
  109313. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  109314. return i;
  109315. }
  109316. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  109317. t1 = i + 1;
  109318. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  109319. return t1;
  109320. }
  109321. return null;
  109322. },
  109323. _serialize0$_writeEscape$4(buffer, character, string, i) {
  109324. var t1, next;
  109325. buffer.writeCharCode$1(92);
  109326. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  109327. t1 = i + 1;
  109328. if (string.length === t1)
  109329. return;
  109330. next = string.charCodeAt(t1);
  109331. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  109332. buffer.writeCharCode$1(32);
  109333. },
  109334. visitAttributeSelector$1(attribute) {
  109335. var _0_0, t2,
  109336. t1 = this._serialize0$_buffer;
  109337. t1.writeCharCode$1(91);
  109338. t1.write$1(0, attribute.name);
  109339. _0_0 = attribute.value;
  109340. if (_0_0 != null) {
  109341. t1.write$1(0, attribute.op);
  109342. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  109343. t1.write$1(0, _0_0);
  109344. t2 = attribute.modifier;
  109345. if (t2 != null)
  109346. t1.writeCharCode$1(32);
  109347. } else {
  109348. this._serialize0$_visitQuotedString$1(_0_0);
  109349. t2 = attribute.modifier;
  109350. if (t2 != null)
  109351. if (this._serialize0$_style !== B.OutputStyle_10)
  109352. t1.writeCharCode$1(32);
  109353. }
  109354. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  109355. }
  109356. t1.writeCharCode$1(93);
  109357. },
  109358. visitClassSelector$1(klass) {
  109359. var t1 = this._serialize0$_buffer;
  109360. t1.writeCharCode$1(46);
  109361. t1.write$1(0, klass.name);
  109362. },
  109363. visitComplexSelector$1(complex) {
  109364. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  109365. t1 = complex.leadingCombinators;
  109366. _this._serialize0$_writeCombinators$1(t1);
  109367. if (t1.length >= 1 && complex.components.length >= 1)
  109368. if (_this._serialize0$_style !== B.OutputStyle_10)
  109369. _this._serialize0$_buffer.writeCharCode$1(32);
  109370. 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) {
  109371. component = t1[i];
  109372. _this.visitCompoundSelector$1(component.selector);
  109373. t7 = component.combinators;
  109374. t8 = t7.length === 0;
  109375. if (!t8)
  109376. if (t6)
  109377. t4.writeCharCode$1(32);
  109378. t9 = t5 ? "" : " ";
  109379. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  109380. if (i !== t3)
  109381. t7 = !t5 || t8;
  109382. else
  109383. t7 = false;
  109384. if (t7)
  109385. t4.writeCharCode$1(32);
  109386. }
  109387. },
  109388. _serialize0$_writeCombinators$1(combinators) {
  109389. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  109390. t2 = this._serialize0$_buffer;
  109391. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  109392. },
  109393. visitCompoundSelector$1(compound) {
  109394. var t2, t3, _i,
  109395. t1 = this._serialize0$_buffer,
  109396. start = t1.get$length(t1);
  109397. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  109398. t2[_i].accept$1(this);
  109399. if (t1.get$length(t1) === start)
  109400. t1.writeCharCode$1(42);
  109401. },
  109402. visitIDSelector$1(id) {
  109403. var t1 = this._serialize0$_buffer;
  109404. t1.writeCharCode$1(35);
  109405. t1.write$1(0, id.name);
  109406. },
  109407. visitSelectorList$1(list) {
  109408. var t1, t2, t3, t4, first, t5, _this = this,
  109409. complexes = list.components;
  109410. 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();) {
  109411. t5 = t1.get$current(t1);
  109412. if (first)
  109413. first = false;
  109414. else {
  109415. t3.writeCharCode$1(44);
  109416. if (t5.lineBreak) {
  109417. if (t2)
  109418. t3.write$1(0, t4);
  109419. _this._serialize0$_writeIndentation$0();
  109420. } else if (t2)
  109421. t3.writeCharCode$1(32);
  109422. }
  109423. _this.visitComplexSelector$1(t5);
  109424. }
  109425. },
  109426. visitParentSelector$1($parent) {
  109427. var t1 = this._serialize0$_buffer;
  109428. t1.writeCharCode$1(38);
  109429. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  109430. },
  109431. visitPlaceholderSelector$1(placeholder) {
  109432. var t1 = this._serialize0$_buffer;
  109433. t1.writeCharCode$1(37);
  109434. t1.write$1(0, placeholder.name);
  109435. },
  109436. visitPseudoSelector$1(pseudo) {
  109437. var _0_4, t3,
  109438. t1 = pseudo.name,
  109439. t2 = false;
  109440. if ("not" === t1) {
  109441. _0_4 = pseudo.selector;
  109442. if (_0_4 instanceof A.SelectorList0)
  109443. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  109444. }
  109445. if (t2)
  109446. return;
  109447. t2 = this._serialize0$_buffer;
  109448. t2.writeCharCode$1(58);
  109449. if (!pseudo.isSyntacticClass)
  109450. t2.writeCharCode$1(58);
  109451. t2.write$1(0, t1);
  109452. t1 = pseudo.argument;
  109453. t3 = t1 == null;
  109454. if (t3 && pseudo.selector == null)
  109455. return;
  109456. t2.writeCharCode$1(40);
  109457. if (!t3) {
  109458. t2.write$1(0, t1);
  109459. if (pseudo.selector != null)
  109460. t2.writeCharCode$1(32);
  109461. }
  109462. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  109463. t2.writeCharCode$1(41);
  109464. },
  109465. visitTypeSelector$1(type) {
  109466. this._serialize0$_buffer.write$1(0, type.name);
  109467. },
  109468. visitUniversalSelector$1(universal) {
  109469. var t2,
  109470. t1 = universal.namespace;
  109471. if (t1 != null) {
  109472. t2 = this._serialize0$_buffer;
  109473. t2.write$1(0, t1);
  109474. t2.writeCharCode$1(124);
  109475. }
  109476. this._serialize0$_buffer.writeCharCode$1(42);
  109477. },
  109478. _serialize0$_write$1(value) {
  109479. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  109480. },
  109481. _serialize0$_visitChildren$1($parent) {
  109482. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  109483. t1 = _this._serialize0$_buffer;
  109484. t1.writeCharCode$1(123);
  109485. 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();) {
  109486. t9 = t2.__internal$_current;
  109487. previous0 = t9 == null ? t3._as(t9) : t9;
  109488. if (t7)
  109489. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  109490. else
  109491. t9 = false;
  109492. if (t9)
  109493. continue;
  109494. t9 = previous == null;
  109495. t10 = t9 ? null : t6.call$1(previous);
  109496. if (t10 == null ? false : t10)
  109497. t1.writeCharCode$1(59);
  109498. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  109499. if (t5)
  109500. t1.writeCharCode$1(32);
  109501. savedIndentation = _this._serialize0$_indentation;
  109502. _this._serialize0$_indentation = 0;
  109503. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  109504. _this._serialize0$_indentation = savedIndentation;
  109505. } else {
  109506. if (t5)
  109507. t1.write$1(0, t8);
  109508. ++_this._serialize0$_indentation;
  109509. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  109510. --_this._serialize0$_indentation;
  109511. }
  109512. prePrevious = previous;
  109513. previous = previous0;
  109514. }
  109515. if (previous != null) {
  109516. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  109517. t1.writeCharCode$1(59);
  109518. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  109519. if (t5)
  109520. t1.writeCharCode$1(32);
  109521. } else {
  109522. _this._serialize0$_writeLineFeed$0();
  109523. _this._serialize0$_writeIndentation$0();
  109524. }
  109525. }
  109526. t1.writeCharCode$1(125);
  109527. },
  109528. _serialize0$_requiresSemicolon$1(node) {
  109529. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  109530. },
  109531. _serialize0$_isTrailingComment$2(node, previous) {
  109532. var t1, t2, t3, searchFrom, endOffset, t4, span;
  109533. if (this._serialize0$_style === B.OutputStyle_10)
  109534. return false;
  109535. if (!(node instanceof A.ModifiableCssComment0))
  109536. return false;
  109537. t1 = node.span;
  109538. t2 = t1.get$sourceUrl(t1);
  109539. t3 = previous.get$span(previous);
  109540. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  109541. return false;
  109542. t2 = previous.get$span(previous);
  109543. 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)) {
  109544. t1 = t1.get$start(t1);
  109545. t1 = t1.file.getLine$1(t1.offset);
  109546. t2 = previous.get$span(previous);
  109547. t2 = t2.get$end(t2);
  109548. return t1 === t2.file.getLine$1(t2.offset);
  109549. }
  109550. t2 = t1.get$start(t1);
  109551. t3 = previous.get$span(previous);
  109552. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  109553. if (searchFrom < 0)
  109554. return false;
  109555. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  109556. t2 = previous.get$span(previous);
  109557. t2 = t2.get$file(t2);
  109558. t3 = previous.get$span(previous);
  109559. t3 = t3.get$start(t3);
  109560. t4 = previous.get$span(previous);
  109561. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  109562. t1 = t1.get$start(t1);
  109563. t1 = t1.file.getLine$1(t1.offset);
  109564. t4 = A.FileLocation$_(span.file, span._end);
  109565. return t1 === t4.file.getLine$1(t4.offset);
  109566. },
  109567. _serialize0$_writeLineFeed$0() {
  109568. if (this._serialize0$_style !== B.OutputStyle_10)
  109569. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  109570. },
  109571. _serialize0$_writeIndentation$0() {
  109572. var _this = this;
  109573. if (_this._serialize0$_style === B.OutputStyle_10)
  109574. return;
  109575. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  109576. },
  109577. _serialize0$_writeTimes$2(char, times) {
  109578. var t1, i;
  109579. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  109580. t1.writeCharCode$1(char);
  109581. },
  109582. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  109583. var t1, t2, first, value;
  109584. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  109585. value = t1.get$current(t1);
  109586. if (first)
  109587. first = false;
  109588. else
  109589. t2.write$1(0, text);
  109590. callback.call$1(value);
  109591. }
  109592. },
  109593. _serialize0$_writeBetween$3(iterable, text, callback) {
  109594. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  109595. }
  109596. };
  109597. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  109598. call$0() {
  109599. var t2, t3, _0_0, minimumIndentation,
  109600. t1 = this.$this;
  109601. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  109602. return;
  109603. t2 = this.node;
  109604. t3 = t2.text;
  109605. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  109606. return;
  109607. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  109608. if (_0_0 != null) {
  109609. t2 = t2.span;
  109610. t2 = t2.get$start(t2);
  109611. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  109612. t1._serialize0$_writeIndentation$0();
  109613. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  109614. } else {
  109615. t1._serialize0$_writeIndentation$0();
  109616. t1._serialize0$_buffer.write$1(0, t3);
  109617. }
  109618. },
  109619. $signature: 1
  109620. };
  109621. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  109622. call$0() {
  109623. var t3, _0_0,
  109624. t1 = this.$this,
  109625. t2 = t1._serialize0$_buffer;
  109626. t2.writeCharCode$1(64);
  109627. t3 = this.node;
  109628. t1._serialize0$_write$1(t3.name);
  109629. _0_0 = t3.value;
  109630. if (_0_0 != null) {
  109631. t2.writeCharCode$1(32);
  109632. t1._serialize0$_write$1(_0_0);
  109633. }
  109634. },
  109635. $signature: 1
  109636. };
  109637. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  109638. call$0() {
  109639. var t3, firstQuery, t4, t5,
  109640. t1 = this.$this,
  109641. t2 = t1._serialize0$_buffer;
  109642. t2.write$1(0, "@media");
  109643. t3 = this.node.queries;
  109644. firstQuery = B.JSArray_methods.get$first(t3);
  109645. t4 = t1._serialize0$_style === B.OutputStyle_10;
  109646. t5 = true;
  109647. if (t4)
  109648. if (firstQuery.modifier == null)
  109649. if (firstQuery.type == null) {
  109650. t5 = firstQuery.conditions;
  109651. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  109652. }
  109653. if (t5)
  109654. t2.writeCharCode$1(32);
  109655. t2 = t4 ? "," : ", ";
  109656. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  109657. },
  109658. $signature: 1
  109659. };
  109660. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  109661. call$0() {
  109662. var t3, t4, _0_0,
  109663. t1 = this.$this,
  109664. t2 = t1._serialize0$_buffer;
  109665. t2.write$1(0, "@import");
  109666. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  109667. if (t3)
  109668. t2.writeCharCode$1(32);
  109669. t4 = this.node;
  109670. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  109671. _0_0 = t4.modifiers;
  109672. if (_0_0 != null) {
  109673. if (t3)
  109674. t2.writeCharCode$1(32);
  109675. t2.write$1(0, _0_0);
  109676. }
  109677. },
  109678. $signature: 1
  109679. };
  109680. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  109681. call$0() {
  109682. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  109683. },
  109684. $signature: 0
  109685. };
  109686. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  109687. call$0() {
  109688. var t1 = this.$this,
  109689. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  109690. t3 = t1._serialize0$_buffer;
  109691. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  109692. },
  109693. $signature: 0
  109694. };
  109695. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  109696. call$0() {
  109697. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  109698. },
  109699. $signature: 0
  109700. };
  109701. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  109702. call$0() {
  109703. var t1 = this.$this,
  109704. t2 = t1._serialize0$_buffer;
  109705. t2.write$1(0, "@supports");
  109706. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  109707. t2.writeCharCode$1(32);
  109708. t1._serialize0$_write$1(this.node.condition);
  109709. },
  109710. $signature: 1
  109711. };
  109712. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  109713. call$0() {
  109714. var t1 = this.$this,
  109715. t2 = this.node;
  109716. if (t1._serialize0$_style === B.OutputStyle_10)
  109717. t1._serialize0$_writeFoldedValue$1(t2);
  109718. else
  109719. t1._serialize0$_writeReindentedValue$1(t2);
  109720. },
  109721. $signature: 1
  109722. };
  109723. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  109724. call$0() {
  109725. return this.node.value.value.accept$1(this.$this);
  109726. },
  109727. $signature: 0
  109728. };
  109729. A._SerializeVisitor_visitList_closure2.prototype = {
  109730. call$1(element) {
  109731. return !element.get$isBlank();
  109732. },
  109733. $signature: 48
  109734. };
  109735. A._SerializeVisitor_visitList_closure3.prototype = {
  109736. call$1(element) {
  109737. var t1 = this.$this,
  109738. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  109739. if (needsParens)
  109740. t1._serialize0$_buffer.writeCharCode$1(40);
  109741. element.accept$1(t1);
  109742. if (needsParens)
  109743. t1._serialize0$_buffer.writeCharCode$1(41);
  109744. },
  109745. $signature: 58
  109746. };
  109747. A._SerializeVisitor_visitList_closure4.prototype = {
  109748. call$1(element) {
  109749. element.accept$1(this.$this);
  109750. },
  109751. $signature: 58
  109752. };
  109753. A._SerializeVisitor_visitMap_closure0.prototype = {
  109754. call$1(entry) {
  109755. var t1 = this.$this;
  109756. t1._serialize0$_writeMapElement$1(entry.key);
  109757. t1._serialize0$_buffer.write$1(0, ": ");
  109758. t1._serialize0$_writeMapElement$1(entry.value);
  109759. },
  109760. $signature: 543
  109761. };
  109762. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  109763. call$1(complex) {
  109764. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  109765. },
  109766. $signature: 19
  109767. };
  109768. A._SerializeVisitor__write_closure0.prototype = {
  109769. call$0() {
  109770. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  109771. },
  109772. $signature: 0
  109773. };
  109774. A._SerializeVisitor__visitChildren_closure1.prototype = {
  109775. call$0() {
  109776. return this.child.accept$1(this.$this);
  109777. },
  109778. $signature: 0
  109779. };
  109780. A._SerializeVisitor__visitChildren_closure2.prototype = {
  109781. call$0() {
  109782. this.child.accept$1(this.$this);
  109783. },
  109784. $signature: 0
  109785. };
  109786. A.OutputStyle0.prototype = {
  109787. _enumToString$0() {
  109788. return "OutputStyle." + this._name;
  109789. }
  109790. };
  109791. A.LineFeed0.prototype = {
  109792. _enumToString$0() {
  109793. return "LineFeed." + this._name;
  109794. },
  109795. toString$0(_) {
  109796. return this.name;
  109797. }
  109798. };
  109799. A.ShadowedModuleView0.prototype = {
  109800. get$url(_) {
  109801. var t1 = this._shadowed_view0$_inner;
  109802. return t1.get$url(t1);
  109803. },
  109804. get$upstream() {
  109805. return this._shadowed_view0$_inner.get$upstream();
  109806. },
  109807. get$extensionStore() {
  109808. return this._shadowed_view0$_inner.get$extensionStore();
  109809. },
  109810. get$css(_) {
  109811. var t1 = this._shadowed_view0$_inner;
  109812. return t1.get$css(t1);
  109813. },
  109814. get$preModuleComments() {
  109815. return this._shadowed_view0$_inner.get$preModuleComments();
  109816. },
  109817. get$transitivelyContainsCss() {
  109818. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  109819. },
  109820. get$transitivelyContainsExtensions() {
  109821. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  109822. },
  109823. setVariable$3($name, value, nodeWithSpan) {
  109824. if (!this.variables.containsKey$1($name))
  109825. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  109826. else
  109827. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  109828. },
  109829. variableIdentity$1($name) {
  109830. return this._shadowed_view0$_inner.variableIdentity$1($name);
  109831. },
  109832. $eq(_, other) {
  109833. var t1, t2, t3, _this = this;
  109834. if (other == null)
  109835. return false;
  109836. t1 = false;
  109837. if (other instanceof A.ShadowedModuleView0)
  109838. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  109839. t2 = _this.variables;
  109840. t2 = t2.get$keys(t2);
  109841. t3 = other.variables;
  109842. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  109843. t2 = _this.functions;
  109844. t2 = t2.get$keys(t2);
  109845. t3 = other.functions;
  109846. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  109847. t1 = _this.mixins;
  109848. t1 = t1.get$keys(t1);
  109849. t2 = other.mixins;
  109850. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  109851. t1 = t2;
  109852. }
  109853. }
  109854. }
  109855. return t1;
  109856. },
  109857. get$hashCode(_) {
  109858. var t1 = this._shadowed_view0$_inner;
  109859. return t1.get$hashCode(t1);
  109860. },
  109861. cloneCss$0() {
  109862. var _this = this;
  109863. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  109864. },
  109865. toString$0(_) {
  109866. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  109867. },
  109868. $isModule1: 1,
  109869. get$variables() {
  109870. return this.variables;
  109871. },
  109872. get$variableNodes() {
  109873. return this.variableNodes;
  109874. },
  109875. get$functions(receiver) {
  109876. return this.functions;
  109877. },
  109878. get$mixins() {
  109879. return this.mixins;
  109880. }
  109881. };
  109882. A.SilentComment0.prototype = {
  109883. accept$1$1(visitor) {
  109884. return visitor.visitSilentComment$1(0, this);
  109885. },
  109886. accept$1(visitor) {
  109887. return this.accept$1$1(visitor, type$.dynamic);
  109888. },
  109889. toString$0(_) {
  109890. return this.text;
  109891. },
  109892. get$span(receiver) {
  109893. return this.span;
  109894. }
  109895. };
  109896. A.SimpleSelector0.prototype = {
  109897. get$specificity() {
  109898. return 1000;
  109899. },
  109900. get$hasComplicatedSuperselectorSemantics() {
  109901. return false;
  109902. },
  109903. addSuffix$1(suffix) {
  109904. 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));
  109905. },
  109906. unify$1(compound) {
  109907. var other, result, addedThis, _i, simple, _this = this,
  109908. t1 = false;
  109909. if (compound.length === 1) {
  109910. other = compound[0];
  109911. if (!(other instanceof A.UniversalSelector0)) {
  109912. if (other instanceof A.PseudoSelector0)
  109913. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  109914. } else
  109915. t1 = true;
  109916. } else
  109917. other = null;
  109918. if (t1)
  109919. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  109920. if (B.JSArray_methods.contains$1(compound, _this))
  109921. return compound;
  109922. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  109923. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  109924. simple = compound[_i];
  109925. if (!addedThis && simple instanceof A.PseudoSelector0) {
  109926. result.push(_this);
  109927. addedThis = true;
  109928. }
  109929. result.push(simple);
  109930. }
  109931. if (!addedThis)
  109932. result.push(_this);
  109933. return result;
  109934. },
  109935. isSuperselector$1(other) {
  109936. var list;
  109937. if (this.$eq(0, other))
  109938. return true;
  109939. if (other instanceof A.PseudoSelector0 && other.isClass) {
  109940. list = other.selector;
  109941. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  109942. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  109943. }
  109944. return false;
  109945. }
  109946. };
  109947. A.SimpleSelector_isSuperselector_closure0.prototype = {
  109948. call$1(complex) {
  109949. var t1 = complex.components;
  109950. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  109951. },
  109952. $signature: 19
  109953. };
  109954. A.SimpleSelector_isSuperselector__closure0.prototype = {
  109955. call$1(simple) {
  109956. return this.$this.isSuperselector$1(simple);
  109957. },
  109958. $signature: 14
  109959. };
  109960. A.SingleUnitSassNumber0.prototype = {
  109961. get$numeratorUnits(_) {
  109962. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  109963. },
  109964. get$denominatorUnits(_) {
  109965. return B.List_empty;
  109966. },
  109967. get$hasUnits() {
  109968. return true;
  109969. },
  109970. get$hasComplexUnits() {
  109971. return false;
  109972. },
  109973. withValue$1(value) {
  109974. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  109975. },
  109976. withSlash$2(numerator, denominator) {
  109977. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  109978. },
  109979. hasUnit$1(unit) {
  109980. return unit === this._single_unit$_unit;
  109981. },
  109982. hasCompatibleUnits$1(other) {
  109983. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  109984. },
  109985. hasPossiblyCompatibleUnits$1(other) {
  109986. var t1, knownCompatibilities, otherUnit;
  109987. if (!(other instanceof A.SingleUnitSassNumber0))
  109988. return false;
  109989. t1 = $.$get$_knownCompatibilitiesByUnit0();
  109990. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  109991. if (knownCompatibilities == null)
  109992. return true;
  109993. otherUnit = other._single_unit$_unit.toLowerCase();
  109994. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  109995. },
  109996. compatibleWithUnit$1(unit) {
  109997. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  109998. },
  109999. coerceToMatch$3(other, $name, otherName) {
  110000. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  110001. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  110002. },
  110003. coerceToMatch$1(other) {
  110004. return this.coerceToMatch$3(other, null, null);
  110005. },
  110006. coerceValueToMatch$3(other, $name, otherName) {
  110007. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  110008. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  110009. },
  110010. coerceValueToMatch$1(other) {
  110011. return this.coerceValueToMatch$3(other, null, null);
  110012. },
  110013. convertToMatch$3(other, $name, otherName) {
  110014. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  110015. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  110016. },
  110017. convertValueToMatch$3(other, $name, otherName) {
  110018. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  110019. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  110020. },
  110021. convertValueToMatch$1(other) {
  110022. return this.convertValueToMatch$3(other, null, null);
  110023. },
  110024. coerce$3(newNumerators, newDenominators, $name) {
  110025. var t1 = J.getInterceptor$asx(newNumerators);
  110026. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  110027. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  110028. },
  110029. coerce$2(newNumerators, newDenominators) {
  110030. return this.coerce$3(newNumerators, newDenominators, null);
  110031. },
  110032. coerceValue$3(newNumerators, newDenominators, $name) {
  110033. var t1 = J.getInterceptor$asx(newNumerators);
  110034. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  110035. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  110036. },
  110037. coerceValueToUnit$2(unit, $name) {
  110038. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  110039. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  110040. },
  110041. coerceValueToUnit$1(unit) {
  110042. return this.coerceValueToUnit$2(unit, null);
  110043. },
  110044. _single_unit$_coerceToUnit$1(unit) {
  110045. var t1 = this._single_unit$_unit;
  110046. if (t1 === unit)
  110047. return this;
  110048. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  110049. },
  110050. _single_unit$_coerceValueToUnit$1(unit) {
  110051. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  110052. },
  110053. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  110054. var mutableOtherDenominators, t1 = {};
  110055. t1.value = value;
  110056. t1.newNumerators = otherNumerators;
  110057. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  110058. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  110059. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  110060. },
  110061. unaryMinus$0() {
  110062. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  110063. },
  110064. $eq(_, other) {
  110065. var factor;
  110066. if (other == null)
  110067. return false;
  110068. if (other instanceof A.SingleUnitSassNumber0) {
  110069. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  110070. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  110071. } else
  110072. return false;
  110073. },
  110074. get$hashCode(_) {
  110075. var _this = this,
  110076. t1 = _this.hashCache;
  110077. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  110078. }
  110079. };
  110080. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  110081. call$1(factor) {
  110082. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  110083. },
  110084. $signature: 544
  110085. };
  110086. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  110087. call$1(factor) {
  110088. return this.$this._number1$_value * factor;
  110089. },
  110090. $signature: 37
  110091. };
  110092. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  110093. call$1(denominator) {
  110094. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  110095. if (factor == null)
  110096. return false;
  110097. this._box_0.value *= factor;
  110098. return true;
  110099. },
  110100. $signature: 4
  110101. };
  110102. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  110103. call$0() {
  110104. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  110105. t2 = this._box_0;
  110106. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  110107. t2.newNumerators = t1;
  110108. },
  110109. $signature: 0
  110110. };
  110111. A.SourceMapBuffer0.prototype = {
  110112. get$_source_map_buffer0$_targetLocation() {
  110113. var t1 = this._source_map_buffer0$_buffer._contents,
  110114. t2 = this._source_map_buffer0$_line;
  110115. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  110116. },
  110117. get$length(_) {
  110118. return this._source_map_buffer0$_buffer._contents.length;
  110119. },
  110120. forSpan$1$2(span, callback) {
  110121. var t1, _this = this,
  110122. wasInSpan = _this._source_map_buffer0$_inSpan;
  110123. _this._source_map_buffer0$_inSpan = true;
  110124. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  110125. try {
  110126. t1 = callback.call$0();
  110127. return t1;
  110128. } finally {
  110129. _this._source_map_buffer0$_inSpan = wasInSpan;
  110130. }
  110131. },
  110132. forSpan$2(span, callback) {
  110133. return this.forSpan$1$2(span, callback, type$.dynamic);
  110134. },
  110135. _source_map_buffer0$_addEntry$2(source, target) {
  110136. var entry, t2,
  110137. t1 = this._source_map_buffer0$_entries;
  110138. if (t1.length !== 0) {
  110139. entry = B.JSArray_methods.get$last(t1);
  110140. t2 = entry.source;
  110141. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  110142. return;
  110143. if (entry.target.offset === target.offset)
  110144. return;
  110145. }
  110146. t1.push(new A.Entry(source, target, null));
  110147. },
  110148. write$1(_, object) {
  110149. var t1, i,
  110150. string = J.toString$0$(object);
  110151. this._source_map_buffer0$_buffer._contents += string;
  110152. for (t1 = string.length, i = 0; i < t1; ++i)
  110153. if (string.charCodeAt(i) === 10)
  110154. this._source_map_buffer0$_writeLine$0();
  110155. else
  110156. ++this._source_map_buffer0$_column;
  110157. },
  110158. writeCharCode$1(charCode) {
  110159. var t1 = this._source_map_buffer0$_buffer,
  110160. t2 = A.Primitives_stringFromCharCode(charCode);
  110161. t1._contents += t2;
  110162. if (charCode === 10)
  110163. this._source_map_buffer0$_writeLine$0();
  110164. else
  110165. ++this._source_map_buffer0$_column;
  110166. },
  110167. _source_map_buffer0$_writeLine$0() {
  110168. var _this = this,
  110169. t1 = _this._source_map_buffer0$_entries;
  110170. 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)
  110171. t1.pop();
  110172. ++_this._source_map_buffer0$_line;
  110173. _this._source_map_buffer0$_column = 0;
  110174. if (_this._source_map_buffer0$_inSpan)
  110175. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  110176. },
  110177. toString$0(_) {
  110178. var t1 = this._source_map_buffer0$_buffer._contents;
  110179. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110180. },
  110181. buildSourceMap$1$prefix(prefix) {
  110182. var i, t2, prefixColumn, _box_0 = {},
  110183. t1 = prefix.length;
  110184. if (t1 === 0)
  110185. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  110186. _box_0.prefixColumn = _box_0.prefixLines = 0;
  110187. for (i = 0, t2 = 0; i < t1; ++i)
  110188. if (prefix.charCodeAt(i) === 10) {
  110189. ++_box_0.prefixLines;
  110190. _box_0.prefixColumn = 0;
  110191. t2 = 0;
  110192. } else {
  110193. prefixColumn = t2 + 1;
  110194. _box_0.prefixColumn = prefixColumn;
  110195. t2 = prefixColumn;
  110196. }
  110197. t2 = this._source_map_buffer0$_entries;
  110198. 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>")));
  110199. }
  110200. };
  110201. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  110202. call$1(entry) {
  110203. var t1 = entry.target,
  110204. t2 = t1.line,
  110205. t3 = this._box_0,
  110206. t4 = t3.prefixLines;
  110207. t3 = t2 === 0 ? t3.prefixColumn : 0;
  110208. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  110209. },
  110210. $signature: 159
  110211. };
  110212. A.updateSourceSpanPrototype_closure.prototype = {
  110213. call$0() {
  110214. return this.span;
  110215. },
  110216. $signature: 27
  110217. };
  110218. A.updateSourceSpanPrototype_closure0.prototype = {
  110219. call$1(span) {
  110220. return span.get$start(span);
  110221. },
  110222. $signature: 235
  110223. };
  110224. A.updateSourceSpanPrototype_closure1.prototype = {
  110225. call$1(span) {
  110226. return span.get$end(span);
  110227. },
  110228. $signature: 235
  110229. };
  110230. A.updateSourceSpanPrototype_closure2.prototype = {
  110231. call$1(span) {
  110232. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  110233. },
  110234. $signature: 546
  110235. };
  110236. A.updateSourceSpanPrototype__closure.prototype = {
  110237. call$1(url) {
  110238. var t1, _null = null;
  110239. if (url.get$scheme() === "") {
  110240. t1 = $.$get$context();
  110241. t1 = t1.toUri$1(A.absolute(t1.style.pathFromUri$1(A._parseUri(url)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  110242. } else
  110243. t1 = url;
  110244. return new self.URL(t1.toString$0(0));
  110245. },
  110246. $signature: 233
  110247. };
  110248. A.updateSourceSpanPrototype_closure3.prototype = {
  110249. call$1(span) {
  110250. return span.get$text();
  110251. },
  110252. $signature: 224
  110253. };
  110254. A.updateSourceSpanPrototype_closure4.prototype = {
  110255. call$1(span) {
  110256. return span.get$context(span);
  110257. },
  110258. $signature: 224
  110259. };
  110260. A.updateSourceSpanPrototype_closure5.prototype = {
  110261. call$1($location) {
  110262. return $location.get$line();
  110263. },
  110264. $signature: 216
  110265. };
  110266. A.updateSourceSpanPrototype_closure6.prototype = {
  110267. call$1($location) {
  110268. return $location.get$column();
  110269. },
  110270. $signature: 216
  110271. };
  110272. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  110273. A.JSStatementVisitor.prototype = {
  110274. visitAtRootRule$1(_, node) {
  110275. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  110276. },
  110277. visitAtRule$1(_, node) {
  110278. return J.visitAtRule$1$x(this._statement$_inner, node);
  110279. },
  110280. visitContentBlock$1(_, node) {
  110281. return J.visitContentBlock$1$x(this._statement$_inner, node);
  110282. },
  110283. visitContentRule$1(_, node) {
  110284. return J.visitContentRule$1$x(this._statement$_inner, node);
  110285. },
  110286. visitDebugRule$1(_, node) {
  110287. return J.visitDebugRule$1$x(this._statement$_inner, node);
  110288. },
  110289. visitDeclaration$1(_, node) {
  110290. return J.visitDeclaration$1$x(this._statement$_inner, node);
  110291. },
  110292. visitEachRule$1(_, node) {
  110293. return J.visitEachRule$1$x(this._statement$_inner, node);
  110294. },
  110295. visitErrorRule$1(_, node) {
  110296. return J.visitErrorRule$1$x(this._statement$_inner, node);
  110297. },
  110298. visitExtendRule$1(_, node) {
  110299. return J.visitExtendRule$1$x(this._statement$_inner, node);
  110300. },
  110301. visitForRule$1(_, node) {
  110302. return J.visitForRule$1$x(this._statement$_inner, node);
  110303. },
  110304. visitForwardRule$1(_, node) {
  110305. return J.visitForwardRule$1$x(this._statement$_inner, node);
  110306. },
  110307. visitFunctionRule$1(_, node) {
  110308. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  110309. },
  110310. visitIfRule$1(_, node) {
  110311. return J.visitIfRule$1$x(this._statement$_inner, node);
  110312. },
  110313. visitImportRule$1(_, node) {
  110314. return J.visitImportRule$1$x(this._statement$_inner, node);
  110315. },
  110316. visitIncludeRule$1(_, node) {
  110317. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  110318. },
  110319. visitLoudComment$1(_, node) {
  110320. return J.visitLoudComment$1$x(this._statement$_inner, node);
  110321. },
  110322. visitMediaRule$1(_, node) {
  110323. return J.visitMediaRule$1$x(this._statement$_inner, node);
  110324. },
  110325. visitMixinRule$1(_, node) {
  110326. return J.visitMixinRule$1$x(this._statement$_inner, node);
  110327. },
  110328. visitReturnRule$1(_, node) {
  110329. return J.visitReturnRule$1$x(this._statement$_inner, node);
  110330. },
  110331. visitSilentComment$1(_, node) {
  110332. return J.visitSilentComment$1$x(this._statement$_inner, node);
  110333. },
  110334. visitStyleRule$1(_, node) {
  110335. return J.visitStyleRule$1$x(this._statement$_inner, node);
  110336. },
  110337. visitStylesheet$1(_, node) {
  110338. return J.visitStylesheet$1$x(this._statement$_inner, node);
  110339. },
  110340. visitSupportsRule$1(_, node) {
  110341. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  110342. },
  110343. visitUseRule$1(_, node) {
  110344. return J.visitUseRule$1$x(this._statement$_inner, node);
  110345. },
  110346. visitVariableDeclaration$1(_, node) {
  110347. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  110348. },
  110349. visitWarnRule$1(_, node) {
  110350. return J.visitWarnRule$1$x(this._statement$_inner, node);
  110351. },
  110352. visitWhileRule$1(_, node) {
  110353. return J.visitWhileRule$1$x(this._statement$_inner, node);
  110354. },
  110355. $isStatementVisitor: 1
  110356. };
  110357. A.JSStatementVisitorObject.prototype = {};
  110358. A.StatementSearchVisitor0.prototype = {
  110359. visitAtRootRule$1(_, node) {
  110360. return this.visitChildren$1(node.children);
  110361. },
  110362. visitAtRule$1(_, node) {
  110363. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110364. },
  110365. visitContentBlock$1(_, node) {
  110366. return this.visitChildren$1(node.children);
  110367. },
  110368. visitContentRule$1(_, node) {
  110369. return null;
  110370. },
  110371. visitDebugRule$1(_, node) {
  110372. return null;
  110373. },
  110374. visitDeclaration$1(_, node) {
  110375. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110376. },
  110377. visitEachRule$1(_, node) {
  110378. return this.visitChildren$1(node.children);
  110379. },
  110380. visitErrorRule$1(_, node) {
  110381. return null;
  110382. },
  110383. visitExtendRule$1(_, node) {
  110384. return null;
  110385. },
  110386. visitForRule$1(_, node) {
  110387. return this.visitChildren$1(node.children);
  110388. },
  110389. visitForwardRule$1(_, node) {
  110390. return null;
  110391. },
  110392. visitFunctionRule$1(_, node) {
  110393. return this.visitChildren$1(node.children);
  110394. },
  110395. visitIfRule$1(_, node) {
  110396. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  110397. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  110398. },
  110399. visitImportRule$1(_, node) {
  110400. return null;
  110401. },
  110402. visitIncludeRule$1(_, node) {
  110403. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  110404. },
  110405. visitLoudComment$1(_, node) {
  110406. return null;
  110407. },
  110408. visitMediaRule$1(_, node) {
  110409. return this.visitChildren$1(node.children);
  110410. },
  110411. visitMixinRule$1(_, node) {
  110412. return this.visitChildren$1(node.children);
  110413. },
  110414. visitReturnRule$1(_, node) {
  110415. return null;
  110416. },
  110417. visitSilentComment$1(_, node) {
  110418. return null;
  110419. },
  110420. visitStyleRule$1(_, node) {
  110421. return this.visitChildren$1(node.children);
  110422. },
  110423. visitStylesheet$1(_, node) {
  110424. return this.visitChildren$1(node.children);
  110425. },
  110426. visitSupportsRule$1(_, node) {
  110427. return this.visitChildren$1(node.children);
  110428. },
  110429. visitUseRule$1(_, node) {
  110430. return null;
  110431. },
  110432. visitVariableDeclaration$1(_, node) {
  110433. return null;
  110434. },
  110435. visitWarnRule$1(_, node) {
  110436. return null;
  110437. },
  110438. visitWhileRule$1(_, node) {
  110439. return this.visitChildren$1(node.children);
  110440. },
  110441. visitChildren$1(children) {
  110442. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  110443. }
  110444. };
  110445. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  110446. call$1(clause) {
  110447. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  110448. },
  110449. $signature() {
  110450. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  110451. }
  110452. };
  110453. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  110454. call$1(child) {
  110455. return child.accept$1(this.$this);
  110456. },
  110457. $signature() {
  110458. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110459. }
  110460. };
  110461. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  110462. call$1(lastClause) {
  110463. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  110464. },
  110465. $signature() {
  110466. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  110467. }
  110468. };
  110469. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  110470. call$1(child) {
  110471. return child.accept$1(this.$this);
  110472. },
  110473. $signature() {
  110474. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110475. }
  110476. };
  110477. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  110478. call$1(child) {
  110479. return child.accept$1(this.$this);
  110480. },
  110481. $signature() {
  110482. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110483. }
  110484. };
  110485. A.StaticImport0.prototype = {
  110486. toString$0(_) {
  110487. var t1 = this.url.toString$0(0),
  110488. t2 = this.modifiers;
  110489. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  110490. },
  110491. $isImport0: 1,
  110492. $isAstNode0: 1,
  110493. $isSassNode: 1,
  110494. get$span(receiver) {
  110495. return this.span;
  110496. }
  110497. };
  110498. A.StderrLogger0.prototype = {
  110499. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  110500. var t2,
  110501. result = new A.StringBuffer(""),
  110502. t1 = this.color;
  110503. if (t1) {
  110504. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  110505. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  110506. } else
  110507. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  110508. if (span == null)
  110509. t1 = result._contents = t2 + (": " + message + "\n");
  110510. else if (trace != null) {
  110511. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  110512. result._contents = t1;
  110513. } else {
  110514. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  110515. result._contents = t1;
  110516. }
  110517. if (trace != null)
  110518. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  110519. A.printError0(result);
  110520. },
  110521. warn$1(_, message) {
  110522. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  110523. },
  110524. warn$3$span$trace(_, message, span, trace) {
  110525. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  110526. },
  110527. warn$2$span(_, message, span) {
  110528. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  110529. },
  110530. warn$2$trace(_, message, trace) {
  110531. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  110532. },
  110533. debug$2(_, message, span) {
  110534. var url, t3, t4,
  110535. t1 = span.file,
  110536. t2 = span._file$_start;
  110537. if (A.FileLocation$_(t1, t2).file.url == null)
  110538. url = "-";
  110539. else {
  110540. t3 = A.FileLocation$_(t1, t2).file.url;
  110541. t4 = $.$get$context();
  110542. t3.toString;
  110543. url = t4.prettyUri$1(t3);
  110544. }
  110545. t1 = A.FileLocation$_(t1, t2);
  110546. t1 = t1.file.getLine$1(t1.offset);
  110547. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  110548. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  110549. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  110550. }
  110551. };
  110552. A.StringExpression0.prototype = {
  110553. get$span(_) {
  110554. return this.text.span;
  110555. },
  110556. accept$1$1(visitor) {
  110557. return visitor.visitStringExpression$1(0, this);
  110558. },
  110559. accept$1(visitor) {
  110560. return this.accept$1$1(visitor, type$.dynamic);
  110561. },
  110562. asInterpolation$1$static($static) {
  110563. var t1, t2, quote, t3, t4, buffer, t5, _i, value;
  110564. if (!this.hasQuotes)
  110565. return this.text;
  110566. t1 = this.text;
  110567. t2 = t1.contents;
  110568. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  110569. t3 = new A.StringBuffer("");
  110570. t4 = A._setArrayType([], type$.JSArray_Object);
  110571. buffer = new A.InterpolationBuffer0(t3, t4);
  110572. t5 = A.Primitives_stringFromCharCode(quote);
  110573. t3._contents += t5;
  110574. for (t5 = t2.length, _i = 0; _i < t5; ++_i) {
  110575. value = t2[_i];
  110576. if (value instanceof A.Expression0) {
  110577. buffer._interpolation_buffer0$_flushText$0();
  110578. t4.push(value);
  110579. continue;
  110580. }
  110581. if (typeof value == "string")
  110582. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  110583. }
  110584. t2 = A.Primitives_stringFromCharCode(quote);
  110585. t3._contents += t2;
  110586. return buffer.interpolation$1(t1.span);
  110587. },
  110588. asInterpolation$0() {
  110589. return this.asInterpolation$1$static(false);
  110590. },
  110591. toString$0(_) {
  110592. return this.asInterpolation$0().toString$0(0);
  110593. }
  110594. };
  110595. A.module_closure10.prototype = {
  110596. call$1($arguments) {
  110597. var limit, t2, chunks, i, lastEnd, match, t3,
  110598. t1 = J.getInterceptor$asx($arguments),
  110599. string = t1.$index($arguments, 0).assertString$1("string"),
  110600. separator = t1.$index($arguments, 1).assertString$1("separator");
  110601. t1 = t1.$index($arguments, 2).get$realNull();
  110602. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  110603. if (limit != null && limit < 1)
  110604. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  110605. t1 = string._string0$_text;
  110606. if (t1.length === 0)
  110607. return B.SassList_bdS2;
  110608. else {
  110609. t2 = separator._string0$_text;
  110610. if (t2.length === 0)
  110611. 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_ECn0, true);
  110612. }
  110613. chunks = A._setArrayType([], type$.JSArray_String);
  110614. 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();) {
  110615. match = t2.__js_helper$_current;
  110616. t3 = match.start;
  110617. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  110618. lastEnd = t3 + match.pattern.length;
  110619. ++i;
  110620. if (i === limit)
  110621. break;
  110622. }
  110623. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  110624. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_ECn0, true);
  110625. },
  110626. $signature: 23
  110627. };
  110628. A.module__closure2.prototype = {
  110629. call$1(rune) {
  110630. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  110631. },
  110632. $signature: 550
  110633. };
  110634. A.module__closure3.prototype = {
  110635. call$1(chunk) {
  110636. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  110637. },
  110638. $signature: 551
  110639. };
  110640. A._unquote_closure0.prototype = {
  110641. call$1($arguments) {
  110642. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110643. if (!string._string0$_hasQuotes)
  110644. return string;
  110645. return new A.SassString0(string._string0$_text, false);
  110646. },
  110647. $signature: 16
  110648. };
  110649. A._quote_closure0.prototype = {
  110650. call$1($arguments) {
  110651. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110652. if (string._string0$_hasQuotes)
  110653. return string;
  110654. return new A.SassString0(string._string0$_text, true);
  110655. },
  110656. $signature: 16
  110657. };
  110658. A._length_closure1.prototype = {
  110659. call$1($arguments) {
  110660. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  110661. },
  110662. $signature: 11
  110663. };
  110664. A._insert_closure0.prototype = {
  110665. call$1($arguments) {
  110666. var indexInt, codeUnitIndex, _s5_ = "index",
  110667. t1 = J.getInterceptor$asx($arguments),
  110668. string = t1.$index($arguments, 0).assertString$1("string"),
  110669. insert = t1.$index($arguments, 1).assertString$1("insert"),
  110670. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  110671. index.assertNoUnits$1(_s5_);
  110672. indexInt = index.assertInt$1(_s5_);
  110673. if (indexInt < 0)
  110674. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  110675. t1 = string._string0$_text;
  110676. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  110677. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  110678. },
  110679. $signature: 16
  110680. };
  110681. A._index_closure1.prototype = {
  110682. call$1($arguments) {
  110683. var t1 = J.getInterceptor$asx($arguments),
  110684. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  110685. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  110686. if (codeUnitIndex === -1)
  110687. return B.C__SassNull0;
  110688. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  110689. },
  110690. $signature: 3
  110691. };
  110692. A._slice_closure0.prototype = {
  110693. call$1($arguments) {
  110694. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  110695. _s8_ = "start-at",
  110696. t1 = J.getInterceptor$asx($arguments),
  110697. string = t1.$index($arguments, 0).assertString$1("string"),
  110698. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  110699. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  110700. start.assertNoUnits$1(_s8_);
  110701. end.assertNoUnits$1("end-at");
  110702. lengthInCodepoints = string.get$_string0$_sassLength();
  110703. endInt = end.assertInt$0();
  110704. if (endInt === 0)
  110705. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110706. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  110707. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  110708. if (endCodepoint === lengthInCodepoints)
  110709. --endCodepoint;
  110710. if (endCodepoint < startCodepoint)
  110711. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110712. t1 = string._string0$_text;
  110713. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  110714. },
  110715. $signature: 16
  110716. };
  110717. A._toUpperCase_closure0.prototype = {
  110718. call$1($arguments) {
  110719. var t1, t2, i, t3, t4,
  110720. string = J.$index$asx($arguments, 0).assertString$1("string");
  110721. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110722. t4 = t1.charCodeAt(i);
  110723. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  110724. }
  110725. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110726. },
  110727. $signature: 16
  110728. };
  110729. A._toLowerCase_closure0.prototype = {
  110730. call$1($arguments) {
  110731. var t1, t2, i, t3, t4,
  110732. string = J.$index$asx($arguments, 0).assertString$1("string");
  110733. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110734. t4 = t1.charCodeAt(i);
  110735. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  110736. }
  110737. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110738. },
  110739. $signature: 16
  110740. };
  110741. A._uniqueId_closure0.prototype = {
  110742. call$1($arguments) {
  110743. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  110744. $._previousUniqueId0 = t1;
  110745. if (t1 > Math.pow(36, 6))
  110746. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  110747. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  110748. },
  110749. $signature: 16
  110750. };
  110751. A.stringClass_closure.prototype = {
  110752. call$0() {
  110753. var t2,
  110754. t1 = type$.JSClass,
  110755. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  110756. 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));
  110757. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  110758. t2 = $.$get$_emptyQuoted0();
  110759. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  110760. return jsClass;
  110761. },
  110762. $signature: 15
  110763. };
  110764. A.stringClass__closure.prototype = {
  110765. call$3($self, textOrOptions, options) {
  110766. var t1;
  110767. if (typeof textOrOptions == "string") {
  110768. t1 = options == null ? null : J.get$quotes$x(options);
  110769. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  110770. } else {
  110771. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  110772. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  110773. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110774. }
  110775. return t1;
  110776. },
  110777. call$1($self) {
  110778. return this.call$3($self, null, null);
  110779. },
  110780. call$2($self, textOrOptions) {
  110781. return this.call$3($self, textOrOptions, null);
  110782. },
  110783. "call*": "call$3",
  110784. $requiredArgCount: 1,
  110785. $defaultValues() {
  110786. return [null, null];
  110787. },
  110788. $signature: 552
  110789. };
  110790. A.stringClass__closure0.prototype = {
  110791. call$1($self) {
  110792. return $self._string0$_text;
  110793. },
  110794. $signature: 553
  110795. };
  110796. A.stringClass__closure1.prototype = {
  110797. call$1($self) {
  110798. return $self._string0$_hasQuotes;
  110799. },
  110800. $signature: 554
  110801. };
  110802. A.stringClass__closure2.prototype = {
  110803. call$1($self) {
  110804. return $self.get$_string0$_sassLength();
  110805. },
  110806. $signature: 555
  110807. };
  110808. A.stringClass__closure3.prototype = {
  110809. call$3($self, sassIndex, $name) {
  110810. var t1,
  110811. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  110812. if (index === 0)
  110813. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  110814. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  110815. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  110816. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  110817. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  110818. },
  110819. call$2($self, sassIndex) {
  110820. return this.call$3($self, sassIndex, null);
  110821. },
  110822. "call*": "call$3",
  110823. $requiredArgCount: 2,
  110824. $defaultValues() {
  110825. return [null];
  110826. },
  110827. $signature: 556
  110828. };
  110829. A._ConstructorOptions1.prototype = {};
  110830. A._NodeSassString.prototype = {};
  110831. A.legacyStringClass_closure.prototype = {
  110832. call$3(thisArg, value, dartValue) {
  110833. var t1;
  110834. if (dartValue == null) {
  110835. value.toString;
  110836. t1 = new A.SassString0(value, false);
  110837. } else
  110838. t1 = dartValue;
  110839. J.set$dartValue$x(thisArg, t1);
  110840. },
  110841. call$2(thisArg, value) {
  110842. return this.call$3(thisArg, value, null);
  110843. },
  110844. "call*": "call$3",
  110845. $requiredArgCount: 2,
  110846. $defaultValues() {
  110847. return [null];
  110848. },
  110849. $signature: 557
  110850. };
  110851. A.legacyStringClass_closure0.prototype = {
  110852. call$1(thisArg) {
  110853. return J.get$dartValue$x(thisArg)._string0$_text;
  110854. },
  110855. $signature: 558
  110856. };
  110857. A.legacyStringClass_closure1.prototype = {
  110858. call$2(thisArg, value) {
  110859. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  110860. },
  110861. $signature: 559
  110862. };
  110863. A.SassString0.prototype = {
  110864. get$_string0$_sassLength() {
  110865. var result, _this = this,
  110866. value = _this._string0$__SassString__sassLength_FI;
  110867. if (value === $) {
  110868. result = new A.Runes(_this._string0$_text).get$length(0);
  110869. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  110870. _this._string0$__SassString__sassLength_FI = result;
  110871. value = result;
  110872. }
  110873. return value;
  110874. },
  110875. get$isSpecialNumber() {
  110876. var t1, _2_0, t2, _0_0, _1_0;
  110877. if (this._string0$_hasQuotes)
  110878. return false;
  110879. t1 = this._string0$_text;
  110880. if (t1.length < 6)
  110881. return false;
  110882. _2_0 = t1.charCodeAt(0);
  110883. $label1$1: {
  110884. t2 = false;
  110885. if (99 === _2_0 || 67 === _2_0) {
  110886. _0_0 = t1.charCodeAt(1);
  110887. $label0$0: {
  110888. if (108 === _0_0 || 76 === _0_0) {
  110889. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  110890. break $label0$0;
  110891. }
  110892. if (97 === _0_0 || 65 === _0_0) {
  110893. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  110894. break $label0$0;
  110895. }
  110896. t1 = t2;
  110897. break $label0$0;
  110898. }
  110899. break $label1$1;
  110900. }
  110901. if (118 === _2_0 || 86 === _2_0) {
  110902. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110903. break $label1$1;
  110904. }
  110905. if (101 === _2_0 || 69 === _2_0) {
  110906. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  110907. break $label1$1;
  110908. }
  110909. if (109 === _2_0 || 77 === _2_0) {
  110910. _1_0 = t1.charCodeAt(1);
  110911. $label2$2: {
  110912. if (97 === _1_0 || 65 === _1_0) {
  110913. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  110914. break $label2$2;
  110915. }
  110916. if (105 === _1_0 || 73 === _1_0) {
  110917. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  110918. break $label2$2;
  110919. }
  110920. t1 = t2;
  110921. break $label2$2;
  110922. }
  110923. break $label1$1;
  110924. }
  110925. t1 = t2;
  110926. break $label1$1;
  110927. }
  110928. return t1;
  110929. },
  110930. get$isVar() {
  110931. if (this._string0$_hasQuotes)
  110932. return false;
  110933. var t1 = this._string0$_text;
  110934. if (t1.length < 8)
  110935. return false;
  110936. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110937. },
  110938. get$isBlank() {
  110939. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  110940. },
  110941. accept$1$1(visitor) {
  110942. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  110943. t2 = this._string0$_text;
  110944. if (t1)
  110945. visitor._serialize0$_visitQuotedString$1(t2);
  110946. else
  110947. visitor._serialize0$_visitUnquotedString$1(t2);
  110948. return null;
  110949. },
  110950. accept$1(visitor) {
  110951. return this.accept$1$1(visitor, type$.dynamic);
  110952. },
  110953. assertString$1($name) {
  110954. return this;
  110955. },
  110956. plus$1(other) {
  110957. var t1 = this._string0$_text,
  110958. t2 = this._string0$_hasQuotes;
  110959. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  110960. },
  110961. $eq(_, other) {
  110962. if (other == null)
  110963. return false;
  110964. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  110965. },
  110966. get$hashCode(_) {
  110967. var t1 = this._string0$_hashCache;
  110968. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  110969. }
  110970. };
  110971. A.ModifiableCssStyleRule0.prototype = {
  110972. accept$1$1(visitor) {
  110973. return visitor.visitCssStyleRule$1(this);
  110974. },
  110975. accept$1(visitor) {
  110976. return this.accept$1$1(visitor, type$.dynamic);
  110977. },
  110978. equalsIgnoringChildren$1(other) {
  110979. var t1;
  110980. if (other instanceof A.ModifiableCssStyleRule0)
  110981. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  110982. else
  110983. t1 = false;
  110984. return t1;
  110985. },
  110986. copyWithoutChildren$0() {
  110987. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  110988. },
  110989. get$span(receiver) {
  110990. return this.span;
  110991. }
  110992. };
  110993. A.StyleRule0.prototype = {
  110994. accept$1$1(visitor) {
  110995. return visitor.visitStyleRule$1(0, this);
  110996. },
  110997. accept$1(visitor) {
  110998. return this.accept$1$1(visitor, type$.dynamic);
  110999. },
  111000. toString$0(_) {
  111001. var t1 = this.children;
  111002. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  111003. },
  111004. get$span(receiver) {
  111005. return this.span;
  111006. }
  111007. };
  111008. A.CssStylesheet0.prototype = {
  111009. get$isGroupEnd() {
  111010. return false;
  111011. },
  111012. get$isChildless() {
  111013. return false;
  111014. },
  111015. accept$1$1(visitor) {
  111016. return visitor.visitCssStylesheet$1(this);
  111017. },
  111018. accept$1(visitor) {
  111019. return this.accept$1$1(visitor, type$.dynamic);
  111020. },
  111021. get$children(receiver) {
  111022. return this.children;
  111023. },
  111024. get$span(receiver) {
  111025. return this.span;
  111026. }
  111027. };
  111028. A.ModifiableCssStylesheet0.prototype = {
  111029. accept$1$1(visitor) {
  111030. return visitor.visitCssStylesheet$1(this);
  111031. },
  111032. accept$1(visitor) {
  111033. return this.accept$1$1(visitor, type$.dynamic);
  111034. },
  111035. equalsIgnoringChildren$1(other) {
  111036. return other instanceof A.ModifiableCssStylesheet0;
  111037. },
  111038. copyWithoutChildren$0() {
  111039. return A.ModifiableCssStylesheet$0(this.span);
  111040. },
  111041. $isCssStylesheet0: 1,
  111042. get$span(receiver) {
  111043. return this.span;
  111044. }
  111045. };
  111046. A.StylesheetParser0.prototype = {
  111047. parse$0(_) {
  111048. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  111049. },
  111050. parseArgumentDeclaration$0() {
  111051. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  111052. },
  111053. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  111054. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  111055. },
  111056. parseSignature$1$requireParens(requireParens) {
  111057. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  111058. },
  111059. _stylesheet0$_statement$1$root(root) {
  111060. var t2, _this = this,
  111061. t1 = _this.scanner,
  111062. _0_0 = t1.peekChar$0();
  111063. if (64 === _0_0)
  111064. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  111065. if (43 === _0_0) {
  111066. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  111067. return _this._stylesheet0$_styleRule$0();
  111068. _this._stylesheet0$_isUseAllowed = false;
  111069. t2 = t1._string_scanner$_position;
  111070. t1.readChar$0();
  111071. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  111072. }
  111073. if (61 === _0_0) {
  111074. if (!_this.get$indented())
  111075. return _this._stylesheet0$_styleRule$0();
  111076. _this._stylesheet0$_isUseAllowed = false;
  111077. t2 = t1._string_scanner$_position;
  111078. t1.readChar$0();
  111079. _this.whitespace$0();
  111080. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  111081. }
  111082. if (125 === _0_0)
  111083. t1.error$2$length(0, 'unmatched "}".', 1);
  111084. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  111085. },
  111086. _stylesheet0$_statement$0() {
  111087. return this._stylesheet0$_statement$1$root(false);
  111088. },
  111089. variableDeclarationWithoutNamespace$2(namespace, start_) {
  111090. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  111091. precedingComment = _this.lastSilentComment;
  111092. _this.lastSilentComment = null;
  111093. if (start_ == null) {
  111094. t1 = _this.scanner;
  111095. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111096. } else
  111097. start = start_;
  111098. $name = _this.variableName$0();
  111099. t1 = namespace != null;
  111100. if (t1)
  111101. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  111102. if (_this.get$plainCss())
  111103. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  111104. _this.whitespace$0();
  111105. t2 = _this.scanner;
  111106. t2.expectChar$1(58);
  111107. _this.whitespace$0();
  111108. value = _this._stylesheet0$_expression$0();
  111109. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111110. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  111111. $label0$0: {
  111112. _0_0 = _this.identifier$0();
  111113. if ("default" === _0_0) {
  111114. if (guarded) {
  111115. endPosition = t2._string_scanner$_position;
  111116. t4 = t2._sourceFile;
  111117. t5 = flagStart.position;
  111118. t6 = new A._FileSpan(t4, t5, endPosition);
  111119. t6._FileSpan$3(t4, t5, endPosition);
  111120. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_iXE, string$.x21defau, t6, null);
  111121. }
  111122. guarded = true;
  111123. break $label0$0;
  111124. }
  111125. if ("global" === _0_0) {
  111126. if (t1) {
  111127. endPosition = t2._string_scanner$_position;
  111128. t4 = t2._sourceFile;
  111129. t5 = flagStart.position;
  111130. t6 = new A._FileSpan(t4, t5, endPosition);
  111131. t6._FileSpan$3(t4, t5, endPosition);
  111132. _this.error$2(0, string$.x21globai, t6);
  111133. } else if (global) {
  111134. endPosition = t2._string_scanner$_position;
  111135. t4 = t2._sourceFile;
  111136. t5 = flagStart.position;
  111137. t6 = new A._FileSpan(t4, t5, endPosition);
  111138. t6._FileSpan$3(t4, t5, endPosition);
  111139. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_iXE, string$.x21globas, t6, null);
  111140. }
  111141. global = true;
  111142. break $label0$0;
  111143. }
  111144. endPosition = t2._string_scanner$_position;
  111145. t4 = t2._sourceFile;
  111146. t5 = flagStart.position;
  111147. t6 = new A._FileSpan(t4, t5, endPosition);
  111148. t6._FileSpan$3(t4, t5, endPosition);
  111149. _this.error$2(0, "Invalid flag name.", t6);
  111150. }
  111151. _this.whitespace$0();
  111152. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111153. }
  111154. _this.expectStatementSeparator$1("variable declaration");
  111155. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  111156. if (global)
  111157. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  111158. return declaration;
  111159. },
  111160. variableDeclarationWithoutNamespace$0() {
  111161. return this.variableDeclarationWithoutNamespace$2(null, null);
  111162. },
  111163. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  111164. var t1, t2, variableOrInterpolation, t3, _this = this;
  111165. if (_this.get$plainCss())
  111166. return _this._stylesheet0$_styleRule$0();
  111167. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  111168. return _this._stylesheet0$_styleRule$0();
  111169. if (!_this.lookingAtIdentifier$0())
  111170. return _this._stylesheet0$_styleRule$0();
  111171. t1 = _this.scanner;
  111172. t2 = t1._string_scanner$_position;
  111173. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111174. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111175. t1 = variableOrInterpolation;
  111176. else {
  111177. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  111178. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  111179. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  111180. t1 = t2;
  111181. }
  111182. return t1;
  111183. },
  111184. _stylesheet0$_declarationOrStyleRule$0() {
  111185. var t1, t2, declarationOrBuffer, _this = this;
  111186. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  111187. return _this._stylesheet0$_styleRule$0();
  111188. t1 = _this.scanner;
  111189. t2 = t1._string_scanner$_position;
  111190. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  111191. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  111192. },
  111193. _stylesheet0$_declarationOrBuffer$0() {
  111194. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, t5, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  111195. t1 = _this.scanner,
  111196. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111197. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  111198. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  111199. if (startsWithPunctuation) {
  111200. t2 = t1.readChar$0();
  111201. t3 = nameBuffer._interpolation_buffer0$_text;
  111202. t2 = A.Primitives_stringFromCharCode(t2);
  111203. t3._contents += t2;
  111204. t2 = _this.rawText$1(_this.get$whitespace());
  111205. t3 = nameBuffer._interpolation_buffer0$_text;
  111206. t3._contents += t2;
  111207. }
  111208. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111209. return nameBuffer;
  111210. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111211. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111212. return variableOrInterpolation;
  111213. else
  111214. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  111215. _this._stylesheet0$_isUseAllowed = false;
  111216. if (t1.matches$1("/*")) {
  111217. t2 = _this.rawText$1(_this.get$loudComment());
  111218. t3 = nameBuffer._interpolation_buffer0$_text;
  111219. t3._contents += t2;
  111220. }
  111221. midBuffer = new A.StringBuffer("");
  111222. t2 = midBuffer;
  111223. t3 = _this.get$whitespace();
  111224. t4 = _this.rawText$1(t3);
  111225. t2._contents += t4;
  111226. t4 = t1._string_scanner$_position;
  111227. if (!t1.scanChar$1(58)) {
  111228. if (midBuffer._contents.length !== 0) {
  111229. t1 = nameBuffer._interpolation_buffer0$_text;
  111230. t2 = A.Primitives_stringFromCharCode(32);
  111231. t1._contents += t2;
  111232. }
  111233. return nameBuffer;
  111234. }
  111235. t2 = midBuffer;
  111236. t5 = A.Primitives_stringFromCharCode(58);
  111237. t2._contents += t5;
  111238. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t4)));
  111239. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  111240. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  111241. _this.expectStatementSeparator$1("custom property");
  111242. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  111243. }
  111244. if (t1.scanChar$1(58)) {
  111245. t1 = nameBuffer;
  111246. t2 = t1._interpolation_buffer0$_text;
  111247. t3 = A.S(midBuffer);
  111248. t2._contents += t3;
  111249. t3 = A.Primitives_stringFromCharCode(58);
  111250. t2._contents += t3;
  111251. return t1;
  111252. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  111253. t1 = nameBuffer;
  111254. t2 = t1._interpolation_buffer0$_text;
  111255. t3 = A.S(midBuffer);
  111256. t2._contents += t3;
  111257. return t1;
  111258. }
  111259. postColonWhitespace = _this.rawText$1(t3);
  111260. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  111261. if (_0_0 != null)
  111262. return _0_0;
  111263. midBuffer._contents += postColonWhitespace;
  111264. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  111265. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111266. value = null;
  111267. try {
  111268. value = _this._stylesheet0$_expression$0();
  111269. if (_this.lookingAtChildren$0()) {
  111270. if (couldBeSelector)
  111271. _this.expectStatementSeparator$0();
  111272. } else if (!_this.atEndOfStatement$0())
  111273. _this.expectStatementSeparator$0();
  111274. } catch (exception) {
  111275. if (type$.FormatException._is(A.unwrapException(exception))) {
  111276. if (!couldBeSelector)
  111277. throw exception;
  111278. t1.set$state(beforeDeclaration);
  111279. additional = _this.almostAnyValue$0();
  111280. if (!_this.get$indented() && t1.peekChar$0() === 59)
  111281. throw exception;
  111282. t1 = nameBuffer._interpolation_buffer0$_text;
  111283. t2 = A.S(midBuffer);
  111284. t1._contents += t2;
  111285. nameBuffer.addInterpolation$1(additional);
  111286. return nameBuffer;
  111287. } else
  111288. throw exception;
  111289. }
  111290. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  111291. if (_1_0 != null)
  111292. return _1_0;
  111293. else {
  111294. _this.expectStatementSeparator$0();
  111295. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  111296. }
  111297. },
  111298. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  111299. var t1, start, identifier, t2, buffer, _this = this;
  111300. if (!_this.lookingAtIdentifier$0())
  111301. return _this.interpolatedIdentifier$0();
  111302. t1 = _this.scanner;
  111303. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111304. identifier = _this.identifier$0();
  111305. if (t1.matches$1(".$")) {
  111306. t1.readChar$0();
  111307. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  111308. } else {
  111309. t2 = new A.StringBuffer("");
  111310. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  111311. t2._contents = "" + identifier;
  111312. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  111313. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  111314. return buffer.interpolation$1(t1.spanFrom$1(start));
  111315. }
  111316. },
  111317. _stylesheet0$_styleRule$2(buffer, start_) {
  111318. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  111319. _this._stylesheet0$_isUseAllowed = false;
  111320. if (start_ == null) {
  111321. t2 = _this.scanner;
  111322. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111323. } else
  111324. start = start_;
  111325. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  111326. if (buffer != null) {
  111327. buffer.addInterpolation$1(interpolation);
  111328. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  111329. } else
  111330. t2 = interpolation;
  111331. if (t2.contents.length === 0)
  111332. _this.scanner.error$1(0, 'expected "}".');
  111333. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  111334. _this._stylesheet0$_inStyleRule = true;
  111335. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  111336. },
  111337. _stylesheet0$_styleRule$0() {
  111338. return this._stylesheet0$_styleRule$2(null, null);
  111339. },
  111340. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  111341. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  111342. t1 = _this.scanner,
  111343. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111344. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  111345. t2 = new A.StringBuffer("");
  111346. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  111347. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  111348. t2._contents += t3;
  111349. t3 = _this.rawText$1(_this.get$whitespace());
  111350. t2._contents += t3;
  111351. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  111352. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  111353. } else if (!_this.get$plainCss()) {
  111354. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111355. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111356. return variableOrInterpolation;
  111357. else
  111358. type$.Interpolation_2._as(variableOrInterpolation);
  111359. $name = variableOrInterpolation;
  111360. } else
  111361. $name = _this.interpolatedIdentifier$0();
  111362. _this.whitespace$0();
  111363. t1.expectChar$1(58);
  111364. _this.whitespace$0();
  111365. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  111366. if (_0_0 != null)
  111367. return _0_0;
  111368. value = _this._stylesheet0$_expression$0();
  111369. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  111370. if (_1_0 != null)
  111371. return _1_0;
  111372. else {
  111373. _this.expectStatementSeparator$0();
  111374. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  111375. }
  111376. },
  111377. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  111378. var _this = this;
  111379. if (!_this.lookingAtChildren$0())
  111380. return null;
  111381. if (_this.get$plainCss())
  111382. _this.scanner.error$1(0, string$.Nested);
  111383. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  111384. },
  111385. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  111386. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  111387. },
  111388. _stylesheet0$_declarationChild$0() {
  111389. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  111390. },
  111391. atRule$2$root(child, root) {
  111392. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  111393. t1 = _this.scanner,
  111394. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111395. t1.expectChar$2$name(64, "@-rule");
  111396. $name = _this.interpolatedIdentifier$0();
  111397. _this.whitespace$0();
  111398. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  111399. _this._stylesheet0$_isUseAllowed = false;
  111400. switch ($name.get$asPlain()) {
  111401. case "at-root":
  111402. return _this._stylesheet0$_atRootRule$1(start);
  111403. case "content":
  111404. return _this._stylesheet0$_contentRule$1(start);
  111405. case "debug":
  111406. return _this._stylesheet0$_debugRule$1(start);
  111407. case "each":
  111408. return _this._stylesheet0$_eachRule$2(start, child);
  111409. case "else":
  111410. return _this._stylesheet0$_disallowedAtRule$1(start);
  111411. case "error":
  111412. return _this._stylesheet0$_errorRule$1(start);
  111413. case "extend":
  111414. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  111415. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  111416. value = _this.almostAnyValue$0();
  111417. optional = t1.scanChar$1(33);
  111418. if (optional) {
  111419. _this.expectIdentifier$1("optional");
  111420. _this.whitespace$0();
  111421. }
  111422. _this.expectStatementSeparator$1("@extend rule");
  111423. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  111424. case "for":
  111425. return _this._stylesheet0$_forRule$2(start, child);
  111426. case "forward":
  111427. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111428. if (!root)
  111429. _this._stylesheet0$_disallowedAtRule$1(start);
  111430. return _this._stylesheet0$_forwardRule$1(start);
  111431. case "function":
  111432. return _this._stylesheet0$_functionRule$1(start);
  111433. case "if":
  111434. return _this._stylesheet0$_ifRule$2(start, child);
  111435. case "import":
  111436. return _this._stylesheet0$_importRule$1(start);
  111437. case "include":
  111438. return _this._stylesheet0$_includeRule$1(start);
  111439. case "media":
  111440. return _this.mediaRule$1(start);
  111441. case "mixin":
  111442. return _this._stylesheet0$_mixinRule$1(start);
  111443. case "-moz-document":
  111444. return _this.mozDocumentRule$2(start, $name);
  111445. case "return":
  111446. return _this._stylesheet0$_disallowedAtRule$1(start);
  111447. case "supports":
  111448. return _this.supportsRule$1(start);
  111449. case "use":
  111450. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111451. if (!root)
  111452. _this._stylesheet0$_disallowedAtRule$1(start);
  111453. url = _this._stylesheet0$_urlString$0();
  111454. _this.whitespace$0();
  111455. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  111456. _this.whitespace$0();
  111457. configuration = _this._stylesheet0$_configuration$0();
  111458. _this.whitespace$0();
  111459. span = t1.spanFrom$1(start);
  111460. if (!_this._stylesheet0$_isUseAllowed)
  111461. _this.error$2(0, string$.x40use_r, span);
  111462. _this.expectStatementSeparator$1("@use rule");
  111463. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111464. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  111465. return t1;
  111466. case "warn":
  111467. return _this._stylesheet0$_warnRule$1(start);
  111468. case "while":
  111469. return _this._stylesheet0$_whileRule$2(start, child);
  111470. default:
  111471. return _this.unknownAtRule$2(start, $name);
  111472. }
  111473. },
  111474. _stylesheet0$_declarationAtRule$0() {
  111475. var _this = this,
  111476. t1 = _this.scanner,
  111477. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111478. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111479. $label0$0: {
  111480. if ("content" === _0_0) {
  111481. t1 = _this._stylesheet0$_contentRule$1(start);
  111482. break $label0$0;
  111483. }
  111484. if ("debug" === _0_0) {
  111485. t1 = _this._stylesheet0$_debugRule$1(start);
  111486. break $label0$0;
  111487. }
  111488. if ("each" === _0_0) {
  111489. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111490. break $label0$0;
  111491. }
  111492. if ("else" === _0_0)
  111493. _this._stylesheet0$_disallowedAtRule$1(start);
  111494. if ("error" === _0_0) {
  111495. t1 = _this._stylesheet0$_errorRule$1(start);
  111496. break $label0$0;
  111497. }
  111498. if ("for" === _0_0) {
  111499. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111500. break $label0$0;
  111501. }
  111502. if ("if" === _0_0) {
  111503. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111504. break $label0$0;
  111505. }
  111506. if ("include" === _0_0) {
  111507. t1 = _this._stylesheet0$_includeRule$1(start);
  111508. break $label0$0;
  111509. }
  111510. if ("warn" === _0_0) {
  111511. t1 = _this._stylesheet0$_warnRule$1(start);
  111512. break $label0$0;
  111513. }
  111514. if ("while" === _0_0) {
  111515. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111516. break $label0$0;
  111517. }
  111518. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111519. }
  111520. return t1;
  111521. },
  111522. _stylesheet0$_functionChild$0() {
  111523. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  111524. t1 = _this.scanner;
  111525. if (t1.peekChar$0() !== 64) {
  111526. t2 = t1._string_scanner$_position;
  111527. state = new A._SpanScannerState(t1, t2);
  111528. try {
  111529. namespace = _this.identifier$0();
  111530. t1.expectChar$1(46);
  111531. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  111532. return t2;
  111533. } catch (exception) {
  111534. t2 = A.unwrapException(exception);
  111535. t3 = type$.SourceSpanFormatException;
  111536. if (t3._is(t2)) {
  111537. variableDeclarationError = t2;
  111538. stackTrace = A.getTraceFromException(exception);
  111539. t1.set$state(state);
  111540. statement = null;
  111541. try {
  111542. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  111543. } catch (exception) {
  111544. if (t3._is(A.unwrapException(exception)))
  111545. throw A.wrapException(variableDeclarationError);
  111546. else
  111547. throw exception;
  111548. }
  111549. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  111550. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  111551. } else
  111552. throw exception;
  111553. }
  111554. }
  111555. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111556. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111557. $label0$0: {
  111558. if ("debug" === _0_0) {
  111559. t1 = _this._stylesheet0$_debugRule$1(start);
  111560. break $label0$0;
  111561. }
  111562. if ("each" === _0_0) {
  111563. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  111564. break $label0$0;
  111565. }
  111566. if ("else" === _0_0)
  111567. _this._stylesheet0$_disallowedAtRule$1(start);
  111568. if ("error" === _0_0) {
  111569. t1 = _this._stylesheet0$_errorRule$1(start);
  111570. break $label0$0;
  111571. }
  111572. if ("for" === _0_0) {
  111573. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  111574. break $label0$0;
  111575. }
  111576. if ("if" === _0_0) {
  111577. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  111578. break $label0$0;
  111579. }
  111580. if ("return" === _0_0) {
  111581. value = _this._stylesheet0$_expression$0();
  111582. _this.expectStatementSeparator$1("@return rule");
  111583. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  111584. break $label0$0;
  111585. }
  111586. if ("warn" === _0_0) {
  111587. t1 = _this._stylesheet0$_warnRule$1(start);
  111588. break $label0$0;
  111589. }
  111590. if ("while" === _0_0) {
  111591. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  111592. break $label0$0;
  111593. }
  111594. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111595. }
  111596. return t1;
  111597. },
  111598. _stylesheet0$_plainAtRuleName$0() {
  111599. this.scanner.expectChar$2$name(64, "@-rule");
  111600. var $name = this.identifier$0();
  111601. this.whitespace$0();
  111602. return $name;
  111603. },
  111604. _stylesheet0$_atRootRule$1(start) {
  111605. var t2, t3, t4, buffer, t5, query, _this = this,
  111606. t1 = _this.scanner;
  111607. if (t1.peekChar$0() === 40) {
  111608. t2 = t1._string_scanner$_position;
  111609. t3 = new A.StringBuffer("");
  111610. t4 = A._setArrayType([], type$.JSArray_Object);
  111611. buffer = new A.InterpolationBuffer0(t3, t4);
  111612. t1.expectChar$1(40);
  111613. t5 = A.Primitives_stringFromCharCode(40);
  111614. t3._contents += t5;
  111615. _this.whitespace$0();
  111616. t5 = _this._stylesheet0$_expression$0();
  111617. buffer._interpolation_buffer0$_flushText$0();
  111618. t4.push(t5);
  111619. if (t1.scanChar$1(58)) {
  111620. _this.whitespace$0();
  111621. t5 = A.Primitives_stringFromCharCode(58);
  111622. t3._contents += t5;
  111623. t5 = A.Primitives_stringFromCharCode(32);
  111624. t3._contents += t5;
  111625. t5 = _this._stylesheet0$_expression$0();
  111626. buffer._interpolation_buffer0$_flushText$0();
  111627. t4.push(t5);
  111628. }
  111629. t1.expectChar$1(41);
  111630. _this.whitespace$0();
  111631. t4 = A.Primitives_stringFromCharCode(41);
  111632. t3._contents += t4;
  111633. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111634. _this.whitespace$0();
  111635. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  111636. } else {
  111637. if (!_this.lookingAtChildren$0())
  111638. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  111639. else
  111640. t2 = true;
  111641. if (t2)
  111642. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  111643. else
  111644. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  111645. }
  111646. },
  111647. _stylesheet0$_contentRule$1(start) {
  111648. var t1, beforeWhitespace, $arguments, t2, _this = this;
  111649. if (!_this._stylesheet0$_inMixin)
  111650. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  111651. t1 = _this.scanner;
  111652. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111653. _this.whitespace$0();
  111654. if (t1.peekChar$0() === 40) {
  111655. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111656. _this.whitespace$0();
  111657. } else {
  111658. t2 = beforeWhitespace.offset;
  111659. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  111660. }
  111661. _this.expectStatementSeparator$1("@content rule");
  111662. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  111663. },
  111664. _stylesheet0$_debugRule$1(start) {
  111665. var value = this._stylesheet0$_expression$0();
  111666. this.expectStatementSeparator$1("@debug rule");
  111667. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  111668. },
  111669. _stylesheet0$_eachRule$2(start, child) {
  111670. var variables, t1, _this = this,
  111671. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111672. _this._stylesheet0$_inControlDirective = true;
  111673. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  111674. _this.whitespace$0();
  111675. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  111676. _this.whitespace$0();
  111677. t1.expectChar$1(36);
  111678. variables.push(_this.identifier$1$normalize(true));
  111679. _this.whitespace$0();
  111680. }
  111681. _this.expectIdentifier$1("in");
  111682. _this.whitespace$0();
  111683. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  111684. },
  111685. _stylesheet0$_errorRule$1(start) {
  111686. var value = this._stylesheet0$_expression$0();
  111687. this.expectStatementSeparator$1("@error rule");
  111688. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  111689. },
  111690. _stylesheet0$_functionRule$1(start) {
  111691. var t1, t2, $name, $arguments, _0_0, _this = this,
  111692. precedingComment = _this.lastSilentComment;
  111693. _this.lastSilentComment = null;
  111694. t1 = _this.scanner;
  111695. t2 = t1._string_scanner$_position;
  111696. $name = _this.identifier$0();
  111697. if (B.JSString_methods.startsWith$1($name, "--"))
  111698. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_qBS, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  111699. _this.whitespace$0();
  111700. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111701. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111702. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  111703. else if (_this._stylesheet0$_inControlDirective)
  111704. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  111705. _0_0 = A.unvendor0($name);
  111706. 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)
  111707. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  111708. _this.whitespace$0();
  111709. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  111710. },
  111711. _stylesheet0$_forRule$2(start, child) {
  111712. var variable, from, _this = this, t1 = {},
  111713. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111714. _this._stylesheet0$_inControlDirective = true;
  111715. variable = _this.variableName$0();
  111716. _this.whitespace$0();
  111717. _this.expectIdentifier$1("from");
  111718. _this.whitespace$0();
  111719. t1.exclusive = null;
  111720. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  111721. if (t1.exclusive == null)
  111722. _this.scanner.error$1(0, 'Expected "to" or "through".');
  111723. _this.whitespace$0();
  111724. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  111725. },
  111726. _stylesheet0$_forwardRule$1(start) {
  111727. var prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  111728. url = _this._stylesheet0$_urlString$0();
  111729. _this.whitespace$0();
  111730. if (_this.scanIdentifier$1("as")) {
  111731. _this.whitespace$0();
  111732. prefix = _this.identifier$1$normalize(true);
  111733. _this.scanner.expectChar$1(42);
  111734. _this.whitespace$0();
  111735. } else
  111736. prefix = _null;
  111737. hiddenMixinsAndFunctions = _null;
  111738. hiddenVariables = _null;
  111739. if (_this.scanIdentifier$1("show")) {
  111740. _0_0 = _this._stylesheet0$_memberList$0();
  111741. shownMixinsAndFunctions = _0_0._0;
  111742. shownVariables = _0_0._1;
  111743. } else {
  111744. if (_this.scanIdentifier$1("hide")) {
  111745. _1_0 = _this._stylesheet0$_memberList$0();
  111746. hiddenMixinsAndFunctions = _1_0._0;
  111747. hiddenVariables = _1_0._1;
  111748. }
  111749. shownVariables = _null;
  111750. shownMixinsAndFunctions = shownVariables;
  111751. }
  111752. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  111753. _this.whitespace$0();
  111754. _this.expectStatementSeparator$1("@forward rule");
  111755. span = _this.scanner.spanFrom$1(start);
  111756. if (!_this._stylesheet0$_isUseAllowed)
  111757. _this.error$2(0, string$.x40forwa, span);
  111758. if (shownMixinsAndFunctions != null) {
  111759. shownVariables.toString;
  111760. t1 = type$.String;
  111761. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  111762. t3 = type$.UnmodifiableSetView_String;
  111763. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  111764. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111765. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  111766. } else if (hiddenMixinsAndFunctions != null) {
  111767. hiddenVariables.toString;
  111768. t1 = type$.String;
  111769. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  111770. t3 = type$.UnmodifiableSetView_String;
  111771. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  111772. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111773. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  111774. } else
  111775. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111776. },
  111777. _stylesheet0$_memberList$0() {
  111778. var _this = this,
  111779. t1 = type$.String,
  111780. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  111781. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  111782. t1 = _this.scanner;
  111783. do {
  111784. _this.whitespace$0();
  111785. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  111786. _this.whitespace$0();
  111787. } while (t1.scanChar$1(44));
  111788. return new A._Record_2(identifiers, variables);
  111789. },
  111790. _stylesheet0$_ifRule$2(start, child) {
  111791. var condition, children, clauses, lastClause, span, _this = this,
  111792. ifIndentation = _this.get$currentIndentation(),
  111793. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111794. _this._stylesheet0$_inControlDirective = true;
  111795. condition = _this._stylesheet0$_expression$0();
  111796. children = _this.children$1(0, child);
  111797. _this.whitespaceWithoutComments$0();
  111798. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  111799. while (true) {
  111800. if (!_this.scanElse$1(ifIndentation)) {
  111801. lastClause = null;
  111802. break;
  111803. }
  111804. _this.whitespace$0();
  111805. if (_this.scanIdentifier$1("if")) {
  111806. _this.whitespace$0();
  111807. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  111808. } else {
  111809. lastClause = A.ElseClause$0(_this.children$1(0, child));
  111810. break;
  111811. }
  111812. }
  111813. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  111814. span = _this.scanner.spanFrom$1(start);
  111815. _this.whitespaceWithoutComments$0();
  111816. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  111817. },
  111818. _stylesheet0$_importRule$1(start) {
  111819. var argument, t3, _this = this,
  111820. imports = A._setArrayType([], type$.JSArray_Import_2),
  111821. t1 = _this.scanner,
  111822. t2 = _this.logger;
  111823. do {
  111824. _this.whitespace$0();
  111825. argument = _this.importArgument$0();
  111826. t3 = argument instanceof A.DynamicImport0;
  111827. if (t3)
  111828. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_qd9, string$.Sassx20_i, argument.span, null);
  111829. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  111830. _this._stylesheet0$_disallowedAtRule$1(start);
  111831. imports.push(argument);
  111832. _this.whitespace$0();
  111833. } while (t1.scanChar$1(44));
  111834. _this.expectStatementSeparator$1("@import rule");
  111835. t1 = t1.spanFrom$1(start);
  111836. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  111837. },
  111838. importArgument$0() {
  111839. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  111840. t1 = _this.scanner,
  111841. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111842. _0_0 = t1.peekChar$0();
  111843. if (117 === _0_0 || 85 === _0_0) {
  111844. url = _this.dynamicUrl$0();
  111845. _this.whitespace$0();
  111846. modifiers = _this.tryImportModifiers$0();
  111847. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  111848. }
  111849. url = _this.string$0();
  111850. urlSpan = t1.spanFrom$1(start);
  111851. _this.whitespace$0();
  111852. modifiers = _this.tryImportModifiers$0();
  111853. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  111854. t2 = urlSpan;
  111855. 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));
  111856. } else
  111857. try {
  111858. t1 = _this.parseImportUrl$1(url);
  111859. return new A.DynamicImport0(t1, urlSpan);
  111860. } catch (exception) {
  111861. t1 = A.unwrapException(exception);
  111862. if (type$.FormatException._is(t1)) {
  111863. innerError = t1;
  111864. stackTrace = A.getTraceFromException(exception);
  111865. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  111866. } else
  111867. throw exception;
  111868. }
  111869. },
  111870. parseImportUrl$1(url) {
  111871. var t1 = $.$get$windows();
  111872. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  111873. return t1.toUri$1(url).toString$0(0);
  111874. A.Uri_parse(url);
  111875. return url;
  111876. },
  111877. isPlainImportUrl$1(url) {
  111878. var _0_0, t1;
  111879. if (url.length < 5)
  111880. return false;
  111881. if (B.JSString_methods.endsWith$1(url, ".css"))
  111882. return true;
  111883. _0_0 = url.charCodeAt(0);
  111884. $label0$0: {
  111885. if (47 === _0_0) {
  111886. t1 = url.charCodeAt(1) === 47;
  111887. break $label0$0;
  111888. }
  111889. if (104 === _0_0) {
  111890. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  111891. break $label0$0;
  111892. }
  111893. t1 = false;
  111894. break $label0$0;
  111895. }
  111896. return t1;
  111897. },
  111898. tryImportModifiers$0() {
  111899. var t1, start, t2, t3, buffer, t4, identifier, $name, query, t5, endPosition, result, _this = this;
  111900. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  111901. return null;
  111902. t1 = _this.scanner;
  111903. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111904. t2 = new A.StringBuffer("");
  111905. t3 = A._setArrayType([], type$.JSArray_Object);
  111906. buffer = new A.InterpolationBuffer0(t2, t3);
  111907. for (; true;)
  111908. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  111909. if (!(t3.length === 0 && t2._contents.length === 0)) {
  111910. t4 = A.Primitives_stringFromCharCode(32);
  111911. t2._contents += t4;
  111912. }
  111913. identifier = _this.interpolatedIdentifier$0();
  111914. buffer.addInterpolation$1(identifier);
  111915. t4 = identifier.get$asPlain();
  111916. $name = t4 == null ? null : t4.toLowerCase();
  111917. if ($name !== "and" && t1.scanChar$1(40)) {
  111918. if ($name === "supports") {
  111919. query = _this._stylesheet0$_importSupportsQuery$0();
  111920. t4 = !(query instanceof A.SupportsDeclaration0);
  111921. if (t4) {
  111922. t5 = A.Primitives_stringFromCharCode(40);
  111923. t2._contents += t5;
  111924. }
  111925. buffer._interpolation_buffer0$_flushText$0();
  111926. t3.push(new A.SupportsExpression0(query));
  111927. if (t4) {
  111928. t4 = A.Primitives_stringFromCharCode(41);
  111929. t2._contents += t4;
  111930. }
  111931. } else {
  111932. t4 = A.Primitives_stringFromCharCode(40);
  111933. t2._contents += t4;
  111934. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  111935. t4 = A.Primitives_stringFromCharCode(41);
  111936. t2._contents += t4;
  111937. }
  111938. t1.expectChar$1(41);
  111939. _this.whitespace$0();
  111940. } else {
  111941. _this.whitespace$0();
  111942. if (t1.scanChar$1(44)) {
  111943. t2._contents += ", ";
  111944. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111945. endPosition = t1._string_scanner$_position;
  111946. t4 = t1._sourceFile;
  111947. t5 = start.position;
  111948. t1 = new A._FileSpan(t4, t5, endPosition);
  111949. t1._FileSpan$3(t4, t5, endPosition);
  111950. t5 = type$.Object;
  111951. t4 = A.List_List$of(t3, true, t5);
  111952. t3 = t2._contents;
  111953. if (t3.length !== 0)
  111954. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  111955. result = A.List_List$from(t4, false, t5);
  111956. result.fixed$length = Array;
  111957. result.immutable$list = Array;
  111958. t2 = new A.Interpolation0(result, t1);
  111959. t2.Interpolation$20(t4, t1);
  111960. return t2;
  111961. }
  111962. }
  111963. } else if (t1.peekChar$0() === 40) {
  111964. if (!(t3.length === 0 && t2._contents.length === 0)) {
  111965. t4 = A.Primitives_stringFromCharCode(32);
  111966. t2._contents += t4;
  111967. }
  111968. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111969. endPosition = t1._string_scanner$_position;
  111970. t1 = t1._sourceFile;
  111971. t4 = start.position;
  111972. t5 = new A._FileSpan(t1, t4, endPosition);
  111973. t5._FileSpan$3(t1, t4, endPosition);
  111974. t4 = type$.Object;
  111975. t3 = A.List_List$of(t3, true, t4);
  111976. t1 = t2._contents;
  111977. if (t1.length !== 0)
  111978. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111979. result = A.List_List$from(t3, false, t4);
  111980. result.fixed$length = Array;
  111981. result.immutable$list = Array;
  111982. t1 = new A.Interpolation0(result, t5);
  111983. t1.Interpolation$20(t3, t5);
  111984. return t1;
  111985. } else {
  111986. endPosition = t1._string_scanner$_position;
  111987. t1 = t1._sourceFile;
  111988. t4 = start.position;
  111989. t5 = new A._FileSpan(t1, t4, endPosition);
  111990. t5._FileSpan$3(t1, t4, endPosition);
  111991. t4 = type$.Object;
  111992. t3 = A.List_List$of(t3, true, t4);
  111993. t1 = t2._contents;
  111994. if (t1.length !== 0)
  111995. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111996. result = A.List_List$from(t3, false, t4);
  111997. result.fixed$length = Array;
  111998. result.immutable$list = Array;
  111999. t1 = new A.Interpolation0(result, t5);
  112000. t1.Interpolation$20(t3, t5);
  112001. return t1;
  112002. }
  112003. },
  112004. _stylesheet0$_importSupportsQuery$0() {
  112005. var t1, t2, _0_0, $name, _this = this;
  112006. if (_this.scanIdentifier$1("not")) {
  112007. _this.whitespace$0();
  112008. t1 = _this.scanner;
  112009. t2 = t1._string_scanner$_position;
  112010. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112011. } else {
  112012. t1 = _this.scanner;
  112013. if (t1.peekChar$0() === 40)
  112014. return _this._stylesheet0$_supportsCondition$0();
  112015. else {
  112016. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  112017. if (_0_0 != null)
  112018. return _0_0;
  112019. t2 = t1._string_scanner$_position;
  112020. $name = _this._stylesheet0$_expression$0();
  112021. t1.expectChar$1(58);
  112022. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  112023. }
  112024. }
  112025. },
  112026. _stylesheet0$_tryImportSupportsFunction$0() {
  112027. var t1, start, $name, value, _this = this;
  112028. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112029. return null;
  112030. t1 = _this.scanner;
  112031. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112032. $name = _this.interpolatedIdentifier$0();
  112033. if (!t1.scanChar$1(40)) {
  112034. t1.set$state(start);
  112035. return null;
  112036. }
  112037. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  112038. t1.expectChar$1(41);
  112039. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  112040. },
  112041. _stylesheet0$_includeRule$1(start) {
  112042. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, span, _this = this, _null = null,
  112043. $name = _this.identifier$0(),
  112044. t1 = _this.scanner;
  112045. if (t1.scanChar$1(46)) {
  112046. name0 = _this._stylesheet0$_publicIdentifier$0();
  112047. namespace = $name;
  112048. $name = name0;
  112049. } else
  112050. namespace = _null;
  112051. _this.whitespace$0();
  112052. if (t1.peekChar$0() === 40)
  112053. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  112054. else {
  112055. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  112056. t3 = t2.offset;
  112057. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  112058. }
  112059. _this.whitespace$0();
  112060. if (_this.scanIdentifier$1("using")) {
  112061. _this.whitespace$0();
  112062. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  112063. _this.whitespace$0();
  112064. } else
  112065. contentArguments = _null;
  112066. t2 = contentArguments == null;
  112067. if (!t2 || _this.lookingAtChildren$0()) {
  112068. if (t2) {
  112069. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  112070. t3 = t2.offset;
  112071. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  112072. } else
  112073. contentArguments_ = contentArguments;
  112074. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  112075. _this._stylesheet0$_inContentBlock = true;
  112076. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  112077. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  112078. } else {
  112079. _this.expectStatementSeparator$0();
  112080. $content = _null;
  112081. }
  112082. t1 = t1.spanFrom$2(start, start);
  112083. t2 = $content == null ? $arguments : $content;
  112084. span = t1.expand$1(0, t2.get$span(t2));
  112085. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  112086. },
  112087. mediaRule$1(start) {
  112088. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  112089. },
  112090. _stylesheet0$_mixinRule$1(start) {
  112091. var t1, t2, $name, $arguments, t3, _this = this,
  112092. precedingComment = _this.lastSilentComment;
  112093. _this.lastSilentComment = null;
  112094. t1 = _this.scanner;
  112095. t2 = t1._string_scanner$_position;
  112096. $name = _this.identifier$0();
  112097. if (B.JSString_methods.startsWith$1($name, "--"))
  112098. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_qBS, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  112099. _this.whitespace$0();
  112100. if (t1.peekChar$0() === 40)
  112101. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  112102. else {
  112103. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  112104. t3 = t2.offset;
  112105. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  112106. }
  112107. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  112108. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  112109. else if (_this._stylesheet0$_inControlDirective)
  112110. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  112111. _this.whitespace$0();
  112112. _this._stylesheet0$_inMixin = true;
  112113. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  112114. },
  112115. mozDocumentRule$2(start, $name) {
  112116. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  112117. t1 = _this.scanner,
  112118. t2 = t1._string_scanner$_position,
  112119. t3 = new A.StringBuffer(""),
  112120. t4 = A._setArrayType([], type$.JSArray_Object),
  112121. buffer = new A.InterpolationBuffer0(t3, t4);
  112122. _box_0.needsDeprecationWarning = false;
  112123. for (t5 = _this.get$whitespace(); true;) {
  112124. if (t1.peekChar$0() === 35) {
  112125. t6 = _this.singleInterpolation$0();
  112126. buffer._interpolation_buffer0$_flushText$0();
  112127. t4.push(t6);
  112128. _box_0.needsDeprecationWarning = true;
  112129. } else {
  112130. t6 = t1._string_scanner$_position;
  112131. identifier = _this.identifier$0();
  112132. $label0$0: {
  112133. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  112134. _0_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  112135. if (_0_0 != null)
  112136. buffer.addInterpolation$1(_0_0);
  112137. else {
  112138. t1.expectChar$1(40);
  112139. _this.whitespace$0();
  112140. argument = _this.interpolatedString$0();
  112141. t1.expectChar$1(41);
  112142. t3._contents += identifier;
  112143. t6 = A.Primitives_stringFromCharCode(40);
  112144. t3._contents += t6;
  112145. buffer.addInterpolation$1(argument.asInterpolation$0());
  112146. t6 = A.Primitives_stringFromCharCode(41);
  112147. t3._contents += t6;
  112148. }
  112149. t6 = t3._contents;
  112150. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  112151. 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("")'))
  112152. _box_0.needsDeprecationWarning = true;
  112153. break $label0$0;
  112154. }
  112155. if ("regexp" === identifier) {
  112156. t3._contents += "regexp(";
  112157. t1.expectChar$1(40);
  112158. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  112159. t1.expectChar$1(41);
  112160. t6 = A.Primitives_stringFromCharCode(41);
  112161. t3._contents += t6;
  112162. _box_0.needsDeprecationWarning = true;
  112163. break $label0$0;
  112164. }
  112165. endPosition = t1._string_scanner$_position;
  112166. t7 = t1._sourceFile;
  112167. t8 = new A._FileSpan(t7, t6, endPosition);
  112168. t8._FileSpan$3(t7, t6, endPosition);
  112169. _this.error$2(0, "Invalid function name.", t8);
  112170. }
  112171. }
  112172. _this.whitespace$0();
  112173. if (!t1.scanChar$1(44))
  112174. break;
  112175. t6 = A.Primitives_stringFromCharCode(44);
  112176. t3._contents += t6;
  112177. start0 = t1._string_scanner$_position;
  112178. t5.call$0();
  112179. end = t1._string_scanner$_position;
  112180. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  112181. }
  112182. 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)))));
  112183. },
  112184. supportsRule$1(start) {
  112185. var _this = this,
  112186. condition = _this._stylesheet0$_supportsCondition$0();
  112187. _this.whitespace$0();
  112188. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  112189. },
  112190. _stylesheet0$_useNamespace$2(url, start) {
  112191. var namespace, basename, dot, t1, exception, _this = this;
  112192. if (_this.scanIdentifier$1("as")) {
  112193. _this.whitespace$0();
  112194. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  112195. }
  112196. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  112197. dot = B.JSString_methods.indexOf$1(basename, ".");
  112198. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  112199. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  112200. try {
  112201. t1 = A.SpanScanner$(namespace, null);
  112202. t1 = new A.Parser1(t1, _this.logger, null)._parser1$_parseIdentifier$0();
  112203. return t1;
  112204. } catch (exception) {
  112205. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  112206. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  112207. else
  112208. throw exception;
  112209. }
  112210. },
  112211. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  112212. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  112213. if (!_this.scanIdentifier$1("with"))
  112214. return null;
  112215. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  112216. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  112217. _this.whitespace$0();
  112218. t1 = _this.scanner;
  112219. t1.expectChar$1(40);
  112220. for (; true;) {
  112221. _this.whitespace$0();
  112222. t2 = t1._string_scanner$_position;
  112223. t1.expectChar$1(36);
  112224. $name = _this.identifier$1$normalize(true);
  112225. _this.whitespace$0();
  112226. t1.expectChar$1(58);
  112227. _this.whitespace$0();
  112228. expression = _this.expressionUntilComma$0();
  112229. t3 = t1._string_scanner$_position;
  112230. if (allowGuarded && t1.scanChar$1(33)) {
  112231. guarded = _this.identifier$0() === "default";
  112232. if (guarded)
  112233. _this.whitespace$0();
  112234. else {
  112235. endPosition = t1._string_scanner$_position;
  112236. t4 = t1._sourceFile;
  112237. t5 = new A._FileSpan(t4, t3, endPosition);
  112238. t5._FileSpan$3(t4, t3, endPosition);
  112239. _this.error$2(0, "Invalid flag name.", t5);
  112240. }
  112241. } else
  112242. guarded = false;
  112243. endPosition = t1._string_scanner$_position;
  112244. t3 = t1._sourceFile;
  112245. span = new A._FileSpan(t3, t2, endPosition);
  112246. span._FileSpan$3(t3, t2, endPosition);
  112247. if (variableNames.contains$1(0, $name))
  112248. _this.error$2(0, string$.The_sa, span);
  112249. variableNames.add$1(0, $name);
  112250. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  112251. if (!t1.scanChar$1(44))
  112252. break;
  112253. _this.whitespace$0();
  112254. if (!_this._stylesheet0$_lookingAtExpression$0())
  112255. break;
  112256. }
  112257. t1.expectChar$1(41);
  112258. return configuration;
  112259. },
  112260. _stylesheet0$_configuration$0() {
  112261. return this._stylesheet0$_configuration$1$allowGuarded(false);
  112262. },
  112263. _stylesheet0$_warnRule$1(start) {
  112264. var value = this._stylesheet0$_expression$0();
  112265. this.expectStatementSeparator$1("@warn rule");
  112266. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  112267. },
  112268. _stylesheet0$_whileRule$2(start, child) {
  112269. var _this = this,
  112270. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  112271. _this._stylesheet0$_inControlDirective = true;
  112272. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  112273. },
  112274. unknownAtRule$2(start, $name) {
  112275. var t2, t3, rule, _this = this, t1 = {},
  112276. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  112277. _this._stylesheet0$_inUnknownAtRule = true;
  112278. t1.value = null;
  112279. t2 = _this.scanner;
  112280. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  112281. if (_this.lookingAtChildren$0())
  112282. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  112283. else {
  112284. _this.expectStatementSeparator$0();
  112285. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  112286. }
  112287. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  112288. return rule;
  112289. },
  112290. _stylesheet0$_disallowedAtRule$1(start) {
  112291. this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  112292. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  112293. },
  112294. _stylesheet0$_argumentDeclaration$0() {
  112295. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  112296. t1 = _this.scanner,
  112297. t2 = t1._string_scanner$_position;
  112298. t1.expectChar$1(40);
  112299. _this.whitespace$0();
  112300. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  112301. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  112302. for (; restArgument = null, t1.peekChar$0() === 36;) {
  112303. t3 = t1._string_scanner$_position;
  112304. t1.expectChar$1(36);
  112305. $name = _this.identifier$1$normalize(true);
  112306. _this.whitespace$0();
  112307. if (t1.scanChar$1(58)) {
  112308. _this.whitespace$0();
  112309. defaultValue = _this.expressionUntilComma$0();
  112310. } else {
  112311. if (t1.scanChar$1(46)) {
  112312. t1.expectChar$1(46);
  112313. t1.expectChar$1(46);
  112314. _this.whitespace$0();
  112315. restArgument = $name;
  112316. break;
  112317. }
  112318. defaultValue = null;
  112319. }
  112320. endPosition = t1._string_scanner$_position;
  112321. t4 = t1._sourceFile;
  112322. t5 = new A._FileSpan(t4, t3, endPosition);
  112323. t5._FileSpan$3(t4, t3, endPosition);
  112324. $arguments.push(new A.Argument0($name, defaultValue, t5));
  112325. if (!named.add$1(0, $name))
  112326. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  112327. if (!t1.scanChar$1(44))
  112328. break;
  112329. _this.whitespace$0();
  112330. }
  112331. t1.expectChar$1(41);
  112332. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112333. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  112334. },
  112335. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  112336. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  112337. t1 = _this.scanner,
  112338. t2 = t1._string_scanner$_position;
  112339. t1.expectChar$1(40);
  112340. _this.whitespace$0();
  112341. positional = A._setArrayType([], type$.JSArray_Expression_2);
  112342. t3 = type$.String;
  112343. t4 = type$.Expression_2;
  112344. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  112345. for (t5 = !mixin, rest = null; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  112346. expression = _this.expressionUntilComma$1$singleEquals(t5);
  112347. _this.whitespace$0();
  112348. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  112349. _this.whitespace$0();
  112350. t6 = expression.name;
  112351. if (named.containsKey$1(t6))
  112352. _this.error$2(0, "Duplicate argument.", expression.span);
  112353. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  112354. } else if (t1.scanChar$1(46)) {
  112355. t1.expectChar$1(46);
  112356. t1.expectChar$1(46);
  112357. if (rest != null) {
  112358. _this.whitespace$0();
  112359. keywordRest = expression;
  112360. break;
  112361. }
  112362. rest = expression;
  112363. } else if (named.__js_helper$_length !== 0)
  112364. _this.error$2(0, string$.Positi, expression.get$span(expression));
  112365. else
  112366. positional.push(expression);
  112367. _this.whitespace$0();
  112368. if (!t1.scanChar$1(44))
  112369. break;
  112370. _this.whitespace$0();
  112371. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  112372. t5 = t1._sourceFile;
  112373. t6 = t1._string_scanner$_position;
  112374. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  112375. t7 = new A._FileSpan(t5, t6, t6);
  112376. t7._FileSpan$3(t5, t6, t6);
  112377. t6 = A._setArrayType([""], type$.JSArray_Object);
  112378. result = A.List_List$from(t6, false, type$.Object);
  112379. result.fixed$length = Array;
  112380. result.immutable$list = Array;
  112381. t5 = new A.Interpolation0(result, t7);
  112382. t5.Interpolation$20(t6, t7);
  112383. positional.push(new A.StringExpression0(t5, false));
  112384. break;
  112385. }
  112386. }
  112387. t1.expectChar$1(41);
  112388. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112389. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  112390. },
  112391. _stylesheet0$_argumentInvocation$0() {
  112392. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  112393. },
  112394. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  112395. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  112396. },
  112397. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  112398. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  112399. },
  112400. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  112401. var t2, beforeBracket, start, wasInExpression, 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,
  112402. _s20_ = "Expected expression.",
  112403. _box_0 = {},
  112404. t1 = until != null;
  112405. if (t1 && until.call$0())
  112406. _this.scanner.error$1(0, _s20_);
  112407. if (bracketList) {
  112408. t2 = _this.scanner;
  112409. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112410. t2.expectChar$1(91);
  112411. _this.whitespace$0();
  112412. if (t2.scanChar$1(93)) {
  112413. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  112414. t2 = t2.spanFrom$1(beforeBracket);
  112415. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112416. }
  112417. } else
  112418. beforeBracket = null;
  112419. t2 = _this.scanner;
  112420. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112421. wasInExpression = _this._stylesheet0$_inExpression;
  112422. wasInParentheses = _this._stylesheet0$_inParentheses;
  112423. _this._stylesheet0$_inExpression = true;
  112424. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  112425. _box_0.allowSlash = true;
  112426. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  112427. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  112428. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  112429. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  112430. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  112431. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  112432. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  112433. for (t3 = type$.JSArray_Expression_2; true;) {
  112434. _this.whitespace$0();
  112435. if (t1 && until.call$0())
  112436. break;
  112437. _3_0 = t2.peekChar$0();
  112438. if (_3_0 == null)
  112439. break;
  112440. if (40 === _3_0) {
  112441. addSingleExpression.call$1(_this.parentheses$0());
  112442. continue;
  112443. }
  112444. if (91 === _3_0) {
  112445. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  112446. continue;
  112447. }
  112448. if (36 === _3_0) {
  112449. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  112450. continue;
  112451. }
  112452. if (38 === _3_0) {
  112453. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  112454. continue;
  112455. }
  112456. if (39 === _3_0 || 34 === _3_0) {
  112457. addSingleExpression.call$1(_this.interpolatedString$0());
  112458. continue;
  112459. }
  112460. if (35 === _3_0) {
  112461. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  112462. continue;
  112463. }
  112464. if (61 === _3_0) {
  112465. t2.readChar$0();
  112466. if (singleEquals && t2.peekChar$0() !== 61)
  112467. addOperator.call$1(B.BinaryOperator_wdM0);
  112468. else {
  112469. t2.expectChar$1(61);
  112470. addOperator.call$1(B.BinaryOperator_g8k0);
  112471. }
  112472. continue;
  112473. }
  112474. if (33 === _3_0) {
  112475. $label0$1: {
  112476. _1_0 = t2.peekChar$1(1);
  112477. if (61 === _1_0) {
  112478. t2.readChar$0();
  112479. t2.readChar$0();
  112480. addOperator.call$1(B.BinaryOperator_icU0);
  112481. break $label0$1;
  112482. }
  112483. t4 = true;
  112484. if (_1_0 != null)
  112485. if (105 !== _1_0)
  112486. if (73 !== _1_0)
  112487. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  112488. if (t4) {
  112489. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  112490. break $label0$1;
  112491. }
  112492. break;
  112493. }
  112494. continue;
  112495. }
  112496. if (60 === _3_0) {
  112497. t2.readChar$0();
  112498. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_SPQ0 : B.BinaryOperator_miq0);
  112499. continue;
  112500. }
  112501. if (62 === _3_0) {
  112502. t2.readChar$0();
  112503. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oEm0 : B.BinaryOperator_bEa0);
  112504. continue;
  112505. }
  112506. if (42 === _3_0) {
  112507. t2.readChar$0();
  112508. addOperator.call$1(B.BinaryOperator_2No0);
  112509. continue;
  112510. }
  112511. _3_28 = 43 === _3_0;
  112512. if (_3_28 && _box_0.singleExpression_ == null) {
  112513. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112514. continue;
  112515. }
  112516. if (_3_28) {
  112517. t2.readChar$0();
  112518. addOperator.call$1(B.BinaryOperator_u150);
  112519. continue;
  112520. }
  112521. if (45 === _3_0) {
  112522. _2_0 = t2.peekChar$1(1);
  112523. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  112524. if (_box_0.singleExpression_ != null) {
  112525. t4 = t2.peekChar$1(-1);
  112526. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  112527. } else
  112528. t4 = true;
  112529. else
  112530. t4 = false;
  112531. if (t4)
  112532. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112533. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112534. addSingleExpression.call$1(_this.identifierLike$0());
  112535. else if (_box_0.singleExpression_ == null)
  112536. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112537. else {
  112538. t2.readChar$0();
  112539. addOperator.call$1(B.BinaryOperator_SjO0);
  112540. }
  112541. continue;
  112542. }
  112543. _3_32 = 47 === _3_0;
  112544. if (_3_32 && _box_0.singleExpression_ == null) {
  112545. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112546. continue;
  112547. }
  112548. if (_3_32) {
  112549. t2.readChar$0();
  112550. addOperator.call$1(B.BinaryOperator_U770);
  112551. continue;
  112552. }
  112553. if (37 === _3_0) {
  112554. t2.readChar$0();
  112555. addOperator.call$1(B.BinaryOperator_KNx0);
  112556. continue;
  112557. }
  112558. if (_3_0 >= 48 && _3_0 <= 57) {
  112559. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112560. continue;
  112561. }
  112562. _3_40 = 46 === _3_0;
  112563. if (_3_40 && t2.peekChar$1(1) === 46)
  112564. break;
  112565. if (_3_40) {
  112566. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112567. continue;
  112568. }
  112569. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  112570. addOperator.call$1(B.BinaryOperator_eDt0);
  112571. continue;
  112572. }
  112573. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  112574. addOperator.call$1(B.BinaryOperator_qNM0);
  112575. continue;
  112576. }
  112577. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  112578. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  112579. continue;
  112580. }
  112581. if (!(_3_0 >= 97 && _3_0 <= 122))
  112582. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  112583. else
  112584. t4 = true;
  112585. if (t4) {
  112586. addSingleExpression.call$1(_this.identifierLike$0());
  112587. continue;
  112588. }
  112589. if (44 === _3_0) {
  112590. if (_this._stylesheet0$_inParentheses) {
  112591. _this._stylesheet0$_inParentheses = false;
  112592. if (_box_0.allowSlash) {
  112593. resetState.call$0();
  112594. continue;
  112595. }
  112596. }
  112597. commaExpressions = _box_0.commaExpressions_;
  112598. if (commaExpressions == null)
  112599. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  112600. if (_box_0.singleExpression_ == null)
  112601. t2.error$1(0, _s20_);
  112602. resolveSpaceExpressions.call$0();
  112603. t4 = _box_0.singleExpression_;
  112604. t4.toString;
  112605. commaExpressions.push(t4);
  112606. t2.readChar$0();
  112607. _box_0.allowSlash = true;
  112608. _box_0.singleExpression_ = null;
  112609. continue;
  112610. }
  112611. break;
  112612. }
  112613. if (bracketList)
  112614. t2.expectChar$1(93);
  112615. commaExpressions = _box_0.commaExpressions_;
  112616. spaceExpressions = _box_0.spaceExpressions_;
  112617. if (commaExpressions != null) {
  112618. resolveSpaceExpressions.call$0();
  112619. _this._stylesheet0$_inParentheses = wasInParentheses;
  112620. singleExpression = _box_0.singleExpression_;
  112621. if (singleExpression != null)
  112622. commaExpressions.push(singleExpression);
  112623. _this._stylesheet0$_inExpression = wasInExpression;
  112624. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  112625. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_ECn0, bracketList, t1);
  112626. } else if (bracketList && spaceExpressions != null) {
  112627. resolveOperations.call$0();
  112628. _this._stylesheet0$_inExpression = wasInExpression;
  112629. t1 = _box_0.singleExpression_;
  112630. t1.toString;
  112631. spaceExpressions.push(t1);
  112632. beforeBracket.toString;
  112633. t2 = t2.spanFrom$1(beforeBracket);
  112634. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_nbm0, true, t2);
  112635. } else {
  112636. resolveSpaceExpressions.call$0();
  112637. if (bracketList) {
  112638. t1 = _box_0.singleExpression_;
  112639. t1.toString;
  112640. t3 = A._setArrayType([t1], t3);
  112641. beforeBracket.toString;
  112642. t2 = t2.spanFrom$1(beforeBracket);
  112643. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112644. }
  112645. _this._stylesheet0$_inExpression = wasInExpression;
  112646. t1 = _box_0.singleExpression_;
  112647. t1.toString;
  112648. return t1;
  112649. }
  112650. },
  112651. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  112652. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  112653. },
  112654. _stylesheet0$_expression$1$bracketList(bracketList) {
  112655. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  112656. },
  112657. _stylesheet0$_expression$0() {
  112658. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  112659. },
  112660. _stylesheet0$_expression$1$until(until) {
  112661. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  112662. },
  112663. expressionUntilComma$1$singleEquals(singleEquals) {
  112664. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  112665. },
  112666. expressionUntilComma$0() {
  112667. return this.expressionUntilComma$1$singleEquals(false);
  112668. },
  112669. _stylesheet0$_isSlashOperand$1(expression) {
  112670. var t1 = true;
  112671. if (!(expression instanceof A.NumberExpression0))
  112672. if (!(expression instanceof A.FunctionExpression0))
  112673. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  112674. return t1;
  112675. },
  112676. _stylesheet0$_singleExpression$0() {
  112677. var next, t2, _this = this,
  112678. _s20_ = "Expected expression.",
  112679. t1 = _this.scanner,
  112680. _0_0 = t1.peekChar$0();
  112681. $label0$0: {
  112682. if (_0_0 == null)
  112683. t1.error$1(0, _s20_);
  112684. if (40 === _0_0) {
  112685. t1 = _this.parentheses$0();
  112686. break $label0$0;
  112687. }
  112688. if (47 === _0_0) {
  112689. t1 = _this._stylesheet0$_unaryOperation$0();
  112690. break $label0$0;
  112691. }
  112692. if (46 === _0_0) {
  112693. t1 = _this._stylesheet0$_number$0();
  112694. break $label0$0;
  112695. }
  112696. if (91 === _0_0) {
  112697. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  112698. break $label0$0;
  112699. }
  112700. if (36 === _0_0) {
  112701. t1 = _this._stylesheet0$_variable$0();
  112702. break $label0$0;
  112703. }
  112704. if (38 === _0_0) {
  112705. t1 = _this._stylesheet0$_selector$0();
  112706. break $label0$0;
  112707. }
  112708. if (39 === _0_0 || 34 === _0_0) {
  112709. t1 = _this.interpolatedString$0();
  112710. break $label0$0;
  112711. }
  112712. if (35 === _0_0) {
  112713. t1 = _this._stylesheet0$_hashExpression$0();
  112714. break $label0$0;
  112715. }
  112716. if (43 === _0_0) {
  112717. next = t1.peekChar$1(1);
  112718. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  112719. break $label0$0;
  112720. }
  112721. if (45 === _0_0) {
  112722. t1 = _this._stylesheet0$_minusExpression$0();
  112723. break $label0$0;
  112724. }
  112725. if (33 === _0_0) {
  112726. t1 = _this._stylesheet0$_importantExpression$0();
  112727. break $label0$0;
  112728. }
  112729. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  112730. t1 = _this._stylesheet0$_unicodeRange$0();
  112731. break $label0$0;
  112732. }
  112733. if (_0_0 >= 48 && _0_0 <= 57) {
  112734. t1 = _this._stylesheet0$_number$0();
  112735. break $label0$0;
  112736. }
  112737. if (!(_0_0 >= 97 && _0_0 <= 122))
  112738. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  112739. else
  112740. t2 = true;
  112741. if (t2) {
  112742. t1 = _this.identifierLike$0();
  112743. break $label0$0;
  112744. }
  112745. t1 = t1.error$1(0, _s20_);
  112746. }
  112747. return t1;
  112748. },
  112749. parentheses$0() {
  112750. var start, first, expressions, t1, t2, _this = this,
  112751. wasInParentheses = _this._stylesheet0$_inParentheses;
  112752. _this._stylesheet0$_inParentheses = true;
  112753. try {
  112754. t1 = _this.scanner;
  112755. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112756. t1.expectChar$1(40);
  112757. _this.whitespace$0();
  112758. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  112759. t1.expectChar$1(41);
  112760. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  112761. t1 = t1.spanFrom$1(start);
  112762. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  112763. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  112764. }
  112765. first = _this.expressionUntilComma$0();
  112766. if (t1.scanChar$1(58)) {
  112767. _this.whitespace$0();
  112768. t1 = _this._stylesheet0$_map$2(first, start);
  112769. return t1;
  112770. }
  112771. if (!t1.scanChar$1(44)) {
  112772. t1.expectChar$1(41);
  112773. t1 = t1.spanFrom$1(start);
  112774. return new A.ParenthesizedExpression0(first, t1);
  112775. }
  112776. _this.whitespace$0();
  112777. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  112778. for (; true;) {
  112779. if (!_this._stylesheet0$_lookingAtExpression$0())
  112780. break;
  112781. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  112782. if (!t1.scanChar$1(44))
  112783. break;
  112784. _this.whitespace$0();
  112785. }
  112786. t1.expectChar$1(41);
  112787. t1 = t1.spanFrom$1(start);
  112788. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  112789. return new A.ListExpression0(t2, B.ListSeparator_ECn0, false, t1);
  112790. } finally {
  112791. _this._stylesheet0$_inParentheses = wasInParentheses;
  112792. }
  112793. },
  112794. _stylesheet0$_map$2(first, start) {
  112795. var t1, key, _this = this,
  112796. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  112797. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  112798. _this.whitespace$0();
  112799. if (!_this._stylesheet0$_lookingAtExpression$0())
  112800. break;
  112801. key = _this.expressionUntilComma$0();
  112802. t1.expectChar$1(58);
  112803. _this.whitespace$0();
  112804. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  112805. }
  112806. t1.expectChar$1(41);
  112807. t1 = t1.spanFrom$1(start);
  112808. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  112809. },
  112810. _stylesheet0$_hashExpression$0() {
  112811. var start, t2, identifier, buffer, t3, _this = this,
  112812. t1 = _this.scanner;
  112813. if (t1.peekChar$1(1) === 123)
  112814. return _this.identifierLike$0();
  112815. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112816. t1.expectChar$1(35);
  112817. t2 = t1.peekChar$0();
  112818. if (t2 == null)
  112819. t2 = null;
  112820. else
  112821. t2 = t2 >= 48 && t2 <= 57;
  112822. if (t2 === true)
  112823. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112824. t2 = t1._string_scanner$_position;
  112825. identifier = _this.interpolatedIdentifier$0();
  112826. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  112827. t1.set$state(new A._SpanScannerState(t1, t2));
  112828. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112829. }
  112830. t2 = new A.StringBuffer("");
  112831. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  112832. t3 = A.Primitives_stringFromCharCode(35);
  112833. t2._contents += t3;
  112834. buffer.addInterpolation$1(identifier);
  112835. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  112836. },
  112837. _stylesheet0$_hexColorContents$1(start) {
  112838. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  112839. digit1 = _this._stylesheet0$_hexDigit$0(),
  112840. digit2 = _this._stylesheet0$_hexDigit$0(),
  112841. digit3 = _this._stylesheet0$_hexDigit$0(),
  112842. t1 = _this.scanner,
  112843. $self = t1.peekChar$0();
  112844. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  112845. red = (digit1 << 4 >>> 0) + digit1;
  112846. green = (digit2 << 4 >>> 0) + digit2;
  112847. blue = (digit3 << 4 >>> 0) + digit3;
  112848. alpha = null;
  112849. } else {
  112850. digit4 = _this._stylesheet0$_hexDigit$0();
  112851. $self = t1.peekChar$0();
  112852. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  112853. t3 = digit1 << 4 >>> 0;
  112854. t4 = digit3 << 4 >>> 0;
  112855. if (!t2) {
  112856. red = t3 + digit1;
  112857. green = (digit2 << 4 >>> 0) + digit2;
  112858. blue = t4 + digit3;
  112859. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  112860. } else {
  112861. red = t3 + digit2;
  112862. green = t4 + digit4;
  112863. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  112864. $self = t1.peekChar$0();
  112865. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  112866. }
  112867. }
  112868. t2 = alpha == null;
  112869. t3 = t2 ? 1 : alpha;
  112870. return A.SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  112871. },
  112872. _stylesheet0$_isHexColor$1(interpolation) {
  112873. var _0_2, t1,
  112874. plain = interpolation.get$asPlain();
  112875. if (typeof plain == "string") {
  112876. _0_2 = plain.length;
  112877. t1 = true;
  112878. if (3 !== _0_2)
  112879. if (4 !== _0_2)
  112880. if (6 !== _0_2)
  112881. t1 = 8 === _0_2;
  112882. } else
  112883. t1 = false;
  112884. if (t1) {
  112885. t1 = new A.CodeUnits(plain);
  112886. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  112887. } else
  112888. return false;
  112889. },
  112890. _stylesheet0$_hexDigit$0() {
  112891. var t1 = this.scanner,
  112892. t2 = t1.peekChar$0();
  112893. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  112894. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  112895. },
  112896. _stylesheet0$_minusExpression$0() {
  112897. var _this = this,
  112898. _0_0 = _this.scanner.peekChar$1(1);
  112899. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  112900. return _this._stylesheet0$_number$0();
  112901. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112902. return _this.identifierLike$0();
  112903. return _this._stylesheet0$_unaryOperation$0();
  112904. },
  112905. _stylesheet0$_importantExpression$0() {
  112906. var t1 = this.scanner,
  112907. t2 = t1._string_scanner$_position;
  112908. t1.readChar$0();
  112909. this.whitespace$0();
  112910. this.expectIdentifier$1("important");
  112911. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112912. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  112913. },
  112914. _stylesheet0$_unaryOperation$0() {
  112915. var _this = this,
  112916. t1 = _this.scanner,
  112917. t2 = t1._string_scanner$_position,
  112918. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  112919. if (operator == null)
  112920. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  112921. else if (_this.get$plainCss() && operator !== B.UnaryOperator_SJr0)
  112922. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  112923. _this.whitespace$0();
  112924. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112925. },
  112926. _stylesheet0$_unaryOperatorFor$1(character) {
  112927. var t1;
  112928. $label0$0: {
  112929. if (43 === character) {
  112930. t1 = B.UnaryOperator_cLp0;
  112931. break $label0$0;
  112932. }
  112933. if (45 === character) {
  112934. t1 = B.UnaryOperator_AiQ0;
  112935. break $label0$0;
  112936. }
  112937. if (47 === character) {
  112938. t1 = B.UnaryOperator_SJr0;
  112939. break $label0$0;
  112940. }
  112941. t1 = null;
  112942. break $label0$0;
  112943. }
  112944. return t1;
  112945. },
  112946. _stylesheet0$_number$0() {
  112947. var number, unit, _this = this,
  112948. t1 = _this.scanner,
  112949. t2 = t1._string_scanner$_position,
  112950. first = t1.peekChar$0(),
  112951. t3 = first !== 43;
  112952. if (!t3 || first === 45)
  112953. t1.readChar$0();
  112954. if (t1.peekChar$0() !== 46)
  112955. _this._stylesheet0$_consumeNaturalNumber$0();
  112956. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  112957. _this._stylesheet0$_tryExponent$0();
  112958. number = A.double_parse(t1.substring$1(0, t2));
  112959. if (t1.scanChar$1(37))
  112960. unit = "%";
  112961. else {
  112962. if (_this.lookingAtIdentifier$0())
  112963. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  112964. else
  112965. t3 = false;
  112966. unit = t3 ? _this.identifier$1$unit(true) : null;
  112967. }
  112968. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112969. },
  112970. _stylesheet0$_consumeNaturalNumber$0() {
  112971. var $self,
  112972. t1 = this.scanner,
  112973. t2 = t1.readChar$0();
  112974. if (!(t2 >= 48 && t2 <= 57))
  112975. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  112976. while (true) {
  112977. $self = t1.peekChar$0();
  112978. if (!($self != null && $self >= 48 && $self <= 57))
  112979. break;
  112980. t1.readChar$0();
  112981. }
  112982. },
  112983. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  112984. var $self,
  112985. t1 = this.scanner;
  112986. if (t1.peekChar$0() !== 46)
  112987. return;
  112988. $self = t1.peekChar$1(1);
  112989. if (!($self != null && $self >= 48 && $self <= 57)) {
  112990. if (allowTrailingDot)
  112991. return;
  112992. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  112993. }
  112994. t1.readChar$0();
  112995. while (true) {
  112996. $self = t1.peekChar$0();
  112997. if (!($self != null && $self >= 48 && $self <= 57))
  112998. break;
  112999. t1.readChar$0();
  113000. }
  113001. },
  113002. _stylesheet0$_tryExponent$0() {
  113003. var next, $self,
  113004. t1 = this.scanner,
  113005. first = t1.peekChar$0();
  113006. if (first !== 101 && first !== 69)
  113007. return;
  113008. next = t1.peekChar$1(1);
  113009. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  113010. return;
  113011. t1.readChar$0();
  113012. if (43 === next || 45 === next)
  113013. t1.readChar$0();
  113014. $self = t1.peekChar$0();
  113015. if (!($self != null && $self >= 48 && $self <= 57))
  113016. t1.error$1(0, "Expected digit.");
  113017. while (true) {
  113018. $self = t1.peekChar$0();
  113019. if (!($self != null && $self >= 48 && $self <= 57))
  113020. break;
  113021. t1.readChar$0();
  113022. }
  113023. },
  113024. _stylesheet0$_unicodeRange$0() {
  113025. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  113026. _s26_ = "Expected at most 6 digits.",
  113027. t1 = _this.scanner,
  113028. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113029. _this.expectIdentChar$1(117);
  113030. t1.expectChar$1(43);
  113031. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  113032. ++firstRangeLength;
  113033. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  113034. ++firstRangeLength;
  113035. if (firstRangeLength === 0)
  113036. t1.error$1(0, 'Expected hex digit or "?".');
  113037. else if (firstRangeLength > 6)
  113038. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  113039. else if (hasQuestionMark) {
  113040. t2 = t1.substring$1(0, start.position);
  113041. t1 = t1.spanFrom$1(start);
  113042. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  113043. }
  113044. if (t1.scanChar$1(45)) {
  113045. t2 = t1._string_scanner$_position;
  113046. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  113047. ++secondRangeLength;
  113048. if (secondRangeLength === 0)
  113049. t1.error$1(0, "Expected hex digit.");
  113050. else if (secondRangeLength > 6)
  113051. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113052. }
  113053. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  113054. t1.error$1(0, "Expected end of identifier.");
  113055. t2 = t1.substring$1(0, start.position);
  113056. t1 = t1.spanFrom$1(start);
  113057. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  113058. },
  113059. _stylesheet0$_variable$0() {
  113060. var _this = this,
  113061. t1 = _this.scanner,
  113062. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113063. $name = _this.variableName$0();
  113064. if (_this.get$plainCss())
  113065. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  113066. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  113067. },
  113068. _stylesheet0$_selector$0() {
  113069. var t1, start, _this = this;
  113070. if (_this.get$plainCss())
  113071. _this.scanner.error$2$length(0, string$.The_pa, 1);
  113072. t1 = _this.scanner;
  113073. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113074. t1.expectChar$1(38);
  113075. if (t1.scanChar$1(38)) {
  113076. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  113077. t1.set$position(t1._string_scanner$_position - 1);
  113078. }
  113079. return new A.SelectorExpression0(t1.spanFrom$1(start));
  113080. },
  113081. interpolatedString$0() {
  113082. var t3, t4, buffer, _0_0, second, t5,
  113083. t1 = this.scanner,
  113084. t2 = t1._string_scanner$_position,
  113085. quote = t1.readChar$0();
  113086. if (quote !== 39 && quote !== 34)
  113087. t1.error$2$position(0, "Expected string.", t2);
  113088. t3 = new A.StringBuffer("");
  113089. t4 = A._setArrayType([], type$.JSArray_Object);
  113090. buffer = new A.InterpolationBuffer0(t3, t4);
  113091. for (; true;) {
  113092. _0_0 = t1.peekChar$0();
  113093. if (_0_0 === quote) {
  113094. t1.readChar$0();
  113095. break;
  113096. }
  113097. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113098. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  113099. if (92 === _0_0) {
  113100. second = t1.peekChar$1(1);
  113101. if (second === 10 || second === 13 || second === 12) {
  113102. t1.readChar$0();
  113103. t1.readChar$0();
  113104. if (second === 13)
  113105. t1.scanChar$1(10);
  113106. } else {
  113107. t5 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  113108. t3._contents += t5;
  113109. }
  113110. continue;
  113111. }
  113112. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  113113. t5 = this.singleInterpolation$0();
  113114. buffer._interpolation_buffer0$_flushText$0();
  113115. t4.push(t5);
  113116. continue;
  113117. }
  113118. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113119. t3._contents += t5;
  113120. }
  113121. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  113122. },
  113123. identifierLike$0() {
  113124. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  113125. t1 = _this.scanner,
  113126. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113127. identifier = _this.interpolatedIdentifier$0(),
  113128. plain = identifier.get$asPlain(),
  113129. lower = A._Cell$(),
  113130. t2 = plain != null;
  113131. if (t2) {
  113132. if (plain === "if" && t1.peekChar$0() === 40) {
  113133. invocation = _this._stylesheet0$_argumentInvocation$0();
  113134. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  113135. } else if (plain === "not") {
  113136. _this.whitespace$0();
  113137. expression = _this._stylesheet0$_singleExpression$0();
  113138. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  113139. }
  113140. lower.__late_helper$_value = plain.toLowerCase();
  113141. if (t1.peekChar$0() !== 40) {
  113142. switch (plain) {
  113143. case "false":
  113144. return new A.BooleanExpression0(false, identifier.span);
  113145. case "null":
  113146. return new A.NullExpression0(identifier.span);
  113147. case "true":
  113148. return new A.BooleanExpression0(true, identifier.span);
  113149. }
  113150. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  113151. if (_0_0 != null) {
  113152. t1 = identifier.span;
  113153. 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);
  113154. }
  113155. }
  113156. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  113157. if (_1_0 != null)
  113158. return _1_0;
  113159. }
  113160. _2_0 = t1.peekChar$0();
  113161. _2_2 = 46 === _2_0;
  113162. if (_2_2 && t1.peekChar$1(1) === 46)
  113163. return new A.StringExpression0(identifier, false);
  113164. if (_2_2) {
  113165. t1.readChar$0();
  113166. if (t2)
  113167. return _this.namespacedExpression$2(plain, start);
  113168. _this.error$2(0, string$.Interpn, identifier.span);
  113169. }
  113170. _2_4 = 40 === _2_0;
  113171. if (_2_4 && t2) {
  113172. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  113173. t1 = t1.spanFrom$1(start);
  113174. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  113175. }
  113176. if (_2_4)
  113177. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  113178. return new A.StringExpression0(identifier, false);
  113179. },
  113180. namespacedExpression$2(namespace, start) {
  113181. var $name, t2, t3, _this = this,
  113182. t1 = _this.scanner;
  113183. if (t1.peekChar$0() === 36) {
  113184. $name = _this.variableName$0();
  113185. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  113186. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  113187. }
  113188. t2 = _this._stylesheet0$_publicIdentifier$0();
  113189. t3 = _this._stylesheet0$_argumentInvocation$0();
  113190. t1 = t1.spanFrom$1(start);
  113191. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  113192. },
  113193. trySpecialFunction$2($name, start) {
  113194. var t1, buffer, t2, next, t3, _this = this,
  113195. normalized = A.unvendor0($name);
  113196. $label0$0: {
  113197. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  113198. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  113199. else
  113200. t1 = true;
  113201. if (t1) {
  113202. t1 = new A.StringBuffer("");
  113203. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  113204. t1._contents = "" + $name;
  113205. t2 = A.Primitives_stringFromCharCode(40);
  113206. t1._contents += t2;
  113207. break $label0$0;
  113208. }
  113209. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  113210. t1 = new A.StringBuffer("");
  113211. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  113212. t1._contents = "" + $name;
  113213. t2 = A.Primitives_stringFromCharCode(58);
  113214. t1._contents += t2;
  113215. t2 = _this.scanner;
  113216. next = t2.peekChar$0();
  113217. while (true) {
  113218. if (next != null) {
  113219. if (!(next >= 97 && next <= 122))
  113220. t3 = next >= 65 && next <= 90;
  113221. else
  113222. t3 = true;
  113223. t3 = t3 || next === 46;
  113224. } else
  113225. t3 = false;
  113226. if (!t3)
  113227. break;
  113228. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  113229. t1._contents += t3;
  113230. next = t2.peekChar$0();
  113231. }
  113232. t2.expectChar$1(40);
  113233. t2 = A.Primitives_stringFromCharCode(40);
  113234. t1._contents += t2;
  113235. break $label0$0;
  113236. }
  113237. if ("url" === normalized)
  113238. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  113239. return null;
  113240. }
  113241. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  113242. t1 = _this.scanner;
  113243. t1.expectChar$1(41);
  113244. t2 = buffer._interpolation_buffer0$_text;
  113245. t3 = A.Primitives_stringFromCharCode(41);
  113246. t2._contents += t3;
  113247. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  113248. },
  113249. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  113250. var t3, t4, buffer, t5, _0_0, _0_6, endPosition, result, _this = this,
  113251. t1 = _this.scanner,
  113252. t2 = t1._string_scanner$_position;
  113253. if (!t1.scanChar$1(40))
  113254. return null;
  113255. _this.whitespaceWithoutComments$0();
  113256. t3 = new A.StringBuffer("");
  113257. t4 = A._setArrayType([], type$.JSArray_Object);
  113258. buffer = new A.InterpolationBuffer0(t3, t4);
  113259. t3._contents = "" + ($name == null ? "url" : $name);
  113260. t5 = A.Primitives_stringFromCharCode(40);
  113261. t3._contents += t5;
  113262. for (; true;) {
  113263. _0_0 = t1.peekChar$0();
  113264. if (_0_0 == null)
  113265. break;
  113266. if (92 === _0_0) {
  113267. t5 = _this.escape$0();
  113268. t3._contents += t5;
  113269. continue;
  113270. }
  113271. _0_6 = 35 === _0_0;
  113272. if (_0_6 && t1.peekChar$1(1) === 123) {
  113273. t5 = _this.singleInterpolation$0();
  113274. buffer._interpolation_buffer0$_flushText$0();
  113275. t4.push(t5);
  113276. continue;
  113277. }
  113278. t5 = true;
  113279. if (33 !== _0_0)
  113280. if (37 !== _0_0)
  113281. if (38 !== _0_0)
  113282. if (!_0_6)
  113283. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113284. if (t5) {
  113285. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113286. t3._contents += t5;
  113287. continue;
  113288. }
  113289. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113290. _this.whitespaceWithoutComments$0();
  113291. if (t1.peekChar$0() !== 41)
  113292. break;
  113293. continue;
  113294. }
  113295. if (41 === _0_0) {
  113296. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113297. t3._contents += t2;
  113298. endPosition = t1._string_scanner$_position;
  113299. t2 = t1._sourceFile;
  113300. t5 = start.position;
  113301. t1 = new A._FileSpan(t2, t5, endPosition);
  113302. t1._FileSpan$3(t2, t5, endPosition);
  113303. t5 = type$.Object;
  113304. t2 = A.List_List$of(t4, true, t5);
  113305. t4 = t3._contents;
  113306. if (t4.length !== 0)
  113307. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  113308. result = A.List_List$from(t2, false, t5);
  113309. result.fixed$length = Array;
  113310. result.immutable$list = Array;
  113311. t3 = new A.Interpolation0(result, t1);
  113312. t3.Interpolation$20(t2, t1);
  113313. return t3;
  113314. }
  113315. break;
  113316. }
  113317. t1.set$state(new A._SpanScannerState(t1, t2));
  113318. return null;
  113319. },
  113320. _stylesheet0$_tryUrlContents$1(start) {
  113321. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  113322. },
  113323. dynamicUrl$0() {
  113324. var _0_0, _this = this,
  113325. t1 = _this.scanner,
  113326. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113327. _this.expectIdentifier$1("url");
  113328. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  113329. if (_0_0 != null)
  113330. return new A.StringExpression0(_0_0, false);
  113331. 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));
  113332. },
  113333. almostAnyValue$1$omitComments(omitComments) {
  113334. var t4, t5, t6, _2_0, t7, _0_0, _0_2, start, end, _0_4, identifier, _1_0, _this = this,
  113335. t1 = _this.scanner,
  113336. t2 = t1._string_scanner$_position,
  113337. t3 = new A.StringBuffer(""),
  113338. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  113339. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  113340. $label0$0: {
  113341. _2_0 = t1.peekChar$0();
  113342. if (92 === _2_0) {
  113343. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113344. t3._contents += t7;
  113345. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113346. t3._contents += t7;
  113347. break $label0$0;
  113348. }
  113349. if (34 === _2_0 || 39 === _2_0) {
  113350. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  113351. break $label0$0;
  113352. }
  113353. if (47 === _2_0) {
  113354. $label1$1: {
  113355. _0_0 = t1.peekChar$1(1);
  113356. _0_2 = 42 === _0_0;
  113357. if (_0_2 && t6) {
  113358. t7 = _this.get$loudComment();
  113359. start = t1._string_scanner$_position;
  113360. t7.call$0();
  113361. end = t1._string_scanner$_position;
  113362. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  113363. break $label1$1;
  113364. }
  113365. if (_0_2) {
  113366. _this.loudComment$0();
  113367. break $label1$1;
  113368. }
  113369. _0_4 = 47 === _0_0;
  113370. if (_0_4 && t6) {
  113371. t7 = _this.get$silentComment();
  113372. start = t1._string_scanner$_position;
  113373. t7.call$0();
  113374. end = t1._string_scanner$_position;
  113375. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  113376. break $label1$1;
  113377. }
  113378. if (_0_4) {
  113379. _this.silentComment$0();
  113380. break $label1$1;
  113381. }
  113382. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113383. t3._contents += t7;
  113384. }
  113385. break $label0$0;
  113386. }
  113387. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  113388. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  113389. break $label0$0;
  113390. }
  113391. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  113392. if (_this.get$indented())
  113393. break;
  113394. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113395. t3._contents += t7;
  113396. break $label0$0;
  113397. }
  113398. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  113399. break;
  113400. if (117 === _2_0 || 85 === _2_0) {
  113401. t7 = t1._string_scanner$_position;
  113402. identifier = _this.identifier$0();
  113403. if (identifier !== "url" && identifier !== "url-prefix") {
  113404. t3._contents += identifier;
  113405. continue;
  113406. }
  113407. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  113408. if (_1_0 != null)
  113409. buffer.addInterpolation$1(_1_0);
  113410. else {
  113411. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  113412. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  113413. t1._string_scanner$_position = t7;
  113414. t1._lastMatch = null;
  113415. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113416. t3._contents += t7;
  113417. }
  113418. break $label0$0;
  113419. }
  113420. if (_2_0 == null)
  113421. break;
  113422. t7 = _this.lookingAtIdentifier$0();
  113423. if (t7) {
  113424. t7 = _this.identifier$0();
  113425. t3._contents += t7;
  113426. break $label0$0;
  113427. }
  113428. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113429. t3._contents += t7;
  113430. }
  113431. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113432. },
  113433. almostAnyValue$0() {
  113434. return this.almostAnyValue$1$omitComments(false);
  113435. },
  113436. _stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, silentComments) {
  113437. var t4, t5, t6, t7, t8, wroteNewline, _2_0, wroteNewline0, t9, _0_0, start, end, _2_14_isSet, _2_14, t10, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  113438. t1 = _this.scanner,
  113439. t2 = t1._string_scanner$_position,
  113440. t3 = new A.StringBuffer(""),
  113441. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  113442. brackets = A._setArrayType([], type$.JSArray_int);
  113443. for (t4 = !allowOpenBrace, t5 = t1.string, t6 = t5.length, t7 = !allowColon, t8 = !allowSemicolon, wroteNewline = false; true;)
  113444. $label0$0: {
  113445. _2_0 = t1.peekChar$0();
  113446. wroteNewline0 = false;
  113447. if (92 === _2_0) {
  113448. t9 = _this.escape$1$identifierStart(true);
  113449. t3._contents += t9;
  113450. wroteNewline = wroteNewline0;
  113451. break $label0$0;
  113452. }
  113453. if (34 === _2_0 || 39 === _2_0) {
  113454. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  113455. wroteNewline = wroteNewline0;
  113456. break $label0$0;
  113457. }
  113458. if (47 === _2_0) {
  113459. $label1$1: {
  113460. _0_0 = t1.peekChar$1(1);
  113461. if (42 === _0_0) {
  113462. t9 = _this.get$loudComment();
  113463. start = t1._string_scanner$_position;
  113464. t9.call$0();
  113465. end = t1._string_scanner$_position;
  113466. t3._contents += B.JSString_methods.substring$2(t5, start, end);
  113467. break $label1$1;
  113468. }
  113469. if (47 === _0_0 && silentComments) {
  113470. _this.silentComment$0();
  113471. break $label1$1;
  113472. }
  113473. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113474. t3._contents += t9;
  113475. }
  113476. wroteNewline = wroteNewline0;
  113477. break $label0$0;
  113478. }
  113479. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  113480. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  113481. wroteNewline = wroteNewline0;
  113482. break $label0$0;
  113483. }
  113484. _2_14_isSet = 32 !== _2_0;
  113485. if (_2_14_isSet) {
  113486. _2_14 = 9 === _2_0;
  113487. t9 = _2_14;
  113488. } else {
  113489. _2_14 = _null;
  113490. t9 = true;
  113491. }
  113492. t10 = false;
  113493. if (t9)
  113494. if (!wroteNewline) {
  113495. t9 = t1.peekChar$1(1);
  113496. t9 = t9 === 32 || t9 === 9 || t9 === 10 || t9 === 13 || t9 === 12;
  113497. } else
  113498. t9 = t10;
  113499. else
  113500. t9 = t10;
  113501. if (t9) {
  113502. t1.readChar$0();
  113503. break $label0$0;
  113504. }
  113505. if (_2_14_isSet)
  113506. t9 = _2_14;
  113507. else
  113508. t9 = true;
  113509. if (t9) {
  113510. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113511. t3._contents += t9;
  113512. break $label0$0;
  113513. }
  113514. _2_18_isSet = 10 !== _2_0;
  113515. _2_20 = _null;
  113516. t9 = true;
  113517. if (_2_18_isSet) {
  113518. _2_18 = 13 === _2_0;
  113519. _2_20_isSet = !_2_18;
  113520. if (_2_20_isSet) {
  113521. _2_20 = 12 === _2_0;
  113522. t9 = _2_20;
  113523. }
  113524. } else {
  113525. _2_18 = _null;
  113526. _2_20_isSet = false;
  113527. }
  113528. if (t9 && _this.get$indented())
  113529. break;
  113530. t9 = true;
  113531. if (_2_18_isSet)
  113532. if (!_2_18)
  113533. t9 = _2_20_isSet ? _2_20 : 12 === _2_0;
  113534. if (t9) {
  113535. t9 = t1.peekChar$1(-1);
  113536. if (!(t9 === 10 || t9 === 13 || t9 === 12))
  113537. t3._contents += "\n";
  113538. t1.readChar$0();
  113539. wroteNewline = true;
  113540. break $label0$0;
  113541. }
  113542. _2_22 = 123 === _2_0;
  113543. if (_2_22 && t4)
  113544. break;
  113545. if (40 !== _2_0)
  113546. t9 = _2_22 || 91 === _2_0;
  113547. else
  113548. t9 = true;
  113549. if (t9) {
  113550. bracket = t1.readChar$0();
  113551. t9 = A.Primitives_stringFromCharCode(bracket);
  113552. t3._contents += t9;
  113553. brackets.push(A.opposite0(bracket));
  113554. wroteNewline = wroteNewline0;
  113555. break $label0$0;
  113556. }
  113557. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  113558. if (brackets.length === 0)
  113559. break;
  113560. bracket = brackets.pop();
  113561. t1.expectChar$1(bracket);
  113562. t9 = A.Primitives_stringFromCharCode(bracket);
  113563. t3._contents += t9;
  113564. wroteNewline = wroteNewline0;
  113565. break $label0$0;
  113566. }
  113567. if (59 === _2_0) {
  113568. if (t8 && brackets.length === 0)
  113569. break;
  113570. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113571. t3._contents += t9;
  113572. wroteNewline = wroteNewline0;
  113573. break $label0$0;
  113574. }
  113575. if (58 === _2_0) {
  113576. if (t7 && brackets.length === 0)
  113577. break;
  113578. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113579. t3._contents += t9;
  113580. wroteNewline = wroteNewline0;
  113581. break $label0$0;
  113582. }
  113583. if (117 === _2_0 || 85 === _2_0) {
  113584. t9 = t1._string_scanner$_position;
  113585. identifier = _this.identifier$0();
  113586. if (identifier !== "url" && identifier !== "url-prefix") {
  113587. t3._contents += identifier;
  113588. wroteNewline = wroteNewline0;
  113589. continue;
  113590. }
  113591. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t9), identifier);
  113592. if (_1_0 != null)
  113593. buffer.addInterpolation$1(_1_0);
  113594. else {
  113595. if ((t9 === 0 ? 1 / t9 < 0 : t9 < 0) || t9 > t6)
  113596. A.throwExpression(A.ArgumentError$("Invalid position " + t9, _null));
  113597. t1._string_scanner$_position = t9;
  113598. t1._lastMatch = null;
  113599. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113600. t3._contents += t9;
  113601. }
  113602. wroteNewline = wroteNewline0;
  113603. break $label0$0;
  113604. }
  113605. if (_2_0 == null)
  113606. break;
  113607. t9 = _this.lookingAtIdentifier$0();
  113608. if (t9) {
  113609. t9 = _this.identifier$0();
  113610. t3._contents += t9;
  113611. wroteNewline = wroteNewline0;
  113612. break $label0$0;
  113613. }
  113614. t9 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113615. t3._contents += t9;
  113616. wroteNewline = wroteNewline0;
  113617. }
  113618. if (brackets.length !== 0)
  113619. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113620. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  113621. t1.error$1(0, "Expected token.");
  113622. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113623. },
  113624. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  113625. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, true, false, true);
  113626. },
  113627. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  113628. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, allowOpenBrace, false, true);
  113629. },
  113630. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  113631. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, true, allowSemicolon, true);
  113632. },
  113633. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  113634. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(allowColon, allowEmpty, true, allowSemicolon, true);
  113635. },
  113636. _stylesheet0$_interpolatedDeclarationValue$0() {
  113637. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, true, false, true);
  113638. },
  113639. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  113640. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, allowEmpty, allowOpenBrace, false, true);
  113641. },
  113642. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  113643. return this._stylesheet0$_interpolatedDeclarationValue$5$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$silentComments(true, false, true, false, silentComments);
  113644. },
  113645. interpolatedIdentifier$0() {
  113646. var t4, _0_0, _this = this,
  113647. _s20_ = "Expected identifier.",
  113648. t1 = _this.scanner,
  113649. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113650. t2 = new A.StringBuffer(""),
  113651. t3 = A._setArrayType([], type$.JSArray_Object),
  113652. buffer = new A.InterpolationBuffer0(t2, t3);
  113653. if (t1.scanChar$1(45)) {
  113654. t4 = A.Primitives_stringFromCharCode(45);
  113655. t2._contents += t4;
  113656. if (t1.scanChar$1(45)) {
  113657. t3 = A.Primitives_stringFromCharCode(45);
  113658. t2._contents += t3;
  113659. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113660. return buffer.interpolation$1(t1.spanFrom$1(start));
  113661. }
  113662. }
  113663. $label0$0: {
  113664. _0_0 = t1.peekChar$0();
  113665. if (_0_0 == null)
  113666. t1.error$1(0, _s20_);
  113667. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113668. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113669. t2._contents += t3;
  113670. break $label0$0;
  113671. }
  113672. if (92 === _0_0) {
  113673. t3 = _this.escape$1$identifierStart(true);
  113674. t2._contents += t3;
  113675. break $label0$0;
  113676. }
  113677. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  113678. t2 = _this.singleInterpolation$0();
  113679. buffer._interpolation_buffer0$_flushText$0();
  113680. t3.push(t2);
  113681. break $label0$0;
  113682. }
  113683. t1.error$1(0, _s20_);
  113684. }
  113685. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113686. return buffer.interpolation$1(t1.spanFrom$1(start));
  113687. },
  113688. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  113689. var t1, t2, t3, _0_0, t4;
  113690. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  113691. _0_0 = t2.peekChar$0();
  113692. if (_0_0 == null)
  113693. break;
  113694. t4 = true;
  113695. if (95 !== _0_0)
  113696. if (45 !== _0_0) {
  113697. if (!(_0_0 >= 97 && _0_0 <= 122))
  113698. t4 = _0_0 >= 65 && _0_0 <= 90;
  113699. else
  113700. t4 = true;
  113701. if (!t4)
  113702. t4 = _0_0 >= 48 && _0_0 <= 57;
  113703. else
  113704. t4 = true;
  113705. t4 = t4 || _0_0 >= 128;
  113706. }
  113707. if (t4) {
  113708. t4 = A.Primitives_stringFromCharCode(t2.readChar$0());
  113709. t3._contents += t4;
  113710. continue;
  113711. }
  113712. if (92 === _0_0) {
  113713. t4 = this.escape$0();
  113714. t3._contents += t4;
  113715. continue;
  113716. }
  113717. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  113718. t4 = this.singleInterpolation$0();
  113719. buffer._interpolation_buffer0$_flushText$0();
  113720. t1.push(t4);
  113721. continue;
  113722. }
  113723. break;
  113724. }
  113725. },
  113726. singleInterpolation$0() {
  113727. var contents, _this = this,
  113728. t1 = _this.scanner,
  113729. t2 = t1._string_scanner$_position;
  113730. t1.expect$1("#{");
  113731. _this.whitespace$0();
  113732. contents = _this._stylesheet0$_expression$0();
  113733. t1.expectChar$1(125);
  113734. if (_this.get$plainCss())
  113735. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113736. return contents;
  113737. },
  113738. _stylesheet0$_mediaQueryList$0() {
  113739. var t4, _this = this,
  113740. t1 = _this.scanner,
  113741. t2 = t1._string_scanner$_position,
  113742. t3 = new A.StringBuffer(""),
  113743. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  113744. for (; true;) {
  113745. _this.whitespace$0();
  113746. _this._stylesheet0$_mediaQuery$1(buffer);
  113747. _this.whitespace$0();
  113748. if (!t1.scanChar$1(44))
  113749. break;
  113750. t4 = A.Primitives_stringFromCharCode(44);
  113751. t3._contents += t4;
  113752. t4 = A.Primitives_stringFromCharCode(32);
  113753. t3._contents += t4;
  113754. }
  113755. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113756. },
  113757. _stylesheet0$_mediaQuery$1(buffer) {
  113758. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  113759. if (_this.scanner.peekChar$0() === 40) {
  113760. _this._stylesheet0$_mediaInParens$1(buffer);
  113761. _this.whitespace$0();
  113762. if (_this.scanIdentifier$1(_s3_)) {
  113763. buffer._interpolation_buffer0$_text._contents += " and ";
  113764. _this.expectWhitespace$0();
  113765. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113766. } else if (_this.scanIdentifier$1("or")) {
  113767. buffer._interpolation_buffer0$_text._contents += " or ";
  113768. _this.expectWhitespace$0();
  113769. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113770. }
  113771. return;
  113772. }
  113773. identifier1 = _this.interpolatedIdentifier$0();
  113774. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  113775. _this.expectWhitespace$0();
  113776. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113777. buffer._interpolation_buffer0$_text._contents += "not ";
  113778. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113779. return;
  113780. }
  113781. }
  113782. _this.whitespace$0();
  113783. buffer.addInterpolation$1(identifier1);
  113784. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  113785. return;
  113786. t1 = buffer._interpolation_buffer0$_text;
  113787. t2 = A.Primitives_stringFromCharCode(32);
  113788. t1._contents += t2;
  113789. identifier2 = _this.interpolatedIdentifier$0();
  113790. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  113791. _this.expectWhitespace$0();
  113792. t1._contents += " and ";
  113793. } else {
  113794. _this.whitespace$0();
  113795. buffer.addInterpolation$1(identifier2);
  113796. if (_this.scanIdentifier$1(_s3_)) {
  113797. _this.expectWhitespace$0();
  113798. t1._contents += " and ";
  113799. } else
  113800. return;
  113801. }
  113802. if (_this.scanIdentifier$1("not")) {
  113803. _this.expectWhitespace$0();
  113804. t1._contents += "not ";
  113805. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113806. return;
  113807. }
  113808. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113809. return;
  113810. },
  113811. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  113812. var t1, t2, _this = this;
  113813. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  113814. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113815. _this.whitespace$0();
  113816. if (!_this.scanIdentifier$1(operator))
  113817. return;
  113818. _this.expectWhitespace$0();
  113819. t2 = A.Primitives_stringFromCharCode(32);
  113820. t2 = t1._contents += t2;
  113821. t1._contents = t2 + operator;
  113822. t2 = A.Primitives_stringFromCharCode(32);
  113823. t1._contents += t2;
  113824. }
  113825. },
  113826. _stylesheet0$_mediaOrInterp$1(buffer) {
  113827. var interpolation;
  113828. if (this.scanner.peekChar$0() === 35) {
  113829. interpolation = this.singleInterpolation$0();
  113830. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  113831. } else
  113832. this._stylesheet0$_mediaInParens$1(buffer);
  113833. },
  113834. _stylesheet0$_mediaInParens$1(buffer) {
  113835. var t2, t3, t4, next, t5, _this = this,
  113836. t1 = _this.scanner;
  113837. t1.expectChar$2$name(40, "media condition in parentheses");
  113838. t2 = buffer._interpolation_buffer0$_text;
  113839. t3 = A.Primitives_stringFromCharCode(40);
  113840. t2._contents += t3;
  113841. _this.whitespace$0();
  113842. if (t1.peekChar$0() === 40) {
  113843. _this._stylesheet0$_mediaInParens$1(buffer);
  113844. _this.whitespace$0();
  113845. if (_this.scanIdentifier$1("and")) {
  113846. t2._contents += " and ";
  113847. _this.expectWhitespace$0();
  113848. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  113849. } else if (_this.scanIdentifier$1("or")) {
  113850. t2._contents += " or ";
  113851. _this.expectWhitespace$0();
  113852. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113853. }
  113854. } else if (_this.scanIdentifier$1("not")) {
  113855. t2._contents += "not ";
  113856. _this.expectWhitespace$0();
  113857. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113858. } else {
  113859. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113860. buffer._interpolation_buffer0$_flushText$0();
  113861. t4 = buffer._interpolation_buffer0$_contents;
  113862. t4.push(t3);
  113863. if (t1.scanChar$1(58)) {
  113864. _this.whitespace$0();
  113865. t3 = A.Primitives_stringFromCharCode(58);
  113866. t2._contents += t3;
  113867. t3 = A.Primitives_stringFromCharCode(32);
  113868. t2._contents += t3;
  113869. t3 = _this._stylesheet0$_expression$0();
  113870. buffer._interpolation_buffer0$_flushText$0();
  113871. t4.push(t3);
  113872. } else {
  113873. next = t1.peekChar$0();
  113874. t3 = 60 !== next;
  113875. if (!t3 || 62 === next || 61 === next) {
  113876. t5 = A.Primitives_stringFromCharCode(32);
  113877. t2._contents += t5;
  113878. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113879. t2._contents += t5;
  113880. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  113881. t5 = A.Primitives_stringFromCharCode(61);
  113882. t2._contents += t5;
  113883. }
  113884. t5 = A.Primitives_stringFromCharCode(32);
  113885. t2._contents += t5;
  113886. _this.whitespace$0();
  113887. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  113888. buffer._interpolation_buffer0$_flushText$0();
  113889. t4.push(t5);
  113890. if (!t3 || 62 === next) {
  113891. next.toString;
  113892. t3 = t1.scanChar$1(next);
  113893. } else
  113894. t3 = false;
  113895. if (t3) {
  113896. t3 = A.Primitives_stringFromCharCode(32);
  113897. t2._contents += t3;
  113898. t3 = A.Primitives_stringFromCharCode(next);
  113899. t2._contents += t3;
  113900. if (t1.scanChar$1(61)) {
  113901. t3 = A.Primitives_stringFromCharCode(61);
  113902. t2._contents += t3;
  113903. }
  113904. t3 = A.Primitives_stringFromCharCode(32);
  113905. t2._contents += t3;
  113906. _this.whitespace$0();
  113907. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113908. buffer._interpolation_buffer0$_flushText$0();
  113909. t4.push(t3);
  113910. }
  113911. }
  113912. }
  113913. }
  113914. t1.expectChar$1(41);
  113915. _this.whitespace$0();
  113916. t1 = A.Primitives_stringFromCharCode(41);
  113917. t2._contents += t1;
  113918. },
  113919. _stylesheet0$_expressionUntilComparison$0() {
  113920. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  113921. },
  113922. _stylesheet0$_supportsCondition$0() {
  113923. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  113924. t1 = _this.scanner,
  113925. t2 = t1._string_scanner$_position;
  113926. if (_this.scanIdentifier$1("not")) {
  113927. _this.whitespace$0();
  113928. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113929. }
  113930. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113931. _this.whitespace$0();
  113932. for (operator = null; _this.lookingAtIdentifier$0();) {
  113933. if (operator != null)
  113934. _this.expectIdentifier$1(operator);
  113935. else if (_this.scanIdentifier$1("or"))
  113936. operator = "or";
  113937. else {
  113938. _this.expectIdentifier$1("and");
  113939. operator = "and";
  113940. }
  113941. _this.whitespace$0();
  113942. right = _this._stylesheet0$_supportsConditionInParens$0();
  113943. endPosition = t1._string_scanner$_position;
  113944. t3 = t1._sourceFile;
  113945. t4 = new A._FileSpan(t3, t2, endPosition);
  113946. t4._FileSpan$3(t3, t2, endPosition);
  113947. condition = new A.SupportsOperation0(condition, right, operator, t4);
  113948. lowerOperator = operator.toLowerCase();
  113949. if (lowerOperator !== "and" && lowerOperator !== "or")
  113950. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113951. _this.whitespace$0();
  113952. }
  113953. return condition;
  113954. },
  113955. _stylesheet0$_supportsConditionInParens$0() {
  113956. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, _0_40, condition, exception, declaration, _this = this,
  113957. t1 = _this.scanner,
  113958. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113959. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113960. identifier0 = _this.interpolatedIdentifier$0();
  113961. t2 = identifier0.get$asPlain();
  113962. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  113963. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  113964. if (t1.scanChar$1(40)) {
  113965. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  113966. t1.expectChar$1(41);
  113967. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  113968. } else {
  113969. _0_0 = identifier0.contents;
  113970. _0_4_isSet = _0_0.length === 1;
  113971. _0_4 = null;
  113972. if (_0_4_isSet) {
  113973. _0_40 = _0_0[0];
  113974. t2 = _0_40;
  113975. _0_4 = t2;
  113976. t2 = t2 instanceof A.Expression0;
  113977. } else
  113978. t2 = false;
  113979. if (t2) {
  113980. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  113981. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  113982. } else
  113983. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  113984. }
  113985. }
  113986. t1.expectChar$1(40);
  113987. _this.whitespace$0();
  113988. if (_this.scanIdentifier$1("not")) {
  113989. _this.whitespace$0();
  113990. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113991. t1.expectChar$1(41);
  113992. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  113993. } else if (t1.peekChar$0() === 40) {
  113994. condition = _this._stylesheet0$_supportsCondition$0();
  113995. t1.expectChar$1(41);
  113996. return condition;
  113997. }
  113998. $name = null;
  113999. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114000. wasInParentheses = _this._stylesheet0$_inParentheses;
  114001. try {
  114002. $name = _this._stylesheet0$_expression$0();
  114003. t1.expectChar$1(58);
  114004. } catch (exception) {
  114005. if (type$.FormatException._is(A.unwrapException(exception))) {
  114006. t1.set$state(nameStart);
  114007. _this._stylesheet0$_inParentheses = wasInParentheses;
  114008. identifier = _this.interpolatedIdentifier$0();
  114009. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  114010. operation = null;
  114011. if (_1_0 != null) {
  114012. operation = _1_0;
  114013. t1.expectChar$1(41);
  114014. return operation;
  114015. }
  114016. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  114017. t2.addInterpolation$1(identifier);
  114018. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  114019. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  114020. if (t1.peekChar$0() === 58)
  114021. throw exception;
  114022. t1.expectChar$1(41);
  114023. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  114024. } else
  114025. throw exception;
  114026. }
  114027. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  114028. t1.expectChar$1(41);
  114029. return declaration;
  114030. },
  114031. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  114032. var value, _this = this,
  114033. t1 = false;
  114034. if ($name instanceof A.StringExpression0)
  114035. if (!$name.hasQuotes)
  114036. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  114037. if (t1)
  114038. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  114039. else {
  114040. _this.whitespace$0();
  114041. value = _this._stylesheet0$_expression$0();
  114042. }
  114043. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  114044. },
  114045. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  114046. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  114047. t1 = interpolation.contents;
  114048. if (t1.length !== 1)
  114049. return _null;
  114050. expression = B.JSArray_methods.get$first(t1);
  114051. if (!(expression instanceof A.Expression0))
  114052. return _null;
  114053. t1 = _this.scanner;
  114054. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114055. _this.whitespace$0();
  114056. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  114057. if (operator != null)
  114058. _this.expectIdentifier$1(operator);
  114059. else if (_this.scanIdentifier$1("and"))
  114060. operator = "and";
  114061. else {
  114062. if (!_this.scanIdentifier$1("or")) {
  114063. if (beforeWhitespace._scanner !== t1)
  114064. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  114065. t2 = beforeWhitespace.position;
  114066. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  114067. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  114068. t1._string_scanner$_position = t2;
  114069. return t1._lastMatch = null;
  114070. }
  114071. operator = "or";
  114072. }
  114073. _this.whitespace$0();
  114074. right = _this._stylesheet0$_supportsConditionInParens$0();
  114075. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  114076. endPosition = t1._string_scanner$_position;
  114077. t5 = t1._sourceFile;
  114078. t6 = new A._FileSpan(t5, t2, endPosition);
  114079. t6._FileSpan$3(t5, t2, endPosition);
  114080. operation = new A.SupportsOperation0(t4, right, operator, t6);
  114081. lowerOperator = operator.toLowerCase();
  114082. if (lowerOperator !== "and" && lowerOperator !== "or")
  114083. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  114084. _this.whitespace$0();
  114085. }
  114086. return operation;
  114087. },
  114088. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  114089. var t2, _0_0,
  114090. t1 = this.scanner,
  114091. _1_0 = t1.peekChar$0();
  114092. $label0$0: {
  114093. t2 = false;
  114094. if (_1_0 == null) {
  114095. t1 = t2;
  114096. break $label0$0;
  114097. }
  114098. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  114099. t1 = true;
  114100. break $label0$0;
  114101. }
  114102. if (35 === _1_0) {
  114103. t1 = t1.peekChar$1(1) === 123;
  114104. break $label0$0;
  114105. }
  114106. if (45 === _1_0) {
  114107. _0_0 = t1.peekChar$1(1);
  114108. $label1$1: {
  114109. if (_0_0 == null) {
  114110. t1 = t2;
  114111. break $label1$1;
  114112. }
  114113. if (35 === _0_0) {
  114114. t1 = t1.peekChar$1(2) === 123;
  114115. break $label1$1;
  114116. }
  114117. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  114118. t1 = true;
  114119. break $label1$1;
  114120. }
  114121. t1 = t2;
  114122. break $label1$1;
  114123. }
  114124. break $label0$0;
  114125. }
  114126. t1 = t2;
  114127. break $label0$0;
  114128. }
  114129. return t1;
  114130. },
  114131. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  114132. var t1 = this.scanner,
  114133. _0_0 = t1.peekChar$0();
  114134. $label0$0: {
  114135. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  114136. t1 = true;
  114137. break $label0$0;
  114138. }
  114139. if (35 === _0_0) {
  114140. t1 = t1.peekChar$1(1) !== 123;
  114141. break $label0$0;
  114142. }
  114143. t1 = false;
  114144. break $label0$0;
  114145. }
  114146. return t1;
  114147. },
  114148. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  114149. var t2, t3,
  114150. t1 = this.scanner,
  114151. _0_0 = t1.peekChar$0();
  114152. $label0$0: {
  114153. t2 = false;
  114154. if (_0_0 == null) {
  114155. t1 = t2;
  114156. break $label0$0;
  114157. }
  114158. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  114159. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  114160. else
  114161. t3 = true;
  114162. if (t3 || 92 === _0_0) {
  114163. t1 = true;
  114164. break $label0$0;
  114165. }
  114166. if (35 === _0_0) {
  114167. t1 = t1.peekChar$1(1) === 123;
  114168. break $label0$0;
  114169. }
  114170. t1 = t2;
  114171. break $label0$0;
  114172. }
  114173. return t1;
  114174. },
  114175. _stylesheet0$_lookingAtExpression$0() {
  114176. var t2, _0_0,
  114177. t1 = this.scanner,
  114178. _1_0 = t1.peekChar$0();
  114179. $label0$0: {
  114180. t2 = true;
  114181. if (_1_0 == null) {
  114182. t1 = false;
  114183. break $label0$0;
  114184. }
  114185. if (46 === _1_0) {
  114186. t1 = t1.peekChar$1(1) !== 46;
  114187. break $label0$0;
  114188. }
  114189. if (33 === _1_0) {
  114190. _0_0 = t1.peekChar$1(1);
  114191. $label1$1: {
  114192. if (_0_0 != null)
  114193. if (105 !== _0_0)
  114194. if (73 !== _0_0)
  114195. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  114196. else
  114197. t1 = t2;
  114198. else
  114199. t1 = t2;
  114200. else
  114201. t1 = t2;
  114202. if (t1)
  114203. break $label1$1;
  114204. break $label1$1;
  114205. }
  114206. break $label0$0;
  114207. }
  114208. t1 = true;
  114209. if (40 !== _1_0)
  114210. if (47 !== _1_0)
  114211. if (91 !== _1_0)
  114212. if (39 !== _1_0)
  114213. if (34 !== _1_0)
  114214. if (35 !== _1_0)
  114215. if (43 !== _1_0)
  114216. if (45 !== _1_0)
  114217. if (92 !== _1_0)
  114218. if (36 !== _1_0)
  114219. if (38 !== _1_0)
  114220. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  114221. t1 = _1_0 >= 48 && _1_0 <= 57;
  114222. if (t1) {
  114223. t1 = t2;
  114224. break $label0$0;
  114225. }
  114226. t1 = false;
  114227. break $label0$0;
  114228. }
  114229. return t1;
  114230. },
  114231. _stylesheet0$_withChildren$1$3(child, start, create) {
  114232. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  114233. this.whitespaceWithoutComments$0();
  114234. return result;
  114235. },
  114236. _stylesheet0$_withChildren$3(child, start, create) {
  114237. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  114238. },
  114239. _stylesheet0$_urlString$0() {
  114240. var innerError, stackTrace, t2, exception,
  114241. t1 = this.scanner,
  114242. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  114243. url = this.string$0();
  114244. try {
  114245. t2 = A.Uri_parse(url);
  114246. return t2;
  114247. } catch (exception) {
  114248. t2 = A.unwrapException(exception);
  114249. if (type$.FormatException._is(t2)) {
  114250. innerError = t2;
  114251. stackTrace = A.getTraceFromException(exception);
  114252. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  114253. } else
  114254. throw exception;
  114255. }
  114256. },
  114257. _stylesheet0$_publicIdentifier$0() {
  114258. var _this = this,
  114259. t1 = _this.scanner,
  114260. t2 = t1._string_scanner$_position,
  114261. result = _this.identifier$0();
  114262. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  114263. return result;
  114264. },
  114265. _stylesheet0$_assertPublic$2(identifier, span) {
  114266. var first = identifier.charCodeAt(0);
  114267. if (!(first === 45 || first === 95))
  114268. return;
  114269. this.error$2(0, string$.Privat, span.call$0());
  114270. },
  114271. get$plainCss() {
  114272. return false;
  114273. }
  114274. };
  114275. A.StylesheetParser_parse_closure0.prototype = {
  114276. call$0() {
  114277. var statements, t4,
  114278. t1 = this.$this,
  114279. t2 = t1.scanner,
  114280. t3 = t2._string_scanner$_position;
  114281. t2.scanChar$1(65279);
  114282. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  114283. t2.expectDone$0();
  114284. t4 = t1._stylesheet0$_globalVariables.get$values(0);
  114285. 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));
  114286. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  114287. },
  114288. $signature: 562
  114289. };
  114290. A.StylesheetParser_parse__closure1.prototype = {
  114291. call$0() {
  114292. var t1 = this.$this;
  114293. if (t1.scanner.scan$1("@charset")) {
  114294. t1.whitespace$0();
  114295. t1.string$0();
  114296. return null;
  114297. }
  114298. return t1._stylesheet0$_statement$1$root(true);
  114299. },
  114300. $signature: 563
  114301. };
  114302. A.StylesheetParser_parse__closure2.prototype = {
  114303. call$1(declaration) {
  114304. var t1 = declaration.expression;
  114305. return A.VariableDeclaration$0(declaration.name, new A.NullExpression0(t1.get$span(t1)), declaration.span, null, false, true, null);
  114306. },
  114307. $signature: 564
  114308. };
  114309. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  114310. call$0() {
  114311. var $arguments,
  114312. t1 = this.$this,
  114313. t2 = t1.scanner;
  114314. t2.expectChar$2$name(64, "@-rule");
  114315. t1.identifier$0();
  114316. t1.whitespace$0();
  114317. t1.identifier$0();
  114318. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  114319. t1.whitespace$0();
  114320. t2.expectChar$1(123);
  114321. return $arguments;
  114322. },
  114323. $signature: 565
  114324. };
  114325. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  114326. call$0() {
  114327. var result = this.production.call$0();
  114328. this.$this.scanner.expectDone$0();
  114329. return result;
  114330. },
  114331. $signature() {
  114332. return this.T._eval$1("0()");
  114333. }
  114334. };
  114335. A.StylesheetParser_parseSignature_closure.prototype = {
  114336. call$0() {
  114337. var $arguments, t2, t3,
  114338. t1 = this.$this,
  114339. $name = t1.identifier$0();
  114340. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  114341. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  114342. else {
  114343. t2 = t1.scanner;
  114344. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  114345. t3 = t2.offset;
  114346. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  114347. }
  114348. t1.scanner.expectDone$0();
  114349. return new A._Record_2($name, $arguments);
  114350. },
  114351. $signature: 566
  114352. };
  114353. A.StylesheetParser__statement_closure0.prototype = {
  114354. call$0() {
  114355. return this.$this._stylesheet0$_statement$0();
  114356. },
  114357. $signature: 131
  114358. };
  114359. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  114360. call$0() {
  114361. return this.$this.scanner.spanFrom$1(this.start);
  114362. },
  114363. $signature: 27
  114364. };
  114365. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  114366. call$0() {
  114367. return this.declaration;
  114368. },
  114369. $signature: 567
  114370. };
  114371. A.StylesheetParser__styleRule_closure0.prototype = {
  114372. call$2(children, span) {
  114373. var _this = this,
  114374. t1 = _this.$this;
  114375. if (t1.get$indented() && children.length === 0)
  114376. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  114377. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  114378. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  114379. },
  114380. $signature: 568
  114381. };
  114382. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  114383. call$2(children, span) {
  114384. return A.Declaration$nested0(this.name, children, span, this.value);
  114385. },
  114386. $signature: 569
  114387. };
  114388. A.StylesheetParser__atRootRule_closure1.prototype = {
  114389. call$2(children, span) {
  114390. return A.AtRootRule$0(children, span, this.query);
  114391. },
  114392. $signature: 215
  114393. };
  114394. A.StylesheetParser__atRootRule_closure2.prototype = {
  114395. call$2(children, span) {
  114396. return A.AtRootRule$0(children, span, null);
  114397. },
  114398. $signature: 215
  114399. };
  114400. A.StylesheetParser__eachRule_closure0.prototype = {
  114401. call$2(children, span) {
  114402. var _this = this;
  114403. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  114404. return A.EachRule$0(_this.variables, _this.list, children, span);
  114405. },
  114406. $signature: 571
  114407. };
  114408. A.StylesheetParser__functionRule_closure0.prototype = {
  114409. call$2(children, span) {
  114410. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  114411. },
  114412. $signature: 572
  114413. };
  114414. A.StylesheetParser__forRule_closure1.prototype = {
  114415. call$0() {
  114416. var t1 = this.$this;
  114417. if (!t1.lookingAtIdentifier$0())
  114418. return false;
  114419. if (t1.scanIdentifier$1("to"))
  114420. return this._box_0.exclusive = true;
  114421. else if (t1.scanIdentifier$1("through")) {
  114422. this._box_0.exclusive = false;
  114423. return true;
  114424. } else
  114425. return false;
  114426. },
  114427. $signature: 22
  114428. };
  114429. A.StylesheetParser__forRule_closure2.prototype = {
  114430. call$2(children, span) {
  114431. var t1, _this = this;
  114432. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  114433. t1 = _this._box_0.exclusive;
  114434. t1.toString;
  114435. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  114436. },
  114437. $signature: 573
  114438. };
  114439. A.StylesheetParser__memberList_closure0.prototype = {
  114440. call$0() {
  114441. var t1 = this.$this;
  114442. if (t1.scanner.peekChar$0() === 36)
  114443. this.variables.add$1(0, t1.variableName$0());
  114444. else
  114445. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  114446. },
  114447. $signature: 1
  114448. };
  114449. A.StylesheetParser__includeRule_closure0.prototype = {
  114450. call$2(children, span) {
  114451. return A.ContentBlock$0(this.contentArguments_, children, span);
  114452. },
  114453. $signature: 574
  114454. };
  114455. A.StylesheetParser_mediaRule_closure0.prototype = {
  114456. call$2(children, span) {
  114457. return A.MediaRule$0(this.query, children, span);
  114458. },
  114459. $signature: 575
  114460. };
  114461. A.StylesheetParser__mixinRule_closure0.prototype = {
  114462. call$2(children, span) {
  114463. var _this = this;
  114464. _this.$this._stylesheet0$_inMixin = false;
  114465. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  114466. },
  114467. $signature: 576
  114468. };
  114469. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  114470. call$2(children, span) {
  114471. var _this = this;
  114472. if (_this._box_0.needsDeprecationWarning)
  114473. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_Iit, string$.x40_moz_, span, null);
  114474. return A.AtRule$0(_this.name, span, children, _this.value);
  114475. },
  114476. $signature: 211
  114477. };
  114478. A.StylesheetParser_supportsRule_closure0.prototype = {
  114479. call$2(children, span) {
  114480. return A.SupportsRule$0(this.condition, children, span);
  114481. },
  114482. $signature: 578
  114483. };
  114484. A.StylesheetParser__whileRule_closure0.prototype = {
  114485. call$2(children, span) {
  114486. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  114487. return A.WhileRule$0(this.condition, children, span);
  114488. },
  114489. $signature: 579
  114490. };
  114491. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  114492. call$2(children, span) {
  114493. return A.AtRule$0(this.name, span, children, this._box_0.value);
  114494. },
  114495. $signature: 211
  114496. };
  114497. A.StylesheetParser__expression_resetState0.prototype = {
  114498. call$0() {
  114499. var t2,
  114500. t1 = this._box_0;
  114501. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  114502. t2 = this.$this;
  114503. t2.scanner.set$state(this.start);
  114504. t1.allowSlash = true;
  114505. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  114506. },
  114507. $signature: 0
  114508. };
  114509. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  114510. call$0() {
  114511. var t2, t3, t4, t5, t6, t7, _this = this,
  114512. t1 = _this._box_0,
  114513. operator = t1.operators_.pop(),
  114514. left = t1.operands_.pop(),
  114515. right = t1.singleExpression_;
  114516. if (right == null) {
  114517. t2 = _this.$this.scanner;
  114518. t3 = operator.operator.length;
  114519. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  114520. }
  114521. if (t1.allowSlash) {
  114522. t2 = _this.$this;
  114523. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_U770 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  114524. } else
  114525. t2 = false;
  114526. if (t2)
  114527. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_U770, left, right, true);
  114528. else {
  114529. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  114530. t2 = t1.allowSlash = false;
  114531. if (B.BinaryOperator_u150 === operator || B.BinaryOperator_SjO0 === operator) {
  114532. t3 = _this.$this;
  114533. t4 = t3.scanner.string;
  114534. t5 = right.get$span(right);
  114535. t5 = t5.get$start(t5);
  114536. t6 = right.get$span(right);
  114537. t7 = operator.operator;
  114538. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  114539. t2 = left.get$span(left);
  114540. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  114541. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  114542. }
  114543. if (t2) {
  114544. t2 = left.toString$0(0);
  114545. t4 = right.toString$0(0);
  114546. t5 = left.toString$0(0);
  114547. t6 = right.toString$0(0);
  114548. t1 = t1.singleExpression_;
  114549. A.WarnForDeprecation_warnForDeprecation0(t3.logger, B.Deprecation_woc, "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);
  114550. }
  114551. }
  114552. }
  114553. },
  114554. $signature: 0
  114555. };
  114556. A.StylesheetParser__expression_resolveOperations0.prototype = {
  114557. call$0() {
  114558. var t1,
  114559. operators = this._box_0.operators_;
  114560. if (operators == null)
  114561. return;
  114562. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  114563. t1.call$0();
  114564. },
  114565. $signature: 0
  114566. };
  114567. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  114568. call$1(expression) {
  114569. var t2, spaceExpressions, _this = this,
  114570. t1 = _this._box_0;
  114571. if (t1.singleExpression_ != null) {
  114572. t2 = _this.$this;
  114573. if (t2._stylesheet0$_inParentheses) {
  114574. t2._stylesheet0$_inParentheses = false;
  114575. if (t1.allowSlash) {
  114576. _this.resetState.call$0();
  114577. return;
  114578. }
  114579. }
  114580. spaceExpressions = t1.spaceExpressions_;
  114581. if (spaceExpressions == null)
  114582. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  114583. _this.resolveOperations.call$0();
  114584. t2 = t1.singleExpression_;
  114585. t2.toString;
  114586. spaceExpressions.push(t2);
  114587. t1.allowSlash = true;
  114588. }
  114589. t1.singleExpression_ = expression;
  114590. },
  114591. $signature: 580
  114592. };
  114593. A.StylesheetParser__expression_addOperator0.prototype = {
  114594. call$1(operator) {
  114595. var t2, t3, operators, operands, t4, singleExpression,
  114596. t1 = this.$this;
  114597. if (t1.get$plainCss() && operator !== B.BinaryOperator_wdM0 && operator !== B.BinaryOperator_u150 && operator !== B.BinaryOperator_SjO0 && operator !== B.BinaryOperator_2No0 && operator !== B.BinaryOperator_U770) {
  114598. t2 = t1.scanner;
  114599. t3 = operator.operator.length;
  114600. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  114601. }
  114602. t2 = this._box_0;
  114603. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_U770;
  114604. operators = t2.operators_;
  114605. if (operators == null)
  114606. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  114607. operands = t2.operands_;
  114608. if (operands == null)
  114609. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  114610. t3 = this.resolveOneOperation;
  114611. t4 = operator.precedence;
  114612. while (true) {
  114613. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  114614. break;
  114615. t3.call$0();
  114616. }
  114617. operators.push(operator);
  114618. singleExpression = t2.singleExpression_;
  114619. if (singleExpression == null) {
  114620. t3 = t1.scanner;
  114621. t4 = operator.operator.length;
  114622. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  114623. }
  114624. operands.push(singleExpression);
  114625. t1.whitespace$0();
  114626. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  114627. },
  114628. $signature: 581
  114629. };
  114630. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  114631. call$0() {
  114632. var t1, spaceExpressions, singleExpression, t2;
  114633. this.resolveOperations.call$0();
  114634. t1 = this._box_0;
  114635. spaceExpressions = t1.spaceExpressions_;
  114636. if (spaceExpressions == null)
  114637. return;
  114638. singleExpression = t1.singleExpression_;
  114639. if (singleExpression == null)
  114640. this.$this.scanner.error$1(0, "Expected expression.");
  114641. spaceExpressions.push(singleExpression);
  114642. t2 = B.JSArray_methods.get$first(spaceExpressions);
  114643. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  114644. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_nbm0, false, t2);
  114645. t1.spaceExpressions_ = null;
  114646. },
  114647. $signature: 0
  114648. };
  114649. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  114650. call$0() {
  114651. return this.$this.scanner.peekChar$0() === 44;
  114652. },
  114653. $signature: 22
  114654. };
  114655. A.StylesheetParser__isHexColor_closure0.prototype = {
  114656. call$1(char) {
  114657. return A.CharacterExtension_get_isHex0(char);
  114658. },
  114659. $signature: 46
  114660. };
  114661. A.StylesheetParser__unicodeRange_closure1.prototype = {
  114662. call$1(char) {
  114663. return char != null && A.CharacterExtension_get_isHex0(char);
  114664. },
  114665. $signature: 30
  114666. };
  114667. A.StylesheetParser__unicodeRange_closure2.prototype = {
  114668. call$1(char) {
  114669. return char != null && A.CharacterExtension_get_isHex0(char);
  114670. },
  114671. $signature: 30
  114672. };
  114673. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  114674. call$0() {
  114675. return this.$this.scanner.spanFrom$1(this.start);
  114676. },
  114677. $signature: 27
  114678. };
  114679. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  114680. call$1(contents) {
  114681. return new A.StringExpression0(contents, false);
  114682. },
  114683. $signature: 582
  114684. };
  114685. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  114686. call$0() {
  114687. var t1 = this.$this.scanner,
  114688. _0_0 = t1.peekChar$0();
  114689. $label0$0: {
  114690. if (61 === _0_0) {
  114691. t1 = t1.peekChar$1(1) !== 61;
  114692. break $label0$0;
  114693. }
  114694. if (60 === _0_0 || 62 === _0_0) {
  114695. t1 = true;
  114696. break $label0$0;
  114697. }
  114698. t1 = false;
  114699. break $label0$0;
  114700. }
  114701. return t1;
  114702. },
  114703. $signature: 22
  114704. };
  114705. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  114706. call$0() {
  114707. return this.$this.scanner.spanFrom$1(this.start);
  114708. },
  114709. $signature: 27
  114710. };
  114711. A.Stylesheet0.prototype = {
  114712. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  114713. var t1, t2, t3, t4, _i, child;
  114714. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  114715. child = t1[_i];
  114716. if (child instanceof A.UseRule0) {
  114717. t4.push(child);
  114718. continue;
  114719. }
  114720. if (child instanceof A.ForwardRule0) {
  114721. t3.push(child);
  114722. continue;
  114723. }
  114724. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  114725. continue;
  114726. break;
  114727. }
  114728. },
  114729. accept$1$1(visitor) {
  114730. return visitor.visitStylesheet$1(0, this);
  114731. },
  114732. accept$1(visitor) {
  114733. return this.accept$1$1(visitor, type$.dynamic);
  114734. },
  114735. toString$0(_) {
  114736. var t1 = this.children;
  114737. return (t1 && B.JSArray_methods).join$1(t1, " ");
  114738. },
  114739. get$span(receiver) {
  114740. return this.span;
  114741. }
  114742. };
  114743. A.SupportsExpression0.prototype = {
  114744. get$span(_) {
  114745. var t1 = this.condition;
  114746. return t1.get$span(t1);
  114747. },
  114748. accept$1$1(visitor) {
  114749. return visitor.visitSupportsExpression$1(0, this);
  114750. },
  114751. accept$1(visitor) {
  114752. return this.accept$1$1(visitor, type$.dynamic);
  114753. },
  114754. toString$0(_) {
  114755. return this.condition.toString$0(0);
  114756. }
  114757. };
  114758. A.ModifiableCssSupportsRule0.prototype = {
  114759. accept$1$1(visitor) {
  114760. return visitor.visitCssSupportsRule$1(this);
  114761. },
  114762. accept$1(visitor) {
  114763. return this.accept$1$1(visitor, type$.dynamic);
  114764. },
  114765. equalsIgnoringChildren$1(other) {
  114766. var t1, t2;
  114767. if (other instanceof A.ModifiableCssSupportsRule0) {
  114768. t1 = this.condition;
  114769. t2 = other.condition;
  114770. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  114771. } else
  114772. t1 = false;
  114773. return t1;
  114774. },
  114775. copyWithoutChildren$0() {
  114776. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  114777. },
  114778. get$span(receiver) {
  114779. return this.span;
  114780. }
  114781. };
  114782. A.SupportsRule0.prototype = {
  114783. accept$1$1(visitor) {
  114784. return visitor.visitSupportsRule$1(0, this);
  114785. },
  114786. accept$1(visitor) {
  114787. return this.accept$1$1(visitor, type$.dynamic);
  114788. },
  114789. toString$0(_) {
  114790. var t1 = this.children;
  114791. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  114792. },
  114793. get$span(receiver) {
  114794. return this.span;
  114795. }
  114796. };
  114797. A.JSToDartImporter.prototype = {
  114798. canonicalize$1(_, url) {
  114799. var t1,
  114800. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  114801. if (result == null)
  114802. return null;
  114803. t1 = self.URL;
  114804. if (result instanceof t1)
  114805. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  114806. t1 = self.Promise;
  114807. if (result instanceof t1)
  114808. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  114809. else
  114810. A.jsThrow(new self.Error(string$.The_ca));
  114811. },
  114812. load$1(_, url) {
  114813. var t1, contents, syntax, t2,
  114814. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  114815. if (result == null)
  114816. return null;
  114817. t1 = self.Promise;
  114818. if (result instanceof t1)
  114819. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  114820. type$.JSImporterResult._as(result);
  114821. t1 = J.getInterceptor$x(result);
  114822. contents = t1.get$contents(result);
  114823. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  114824. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  114825. syntax = t1.get$syntax(result);
  114826. if (contents == null || syntax == null)
  114827. A.jsThrow(new self.Error(string$.The_lo));
  114828. t2 = A.parseSyntax(syntax);
  114829. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  114830. },
  114831. isNonCanonicalScheme$1(scheme) {
  114832. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  114833. }
  114834. };
  114835. A.JSToDartImporter_canonicalize_closure.prototype = {
  114836. call$0() {
  114837. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  114838. },
  114839. $signature: 31
  114840. };
  114841. A.JSToDartImporter_load_closure.prototype = {
  114842. call$0() {
  114843. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  114844. },
  114845. $signature: 31
  114846. };
  114847. A.Syntax0.prototype = {
  114848. _enumToString$0() {
  114849. return "Syntax." + this._name;
  114850. },
  114851. toString$0(_) {
  114852. return this._syntax0$_name;
  114853. }
  114854. };
  114855. A.TypeSelector0.prototype = {
  114856. get$specificity() {
  114857. return 1;
  114858. },
  114859. accept$1$1(visitor) {
  114860. return visitor.visitTypeSelector$1(this);
  114861. },
  114862. accept$1(visitor) {
  114863. return this.accept$1$1(visitor, type$.dynamic);
  114864. },
  114865. addSuffix$1(suffix) {
  114866. var t1 = this.name;
  114867. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  114868. },
  114869. unify$1(compound) {
  114870. var unified, t1,
  114871. _0_0 = B.JSArray_methods.get$first(compound);
  114872. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  114873. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  114874. if (unified == null)
  114875. return null;
  114876. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114877. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  114878. return t1;
  114879. } else {
  114880. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  114881. B.JSArray_methods.addAll$1(t1, compound);
  114882. return t1;
  114883. }
  114884. },
  114885. isSuperselector$1(other) {
  114886. var t1, t2, t3;
  114887. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  114888. t1 = false;
  114889. if (other instanceof A.TypeSelector0) {
  114890. t2 = this.name;
  114891. t3 = other.name;
  114892. if (t2.name === t3.name) {
  114893. t1 = t2.namespace;
  114894. t1 = t1 === "*" || t1 == t3.namespace;
  114895. }
  114896. }
  114897. } else
  114898. t1 = true;
  114899. return t1;
  114900. },
  114901. $eq(_, other) {
  114902. if (other == null)
  114903. return false;
  114904. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  114905. },
  114906. get$hashCode(_) {
  114907. var t1 = this.name;
  114908. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  114909. }
  114910. };
  114911. A.Types.prototype = {};
  114912. A.UnaryOperationExpression0.prototype = {
  114913. accept$1$1(visitor) {
  114914. return visitor.visitUnaryOperationExpression$1(0, this);
  114915. },
  114916. accept$1(visitor) {
  114917. return this.accept$1$1(visitor, type$.dynamic);
  114918. },
  114919. toString$0(_) {
  114920. var operand,
  114921. t1 = this.operator,
  114922. t2 = t1.operator;
  114923. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  114924. operand = this.operand;
  114925. $label0$0: {
  114926. t2 = true;
  114927. if (!(operand instanceof A.BinaryOperationExpression0))
  114928. if (!(operand instanceof A.UnaryOperationExpression0))
  114929. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  114930. if (t2)
  114931. break $label0$0;
  114932. break $label0$0;
  114933. }
  114934. if (t2)
  114935. t1 += "40";
  114936. t1 += operand.toString$0(0);
  114937. if (t2)
  114938. t1 += "41";
  114939. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114940. },
  114941. get$span(receiver) {
  114942. return this.span;
  114943. }
  114944. };
  114945. A.UnaryOperator0.prototype = {
  114946. _enumToString$0() {
  114947. return "UnaryOperator." + this._name;
  114948. },
  114949. toString$0(_) {
  114950. return this.name;
  114951. }
  114952. };
  114953. A.UnitlessSassNumber0.prototype = {
  114954. get$numeratorUnits(_) {
  114955. return B.List_empty;
  114956. },
  114957. get$denominatorUnits(_) {
  114958. return B.List_empty;
  114959. },
  114960. get$hasUnits() {
  114961. return false;
  114962. },
  114963. get$hasComplexUnits() {
  114964. return false;
  114965. },
  114966. withValue$1(value) {
  114967. return new A.UnitlessSassNumber0(value, null);
  114968. },
  114969. withSlash$2(numerator, denominator) {
  114970. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  114971. },
  114972. hasUnit$1(unit) {
  114973. return false;
  114974. },
  114975. hasCompatibleUnits$1(other) {
  114976. return other instanceof A.UnitlessSassNumber0;
  114977. },
  114978. hasPossiblyCompatibleUnits$1(other) {
  114979. return other instanceof A.UnitlessSassNumber0;
  114980. },
  114981. compatibleWithUnit$1(unit) {
  114982. return true;
  114983. },
  114984. coerceToMatch$3(other, $name, otherName) {
  114985. return other.withValue$1(this._number1$_value);
  114986. },
  114987. coerceToMatch$1(other) {
  114988. return this.coerceToMatch$3(other, null, null);
  114989. },
  114990. coerceValueToMatch$3(other, $name, otherName) {
  114991. return this._number1$_value;
  114992. },
  114993. coerceValueToMatch$1(other) {
  114994. return this.coerceValueToMatch$3(other, null, null);
  114995. },
  114996. convertToMatch$3(other, $name, otherName) {
  114997. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  114998. },
  114999. convertValueToMatch$3(other, $name, otherName) {
  115000. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  115001. },
  115002. convertValueToMatch$1(other) {
  115003. return this.convertValueToMatch$3(other, null, null);
  115004. },
  115005. coerce$3(newNumerators, newDenominators, $name) {
  115006. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  115007. },
  115008. coerce$2(newNumerators, newDenominators) {
  115009. return this.coerce$3(newNumerators, newDenominators, null);
  115010. },
  115011. coerceValue$3(newNumerators, newDenominators, $name) {
  115012. return this._number1$_value;
  115013. },
  115014. coerceValueToUnit$2(unit, $name) {
  115015. return this._number1$_value;
  115016. },
  115017. coerceValueToUnit$1(unit) {
  115018. return this.coerceValueToUnit$2(unit, null);
  115019. },
  115020. greaterThan$1(other) {
  115021. var t1, t2;
  115022. if (other instanceof A.SassNumber0) {
  115023. t1 = this._number1$_value;
  115024. t2 = other._number1$_value;
  115025. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115026. }
  115027. return this.super$SassNumber$greaterThan0(other);
  115028. },
  115029. greaterThanOrEquals$1(other) {
  115030. var t1, t2;
  115031. if (other instanceof A.SassNumber0) {
  115032. t1 = this._number1$_value;
  115033. t2 = other._number1$_value;
  115034. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115035. }
  115036. return this.super$SassNumber$greaterThanOrEquals0(other);
  115037. },
  115038. lessThan$1(other) {
  115039. var t1, t2;
  115040. if (other instanceof A.SassNumber0) {
  115041. t1 = this._number1$_value;
  115042. t2 = other._number1$_value;
  115043. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115044. }
  115045. return this.super$SassNumber$lessThan0(other);
  115046. },
  115047. lessThanOrEquals$1(other) {
  115048. var t1, t2;
  115049. if (other instanceof A.SassNumber0) {
  115050. t1 = this._number1$_value;
  115051. t2 = other._number1$_value;
  115052. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115053. }
  115054. return this.super$SassNumber$lessThanOrEquals0(other);
  115055. },
  115056. modulo$1(other) {
  115057. if (other instanceof A.SassNumber0)
  115058. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  115059. return this.super$SassNumber$modulo0(other);
  115060. },
  115061. plus$1(other) {
  115062. if (other instanceof A.SassNumber0)
  115063. return other.withValue$1(this._number1$_value + other._number1$_value);
  115064. return this.super$SassNumber$plus0(other);
  115065. },
  115066. minus$1(other) {
  115067. if (other instanceof A.SassNumber0)
  115068. return other.withValue$1(this._number1$_value - other._number1$_value);
  115069. return this.super$SassNumber$minus0(other);
  115070. },
  115071. times$1(other) {
  115072. if (other instanceof A.SassNumber0)
  115073. return other.withValue$1(this._number1$_value * other._number1$_value);
  115074. return this.super$SassNumber$times0(other);
  115075. },
  115076. dividedBy$1(other) {
  115077. var t1, t2;
  115078. if (other instanceof A.SassNumber0) {
  115079. t1 = this._number1$_value / other._number1$_value;
  115080. if (other.get$hasUnits()) {
  115081. t2 = other.get$denominatorUnits(other);
  115082. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  115083. t1 = t2;
  115084. } else
  115085. t1 = new A.UnitlessSassNumber0(t1, null);
  115086. return t1;
  115087. }
  115088. return this.super$SassNumber$dividedBy0(other);
  115089. },
  115090. unaryMinus$0() {
  115091. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  115092. },
  115093. $eq(_, other) {
  115094. if (other == null)
  115095. return false;
  115096. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  115097. },
  115098. get$hashCode(_) {
  115099. var t1 = this.hashCache;
  115100. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  115101. }
  115102. };
  115103. A.UniversalSelector0.prototype = {
  115104. get$specificity() {
  115105. return 0;
  115106. },
  115107. accept$1$1(visitor) {
  115108. return visitor.visitUniversalSelector$1(this);
  115109. },
  115110. accept$1(visitor) {
  115111. return this.accept$1$1(visitor, type$.dynamic);
  115112. },
  115113. unify$1(compound) {
  115114. var _0_40, t1, rest, unified, t2, _this = this, _null = null,
  115115. _0_1 = compound.length,
  115116. _0_4_isSet = _0_1 >= 1,
  115117. _0_4 = _null;
  115118. if (_0_4_isSet) {
  115119. _0_40 = compound[0];
  115120. t1 = _0_40;
  115121. _0_4 = t1;
  115122. if (!(t1 instanceof A.UniversalSelector0))
  115123. t1 = _0_4 instanceof A.TypeSelector0;
  115124. else
  115125. t1 = true;
  115126. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  115127. } else {
  115128. rest = _null;
  115129. t1 = false;
  115130. }
  115131. if (t1) {
  115132. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  115133. if (unified == null)
  115134. return _null;
  115135. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  115136. B.JSArray_methods.addAll$1(t1, rest);
  115137. return t1;
  115138. }
  115139. t1 = false;
  115140. if (_0_1 === 1) {
  115141. if (_0_4_isSet)
  115142. t2 = _0_4;
  115143. else {
  115144. _0_4 = compound[0];
  115145. t2 = _0_4;
  115146. _0_4_isSet = true;
  115147. }
  115148. if (t2 instanceof A.PseudoSelector0) {
  115149. t2 = _0_4_isSet ? _0_4 : compound[0];
  115150. type$.PseudoSelector_2._as(t2);
  115151. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  115152. }
  115153. }
  115154. if (t1)
  115155. return _null;
  115156. if (_0_1 <= 0)
  115157. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  115158. t1 = _this.namespace;
  115159. if (t1 == null || t1 === "*")
  115160. t1 = compound;
  115161. else {
  115162. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  115163. B.JSArray_methods.addAll$1(t1, compound);
  115164. }
  115165. return t1;
  115166. },
  115167. isSuperselector$1(other) {
  115168. var t1 = this.namespace;
  115169. if (t1 === "*")
  115170. return true;
  115171. if (other instanceof A.TypeSelector0)
  115172. return t1 == other.name.namespace;
  115173. if (other instanceof A.UniversalSelector0)
  115174. return t1 == other.namespace;
  115175. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  115176. },
  115177. $eq(_, other) {
  115178. if (other == null)
  115179. return false;
  115180. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  115181. },
  115182. get$hashCode(_) {
  115183. return J.get$hashCode$(this.namespace);
  115184. }
  115185. };
  115186. A.UnprefixedMapView0.prototype = {
  115187. get$keys(_) {
  115188. return new A._UnprefixedKeys0(this);
  115189. },
  115190. $index(_, key) {
  115191. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  115192. },
  115193. containsKey$1(key) {
  115194. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  115195. },
  115196. remove$1(_, key) {
  115197. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  115198. }
  115199. };
  115200. A._UnprefixedKeys0.prototype = {
  115201. get$iterator(_) {
  115202. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  115203. 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);
  115204. return t1.get$iterator(t1);
  115205. },
  115206. contains$1(_, key) {
  115207. return this._unprefixed_map_view0$_view.containsKey$1(key);
  115208. }
  115209. };
  115210. A._UnprefixedKeys_iterator_closure1.prototype = {
  115211. call$1(key) {
  115212. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  115213. },
  115214. $signature: 4
  115215. };
  115216. A._UnprefixedKeys_iterator_closure2.prototype = {
  115217. call$1(key) {
  115218. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  115219. },
  115220. $signature: 5
  115221. };
  115222. A.JSUrl0.prototype = {};
  115223. A.UseRule0.prototype = {
  115224. UseRule$4$configuration0(url, namespace, span, configuration) {
  115225. var t1, t2, _i, variable;
  115226. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  115227. variable = t1[_i];
  115228. if (variable.isGuarded)
  115229. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  115230. }
  115231. },
  115232. accept$1$1(visitor) {
  115233. return visitor.visitUseRule$1(0, this);
  115234. },
  115235. accept$1(visitor) {
  115236. return this.accept$1$1(visitor, type$.dynamic);
  115237. },
  115238. toString$0(_) {
  115239. var t1 = this.url,
  115240. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  115241. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  115242. dot = B.JSString_methods.indexOf$1(basename, ".");
  115243. t1 = this.namespace;
  115244. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  115245. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  115246. else
  115247. t1 = t2;
  115248. t2 = this.configuration;
  115249. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  115250. return t1.charCodeAt(0) == 0 ? t1 : t1;
  115251. },
  115252. get$span(receiver) {
  115253. return this.span;
  115254. }
  115255. };
  115256. A.UserDefinedCallable0.prototype = {
  115257. get$name(_) {
  115258. return this.declaration.name;
  115259. },
  115260. $isAsyncCallable0: 1,
  115261. $isCallable: 1
  115262. };
  115263. A.resolveImportPath_closure1.prototype = {
  115264. call$0() {
  115265. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  115266. },
  115267. $signature: 44
  115268. };
  115269. A.resolveImportPath_closure2.prototype = {
  115270. call$0() {
  115271. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  115272. },
  115273. $signature: 44
  115274. };
  115275. A._tryPathAsDirectory_closure0.prototype = {
  115276. call$0() {
  115277. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  115278. },
  115279. $signature: 44
  115280. };
  115281. A._exactlyOne_closure0.prototype = {
  115282. call$1(path) {
  115283. var t1 = $.$get$context();
  115284. return " " + t1.prettyUri$1(t1.toUri$1(path));
  115285. },
  115286. $signature: 5
  115287. };
  115288. A._PropertyDescriptor0.prototype = {};
  115289. A.futureToPromise_closure0.prototype = {
  115290. call$2(resolve, reject) {
  115291. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  115292. },
  115293. $signature: 583
  115294. };
  115295. A.futureToPromise__closure0.prototype = {
  115296. call$1(result) {
  115297. return this.resolve.call$1(result);
  115298. },
  115299. $signature: 35
  115300. };
  115301. A.futureToPromise__closure1.prototype = {
  115302. call$2(error, stackTrace) {
  115303. A.attachTrace0(error, stackTrace);
  115304. this.reject.call$1(error);
  115305. },
  115306. $signature: 50
  115307. };
  115308. A.objectToMap_closure.prototype = {
  115309. call$2(key, value) {
  115310. this.map.$indexSet(0, key, value);
  115311. return value;
  115312. },
  115313. $signature: 122
  115314. };
  115315. A._RequireMain0.prototype = {};
  115316. A.indent_closure0.prototype = {
  115317. call$1(line) {
  115318. return B.JSString_methods.$mul(" ", this.indentation) + line;
  115319. },
  115320. $signature: 5
  115321. };
  115322. A.flattenVertically_closure1.prototype = {
  115323. call$1(inner) {
  115324. return A.QueueList_QueueList$from(inner, this.T);
  115325. },
  115326. $signature() {
  115327. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  115328. }
  115329. };
  115330. A.flattenVertically_closure2.prototype = {
  115331. call$1(queue) {
  115332. this.result.push(queue.removeFirst$0());
  115333. return queue.get$length(0) === 0;
  115334. },
  115335. $signature() {
  115336. return this.T._eval$1("bool(QueueList<0>)");
  115337. }
  115338. };
  115339. A.longestCommonSubsequence_backtrack0.prototype = {
  115340. call$2(i, j) {
  115341. var selection, t1, _this = this;
  115342. if (i === -1 || j === -1)
  115343. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  115344. selection = _this.selections[i][j];
  115345. if (selection != null) {
  115346. t1 = _this.call$2(i - 1, j - 1);
  115347. J.add$1$ax(t1, selection);
  115348. return t1;
  115349. }
  115350. t1 = _this.lengths;
  115351. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  115352. },
  115353. $signature() {
  115354. return this.T._eval$1("List<0>(int,int)");
  115355. }
  115356. };
  115357. A.mapAddAll2_closure0.prototype = {
  115358. call$2(key, inner) {
  115359. var t1 = this.destination,
  115360. _0_0 = t1.$index(0, key);
  115361. if (_0_0 != null)
  115362. _0_0.addAll$1(0, inner);
  115363. else
  115364. t1.$indexSet(0, key, inner);
  115365. },
  115366. $signature() {
  115367. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  115368. }
  115369. };
  115370. A.CssValue0.prototype = {
  115371. $eq(_, other) {
  115372. if (other == null)
  115373. return false;
  115374. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  115375. },
  115376. get$hashCode(_) {
  115377. return J.get$hashCode$(this.value);
  115378. },
  115379. toString$0(_) {
  115380. return J.toString$0$(this.value);
  115381. },
  115382. $isAstNode0: 1,
  115383. get$span(receiver) {
  115384. return this.span;
  115385. }
  115386. };
  115387. A.ValueExpression0.prototype = {
  115388. accept$1$1(visitor) {
  115389. return visitor.visitValueExpression$1(0, this);
  115390. },
  115391. accept$1(visitor) {
  115392. return this.accept$1$1(visitor, type$.dynamic);
  115393. },
  115394. toString$0(_) {
  115395. return A.serializeValue0(this.value, true, true);
  115396. },
  115397. get$span(receiver) {
  115398. return this.span;
  115399. }
  115400. };
  115401. A.valueClass_closure.prototype = {
  115402. call$0() {
  115403. var t2,
  115404. t1 = type$.JSClass,
  115405. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  115406. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  115407. t1 = type$.String;
  115408. t2 = type$.Function;
  115409. 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));
  115410. 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));
  115411. return jsClass;
  115412. },
  115413. $signature: 15
  115414. };
  115415. A.valueClass__closure.prototype = {
  115416. call$1($self) {
  115417. return J.toString$0$($self);
  115418. },
  115419. $signature: 113
  115420. };
  115421. A.valueClass__closure0.prototype = {
  115422. call$1($self) {
  115423. return new self.immutable.List($self.get$asList());
  115424. },
  115425. $signature: 584
  115426. };
  115427. A.valueClass__closure1.prototype = {
  115428. call$1($self) {
  115429. return $self.get$hasBrackets();
  115430. },
  115431. $signature: 48
  115432. };
  115433. A.valueClass__closure2.prototype = {
  115434. call$1($self) {
  115435. return $self.get$isTruthy();
  115436. },
  115437. $signature: 48
  115438. };
  115439. A.valueClass__closure3.prototype = {
  115440. call$1($self) {
  115441. return $self.get$realNull();
  115442. },
  115443. $signature: 190
  115444. };
  115445. A.valueClass__closure4.prototype = {
  115446. call$1($self) {
  115447. return $self.get$separator($self).separator;
  115448. },
  115449. $signature: 585
  115450. };
  115451. A.valueClass__closure5.prototype = {
  115452. call$3($self, sassIndex, $name) {
  115453. return $self.sassIndexToListIndex$2(sassIndex, $name);
  115454. },
  115455. call$2($self, sassIndex) {
  115456. return this.call$3($self, sassIndex, null);
  115457. },
  115458. "call*": "call$3",
  115459. $requiredArgCount: 2,
  115460. $defaultValues() {
  115461. return [null];
  115462. },
  115463. $signature: 586
  115464. };
  115465. A.valueClass__closure6.prototype = {
  115466. call$2($self, index) {
  115467. return index < 1 && index >= -1 ? $self : self.undefined;
  115468. },
  115469. $signature: 248
  115470. };
  115471. A.valueClass__closure7.prototype = {
  115472. call$2($self, $name) {
  115473. return $self.assertBoolean$1($name);
  115474. },
  115475. call$1($self) {
  115476. return this.call$2($self, null);
  115477. },
  115478. "call*": "call$2",
  115479. $requiredArgCount: 1,
  115480. $defaultValues() {
  115481. return [null];
  115482. },
  115483. $signature: 587
  115484. };
  115485. A.valueClass__closure8.prototype = {
  115486. call$2($self, $name) {
  115487. return $self.assertCalculation$1($name);
  115488. },
  115489. call$1($self) {
  115490. return this.call$2($self, null);
  115491. },
  115492. "call*": "call$2",
  115493. $requiredArgCount: 1,
  115494. $defaultValues() {
  115495. return [null];
  115496. },
  115497. $signature: 588
  115498. };
  115499. A.valueClass__closure9.prototype = {
  115500. call$2($self, $name) {
  115501. return $self.assertColor$1($name);
  115502. },
  115503. call$1($self) {
  115504. return this.call$2($self, null);
  115505. },
  115506. "call*": "call$2",
  115507. $requiredArgCount: 1,
  115508. $defaultValues() {
  115509. return [null];
  115510. },
  115511. $signature: 589
  115512. };
  115513. A.valueClass__closure10.prototype = {
  115514. call$2($self, $name) {
  115515. return $self.assertFunction$1($name);
  115516. },
  115517. call$1($self) {
  115518. return this.call$2($self, null);
  115519. },
  115520. "call*": "call$2",
  115521. $requiredArgCount: 1,
  115522. $defaultValues() {
  115523. return [null];
  115524. },
  115525. $signature: 590
  115526. };
  115527. A.valueClass__closure11.prototype = {
  115528. call$2($self, $name) {
  115529. return $self.assertMap$1($name);
  115530. },
  115531. call$1($self) {
  115532. return this.call$2($self, null);
  115533. },
  115534. "call*": "call$2",
  115535. $requiredArgCount: 1,
  115536. $defaultValues() {
  115537. return [null];
  115538. },
  115539. $signature: 591
  115540. };
  115541. A.valueClass__closure12.prototype = {
  115542. call$2($self, $name) {
  115543. return $self.assertMixin$1($name);
  115544. },
  115545. call$1($self) {
  115546. return this.call$2($self, null);
  115547. },
  115548. "call*": "call$2",
  115549. $requiredArgCount: 1,
  115550. $defaultValues() {
  115551. return [null];
  115552. },
  115553. $signature: 592
  115554. };
  115555. A.valueClass__closure13.prototype = {
  115556. call$2($self, $name) {
  115557. return $self.assertNumber$1($name);
  115558. },
  115559. call$1($self) {
  115560. return this.call$2($self, null);
  115561. },
  115562. "call*": "call$2",
  115563. $requiredArgCount: 1,
  115564. $defaultValues() {
  115565. return [null];
  115566. },
  115567. $signature: 593
  115568. };
  115569. A.valueClass__closure14.prototype = {
  115570. call$2($self, $name) {
  115571. return $self.assertString$1($name);
  115572. },
  115573. call$1($self) {
  115574. return this.call$2($self, null);
  115575. },
  115576. "call*": "call$2",
  115577. $requiredArgCount: 1,
  115578. $defaultValues() {
  115579. return [null];
  115580. },
  115581. $signature: 594
  115582. };
  115583. A.valueClass__closure15.prototype = {
  115584. call$1($self) {
  115585. return $self.tryMap$0();
  115586. },
  115587. $signature: 595
  115588. };
  115589. A.valueClass__closure16.prototype = {
  115590. call$2($self, other) {
  115591. return $self.$eq(0, other);
  115592. },
  115593. $signature: 596
  115594. };
  115595. A.valueClass__closure17.prototype = {
  115596. call$2($self, _) {
  115597. return $self.get$hashCode($self);
  115598. },
  115599. call$1($self) {
  115600. return this.call$2($self, null);
  115601. },
  115602. "call*": "call$2",
  115603. $requiredArgCount: 1,
  115604. $defaultValues() {
  115605. return [null];
  115606. },
  115607. $signature: 597
  115608. };
  115609. A.valueClass__closure18.prototype = {
  115610. call$1($self) {
  115611. return A.serializeValue0($self, true, true);
  115612. },
  115613. $signature: 207
  115614. };
  115615. A.Value0.prototype = {
  115616. get$isTruthy() {
  115617. return true;
  115618. },
  115619. get$separator(_) {
  115620. return B.ListSeparator_undecided_null_undecided0;
  115621. },
  115622. get$hasBrackets() {
  115623. return false;
  115624. },
  115625. get$asList() {
  115626. return A._setArrayType([this], type$.JSArray_Value_2);
  115627. },
  115628. get$lengthAsList() {
  115629. return 1;
  115630. },
  115631. get$isBlank() {
  115632. return false;
  115633. },
  115634. get$isSpecialNumber() {
  115635. return false;
  115636. },
  115637. get$isVar() {
  115638. return false;
  115639. },
  115640. get$realNull() {
  115641. return this;
  115642. },
  115643. sassIndexToListIndex$2(sassIndex, $name) {
  115644. var t1, index,
  115645. indexValue = sassIndex.assertNumber$1($name);
  115646. if (indexValue.get$hasUnits()) {
  115647. t1 = indexValue.get$unitString();
  115648. A.warnForDeprecation0("$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name == null ? "index" : $name) + string$.x0a_Morex3a, B.Deprecation_oCX);
  115649. }
  115650. index = indexValue.assertInt$1($name);
  115651. if (index === 0)
  115652. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  115653. if (Math.abs(index) > this.get$lengthAsList())
  115654. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  115655. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  115656. },
  115657. assertBoolean$1($name) {
  115658. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  115659. },
  115660. assertCalculation$1($name) {
  115661. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  115662. },
  115663. assertColor$1($name) {
  115664. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  115665. },
  115666. assertFunction$1($name) {
  115667. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  115668. },
  115669. assertMixin$1($name) {
  115670. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  115671. },
  115672. assertMap$1($name) {
  115673. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  115674. },
  115675. tryMap$0() {
  115676. return null;
  115677. },
  115678. assertNumber$1($name) {
  115679. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  115680. },
  115681. assertNumber$0() {
  115682. return this.assertNumber$1(null);
  115683. },
  115684. assertString$1($name) {
  115685. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  115686. },
  115687. _value$_selectorString$1($name) {
  115688. var _0_0 = this._value$_selectorStringOrNull$0();
  115689. if (_0_0 != null)
  115690. return _0_0;
  115691. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  115692. },
  115693. _value$_selectorStringOrNull$0() {
  115694. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  115695. if (_this instanceof A.SassString0)
  115696. return _this._string0$_text;
  115697. if (!(_this instanceof A.SassList0))
  115698. return _null;
  115699. t1 = _this._list1$_contents;
  115700. t2 = t1.length;
  115701. if (t2 === 0)
  115702. return _null;
  115703. result = A._setArrayType([], type$.JSArray_String);
  115704. $label0$1: {
  115705. _1_0 = _this._list1$_separator;
  115706. if (B.ListSeparator_ECn0 === _1_0) {
  115707. for (_i = 0; _i < t2; ++_i) {
  115708. complex = t1[_i];
  115709. if (complex instanceof A.SassString0) {
  115710. result.push(complex._string0$_text);
  115711. continue;
  115712. }
  115713. if (complex instanceof A.SassList0 && B.ListSeparator_nbm0 === complex._list1$_separator) {
  115714. string = complex._value$_selectorStringOrNull$0();
  115715. if (string == null)
  115716. return _null;
  115717. result.push(string);
  115718. continue;
  115719. }
  115720. return _null;
  115721. }
  115722. break $label0$1;
  115723. }
  115724. if (B.ListSeparator_cQA0 === _1_0)
  115725. return _null;
  115726. for (_i = 0; _i < t2; ++_i) {
  115727. compound = t1[_i];
  115728. if (!(compound instanceof A.SassString0))
  115729. return _null;
  115730. result.push(compound._string0$_text);
  115731. }
  115732. break $label0$1;
  115733. }
  115734. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_ECn0 ? ", " : " ");
  115735. },
  115736. withListContents$2$separator(contents, separator) {
  115737. var t1 = separator == null ? this.get$separator(this) : separator,
  115738. t2 = this.get$hasBrackets();
  115739. return A.SassList$0(contents, t1, t2);
  115740. },
  115741. withListContents$1(contents) {
  115742. return this.withListContents$2$separator(contents, null);
  115743. },
  115744. greaterThan$1(other) {
  115745. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  115746. },
  115747. greaterThanOrEquals$1(other) {
  115748. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  115749. },
  115750. lessThan$1(other) {
  115751. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  115752. },
  115753. lessThanOrEquals$1(other) {
  115754. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  115755. },
  115756. times$1(other) {
  115757. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  115758. },
  115759. modulo$1(other) {
  115760. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  115761. },
  115762. plus$1(other) {
  115763. var t1;
  115764. $label0$0: {
  115765. if (other instanceof A.SassString0) {
  115766. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  115767. break $label0$0;
  115768. }
  115769. if (other instanceof A.SassCalculation0)
  115770. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  115771. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  115772. break $label0$0;
  115773. }
  115774. return t1;
  115775. },
  115776. minus$1(other) {
  115777. 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);
  115778. },
  115779. dividedBy$1(other) {
  115780. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  115781. },
  115782. unaryPlus$0() {
  115783. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  115784. },
  115785. unaryMinus$0() {
  115786. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  115787. },
  115788. unaryNot$0() {
  115789. return B.SassBoolean_false0;
  115790. },
  115791. withoutSlash$0() {
  115792. return this;
  115793. },
  115794. toString$0(_) {
  115795. return A.serializeValue0(this, true, true);
  115796. }
  115797. };
  115798. A.VariableExpression0.prototype = {
  115799. accept$1$1(visitor) {
  115800. return visitor.visitVariableExpression$1(0, this);
  115801. },
  115802. accept$1(visitor) {
  115803. return this.accept$1$1(visitor, type$.dynamic);
  115804. },
  115805. toString$0(_) {
  115806. var t1 = this.span;
  115807. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  115808. },
  115809. get$span(receiver) {
  115810. return this.span;
  115811. }
  115812. };
  115813. A.VariableDeclaration0.prototype = {
  115814. accept$1$1(visitor) {
  115815. return visitor.visitVariableDeclaration$1(0, this);
  115816. },
  115817. accept$1(visitor) {
  115818. return this.accept$1$1(visitor, type$.dynamic);
  115819. },
  115820. toString$0(_) {
  115821. var t1 = this.namespace;
  115822. t1 = t1 != null ? "" + (t1 + ".") : "";
  115823. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  115824. return t1.charCodeAt(0) == 0 ? t1 : t1;
  115825. },
  115826. get$span(receiver) {
  115827. return this.span;
  115828. }
  115829. };
  115830. A.WarnRule0.prototype = {
  115831. accept$1$1(visitor) {
  115832. return visitor.visitWarnRule$1(0, this);
  115833. },
  115834. accept$1(visitor) {
  115835. return this.accept$1$1(visitor, type$.dynamic);
  115836. },
  115837. toString$0(_) {
  115838. return "@warn " + this.expression.toString$0(0) + ";";
  115839. },
  115840. get$span(receiver) {
  115841. return this.span;
  115842. }
  115843. };
  115844. A.WhileRule0.prototype = {
  115845. accept$1$1(visitor) {
  115846. return visitor.visitWhileRule$1(0, this);
  115847. },
  115848. accept$1(visitor) {
  115849. return this.accept$1$1(visitor, type$.dynamic);
  115850. },
  115851. toString$0(_) {
  115852. var t1 = this.children;
  115853. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  115854. },
  115855. get$span(receiver) {
  115856. return this.span;
  115857. }
  115858. };
  115859. (function aliases() {
  115860. var _ = J.LegacyJavaScriptObject.prototype;
  115861. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  115862. _ = A.JsLinkedHashMap.prototype;
  115863. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  115864. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  115865. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  115866. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  115867. _ = A._BufferingStreamSubscription.prototype;
  115868. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  115869. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  115870. _ = A.ListBase.prototype;
  115871. _.super$ListBase$setRange = _.setRange$4;
  115872. _ = A.Iterable.prototype;
  115873. _.super$Iterable$where = _.where$1;
  115874. _.super$Iterable$skipWhile = _.skipWhile$1;
  115875. _ = A.ModifiableCssParentNode.prototype;
  115876. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  115877. _ = A.SimpleSelector.prototype;
  115878. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  115879. _.super$SimpleSelector$unify = _.unify$1;
  115880. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  115881. _ = A.Parser.prototype;
  115882. _.super$Parser$silentComment = _.silentComment$0;
  115883. _ = A.StylesheetParser.prototype;
  115884. _.super$StylesheetParser$importArgument = _.importArgument$0;
  115885. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  115886. _ = A.Value.prototype;
  115887. _.super$Value$assertMap = _.assertMap$1;
  115888. _.super$Value$plus = _.plus$1;
  115889. _.super$Value$minus = _.minus$1;
  115890. _.super$Value$dividedBy = _.dividedBy$1;
  115891. _ = A.SassNumber.prototype;
  115892. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  115893. _.super$SassNumber$coerce = _.coerce$3;
  115894. _.super$SassNumber$coerceValue = _.coerceValue$3;
  115895. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  115896. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  115897. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  115898. _.super$SassNumber$greaterThan = _.greaterThan$1;
  115899. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  115900. _.super$SassNumber$lessThan = _.lessThan$1;
  115901. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  115902. _.super$SassNumber$modulo = _.modulo$1;
  115903. _.super$SassNumber$plus = _.plus$1;
  115904. _.super$SassNumber$minus = _.minus$1;
  115905. _.super$SassNumber$times = _.times$1;
  115906. _.super$SassNumber$dividedBy = _.dividedBy$1;
  115907. _ = A.AnySelectorVisitor.prototype;
  115908. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  115909. _ = A.EveryCssVisitor.prototype;
  115910. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  115911. _ = A.ReplaceExpressionVisitor.prototype;
  115912. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  115913. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  115914. _ = A.SourceSpanMixin.prototype;
  115915. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  115916. _.super$SourceSpanMixin$$eq = _.$eq;
  115917. _ = A.StringScanner.prototype;
  115918. _.super$StringScanner$readChar = _.readChar$0;
  115919. _.super$StringScanner$scanChar = _.scanChar$1;
  115920. _.super$StringScanner$scan = _.scan$1;
  115921. _.super$StringScanner$matches = _.matches$1;
  115922. _ = A.AnySelectorVisitor0.prototype;
  115923. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  115924. _ = A.EveryCssVisitor0.prototype;
  115925. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  115926. _ = A.ModifiableCssParentNode0.prototype;
  115927. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  115928. _ = A.SassNumber0.prototype;
  115929. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  115930. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  115931. _.super$SassNumber$coerce0 = _.coerce$3;
  115932. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  115933. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  115934. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  115935. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  115936. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  115937. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  115938. _.super$SassNumber$lessThan0 = _.lessThan$1;
  115939. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  115940. _.super$SassNumber$modulo0 = _.modulo$1;
  115941. _.super$SassNumber$plus0 = _.plus$1;
  115942. _.super$SassNumber$minus0 = _.minus$1;
  115943. _.super$SassNumber$times0 = _.times$1;
  115944. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  115945. _ = A.Parser1.prototype;
  115946. _.super$Parser$silentComment0 = _.silentComment$0;
  115947. _ = A.ReplaceExpressionVisitor0.prototype;
  115948. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  115949. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  115950. _ = A.SimpleSelector0.prototype;
  115951. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  115952. _.super$SimpleSelector$unify0 = _.unify$1;
  115953. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  115954. _ = A.StylesheetParser0.prototype;
  115955. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  115956. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  115957. _ = A.Value0.prototype;
  115958. _.super$Value$assertMap0 = _.assertMap$1;
  115959. _.super$Value$plus0 = _.plus$1;
  115960. _.super$Value$minus0 = _.minus$1;
  115961. _.super$Value$dividedBy0 = _.dividedBy$1;
  115962. })();
  115963. (function installTearOffs() {
  115964. var _static_2 = hunkHelpers._static_2,
  115965. _instance_1_i = hunkHelpers._instance_1i,
  115966. _instance_1_u = hunkHelpers._instance_1u,
  115967. _static_1 = hunkHelpers._static_1,
  115968. _static_0 = hunkHelpers._static_0,
  115969. _static = hunkHelpers.installStaticTearOff,
  115970. _instance = hunkHelpers.installInstanceTearOff,
  115971. _instance_2_u = hunkHelpers._instance_2u,
  115972. _instance_0_i = hunkHelpers._instance_0i,
  115973. _instance_0_u = hunkHelpers._instance_0u;
  115974. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 208);
  115975. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  115976. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  115977. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  115978. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  115979. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  115980. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  115981. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115982. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 132);
  115983. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 132);
  115984. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 132);
  115985. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  115986. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 67);
  115987. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 69);
  115988. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  115989. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 600, 0);
  115990. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  115991. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  115992. }], 601, 1);
  115993. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  115994. var t1 = type$.dynamic;
  115995. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  115996. }], 602, 1);
  115997. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  115998. var t1 = type$.dynamic;
  115999. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  116000. }], 603, 1);
  116001. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  116002. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  116003. }], 604, 0);
  116004. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  116005. var t1 = type$.dynamic;
  116006. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  116007. }], 605, 0);
  116008. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  116009. var t1 = type$.dynamic;
  116010. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  116011. }], 606, 0);
  116012. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 607, 0);
  116013. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 608, 0);
  116014. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 609, 0);
  116015. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 610, 0);
  116016. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 611, 0);
  116017. _static_1(A, "async___printToZone$closure", "_printToZone", 92);
  116018. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 612, 0);
  116019. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  116020. return [null];
  116021. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 257, 0, 0);
  116022. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 69);
  116023. var _;
  116024. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 35);
  116025. _instance(_, "get$addError", 0, 1, function() {
  116026. return [null];
  116027. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 236, 0, 0);
  116028. _instance_0_i(_, "get$close", "close$0", 532);
  116029. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 35);
  116030. _instance_2_u(_, "get$_addError", "_addError$2", 69);
  116031. _instance_0_u(_, "get$_close", "_close$0", 0);
  116032. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  116033. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  116034. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 518, 0, 0);
  116035. _instance_0_i(_, "get$resume", "resume$0", 0);
  116036. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  116037. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  116038. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 35);
  116039. _instance_2_u(_, "get$_onError", "_onError$2", 69);
  116040. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  116041. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  116042. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  116043. _instance_1_u(_, "get$_handleData", "_handleData$1", 35);
  116044. _instance_2_u(_, "get$_handleError", "_handleError$2", 517);
  116045. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  116046. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 188);
  116047. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 260);
  116048. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 208);
  116049. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  116050. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  116051. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  116052. _instance_1_i(_, "get$contains", "contains$1", 9);
  116053. _instance_1_i(_, "get$add", "add$1", 9);
  116054. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  116055. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  116056. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  116057. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  116058. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 105);
  116059. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  116060. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 260);
  116061. _static_2(A, "core__identical$closure", "identical", 188);
  116062. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  116063. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  116064. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 35);
  116065. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  116066. return A.max(a, b, type$.num);
  116067. }], 615, 1);
  116068. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 4);
  116069. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 35);
  116070. _instance(_, "get$setError", 0, 1, function() {
  116071. return [null];
  116072. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 236, 0, 0);
  116073. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  116074. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  116075. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  116076. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 191);
  116077. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  116078. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  116079. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  116080. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  116081. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  116082. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 199);
  116083. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 537);
  116084. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  116085. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  116086. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  116087. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 74);
  116088. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  116089. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  116090. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  116091. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  116092. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 229);
  116093. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 229);
  116094. _static_1(A, "functions___isUnique$closure", "_isUnique", 13);
  116095. _static_1(A, "color0___opacify$closure", "_opacify", 29);
  116096. _static_1(A, "color0___transparentize$closure", "_transparentize", 29);
  116097. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 142);
  116098. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 22);
  116099. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  116100. _instance_0_u(_, "get$silentComment", "silentComment$0", 22);
  116101. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  116102. _instance_0_u(_, "get$string", "string$0", 26);
  116103. _instance(_, "get$error", 1, 2, function() {
  116104. return [null];
  116105. }, ["call$3", "call$2"], ["error$3", "error$2"], 151, 0, 0);
  116106. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  116107. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 497, 0, 0);
  116108. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 124);
  116109. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 124);
  116110. _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"], 482, 0, 0);
  116111. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  116112. return {color: null};
  116113. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  116114. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  116115. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  116116. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  116117. return {color: null};
  116118. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 158, 0, 0);
  116119. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 35);
  116120. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  116121. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  116122. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 35);
  116123. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  116124. _static_1(A, "utils__isPublic$closure", "isPublic", 4);
  116125. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 70);
  116126. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  116127. _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"], 371, 0, 0);
  116128. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 162);
  116129. _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"], 312, 0, 0);
  116130. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 162);
  116131. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 267);
  116132. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 268);
  116133. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  116134. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  116135. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 271);
  116136. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 87);
  116137. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 272);
  116138. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 7);
  116139. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  116140. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  116141. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  116142. return {color: null};
  116143. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  116144. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 102);
  116145. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 102);
  116146. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 102);
  116147. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 102);
  116148. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 186);
  116149. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 186);
  116150. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  116151. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  116152. }], 618, 0);
  116153. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  116154. return A._collect($event, soFar, type$.dynamic);
  116155. }], 619, 0);
  116156. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  116157. _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);
  116158. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 252);
  116159. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 87);
  116160. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  116161. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 70);
  116162. _static_1(A, "color2___opacify$closure", "_opacify0", 28);
  116163. _static_1(A, "color2___transparentize$closure", "_transparentize0", 28);
  116164. _static(A, "compile__compile$closure", 1, function() {
  116165. return [null];
  116166. }, ["call$2", "call$1"], ["compile0", function(path) {
  116167. return A.compile0(path, null);
  116168. }], 620, 0);
  116169. _static(A, "compile__compileString$closure", 1, function() {
  116170. return [null];
  116171. }, ["call$2", "call$1"], ["compileString0", function(text) {
  116172. return A.compileString0(text, null);
  116173. }], 621, 0);
  116174. _static(A, "compile__compileAsync$closure", 1, function() {
  116175. return [null];
  116176. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  116177. return A.compileAsync1(path, null);
  116178. }], 622, 0);
  116179. _static(A, "compile__compileStringAsync$closure", 1, function() {
  116180. return [null];
  116181. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  116182. return A.compileStringAsync1(text, null);
  116183. }], 623, 0);
  116184. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 624);
  116185. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 70);
  116186. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 625);
  116187. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 626);
  116188. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 22);
  116189. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  116190. _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"], 424, 0, 0);
  116191. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 252);
  116192. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  116193. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 14);
  116194. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 627);
  116195. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  116196. return {color: null};
  116197. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 126, 0, 0);
  116198. _static_2(A, "legacy__render$closure", "render", 628);
  116199. _static_1(A, "legacy__renderSync$closure", "renderSync", 629);
  116200. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116201. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 64);
  116202. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116203. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  116204. return {color: null};
  116205. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 158, 0, 0);
  116206. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 35);
  116207. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 142);
  116208. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 630);
  116209. _static(A, "parser0___parse$closure", 4, null, ["call$4"], ["_parse"], 631, 0);
  116210. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  116211. _instance_0_u(_, "get$silentComment", "silentComment$0", 22);
  116212. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  116213. _instance_0_u(_, "get$string", "string$0", 26);
  116214. _instance(_, "get$error", 1, 2, function() {
  116215. return [null];
  116216. }, ["call$3", "call$2"], ["error$3", "error$2"], 151, 0, 0);
  116217. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116218. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  116219. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116220. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  116221. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  116222. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  116223. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  116224. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  116225. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  116226. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 541);
  116227. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 87);
  116228. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 542);
  116229. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  116230. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  116231. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 35);
  116232. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  116233. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  116234. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 560, 0, 0);
  116235. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 131);
  116236. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 131);
  116237. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  116238. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  116239. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116240. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 632);
  116241. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 233);
  116242. _static_1(A, "utils0__isPublic$closure", "isPublic0", 4);
  116243. _static(A, "path__absolute$closure", 1, function() {
  116244. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  116245. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  116246. var _null = null;
  116247. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116248. }, function(part1, part2) {
  116249. var _null = null;
  116250. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116251. }, function(part1, part2, part3) {
  116252. var _null = null;
  116253. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116254. }, function(part1, part2, part3, part4) {
  116255. var _null = null;
  116256. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116257. }, function(part1, part2, part3, part4, part5) {
  116258. var _null = null;
  116259. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116260. }, function(part1, part2, part3, part4, part5, part6) {
  116261. var _null = null;
  116262. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116263. }], 633, 0);
  116264. _static_1(A, "path__toUri$closure", "toUri", 117);
  116265. _static_1(A, "path__prettyUri$closure", "prettyUri", 634);
  116266. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 47);
  116267. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 47);
  116268. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 47);
  116269. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 47);
  116270. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 63);
  116271. _static_1(A, "number0__sqrt$closure", "sqrt", 53);
  116272. _static_1(A, "number0__sin$closure", "sin", 53);
  116273. _static_1(A, "number0__cos$closure", "cos", 53);
  116274. _static_1(A, "number0__tan$closure", "tan", 53);
  116275. _static_1(A, "number0__atan$closure", "atan", 53);
  116276. _static_1(A, "number0__asin$closure", "asin", 53);
  116277. _static_1(A, "number0__acos$closure", "acos", 53);
  116278. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 47);
  116279. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 47);
  116280. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 47);
  116281. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 47);
  116282. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 637);
  116283. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 63);
  116284. _static_1(A, "number2__sqrt$closure", "sqrt0", 49);
  116285. _static_1(A, "number2__sin$closure", "sin0", 49);
  116286. _static_1(A, "number2__cos$closure", "cos0", 49);
  116287. _static_1(A, "number2__tan$closure", "tan0", 49);
  116288. _static_1(A, "number2__atan$closure", "atan0", 49);
  116289. _static_1(A, "number2__asin$closure", "asin0", 49);
  116290. _static_1(A, "number2__acos$closure", "acos0", 49);
  116291. _static_1(A, "sass__main$closure", "main1", 471);
  116292. _static_1(A, "utils2__validateUrlScheme$closure", "validateUrlScheme", 92);
  116293. _static_1(A, "value0__wrapValue$closure", "wrapValue", 426);
  116294. })();
  116295. (function inheritance() {
  116296. var _mixin = hunkHelpers.mixin,
  116297. _inherit = hunkHelpers.inherit,
  116298. _inheritMany = hunkHelpers.inheritMany;
  116299. _inherit(A.Object, null);
  116300. _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.NonNullsIterator, 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.Expression, A._IsCalculationSafeVisitor, A.DynamicImport, A.StaticImport, A.Interpolation, A.Statement, A.IfRuleClause, A.__HasContentVisitor_Object_StatementSearchVisitor, 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.CanonicalizeContext, A.ImporterResult, A.InterpolationBuffer, A.InterpolationMap, A.FileSystemException, A.LoggerWithDeprecationType0, A._QuietLogger, 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.Statement0, A.CssNode0, A.Selector0, A.Expression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, A.CanonicalizeContext0, A._CloneCssVisitor0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Compiler, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.SupportsDeclaration0, A.LoggerWithDeprecationType, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A._IsCalculationSafeVisitor0, A.JSExpressionVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardedModuleView0, A.SupportsFunction0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.InterpolationMap0, A.FileSystemException0, A.LazyFileSpan0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A._QuietLogger0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.SupportsOperation0, A.PlainCssCallable0, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.SourceMapBuffer0, A.JSStatementVisitor, A.StatementSearchVisitor0, A.StaticImport0, A.StderrLogger0, A.UserDefinedCallable0, A.CssValue0]);
  116301. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  116302. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  116303. _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.Deprecation1, A.Exports, A.LoggerNamespace, A.JSExpressionVisitorObject, A.FiberClass, A.Fiber, A.JSFunction0, A.ImmutableList0, A.ImmutableMap0, A.JSImporter, 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.ParserExports, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A.JSStatementVisitorObject, A._ConstructorOptions1, A._NodeSassString, A.Types, A.JSUrl0, A._PropertyDescriptor0, A._RequireMain0]);
  116304. _inherit(J.JSUnmodifiableArray, J.JSArray);
  116305. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  116306. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A.NonNullsIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  116307. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  116308. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  116309. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  116310. _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.CompoundSelector_hasComplicatedSuperselectorSemantics_closure, A.IDSelector_unify_closure, A.SelectorList_asSassList_closure, A.SelectorList_nestWithin_closure, A.SelectorList_nestWithin__closure, A.SelectorList_nestWithin__closure0, A.SelectorList__nestWithinCompound_closure, A.SelectorList__nestWithinCompound_closure0, A.SelectorList__nestWithinCompound_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.compoundIsSuperselector_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.DeprecationProcessingLogger_summarize_closure, A.DeprecationProcessingLogger_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_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor__warnForBogusCombinators_closure0, 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_closure1, 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_closure1, A._EvaluateVisitor__warnForBogusCombinators_closure, 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_closure, 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_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor__warnForBogusCombinators_closure2, 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_closure5, 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.updateCanonicalizeContextPrototype_closure, A.updateCanonicalizeContextPrototype_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.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0, A._disallowedFunctionNames_closure0, A.Deprecation_fromId_closure0, A.DeprecationProcessingLogger_summarize_closure1, A.DeprecationProcessingLogger_summarize_closure2, A.versionClass__closure, A.versionClass__closure0, 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_closure8, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor__warnForBogusCombinators_closure1, 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_closure3, 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.compoundIsSuperselector_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_nestWithin_closure0, A.SelectorList_nestWithin__closure1, A.SelectorList_nestWithin__closure2, A.SelectorList__nestWithinCompound_closure2, A.SelectorList__nestWithinCompound_closure3, A.SelectorList__nestWithinCompound_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.loadParserExports_closure, A.loadParserExports_closure0, A._updateAstPrototypes_closure, A._updateAstPrototypes_closure0, A._updateAstPrototypes_closure3, 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__closure, 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]);
  116311. _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__styleRule_closure, A.StylesheetParser__tryDeclarationChildren_closure, 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._updateAstPrototypes_closure1, A._updateAstPrototypes_closure2, 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__styleRule_closure0, A.StylesheetParser__tryDeclarationChildren_closure0, 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]);
  116312. _inherit(A.CastList, A._CastListBase);
  116313. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  116314. _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]);
  116315. _inherit(A.UnmodifiableListBase, A.ListBase);
  116316. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  116317. _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_closure, 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_closure, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._realCasePath_helper_closure, A._readFile_closure, A.writeFile_closure, A.deleteFile_closure, A.fileExists_closure, A.dirExists_closure, A.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.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_closure3, 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_closure2, 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_closure2, 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_closure0, 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_closure11, A._EvaluateVisitor_visitStyleRule_closure14, 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_closure6, 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_closure0, A.AsyncImportCache__canonicalize_closure0, 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.deprecations_closure, A.parseDeprecations_closure, A.versionClass_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_closure7, A._EvaluateVisitor_visitStyleRule_closure10, 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_closure4, 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_closure0, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure0, A._realCasePath_helper_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.JSToDartLogger_internalWarn_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]);
  116318. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  116319. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  116320. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  116321. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  116322. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  116323. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  116324. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  116325. _inherit(A._Record_1, A._Record1);
  116326. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  116327. _inheritMany(A._Record3, [A._Record_3, A._Record_3_forImport, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  116328. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  116329. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  116330. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  116331. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  116332. _inherit(A.ConstantStringMap, A.ConstantMap);
  116333. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  116334. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  116335. _inherit(A.Instantiation1, A.Instantiation);
  116336. _inherit(A.NullError, A.TypeError);
  116337. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  116338. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  116339. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  116340. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  116341. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  116342. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116343. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  116344. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116345. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  116346. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  116347. _inherit(A._TypeError, A._Error);
  116348. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  116349. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  116350. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  116351. _inherit(A._ControllerStream, A._StreamImpl);
  116352. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  116353. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  116354. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  116355. _inherit(A._ExpandStream, A._ForwardingStream);
  116356. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  116357. _inherit(A._IdentityHashMap, A._HashMap);
  116358. _inherit(A._LinkedHashSet, A._SetBase);
  116359. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  116360. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  116361. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  116362. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  116363. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  116364. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  116365. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  116366. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  116367. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  116368. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  116369. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  116370. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  116371. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  116372. _inherit(A._DataUri, A._Uri);
  116373. _inherit(A.ArgParserException, A.FormatException);
  116374. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  116375. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  116376. _inherit(A._CastQueueList, A.QueueList);
  116377. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  116378. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  116379. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  116380. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  116381. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  116382. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  116383. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  116384. _inherit(A.InternalStyle, A.Style);
  116385. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  116386. _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]);
  116387. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  116388. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  116389. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  116390. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  116391. _inherit(A.CssStylesheet, A.CssParentNode);
  116392. _inheritMany(A.Expression, [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]);
  116393. _inheritMany(A.Statement, [A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.ImportRule, A.IncludeRule, A.LoudComment, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule]);
  116394. _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]);
  116395. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  116396. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  116397. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  116398. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  116399. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  116400. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  116401. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  116402. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  116403. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  116404. _inherit(A.ExplicitConfiguration, A.Configuration);
  116405. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  116406. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  116407. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  116408. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  116409. _inherit(A.MergedExtension, A.Extension);
  116410. _inherit(A.Importer, A.AsyncImporter);
  116411. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  116412. _inherit(A.DeprecationProcessingLogger, A.LoggerWithDeprecationType0);
  116413. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  116414. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  116415. _inherit(A.CssParser, A.ScssParser);
  116416. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  116417. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  116418. _inherit(A.SassArgumentList, A.SassList);
  116419. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  116420. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  116421. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  116422. _inherit(A.SingleMapping, A.Mapping);
  116423. _inherit(A.FileLocation, A.SourceLocationMixin);
  116424. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  116425. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  116426. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  116427. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  116428. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  116429. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  116430. _inherit(A.SassArgumentList0, A.SassList0);
  116431. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  116432. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  116433. _inheritMany(A.Statement0, [A.ParentStatement0, A.ContentRule0, A.DebugRule0, A.ErrorRule0, A.ExtendRule0, A.ForwardRule0, A.IfRule0, A.ImportRule0, A.IncludeRule0, A.LoudComment0, A.ReturnRule0, A.SilentComment0, A.UseRule0, A.VariableDeclaration0, A.WarnRule0]);
  116434. _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]);
  116435. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  116436. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  116437. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  116438. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  116439. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  116440. _inheritMany(A.Expression0, [A.BinaryOperationExpression0, A.BooleanExpression0, A.ColorExpression0, A.FunctionExpression0, A.IfExpression0, A.InterpolatedFunctionExpression0, A.ListExpression0, A.MapExpression0, A.NullExpression0, A.NumberExpression0, A.ParenthesizedExpression0, A.SelectorExpression0, A.StringExpression0, A.SupportsExpression0, A.UnaryOperationExpression0, A.ValueExpression0, A.VariableExpression0]);
  116441. _inherit(A.CompileStringOptions, A.CompileOptions);
  116442. _inherit(A.AsyncCompiler, A.Compiler);
  116443. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  116444. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  116445. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  116446. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  116447. _inherit(A.CssParser0, A.ScssParser0);
  116448. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger0, A.JSToDartLogger]);
  116449. _inherit(A._NodeException, A.JsError);
  116450. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  116451. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  116452. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  116453. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  116454. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  116455. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  116456. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  116457. _inherit(A.MergedExtension0, A.Extension0);
  116458. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  116459. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  116460. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  116461. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  116462. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  116463. _inherit(A.CssStylesheet0, A.CssParentNode0);
  116464. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  116465. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  116466. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  116467. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116468. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  116469. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116470. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  116471. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  116472. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  116473. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  116474. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  116475. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116476. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  116477. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116478. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116479. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116480. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  116481. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  116482. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116483. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116484. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116485. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  116486. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  116487. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  116488. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  116489. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  116490. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  116491. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  116492. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116493. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116494. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116495. })();
  116496. var init = {
  116497. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  116498. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  116499. mangledNames: {},
  116500. 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>)", "bool(SimpleSelector)", "bool(SimpleSelector0)", "JSClass0()", "SassString0(List<Value0>)", "bool(ComplexSelector)", "SassString(List<Value>)", "bool(ComplexSelector0)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool()", "SassList0(List<Value0>)", "SassList(List<Value>)", "Future<~>()", "String()", "FileSpan()", "SassColor0(List<Value0>)", "SassColor(List<Value>)", "bool(int?)", "Object?()", "Null(~())", "SassMap0(List<Value0>)", "SassMap(List<Value>)", "~(Object?)", "Value()", "double(double)", "Future<Null>(Future<~>())", "Value?()", "Value(Value)", "Value0(Value0)", "Value0?()", "Uri(Uri)", "String?()", "Value0()", "bool(int)", "bool(num,num)", "bool(Value0)", "SassNumber0(SassNumber0)", "Null(Object,StackTrace)", "bool(ComplexSelectorComponent)", "bool(ComplexSelectorComponent0)", "SassNumber(SassNumber)", "ValueExpression0(Value0)", "ValueExpression(Value)", "ComplexSelector0(ComplexSelector0)", "~(Value)", "~(Value0)", "ComplexSelector(ComplexSelector)", "double(SassColor0)", "@()", "Null(@)", "double(double,double)", "bool(SelectorList0)", "bool(Object)", "Future<Value0?>()", "~(@)", "Frame()", "~(Object,StackTrace)", "Object(Object)", "Future<Value0>()", "bool(Value)", "Future<Value>()", "bool(SelectorList)", "Future<Value?>()", "~(Value0,Value0)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Callable0?()", "~(Module0<Callable0>,bool)", "Value?(Statement)", "Object()", "Future<Value?>(Statement)", "SassRuntimeException(AstNode)", "~(Value,Value)", "AsyncCallable?()", "Future<Value0>(List<Value0>)", "~(Object)", "Null([Object?])", "AsyncCallable0?()", "~(String,Value)", "SassRuntimeException0(AstNode0)", "~(String)", "Future<Value0?>(Statement0)", "Stylesheet?()", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "double(Value)", "~(Module1<Callable>,bool)", "double(Value0)", "Value0?(Statement0)", "Callable?()", "~([int?])", "Frame(String)", "int(Uri)", "Null(_NodeSassColor,num)", "@(@)", "~(String,Value0)", "bool(Expression0)", "Map<ComplexSelector,Extension>()", "~(String,Function)", "bool(Module0<Callable0>)", "+originalUrl(Importer,Uri,Uri)?()", "SassCalculation0(Object)", "String(Object)", "bool(Module0<AsyncCallable>)", "Null(Module1<AsyncCallable0>,bool)", "bool(Expression)", "Uri(String)", "int(SassColor0)", "String(@)", "int(_NodeSassColor)", "bool(Module1<AsyncCallable0>)", "~(String,Object?)", "bool(Module1<Callable>)", "Statement()", "String(Expression)", "String(String{color:Object?})", "Map<ComplexSelector0,Extension0>()", "List<String>()", "bool(@)", "bool(_Highlight)", "Statement0()", "~(~())", "Null(Module0<AsyncCallable>,bool)", "~(String,@)", "String(Expression0)", "~(List<Value0>)", "AsyncCallable0?(Module1<AsyncCallable0>)", "bool(String?)", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "int(String,String)", "String?(String?)", "String?(Object)", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "int(int)", "0&(String,FileSpan[StackTrace?])", "bool(Statement)", "bool(Import)", "VariableDeclaration()", "AtRootRule(List<Statement>,FileSpan)", "AtRule(List<Statement>,FileSpan)", "Set<0^>()<Object?>", "String(String{color:@})", "Entry(Entry)", "int(double)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "Future<~>(List<Value>)", "~(@,@)", "~(Object?,Object?)", "List<ExtensionStore>()", "bool(ModifiableCssParentNode)", "@(String)", "Future<SassNumber>()", "int(ComplexSelector)", "List<CssComment>()", "bool(UseRule)", "bool(ForwardRule)", "Future<String>()", "AsyncCallable?(Module0<AsyncCallable>)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "Future<Object>()", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "InterpolationMap(List<SourceLocation>)", "AstNode?()", "String(SassNumber)", "~(List<Value>)", "Uri?/()", "SassNumber()", "Trace(String)", "SassNumber0()", "bool(Object?,Object?)", "double(double,double?,num)", "Value0?(Value0)", "Future<~>?()", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "String(int)", "Map<String,Callable>(Module1<Callable>)", "SelectorList0(SelectorList0,SelectorList0)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "Callable?(Module1<Callable>)", "~(Iterable<ExtensionStore0>)", "Version(String)", "Set<0&>(Object)", "AsyncImporter0(Object?)", "SelectorList0(Value0)", "Expression0(Expression0)", "int(ComplexSelector0)", "double(SassNumber0,SassNumber0[String?,String?])", "Future<NodeCompileResult>()", "String(Value0)", "int(@,@)", "bool(Queue<List<ComplexSelectorComponent>>)", "Object(CalculationOperation0)", "AtRule0(List<Statement0>,FileSpan)", "String(_NodeException)", "0&(@[@])", "0&(Object[Object?])", "AtRootRule0(List<Statement0>,FileSpan)", "int(SourceLocation)", "String(SassNumber0)", "AstNode0?()", "InterpolationMap0(List<SourceLocation>)", "double(SassNumber0,Object,Object[String?])", "List<Extension>()", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "~(Uint8List,String,int)", "String(FileSpan)", "bool(ForwardRule0)", "SassNumber0(SassNumber0,Object,Object[String?])", "bool(UseRule0)", "List<CssComment0>()", "~(Iterable<ExtensionStore>)", "Future<SassNumber0>()", "bool(SassNumber0,String)", "ImmutableList0(SassNumber0)", "JSUrl0(Uri)", "bool(ModifiableCssParentNode0)", "FileLocation(FileSpan)", "~(Object[StackTrace?])", "List<ExtensionStore0>()", "Expression(Expression)", "bool(SassNumber0)", "Map<String,Callable0>(Module0<Callable0>)", "Null(_NodeSassMap,int,Object)", "Object(_NodeSassMap,int)", "Future<~>(List<Value0>)", "SassMixin0(List<Value0>)", "Value0(int)", "SassFunction0(List<Value0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "@(Value0,num)", "bool(Import0)", "bool(Statement0)", "bool(Queue<List<ComplexSelectorComponent0>>)", "AstNode0(AstNode0)", "Callable0?(Module0<Callable0>)", "List<Extension0>()", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "~([Object?])", "Future<Value>(List<Value>)", "bool(Frame)", "int(Object?)", "Trace()", "int(int,double?)", "String(Frame)", "int(Frame)", "SassMixin(List<Value>)", "Future<Stylesheet?>()", "~(ContentBlock)", "~(List<Statement>)", "Value(Expression)", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "~(CssMediaQuery)", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "UserDefinedCallable<Environment>(ContentBlock)", "String(Trace)", "Value?(IfRuleClause)", "~(String,int?)", "Frame(String,String)", "CssValue<String>(Interpolation)", "Value?(Value)", "Frame(Frame)", "int(int,int)", "~(Module0<Callable0>)", "Module0<Callable0>()", "String(Argument0)", "bool(Deprecation)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "Value?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "SassMap(SassMap)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "~(String,int)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "Map<String,AstNode>(Module0<AsyncCallable>)", "Map<String,Value>(Module0<Callable0>)", "Value/()", "Map<String,AstNode>(Module0<Callable0>)", "Map<String,Value>(Module0<AsyncCallable>)", "Future<Value>(Expression)", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "Value?(Module0<AsyncCallable>)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "Uint8List(@,@)", "~(Module1<AsyncCallable0>)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "Future<Value?>(IfRuleClause)", "ArgParser()", "Set<Deprecation>()", "Future<Value0?>(Value0)", "Future<~>(String)", "Future<CssValue0<String>>(Interpolation0)", "List<WatchEvent>(List<WatchEvent>)", "~(Symbol0,@)", "Future<CssValue<String>>(Interpolation)", "SimpleSelector(SimpleSelector)", "Future<Value0?>(IfRuleClause0)", "Future<Value?>(Value)", "Iterable<ComplexSelector>(ComplexSelector)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "bool(Extension)", "Set<ModifiableBox<SelectorList>>()", "SassList(ComplexSelector)", "~(Module0<AsyncCallable>)", "Object?(Object?)", "Future<Value0>(Expression0)", "List<SimpleSelector>(Extender)", "Value0/()", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "Future<Module0<AsyncCallable>>()", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "~(Module0<AsyncCallable>,bool)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "int(int,SimpleSelector)", "String(CssValue<Combinator>)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "SingleUnitSassNumber(double)", "bool(List<Iterable<ComplexSelectorComponent>>)", "bool(PseudoSelector)", "int(int,ComplexSelectorComponent)", "0&(List<Value0>)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "SelectorList?(PseudoSelector)", "@(@,String)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "~(String,Option)", "double(_NodeSassColor)", "_Future<@>(@)", "SassScriptException()", "DateTime(StylesheetNode)", "AsyncImporter0(JSImporter)", "0&(@)", "Null(@,@)", "NodePackageImporter0(Object[String?])", "StringExpression(Interpolation)", "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)", "bool(Deprecation0)", "Iterable<Deprecation0>()", "Version(Object,int,int,int)", "~(BinaryOperator)", "~(Expression)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "WhileRule(List<Statement>,FileSpan)", "SupportsRule(List<Statement>,FileSpan)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "MixinRule(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "ContentBlock(List<Statement>,FileSpan)", "Object(Value0)", "ForRule(List<Statement>,FileSpan)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "FunctionRule(List<Statement>,FileSpan)", "EachRule(List<Statement>,FileSpan)", "CssValue0<String>(Interpolation0)", "Declaration(List<Statement>,FileSpan)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "StyleRule(List<Statement>,FileSpan)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "UseRule()", "ArgumentDeclaration()", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "String(Value)", "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>)", "VariableDeclaration(VariableDeclaration)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "0&(List<Value>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Statement?()", "Stylesheet()", "~(Object?,Object,Object?)", "+(String,String)(String)", "+originalUrl(Importer0,Uri,Uri)?()", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Future<~>(List<String>)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "Null(@,StackTrace)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Null(_NodeSassList,int?[bool?,SassList0?])", "~(int,@)", "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)", "Statement({root:bool})", "int(_NodeSassMap)", "CompoundSelector()", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "bool(ModifiableCssNode0)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "SelectorList()", "int?(SassNumber0)", "List<CssMediaQuery>()", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "String(BuiltInCallable)", "AtRootQuery()", "String(int,IfClause)", "~(@,StackTrace)", "~([Future<~>?])", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "JSExpressionVisitor(JSExpressionVisitorObject)", "JSStatementVisitor(JSStatementVisitorObject)", "String(SourceFile,int[int?])", "String?(Interpolation0)", "Object?(Statement0,StatementVisitor<Object?>)", "Object?(Expression0,ExpressionVisitor<Object?>)", "FileSpan(SassNode)", "Future<@>()", "String(Object,@,@[@])", "Iterable<ComplexSelector>(List<ComplexSelector>)", "String(Argument)", "bool(ModifiableCssNode)", "bool(Version)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "Object(String)", "JSUrl0?(FileSpan)", "bool(+forImport(Importer,Uri,bool),+originalUrl(Importer,Uri,Uri)?)", "Uri(+originalUrl(Importer,Uri,Uri))", "bool(+originalUrl(Importer,Uri,Uri))", "SassString0(int)", "SassString0(String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "Statement0({root:bool})", "List<Value>(Value)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "+(String,ArgumentDeclaration0)()", "VariableDeclaration0()", "StyleRule0(List<Statement0>,FileSpan)", "Declaration0(List<Statement0>,FileSpan)", "int(String?)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "bool(String?,String?)", "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?])", "SassString(String)", "bool(List<Value>)", "~(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?>?)", "SassString(int)", "SassString(SimpleSelector)", "0^(0^,0^)<num>", "Value(Object)", "SassNumber(Value)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "Compiler()", "Promise()", "List<Object?>(Object?)", "~(RenderOptions,~(Object?,RenderResult?))", "RenderResult(RenderOptions)", "ParserExports()", "Stylesheet0(String,String,String?,JSLogger?)", "Uri(JSUrl0)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "String(Object?)", "Null(Function,Function)", "String(String?)", "int(num)", "SassMap(Value)", "Null(RenderResult)", "~(Module1<AsyncCallable0>,bool)"],
  116501. interceptorsByTag: null,
  116502. leafTags: null,
  116503. arrayRti: Symbol("$ti"),
  116504. rttc: {
  116505. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  116506. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  116507. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  116508. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  116509. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  116510. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  116511. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116512. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116513. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116514. "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),
  116515. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  116516. }
  116517. };
  116518. 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","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","JSExpressionVisitorObject":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","ParserExports":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSStatementVisitorObject":"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":[],"Deprecation1":[],"_NodeException":[],"JSExpressionVisitorObject":[],"Fiber":[],"JSFunction0":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"JSLogger":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"ParserExports":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"JSStatementVisitorObject":[],"_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"},"NonNullsIterable":{"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":[],"Float32List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"Float64List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"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":{"_PlatformUri":[],"Uri":[]},"_SimpleUri":{"_PlatformUri":[],"Uri":[]},"_DataUri":{"_PlatformUri":[],"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":[]},"Statement":{"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":{"SassNode":[],"AstNode0":[]},"Argument0":{"SassNode":[],"AstNode0":[]},"ArgumentDeclaration0":{"SassNode":[],"AstNode0":[]},"ArgumentInvocation0":{"SassNode":[],"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluateVisitor2":{"StatementVisitor":["Future<Value0?>"],"ExpressionVisitor":["Future<Value0>"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"AsyncCompiler":{"Compiler":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"SassNode":[],"AstNode0":[]},"ContentBlock0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsDeclaration0":{"SassNode":[],"AstNode0":[]},"DynamicImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_EvaluateVisitor1":{"StatementVisitor":["Value0?"],"ExpressionVisitor":["Value0"]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"SassNode":[],"AstNode0":[]},"_IsCalculationSafeVisitor0":{"ExpressionVisitor":["bool"]},"JSExpressionVisitor":{"ExpressionVisitor":["Object?"]},"_MakeExpressionCalculationSafe0":{"ExpressionVisitor":["Expression0"]},"ExtendRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SupportsFunction0":{"SassNode":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"Interpolation0":{"SassNode":[],"AstNode0":[]},"SupportsInterpolation0":{"SassNode":[],"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":[],"SassNode":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementVisitor":["bool?"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"SassNode":[],"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"NullExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"SassNode":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"SassNode":[],"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":[],"SassNode":[],"AstNode0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"Statement0":{"SassNode":[],"AstNode0":[]},"JSStatementVisitor":{"StatementVisitor":["Object?"]},"StaticImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"SassNode":[],"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":[],"SassNode":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"SassNode":[],"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":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"SassNode":[],"AstNode0":[]},"SassNode":{"AstNode0":[]}}'));
  116519. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"NonNullsIterator":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,"ExpressionVisitor":1}'));
  116520. var string$ = {
  116521. x0a_BUG_: "\n\nBUG: This should include a source span!",
  116522. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  116523. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  116524. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  116525. x0a_This: "\n\nThis is only an error because you've set the ",
  116526. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  116527. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  116528. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  116529. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  116530. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  116531. x20It_wi: " It will be omitted from the generated CSS.",
  116532. 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",
  116533. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  116534. x20deprex20i: " deprecation is not yet active, so silencing it is unnecessary.",
  116535. x20deprex20m: " deprecation must be enabled before it can be made fatal.",
  116536. x20deprex20t: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  116537. x20deprex2c: " deprecation, since it has also been made fatal.",
  116538. x20in_in: " in interpolation here.\nIt may end up represented as ",
  116539. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  116540. x20is_av: " is available from multiple global modules.",
  116541. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  116542. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  116543. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  116544. 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",
  116545. x20must_b: " must be either nearest, up, down or to-zero.",
  116546. x20must_n: " must not be greater than the number of characters in the file, ",
  116547. x20repet: " repetitive deprecation warnings omitted.",
  116548. x20targe: " targetLocations if the interpolation has ",
  116549. 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",
  116550. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  116551. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  116552. x20was_n: " was not declared with !default in the @used module.",
  116553. x20was_p: " was passed both by position and by name.",
  116554. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116555. x21globai: "!global isn't allowed for variables in other modules.",
  116556. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116557. x22x20can_: "\" can't be used as a parent in a compound selector.",
  116558. 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',
  116559. 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',
  116560. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  116561. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  116562. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  116563. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  116564. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  116565. x22packa: '"package:" URLs aren\'t supported on this platform.',
  116566. x24css_a: "$css and $module may not both be passed at once.",
  116567. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  116568. x24selec: "$selectors: At least one selector must be passed.",
  116569. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  116570. x27x20must: "' must be a path relative to the package root at '",
  116571. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  116572. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  116573. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  116574. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  116575. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  116576. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  116577. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  116578. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  116579. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  116580. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  116581. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  116582. x3d_____: "===== asynchronous gap ===========================\n",
  116583. 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.",
  116584. x40conte: "@content is only allowed within mixin declarations.",
  116585. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  116586. x40exten: "@extend may only be used within style rules.",
  116587. x40forwa: "@forward rules must be written before any other rules.",
  116588. x40funct: "@function if($condition, $if-true, $if-false) {",
  116589. x40use_r: "@use rules must be written before any other rules.",
  116590. A_list: "A list with more than one element must have an explicit separator.",
  116591. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  116592. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  116593. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  116594. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  116595. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  116596. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  116597. 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.",
  116598. At_rul: "At-rules may not be used within nested declarations.",
  116599. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  116600. Cannotfq: "Cannot extract a file path from a URI with a query component",
  116601. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  116602. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  116603. Could_: 'Could not find an option with short name "-',
  116604. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  116605. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  116606. Declarm: "Declarations may only be used within style rules.",
  116607. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  116608. Either: "Either options.data or options.file must be set.",
  116609. Entrie: "Entries may not be removed from MergedMapView.",
  116610. 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",
  116611. Evalua: "Evaluation handles @include and its content block together.",
  116612. Expect: "Expected variable, mixin, or function name",
  116613. Functi: "Functions may not be declared in control directives.",
  116614. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  116615. If_con: "If conditions is longer than one element, conjunction may not be null.",
  116616. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  116617. If_str: "If strategy is not null, step is required.",
  116618. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  116619. Indent: "Indenting at the beginning of the document is illegal.",
  116620. Interpn: "Interpolation isn't allowed in namespaces.",
  116621. Interpp: "Interpolation isn't allowed in plain CSS.",
  116622. Invali: 'Invalid return value for custom function "',
  116623. It_s_n: "It's not clear which file to import. Found:\n",
  116624. Keywor: "Keyword arguments can't be used with calculations.",
  116625. May_on: "May only contains Strings or Expressions.",
  116626. Media_: "Media rules may not be used within nested declarations.",
  116627. Mixinsb: "Mixins may not be declared in control directives.",
  116628. Mixinscf: "Mixins may not contain function declarations.",
  116629. Mixinscm: "Mixins may not contain mixin declarations.",
  116630. Modulel: "Module loop: this module is already being loaded.",
  116631. Modulen: "Module namespaces aren't allowed in plain CSS.",
  116632. Nested: "Nested declarations aren't allowed in plain CSS.",
  116633. New_en: "New entries may not be added to MergedMapView.",
  116634. No_Sasc: "No Sass callable is currently being evaluated.",
  116635. No_Sass: "No Sass stylesheet is currently being evaluated.",
  116636. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  116637. 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.",
  116638. Number: "Number to round and step arguments are required.",
  116639. Only_2: "Only 2 slash-separated elements allowed, but ",
  116640. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  116641. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  116642. Other_: "Other modules' members can't be defined with !global.",
  116643. Parent: "Parent selectors can't have suffixes in plain CSS.",
  116644. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  116645. 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(",
  116646. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  116647. Plain_: "Plain CSS functions don't support keyword arguments.",
  116648. Positi: "Positional arguments must come before keyword arguments.",
  116649. Privat: "Private members can't be accessed from outside their modules.",
  116650. RGB_pa: "RGB parameters may not be passed along with ",
  116651. Rest_a: "Rest arguments can't be used with calculations.",
  116652. Sassx20_ff: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS functions.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116653. Sassx20_fm: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116654. Sassx20_i: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  116655. Sassx20_m: "Sass @mixin names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116656. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  116657. Sassx27s: "Sass's behavior for declarations that appear after nested\nrules will be changing to match the behavior specified by CSS in an upcoming\nversion. To keep the existing behavior, move the declaration above the nested\nrule. To opt into the new behavior, wrap the declaration in `& {}`.\n\nMore info: https://sass-lang.com/d/mixed-decls",
  116658. Silent: "Silent comments aren't allowed in plain CSS.",
  116659. Style_k: "Style rules may not be used within keyframe blocks.",
  116660. Style_n: "Style rules may not be used within nested declarations.",
  116661. Suppor: "Supports rules may not be used within nested declarations.",
  116662. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  116663. The_No: "The Node package importer cannot be used without a filesystem.",
  116664. The_ca: "The canonicalize() method must return a URL.",
  116665. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  116666. The_fie: "The findFileUrl() method must return a URL.",
  116667. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  116668. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  116669. The_lo: "The load() function must return an object with contents and syntax fields.",
  116670. The_pa: "The parent selector isn't allowed in plain CSS.",
  116671. The_sa: "The same variable may only be configured once.",
  116672. The_ta: 'The target selector was not found.\nUse "@extend ',
  116673. There_: "There's already a module with namespace \"",
  116674. This_d: 'This declaration has no argument named "$',
  116675. This_e: "This expression can't be used in a calculation.",
  116676. This_f: "This function isn't allowed in plain CSS.",
  116677. This_ma: 'This module and the new module both define a variable named "$',
  116678. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  116679. This_o: "This operation can't be used in a calculation.",
  116680. This_s: "This selector doesn't have any properties and won't be rendered.",
  116681. This_v: "This variable was not declared with !default in the @used module.",
  116682. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  116683. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  116684. Unable: "Unable to determine which of multiple potential resolutions found for ",
  116685. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  116686. User_a: "User-authored deprecations should not be silenced.",
  116687. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116688. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116689. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  116690. Using_t: "Using the current working directory as an implicit load path is deprecated. Either add it as an explicit load path or importer, or load this stylesheet from a different URL.",
  116691. Variab_: "Variable keyword argument map must have string keys.\n",
  116692. Variabs: "Variable keyword arguments must be a map (was ",
  116693. You_ma: "You may not @extend selectors across media queries.",
  116694. You_pr: "You probably don't mean to use the color value ",
  116695. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  116696. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  116697. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  116698. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  116699. conten: "content-exists() may only be called within a mixin.",
  116700. fileEx: "fileExists() is only supported on Node.js",
  116701. leadin: "leadingCombinators and components may not both be empty.",
  116702. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  116703. math_r: "math.random() will no longer ignore $limit units (",
  116704. must_b: "must be a UniversalSelector or a TypeSelector",
  116705. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  116706. semico: "semicolons aren't allowed in the indented syntax.",
  116707. throug: "through() must return false for at least one parent of ",
  116708. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  116709. };
  116710. var type$ = (function rtii() {
  116711. var findType = A.findType;
  116712. return {
  116713. $env_1_1_String: findType("@<String>"),
  116714. ArgParser: findType("ArgParser"),
  116715. Argument: findType("Argument"),
  116716. ArgumentDeclaration: findType("ArgumentDeclaration"),
  116717. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  116718. Argument_2: findType("Argument0"),
  116719. AstNode: findType("AstNode"),
  116720. AstNode_2: findType("AstNode0"),
  116721. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  116722. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  116723. AsyncCallable: findType("AsyncCallable"),
  116724. AsyncCallable_2: findType("AsyncCallable0"),
  116725. AsyncCompiler: findType("AsyncCompiler"),
  116726. AsyncImporter: findType("AsyncImporter0"),
  116727. Box_SelectorList: findType("Box<SelectorList>"),
  116728. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  116729. BuiltInCallable: findType("BuiltInCallable"),
  116730. BuiltInCallable_2: findType("BuiltInCallable0"),
  116731. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  116732. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  116733. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  116734. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  116735. ByteBuffer: findType("ByteBuffer"),
  116736. ByteData: findType("ByteData"),
  116737. Callable: findType("Callable0"),
  116738. Callable_2: findType("Callable"),
  116739. ChangeType: findType("ChangeType"),
  116740. CodeUnits: findType("CodeUnits"),
  116741. Combinator: findType("Combinator"),
  116742. Combinator_2: findType("Combinator0"),
  116743. Comparable_dynamic: findType("Comparable<@>"),
  116744. Comparable_nullable_Object: findType("Comparable<Object?>"),
  116745. CompileResult: findType("CompileResult"),
  116746. CompileResult_2: findType("CompileResult0"),
  116747. ComplexSelector: findType("ComplexSelector"),
  116748. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  116749. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  116750. ComplexSelector_2: findType("ComplexSelector0"),
  116751. Configuration: findType("Configuration"),
  116752. Configuration_2: findType("Configuration0"),
  116753. ConfiguredValue: findType("ConfiguredValue"),
  116754. ConfiguredValue_2: findType("ConfiguredValue0"),
  116755. ConfiguredVariable: findType("ConfiguredVariable"),
  116756. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  116757. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  116758. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  116759. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  116760. CssComment: findType("CssComment"),
  116761. CssComment_2: findType("CssComment0"),
  116762. CssMediaQuery: findType("CssMediaQuery"),
  116763. CssMediaQuery_2: findType("CssMediaQuery0"),
  116764. CssParentNode: findType("CssParentNode"),
  116765. CssParentNode_2: findType("CssParentNode0"),
  116766. CssStylesheet: findType("CssStylesheet"),
  116767. CssStylesheet_2: findType("CssStylesheet0"),
  116768. CssValue_Combinator: findType("CssValue<Combinator>"),
  116769. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  116770. CssValue_List_String: findType("CssValue<List<String>>"),
  116771. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  116772. CssValue_String: findType("CssValue<String>"),
  116773. CssValue_String_2: findType("CssValue0<String>"),
  116774. CssValue_Value: findType("CssValue<Value>"),
  116775. CssValue_Value_2: findType("CssValue0<Value0>"),
  116776. DateTime: findType("DateTime"),
  116777. Deprecation: findType("Deprecation"),
  116778. Deprecation_2: findType("Deprecation1"),
  116779. Deprecation_3: findType("Deprecation0"),
  116780. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  116781. Error: findType("Error"),
  116782. EvaluationContext: findType("EvaluationContext"),
  116783. EvaluationContext_2: findType("EvaluationContext0"),
  116784. Exception: findType("Exception"),
  116785. Expression: findType("Expression"),
  116786. Expression_2: findType("Expression0"),
  116787. Extender: findType("Extender"),
  116788. Extender_2: findType("Extender0"),
  116789. Extension: findType("Extension"),
  116790. Extension_2: findType("Extension0"),
  116791. FileLocation: findType("FileLocation"),
  116792. FileSpan: findType("FileSpan"),
  116793. Float32List: findType("Float32List"),
  116794. Float64List: findType("Float64List"),
  116795. FormatException: findType("FormatException"),
  116796. Frame: findType("Frame"),
  116797. Function: findType("Function"),
  116798. FutureGroup_void: findType("FutureGroup<~>"),
  116799. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  116800. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  116801. FutureOr_nullable_Uri: findType("Uri?/"),
  116802. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  116803. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  116804. Future_Value: findType("Future<Value>"),
  116805. Future_Value_2: findType("Future<Value0>"),
  116806. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  116807. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  116808. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  116809. Future_nullable_Uri: findType("Future<Uri?>"),
  116810. Future_nullable_Value: findType("Future<Value?>"),
  116811. Future_nullable_Value_2: findType("Future<Value0?>"),
  116812. Future_void: findType("Future<~>"),
  116813. IfClause: findType("IfClause"),
  116814. IfClause_2: findType("IfClause0"),
  116815. ImmutableList: findType("ImmutableList0"),
  116816. ImmutableList_2: findType("ImmutableList"),
  116817. ImmutableMap: findType("ImmutableMap0"),
  116818. Import: findType("Import"),
  116819. Import_2: findType("Import0"),
  116820. Importer: findType("Importer0"),
  116821. ImporterResult: findType("ImporterResult"),
  116822. ImporterResult_2: findType("ImporterResult0"),
  116823. Importer_2: findType("Importer"),
  116824. Int16List: findType("Int16List"),
  116825. Int32List: findType("Int32List"),
  116826. Int8List: findType("Int8List"),
  116827. Interpolation: findType("Interpolation"),
  116828. InterpolationBuffer: findType("InterpolationBuffer"),
  116829. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  116830. Interpolation_2: findType("Interpolation0"),
  116831. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  116832. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  116833. Iterable_dynamic: findType("Iterable<@>"),
  116834. Iterable_nullable_Object: findType("Iterable<Object?>"),
  116835. JSArray_Argument: findType("JSArray<Argument>"),
  116836. JSArray_Argument_2: findType("JSArray<Argument0>"),
  116837. JSArray_AstNode: findType("JSArray<AstNode>"),
  116838. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  116839. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  116840. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  116841. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  116842. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  116843. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  116844. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  116845. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  116846. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  116847. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  116848. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  116849. JSArray_Callable: findType("JSArray<Callable0>"),
  116850. JSArray_Callable_2: findType("JSArray<Callable>"),
  116851. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  116852. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  116853. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  116854. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  116855. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  116856. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  116857. JSArray_CssComment: findType("JSArray<CssComment>"),
  116858. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  116859. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  116860. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  116861. JSArray_CssNode: findType("JSArray<CssNode>"),
  116862. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  116863. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  116864. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  116865. JSArray_Entry: findType("JSArray<Entry>"),
  116866. JSArray_Expression: findType("JSArray<Expression>"),
  116867. JSArray_Expression_2: findType("JSArray<Expression0>"),
  116868. JSArray_Extender: findType("JSArray<Extender>"),
  116869. JSArray_Extender_2: findType("JSArray<Extender0>"),
  116870. JSArray_Extension: findType("JSArray<Extension>"),
  116871. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  116872. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  116873. JSArray_Extension_2: findType("JSArray<Extension0>"),
  116874. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  116875. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  116876. JSArray_Frame: findType("JSArray<Frame>"),
  116877. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  116878. JSArray_IfClause: findType("JSArray<IfClause>"),
  116879. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  116880. JSArray_Import: findType("JSArray<Import>"),
  116881. JSArray_Import_2: findType("JSArray<Import0>"),
  116882. JSArray_Importer: findType("JSArray<Importer>"),
  116883. JSArray_Importer_2: findType("JSArray<Importer0>"),
  116884. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  116885. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  116886. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  116887. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  116888. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  116889. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  116890. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  116891. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  116892. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  116893. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  116894. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  116895. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  116896. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  116897. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  116898. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  116899. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  116900. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  116901. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  116902. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  116903. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  116904. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  116905. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  116906. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  116907. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  116908. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  116909. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  116910. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  116911. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  116912. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  116913. JSArray_Object: findType("JSArray<Object>"),
  116914. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  116915. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  116916. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<+(ArgumentDeclaration,Value(List<Value>))>"),
  116917. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<+(ArgumentDeclaration0,Value0(List<Value0>))>"),
  116918. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  116919. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  116920. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  116921. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  116922. JSArray_SassList: findType("JSArray<SassList>"),
  116923. JSArray_SassList_2: findType("JSArray<SassList0>"),
  116924. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  116925. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  116926. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  116927. JSArray_Statement: findType("JSArray<Statement>"),
  116928. JSArray_Statement_2: findType("JSArray<Statement0>"),
  116929. JSArray_String: findType("JSArray<String>"),
  116930. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  116931. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  116932. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  116933. JSArray_Trace: findType("JSArray<Trace>"),
  116934. JSArray_UseRule: findType("JSArray<UseRule>"),
  116935. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  116936. JSArray_Value: findType("JSArray<Value>"),
  116937. JSArray_Value_2: findType("JSArray<Value0>"),
  116938. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  116939. JSArray__Highlight: findType("JSArray<_Highlight>"),
  116940. JSArray__Line: findType("JSArray<_Line>"),
  116941. JSArray_dynamic: findType("JSArray<@>"),
  116942. JSArray_int: findType("JSArray<int>"),
  116943. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  116944. JSArray_nullable_String: findType("JSArray<String?>"),
  116945. JSClass: findType("JSClass0"),
  116946. JSFunction: findType("JSFunction0"),
  116947. JSImporter: findType("JSImporter"),
  116948. JSImporterResult: findType("JSImporterResult"),
  116949. JSNull: findType("JSNull"),
  116950. JSUrl: findType("JSUrl0"),
  116951. JavaScriptFunction: findType("JavaScriptFunction"),
  116952. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  116953. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  116954. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  116955. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  116956. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  116957. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  116958. JsSystemError: findType("JsSystemError"),
  116959. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  116960. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  116961. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  116962. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  116963. List_CssComment: findType("List<CssComment>"),
  116964. List_CssComment_2: findType("List<CssComment0>"),
  116965. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  116966. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  116967. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  116968. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  116969. List_Extension: findType("List<Extension>"),
  116970. List_ExtensionStore: findType("List<ExtensionStore>"),
  116971. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  116972. List_Extension_2: findType("List<Extension0>"),
  116973. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  116974. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  116975. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  116976. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  116977. List_Module_Callable: findType("List<Module0<Callable0>>"),
  116978. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  116979. List_String: findType("List<String>"),
  116980. List_Value: findType("List<Value>"),
  116981. List_Value_2: findType("List<Value0>"),
  116982. List_WatchEvent: findType("List<WatchEvent>"),
  116983. List_dynamic: findType("List<@>"),
  116984. List_int: findType("List<int>"),
  116985. List_nullable_Object: findType("List<Object?>"),
  116986. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  116987. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  116988. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  116989. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  116990. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  116991. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  116992. MapKeySet_String: findType("MapKeySet<String>"),
  116993. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  116994. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  116995. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  116996. Map_String_AstNode: findType("Map<String,AstNode>"),
  116997. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  116998. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  116999. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  117000. Map_String_Callable: findType("Map<String,Callable0>"),
  117001. Map_String_Callable_2: findType("Map<String,Callable>"),
  117002. Map_String_Value: findType("Map<String,Value>"),
  117003. Map_String_Value_2: findType("Map<String,Value0>"),
  117004. Map_String_dynamic: findType("Map<String,@>"),
  117005. Map_dynamic_dynamic: findType("Map<@,@>"),
  117006. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  117007. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  117008. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  117009. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  117010. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  117011. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  117012. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  117013. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  117014. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  117015. MixinRule: findType("MixinRule"),
  117016. MixinRule_2: findType("MixinRule0"),
  117017. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  117018. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  117019. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  117020. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  117021. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  117022. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  117023. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  117024. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  117025. ModifiableCssNode: findType("ModifiableCssNode"),
  117026. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  117027. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  117028. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  117029. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  117030. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  117031. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  117032. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  117033. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  117034. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  117035. Module_Callable: findType("Module0<Callable0>"),
  117036. Module_Callable_2: findType("Module1<Callable>"),
  117037. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  117038. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  117039. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  117040. NativeUint8List: findType("NativeUint8List"),
  117041. Never: findType("0&"),
  117042. NodeCompileResult: findType("NodeCompileResult"),
  117043. NodeImporterResult: findType("NodeImporterResult0"),
  117044. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  117045. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  117046. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  117047. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  117048. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  117049. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  117050. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  117051. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  117052. Null: findType("Null"),
  117053. Object: findType("Object"),
  117054. Option: findType("Option"),
  117055. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  117056. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  117057. PathMap_String: findType("PathMap<String>"),
  117058. PathMap_nullable_String: findType("PathMap<String?>"),
  117059. Promise: findType("Promise"),
  117060. PseudoSelector: findType("PseudoSelector"),
  117061. PseudoSelector_2: findType("PseudoSelector0"),
  117062. RangeError: findType("RangeError"),
  117063. Record: findType("Record"),
  117064. Record_0: findType("+()"),
  117065. Record_1_nullable_Object: findType("+(Object?)"),
  117066. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  117067. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  117068. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  117069. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  117070. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  117071. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  117072. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  117073. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  117074. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  117075. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  117076. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  117077. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  117078. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  117079. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  117080. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  117081. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  117082. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  117083. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  117084. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  117085. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  117086. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  117087. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  117088. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  117089. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  117090. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  117091. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  117092. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  117093. 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)"),
  117094. 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)"),
  117095. RegExpMatch: findType("RegExpMatch"),
  117096. RenderContextOptions: findType("RenderContextOptions0"),
  117097. RenderResult: findType("RenderResult"),
  117098. Result_String: findType("Result<String>"),
  117099. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  117100. Runes: findType("Runes"),
  117101. SassArgumentList: findType("SassArgumentList"),
  117102. SassArgumentList_2: findType("SassArgumentList0"),
  117103. SassBoolean: findType("SassBoolean"),
  117104. SassBoolean_2: findType("SassBoolean0"),
  117105. SassColor: findType("SassColor"),
  117106. SassColor_2: findType("SassColor0"),
  117107. SassFormatException: findType("SassFormatException"),
  117108. SassFormatException_2: findType("SassFormatException0"),
  117109. SassList: findType("SassList"),
  117110. SassList_2: findType("SassList0"),
  117111. SassMap: findType("SassMap"),
  117112. SassMap_2: findType("SassMap0"),
  117113. SassNumber: findType("SassNumber"),
  117114. SassNumber_2: findType("SassNumber0"),
  117115. SassRuntimeException: findType("SassRuntimeException"),
  117116. SassRuntimeException_2: findType("SassRuntimeException0"),
  117117. SassString: findType("SassString"),
  117118. SassString_2: findType("SassString0"),
  117119. SelectorList: findType("SelectorList"),
  117120. SelectorList_2: findType("SelectorList0"),
  117121. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  117122. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  117123. Set_Uri: findType("Set<Uri>"),
  117124. SimpleSelector: findType("SimpleSelector"),
  117125. SimpleSelector_2: findType("SimpleSelector0"),
  117126. SourceFile: findType("SourceFile"),
  117127. SourceLocation: findType("SourceLocation"),
  117128. SourceSpan: findType("SourceSpan"),
  117129. SourceSpanFormatException: findType("SourceSpanFormatException"),
  117130. SourceSpanWithContext: findType("SourceSpanWithContext"),
  117131. StackTrace: findType("StackTrace"),
  117132. Statement: findType("Statement"),
  117133. Statement_2: findType("Statement0"),
  117134. StaticImport: findType("StaticImport"),
  117135. StaticImport_2: findType("StaticImport0"),
  117136. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  117137. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  117138. StreamQueue_String: findType("StreamQueue<String>"),
  117139. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  117140. String: findType("String"),
  117141. StringExpression: findType("StringExpression"),
  117142. StylesheetNode: findType("StylesheetNode"),
  117143. Timer: findType("Timer"),
  117144. Trace: findType("Trace"),
  117145. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  117146. TypeError: findType("TypeError"),
  117147. TypeSelector: findType("TypeSelector"),
  117148. TypeSelector_2: findType("TypeSelector0"),
  117149. Uint16List: findType("Uint16List"),
  117150. Uint32List: findType("Uint32List"),
  117151. Uint8ClampedList: findType("Uint8ClampedList"),
  117152. Uint8List: findType("Uint8List"),
  117153. UnionSet_Uri: findType("UnionSet<Uri>"),
  117154. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  117155. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  117156. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  117157. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  117158. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  117159. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  117160. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  117161. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  117162. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  117163. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  117164. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  117165. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  117166. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  117167. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  117168. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  117169. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  117170. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  117171. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  117172. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  117173. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  117174. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  117175. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  117176. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  117177. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  117178. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  117179. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  117180. Uri: findType("Uri"),
  117181. UseRule: findType("UseRule"),
  117182. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  117183. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  117184. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  117185. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  117186. Value: findType("Value"),
  117187. Value_2: findType("Value0"),
  117188. Value_Function_List_Value: findType("Value(List<Value>)"),
  117189. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  117190. VariableDeclaration: findType("VariableDeclaration"),
  117191. VariableDeclaration_2: findType("VariableDeclaration0"),
  117192. VersionRange: findType("VersionRange"),
  117193. WatchEvent: findType("WatchEvent"),
  117194. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  117195. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  117196. WhereIterable_String: findType("WhereIterable<String>"),
  117197. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  117198. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  117199. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  117200. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  117201. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  117202. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  117203. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  117204. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  117205. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  117206. _EventRequest_dynamic: findType("_EventRequest<@>"),
  117207. _Future_List_void: findType("_Future<List<~>>"),
  117208. _Future_Object: findType("_Future<Object>"),
  117209. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  117210. _Future_String: findType("_Future<String>"),
  117211. _Future_Value: findType("_Future<Value>"),
  117212. _Future_Value_2: findType("_Future<Value0>"),
  117213. _Future_bool: findType("_Future<bool>"),
  117214. _Future_dynamic: findType("_Future<@>"),
  117215. _Future_int: findType("_Future<int>"),
  117216. _Future_nullable_Object: findType("_Future<Object?>"),
  117217. _Future_void: findType("_Future<~>"),
  117218. _Highlight: findType("_Highlight"),
  117219. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  117220. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  117221. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  117222. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  117223. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  117224. _MapEntry: findType("_MapEntry"),
  117225. _NodeException: findType("_NodeException"),
  117226. _PlatformUri: findType("_PlatformUri"),
  117227. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  117228. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  117229. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  117230. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  117231. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  117232. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  117233. bool: findType("bool"),
  117234. double: findType("double"),
  117235. dynamic: findType("@"),
  117236. dynamic_Function: findType("@()"),
  117237. dynamic_Function_Object: findType("@(Object)"),
  117238. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  117239. int: findType("int"),
  117240. legacy_Never: findType("0&*"),
  117241. legacy_Object: findType("Object*"),
  117242. nullable_AstNode: findType("AstNode?"),
  117243. nullable_AstNode_2: findType("AstNode0?"),
  117244. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  117245. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  117246. nullable_CssValue_String: findType("CssValue<String>?"),
  117247. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  117248. nullable_Future_Null: findType("Future<Null>?"),
  117249. nullable_Future_void: findType("Future<~>?"),
  117250. nullable_ImporterResult: findType("ImporterResult?"),
  117251. nullable_ImporterResult_2: findType("ImporterResult0?"),
  117252. nullable_Object: findType("Object?"),
  117253. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  117254. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  117255. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  117256. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  117257. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  117258. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  117259. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  117260. nullable_SourceFile: findType("SourceFile?"),
  117261. nullable_SourceSpan: findType("SourceSpan?"),
  117262. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  117263. nullable_String: findType("String?"),
  117264. nullable_Stylesheet: findType("Stylesheet?"),
  117265. nullable_StylesheetNode: findType("StylesheetNode?"),
  117266. nullable_Stylesheet_2: findType("Stylesheet0?"),
  117267. nullable_Uri: findType("Uri?"),
  117268. nullable_Value: findType("Value?"),
  117269. nullable_Value_2: findType("Value0?"),
  117270. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  117271. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  117272. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  117273. nullable__Highlight: findType("_Highlight?"),
  117274. num: findType("num"),
  117275. void: findType("~"),
  117276. void_Function_Object: findType("~(Object)"),
  117277. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  117278. };
  117279. })();
  117280. (function constants() {
  117281. var makeConstList = hunkHelpers.makeConstList;
  117282. B.Interceptor_methods = J.Interceptor.prototype;
  117283. B.JSArray_methods = J.JSArray.prototype;
  117284. B.JSInt_methods = J.JSInt.prototype;
  117285. B.JSNull_methods = J.JSNull.prototype;
  117286. B.JSNumber_methods = J.JSNumber.prototype;
  117287. B.JSString_methods = J.JSString.prototype;
  117288. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  117289. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  117290. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  117291. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  117292. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  117293. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  117294. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  117295. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  117296. B.AtRootQuery_n2q = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  117297. B.AtRootQuery_n2q0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  117298. B.AttributeOperator_4QF = new A.AttributeOperator("=", "equal");
  117299. B.AttributeOperator_4QF0 = new A.AttributeOperator0("=", "equal");
  117300. B.AttributeOperator_61T = new A.AttributeOperator("*=", "substring");
  117301. B.AttributeOperator_61T0 = new A.AttributeOperator0("*=", "substring");
  117302. B.AttributeOperator_cMb = new A.AttributeOperator("^=", "prefix");
  117303. B.AttributeOperator_cMb0 = new A.AttributeOperator0("^=", "prefix");
  117304. B.AttributeOperator_jqB = new A.AttributeOperator("|=", "dash");
  117305. B.AttributeOperator_jqB0 = new A.AttributeOperator0("|=", "dash");
  117306. B.AttributeOperator_qhE = new A.AttributeOperator("$=", "suffix");
  117307. B.AttributeOperator_qhE0 = new A.AttributeOperator0("$=", "suffix");
  117308. B.AttributeOperator_yT8 = new A.AttributeOperator("~=", "include");
  117309. B.AttributeOperator_yT80 = new A.AttributeOperator0("~=", "include");
  117310. B.BinaryOperator_2No = new A.BinaryOperator("times", "*", 6, true, "times");
  117311. B.BinaryOperator_2No0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  117312. B.BinaryOperator_KNx = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  117313. B.BinaryOperator_KNx0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  117314. B.BinaryOperator_SPQ = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  117315. B.BinaryOperator_SPQ0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  117316. B.BinaryOperator_SjO = new A.BinaryOperator("minus", "-", 5, false, "minus");
  117317. B.BinaryOperator_SjO0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  117318. B.BinaryOperator_U77 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  117319. B.BinaryOperator_U770 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  117320. B.BinaryOperator_bEa = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  117321. B.BinaryOperator_bEa0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  117322. B.BinaryOperator_eDt = new A.BinaryOperator("and", "and", 2, true, "and");
  117323. B.BinaryOperator_eDt0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  117324. B.BinaryOperator_g8k = new A.BinaryOperator("equals", "==", 3, false, "equals");
  117325. B.BinaryOperator_g8k0 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  117326. B.BinaryOperator_icU = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  117327. B.BinaryOperator_icU0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  117328. B.BinaryOperator_miq = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  117329. B.BinaryOperator_miq0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  117330. B.BinaryOperator_oEm = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  117331. B.BinaryOperator_oEm0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  117332. B.BinaryOperator_qNM = new A.BinaryOperator("or", "or", 1, true, "or");
  117333. B.BinaryOperator_qNM0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  117334. B.BinaryOperator_u15 = new A.BinaryOperator("plus", "+", 5, true, "plus");
  117335. B.BinaryOperator_u150 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  117336. B.BinaryOperator_wdM = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  117337. B.BinaryOperator_wdM0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  117338. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  117339. B.C_AsciiCodec = new A.AsciiCodec();
  117340. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  117341. B.C_Base64Encoder = new A.Base64Encoder();
  117342. B.C_Base64Codec = new A.Base64Codec();
  117343. B.C_DefaultEquality = new A.DefaultEquality();
  117344. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  117345. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  117346. B.C_EmptyIterator = new A.EmptyIterator();
  117347. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  117348. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  117349. B.C_IterableEquality = new A.IterableEquality();
  117350. B.C_JS_CONST = function getTagFallback(o) {
  117351. var s = Object.prototype.toString.call(o);
  117352. return s.substring(8, s.length - 1);
  117353. };
  117354. B.C_JS_CONST0 = function() {
  117355. var toStringFunction = Object.prototype.toString;
  117356. function getTag(o) {
  117357. var s = toStringFunction.call(o);
  117358. return s.substring(8, s.length - 1);
  117359. }
  117360. function getUnknownTag(object, tag) {
  117361. if (/^HTML[A-Z].*Element$/.test(tag)) {
  117362. var name = toStringFunction.call(object);
  117363. if (name == "[object Object]") return null;
  117364. return "HTMLElement";
  117365. }
  117366. }
  117367. function getUnknownTagGenericBrowser(object, tag) {
  117368. if (object instanceof HTMLElement) return "HTMLElement";
  117369. return getUnknownTag(object, tag);
  117370. }
  117371. function prototypeForTag(tag) {
  117372. if (typeof window == "undefined") return null;
  117373. if (typeof window[tag] == "undefined") return null;
  117374. var constructor = window[tag];
  117375. if (typeof constructor != "function") return null;
  117376. return constructor.prototype;
  117377. }
  117378. function discriminator(tag) { return null; }
  117379. var isBrowser = typeof HTMLElement == "function";
  117380. return {
  117381. getTag: getTag,
  117382. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  117383. prototypeForTag: prototypeForTag,
  117384. discriminator: discriminator };
  117385. };
  117386. B.C_JS_CONST6 = function(getTagFallback) {
  117387. return function(hooks) {
  117388. if (typeof navigator != "object") return hooks;
  117389. var userAgent = navigator.userAgent;
  117390. if (typeof userAgent != "string") return hooks;
  117391. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  117392. if (userAgent.indexOf("Chrome") >= 0) {
  117393. function confirm(p) {
  117394. return typeof window == "object" && window[p] && window[p].name == p;
  117395. }
  117396. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  117397. }
  117398. hooks.getTag = getTagFallback;
  117399. };
  117400. };
  117401. B.C_JS_CONST1 = function(hooks) {
  117402. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  117403. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  117404. };
  117405. B.C_JS_CONST5 = function(hooks) {
  117406. if (typeof navigator != "object") return hooks;
  117407. var userAgent = navigator.userAgent;
  117408. if (typeof userAgent != "string") return hooks;
  117409. if (userAgent.indexOf("Firefox") == -1) return hooks;
  117410. var getTag = hooks.getTag;
  117411. var quickMap = {
  117412. "BeforeUnloadEvent": "Event",
  117413. "DataTransfer": "Clipboard",
  117414. "GeoGeolocation": "Geolocation",
  117415. "Location": "!Location",
  117416. "WorkerMessageEvent": "MessageEvent",
  117417. "XMLDocument": "!Document"};
  117418. function getTagFirefox(o) {
  117419. var tag = getTag(o);
  117420. return quickMap[tag] || tag;
  117421. }
  117422. hooks.getTag = getTagFirefox;
  117423. };
  117424. B.C_JS_CONST4 = function(hooks) {
  117425. if (typeof navigator != "object") return hooks;
  117426. var userAgent = navigator.userAgent;
  117427. if (typeof userAgent != "string") return hooks;
  117428. if (userAgent.indexOf("Trident/") == -1) return hooks;
  117429. var getTag = hooks.getTag;
  117430. var quickMap = {
  117431. "BeforeUnloadEvent": "Event",
  117432. "DataTransfer": "Clipboard",
  117433. "HTMLDDElement": "HTMLElement",
  117434. "HTMLDTElement": "HTMLElement",
  117435. "HTMLPhraseElement": "HTMLElement",
  117436. "Position": "Geoposition"
  117437. };
  117438. function getTagIE(o) {
  117439. var tag = getTag(o);
  117440. var newTag = quickMap[tag];
  117441. if (newTag) return newTag;
  117442. if (tag == "Object") {
  117443. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  117444. }
  117445. return tag;
  117446. }
  117447. function prototypeForTagIE(tag) {
  117448. var constructor = window[tag];
  117449. if (constructor == null) return null;
  117450. return constructor.prototype;
  117451. }
  117452. hooks.getTag = getTagIE;
  117453. hooks.prototypeForTag = prototypeForTagIE;
  117454. };
  117455. B.C_JS_CONST2 = function(hooks) {
  117456. var getTag = hooks.getTag;
  117457. var prototypeForTag = hooks.prototypeForTag;
  117458. function getTagFixed(o) {
  117459. var tag = getTag(o);
  117460. if (tag == "Document") {
  117461. if (!!o.xmlVersion) return "!Document";
  117462. return "!HTMLDocument";
  117463. }
  117464. return tag;
  117465. }
  117466. function prototypeForTagFixed(tag) {
  117467. if (tag == "Document") return null;
  117468. return prototypeForTag(tag);
  117469. }
  117470. hooks.getTag = getTagFixed;
  117471. hooks.prototypeForTag = prototypeForTagFixed;
  117472. };
  117473. B.C_JS_CONST3 = function(hooks) { return hooks; }
  117474. ;
  117475. B.C_JsonCodec = new A.JsonCodec();
  117476. B.C_ListEquality0 = new A.ListEquality();
  117477. B.C_ListEquality = new A.ListEquality();
  117478. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  117479. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  117480. B.C_SentinelValue = new A.SentinelValue();
  117481. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  117482. B.C_Utf8Codec = new A.Utf8Codec();
  117483. B.C_Utf8Encoder = new A.Utf8Encoder();
  117484. B.C__DelayedDone = new A._DelayedDone();
  117485. B.C__HasContentVisitor = new A._HasContentVisitor();
  117486. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  117487. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  117488. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  117489. B.C__JSRandom = new A._JSRandom();
  117490. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  117491. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  117492. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  117493. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  117494. B.C__Required = new A._Required();
  117495. B.C__RootZone = new A._RootZone();
  117496. B.C__SassNull = new A._SassNull();
  117497. B.C__SassNull0 = new A._SassNull0();
  117498. B.CalculationOperator_171 = new A.CalculationOperator("times", "*", 2, "times");
  117499. B.CalculationOperator_1710 = new A.CalculationOperator0("times", "*", 2, "times");
  117500. B.CalculationOperator_CxF = new A.CalculationOperator("minus", "-", 1, "minus");
  117501. B.CalculationOperator_CxF0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  117502. B.CalculationOperator_Qf1 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  117503. B.CalculationOperator_Qf10 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  117504. B.CalculationOperator_g2q = new A.CalculationOperator("plus", "+", 1, "plus");
  117505. B.CalculationOperator_g2q0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  117506. B.ChangeType_add = new A.ChangeType("add");
  117507. B.ChangeType_modify = new A.ChangeType("modify");
  117508. B.ChangeType_remove = new A.ChangeType("remove");
  117509. B.Combinator_8I8 = new A.Combinator(">", "child");
  117510. B.Combinator_8I80 = new A.Combinator0(">", "child");
  117511. B.Combinator_gRV = new A.Combinator("+", "nextSibling");
  117512. B.Combinator_gRV0 = new A.Combinator0("+", "nextSibling");
  117513. B.Combinator_y18 = new A.Combinator("~", "followingSibling");
  117514. B.Combinator_y180 = new A.Combinator0("~", "followingSibling");
  117515. B.Object_empty = {};
  117516. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  117517. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty17, null);
  117518. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  117519. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty18, null);
  117520. B.Deprecation_2Vk = new A.Deprecation("strict-unary", "1.55.0", false, "strictUnary");
  117521. B.Deprecation_2jN = new A.Deprecation("function-units", "1.56.0", false, "functionUnits");
  117522. B.Deprecation_2nU = new A.Deprecation("new-global", "1.17.2", false, "newGlobal");
  117523. B.Deprecation_5pG = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  117524. B.Deprecation_Agq = new A.Deprecation0("calc-interp", null, null, false, "calcInterp");
  117525. B.Deprecation_B4v = new A.Deprecation("fs-importer-cwd", "1.73.0", false, "fsImporterCwd");
  117526. B.Deprecation_E6M = new A.Deprecation("feature-exists", "1.78.0", false, "featureExists");
  117527. B.Deprecation_E8a = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  117528. B.Deprecation_EJz = new A.Deprecation("elseif", "1.3.2", false, "elseif");
  117529. B.Deprecation_EfO = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  117530. B.Deprecation_FGJ = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", false, "mixedDecls");
  117531. B.Deprecation_GFc = new A.Deprecation("abs-percent", "1.65.0", false, "absPercent");
  117532. B.Deprecation_HJ0 = new A.Deprecation("css-function-mixin", "1.76.0", false, "cssFunctionMixin");
  117533. B.Deprecation_IMm = new A.Deprecation("relative-canonical", "1.14.2", false, "relativeCanonical");
  117534. B.Deprecation_Iit = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  117535. B.Deprecation_JeE = new A.Deprecation("user-authored", null, false, "userAuthored");
  117536. B.Deprecation_LBt = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", false, "featureExists");
  117537. B.Deprecation_MMc = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  117538. B.Deprecation_Ssf = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", false, "relativeCanonical");
  117539. B.Deprecation_W6Z = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  117540. B.Deprecation_gf0 = new A.Deprecation("mixed-decls", "1.77.7", false, "mixedDecls");
  117541. B.Deprecation_gkc = new A.Deprecation("call-string", "0.0.0", false, "callString");
  117542. B.Deprecation_iDZ = new A.Deprecation("color-module-compat", "1.23.0", false, "colorModuleCompat");
  117543. B.Deprecation_iXE = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVarFlags");
  117544. B.Deprecation_ido = new A.Deprecation("bogus-combinators", "1.54.0", false, "bogusCombinators");
  117545. B.Deprecation_import_null_true_import = new A.Deprecation("import", null, true, "import");
  117546. B.Deprecation_jYb = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", false, "absPercent");
  117547. B.Deprecation_kmo = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", false, "fsImporterCwd");
  117548. B.Deprecation_oCX = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  117549. B.Deprecation_oJv = new A.Deprecation("slash-div", "1.33.0", false, "slashDiv");
  117550. B.Deprecation_omH = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", false, "nullAlpha");
  117551. B.Deprecation_oty = new A.Deprecation0("user-authored", null, null, false, "userAuthored");
  117552. B.Deprecation_qBS = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", false, "cssFunctionMixin");
  117553. B.Deprecation_qd9 = new A.Deprecation0("import", null, "@import rules.", true, "import");
  117554. B.Deprecation_uNF = new A.Deprecation("moz-document", "1.7.2", false, "mozDocument");
  117555. B.Deprecation_woc = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  117556. B.Deprecation_xw8 = new A.Deprecation0("elseif", "1.3.2", "@elseif.", false, "elseif");
  117557. B.Deprecation_zrt = new A.Deprecation("duplicate-var-flags", "1.62.0", false, "duplicateVarFlags");
  117558. B.Duration_0 = new A.Duration(0);
  117559. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  117560. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  117561. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  117562. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  117563. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  117564. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  117565. B.JsonDecoder_null = new A.JsonDecoder(null);
  117566. B.JsonEncoder_null = new A.JsonEncoder(null);
  117567. B.LineFeed_75j = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  117568. B.LineFeed_89t = new A.LineFeed0("cr", "\r", "cr");
  117569. B.LineFeed_A4L = new A.LineFeed0("crlf", "\r\n", "crlf");
  117570. B.LineFeed_LvD = new A.LineFeed0("lf", "\n", "lf");
  117571. B.LineFeed_lf = new A.LineFeed("lf");
  117572. B.ListSeparator_ECn = new A.ListSeparator("comma", ",", "comma");
  117573. B.ListSeparator_ECn0 = new A.ListSeparator0("comma", ",", "comma");
  117574. B.ListSeparator_cQA = new A.ListSeparator("slash", "/", "slash");
  117575. B.ListSeparator_cQA0 = new A.ListSeparator0("slash", "/", "slash");
  117576. B.ListSeparator_nbm = new A.ListSeparator("space", " ", "space");
  117577. B.ListSeparator_nbm0 = new A.ListSeparator0("space", " ", "space");
  117578. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  117579. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  117580. B.List_2jN = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117581. B.List_42A = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117582. B.List_4AN = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117583. B.Object_79D = {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};
  117584. B.Set_ot1A = new A.ConstantStringSet(B.Object_79D, 49, type$.ConstantStringSet_String);
  117585. B.Object_Yf3 = {deg: 0, grad: 1, rad: 2, turn: 3};
  117586. B.Set_YZQG9 = new A.ConstantStringSet(B.Object_Yf3, 4, type$.ConstantStringSet_String);
  117587. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  117588. B.Set_wEo81 = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  117589. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  117590. B.Set_y00Wb = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  117591. B.Object_3CF = {dpi: 0, dpcm: 1, dppx: 2};
  117592. B.Set_Db0y4 = new A.ConstantStringSet(B.Object_3CF, 3, type$.ConstantStringSet_String);
  117593. B.List_Eeh = A._setArrayType(makeConstList([B.Set_ot1A, B.Set_YZQG9, B.Set_wEo81, B.Set_y00Wb, B.Set_Db0y4]), A.findType("JSArray<Set<String>>"));
  117594. B.List_GVy = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  117595. B.Deprecation_gQW = new A.Deprecation("null-alpha", "1.62.3", false, "nullAlpha");
  117596. B.Deprecation_ErI = new A.Deprecation("calc-interp", null, false, "calcInterp");
  117597. B.List_KYb = A._setArrayType(makeConstList([B.Deprecation_gkc, B.Deprecation_EJz, B.Deprecation_uNF, B.Deprecation_IMm, B.Deprecation_2nU, B.Deprecation_iDZ, B.Deprecation_oJv, B.Deprecation_ido, B.Deprecation_2Vk, B.Deprecation_2jN, B.Deprecation_zrt, B.Deprecation_gQW, B.Deprecation_GFc, B.Deprecation_B4v, B.Deprecation_HJ0, B.Deprecation_gf0, B.Deprecation_E6M, B.Deprecation_import_null_true_import, B.Deprecation_JeE, B.Deprecation_ErI]), A.findType("JSArray<Deprecation>"));
  117598. B.List_M2I0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117599. B.List_M2I = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117600. B.List_OPz = A._setArrayType(makeConstList([B.Deprecation_MMc, B.Deprecation_xw8, B.Deprecation_Iit, B.Deprecation_Ssf, B.Deprecation_W6Z, B.Deprecation_EfO, B.Deprecation_E8a, B.Deprecation_5pG, B.Deprecation_woc, B.Deprecation_oCX, B.Deprecation_iXE, B.Deprecation_omH, B.Deprecation_jYb, B.Deprecation_kmo, B.Deprecation_qBS, B.Deprecation_FGJ, B.Deprecation_LBt, B.Deprecation_qd9, B.Deprecation_oty, B.Deprecation_Agq]), A.findType("JSArray<Deprecation0>"));
  117601. B.List_VOY = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  117602. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  117603. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  117604. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  117605. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  117606. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  117607. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  117608. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  117609. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  117610. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  117611. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  117612. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  117613. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  117614. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  117615. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  117616. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  117617. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  117618. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  117619. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  117620. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  117621. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  117622. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  117623. B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Object);
  117624. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  117625. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  117626. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  117627. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  117628. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  117629. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  117630. B.List_kUZ = A._setArrayType(makeConstList([B.CalculationOperator_g2q0, B.CalculationOperator_CxF0, B.CalculationOperator_1710, B.CalculationOperator_Qf10]), A.findType("JSArray<CalculationOperator0>"));
  117631. B.List_oyU = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  117632. B.List_piR = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117633. B.Object_Jgz = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  117634. B.List_Mul = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  117635. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  117636. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  117637. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  117638. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  117639. B.Map_397RH = new A.ConstantStringMap(B.Object_Jgz, [B.List_Mul, 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>>"));
  117640. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  117641. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  117642. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  117643. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  117644. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  117645. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  117646. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  117647. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  117648. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  117649. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  117650. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  117651. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  117652. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  117653. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  117654. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  117655. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  117656. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  117657. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  117658. B.Object_AiQ = {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};
  117659. B.Object_Uy1 = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  117660. B.Map_MuACk = new A.ConstantStringMap(B.Object_Uy1, [1, 0.39370078740157477, 0.16666666666666666, 0.03937007874015748, 0.00984251968503937, 0.013888888888888888, 0.010416666666666666], type$.ConstantStringMap_String_double);
  117661. B.Map_MuHeh = new A.ConstantStringMap(B.Object_Uy1, [2.54, 1, 0.42333333333333334, 0.1, 0.025, 0.035277777777777776, 0.026458333333333334], type$.ConstantStringMap_String_double);
  117662. B.Map_Mudgs = new A.ConstantStringMap(B.Object_Uy1, [6, 2.3622047244094486, 1, 0.2362204724409449, 0.05905511811023623, 0.08333333333333333, 0.0625], type$.ConstantStringMap_String_double);
  117663. B.Map_Mu8oi = new A.ConstantStringMap(B.Object_Uy1, [25.4, 10, 4.233333333333333, 1, 0.25, 0.35277777777777775, 0.26458333333333334], type$.ConstantStringMap_String_double);
  117664. B.Map_MusBb = new A.ConstantStringMap(B.Object_Uy1, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  117665. B.Map_MuX5a = new A.ConstantStringMap(B.Object_Uy1, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  117666. B.Map_MuVWp = new A.ConstantStringMap(B.Object_Uy1, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  117667. B.Map_P98ha = new A.ConstantStringMap(B.Object_Yf3, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  117668. B.Map_P9IYz = new A.ConstantStringMap(B.Object_Yf3, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  117669. B.Map_P9t42 = new A.ConstantStringMap(B.Object_Yf3, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  117670. B.Map_P9ZUB = new A.ConstantStringMap(B.Object_Yf3, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  117671. B.Map_kUCK0 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  117672. B.Map_kUfVB = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  117673. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  117674. B.Map_WfkC8 = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  117675. B.Map_Wfs7p = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  117676. B.Map_dgy9B = new A.ConstantStringMap(B.Object_3CF, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  117677. B.Map_dgLkt = new A.ConstantStringMap(B.Object_3CF, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  117678. B.Map_dgw3K = new A.ConstantStringMap(B.Object_3CF, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  117679. B.Map_gQqJO = new A.ConstantStringMap(B.Object_AiQ, [B.Map_MuACk, B.Map_MuHeh, B.Map_Mudgs, B.Map_Mu8oi, B.Map_MusBb, B.Map_MuX5a, B.Map_MuVWp, B.Map_P98ha, B.Map_P9IYz, B.Map_P9t42, B.Map_P9ZUB, B.Map_kUCK0, B.Map_kUfVB, B.Map_WfkC8, B.Map_Wfs7p, B.Map_dgy9B, B.Map_dgLkt, B.Map_dgw3K], A.findType("ConstantStringMap<String,Map<String,double>>"));
  117680. B.OptionType_I6i = new A.OptionType("OptionType.flag");
  117681. B.OptionType_tew = new A.OptionType("OptionType.single");
  117682. B.OptionType_yPm = new A.OptionType("OptionType.multiple");
  117683. B.OutputStyle_0 = new A.OutputStyle("expanded");
  117684. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  117685. B.OutputStyle_1 = new A.OutputStyle("compressed");
  117686. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  117687. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  117688. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty19);
  117689. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  117690. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty20);
  117691. B.SassBoolean_false = new A.SassBoolean(false);
  117692. B.SassBoolean_false0 = new A.SassBoolean0(false);
  117693. B.SassBoolean_true = new A.SassBoolean(true);
  117694. B.SassBoolean_true0 = new A.SassBoolean0(true);
  117695. B.SassList_bdS = new A.SassList(B.List_empty8, B.ListSeparator_ECn, false);
  117696. B.SassList_bdS0 = new A.SassList(B.List_empty8, B.ListSeparator_ECn, true);
  117697. B.SassList_bdS1 = new A.SassList0(B.List_empty19, B.ListSeparator_ECn0, false);
  117698. B.SassList_bdS2 = new A.SassList0(B.List_empty19, B.ListSeparator_ECn0, true);
  117699. B.SassList_k8F = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  117700. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  117701. B.SassMap_Map_empty = new A.SassMap(B.Map_empty21);
  117702. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  117703. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty22);
  117704. B.Object_oyn = {".scss": 0, ".sass": 1, ".css": 2};
  117705. B.Set_0 = new A.ConstantStringSet(B.Object_oyn, 3, type$.ConstantStringSet_String);
  117706. B.Object_6Gw = {sass: 0, style: 1, default: 2};
  117707. B.Set_TnQrk = new A.ConstantStringSet(B.Object_6Gw, 3, type$.ConstantStringSet_String);
  117708. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  117709. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  117710. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  117711. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  117712. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  117713. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  117714. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  117715. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  117716. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  117717. B.Object_q8Y = {is: 0, matches: 1, where: 2};
  117718. B.Set_mlzm2 = new A.ConstantStringSet(B.Object_q8Y, 3, type$.ConstantStringSet_String);
  117719. B.Set_mqKz = new A.GeneralConstantSet([B.BinaryOperator_2No, B.BinaryOperator_U77, B.BinaryOperator_u15, B.BinaryOperator_SjO], A.findType("GeneralConstantSet<BinaryOperator>"));
  117720. B.Set_mqKz0 = new A.GeneralConstantSet([B.BinaryOperator_2No0, B.BinaryOperator_U770, B.BinaryOperator_u150, B.BinaryOperator_SjO0], A.findType("GeneralConstantSet<BinaryOperator0>"));
  117721. B.Object_GUq = {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};
  117722. B.Set_yHF81 = new A.ConstantStringSet(B.Object_GUq, 17, type$.ConstantStringSet_String);
  117723. B.StderrLogger_false = new A.StderrLogger(false);
  117724. B.StderrLogger_false0 = new A.StderrLogger0(false);
  117725. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  117726. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  117727. B.Symbol__extensions = new A.Symbol("_extensions");
  117728. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  117729. B.Symbol_call = new A.Symbol("call");
  117730. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  117731. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  117732. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  117733. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  117734. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  117735. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  117736. B.Type_ByteBuffer_EOZ = A.typeLiteral("ByteBuffer");
  117737. B.Type_ByteData_mF8 = A.typeLiteral("ByteData");
  117738. B.Type_Float32List_Ymk = A.typeLiteral("Float32List");
  117739. B.Type_Float64List_Ymk = A.typeLiteral("Float64List");
  117740. B.Type_Int16List_cot = A.typeLiteral("Int16List");
  117741. B.Type_Int32List_m1p = A.typeLiteral("Int32List");
  117742. B.Type_Int8List_woc = A.typeLiteral("Int8List");
  117743. B.Type_Object_QJv = A.typeLiteral("Object");
  117744. B.Type_Uint16List_2mh = A.typeLiteral("Uint16List");
  117745. B.Type_Uint32List_2mh = A.typeLiteral("Uint32List");
  117746. B.Type_Uint8ClampedList_9Bb = A.typeLiteral("Uint8ClampedList");
  117747. B.Type_Uint8List_CSc = A.typeLiteral("Uint8List");
  117748. B.UnaryOperator_AiQ = new A.UnaryOperator("minus", "-", "minus");
  117749. B.UnaryOperator_AiQ0 = new A.UnaryOperator0("minus", "-", "minus");
  117750. B.UnaryOperator_SJr = new A.UnaryOperator("divide", "/", "divide");
  117751. B.UnaryOperator_SJr0 = new A.UnaryOperator0("divide", "/", "divide");
  117752. B.UnaryOperator_cLp = new A.UnaryOperator("plus", "+", "plus");
  117753. B.UnaryOperator_cLp0 = new A.UnaryOperator0("plus", "+", "plus");
  117754. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  117755. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  117756. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  117757. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  117758. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  117759. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  117760. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  117761. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  117762. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  117763. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  117764. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  117765. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  117766. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  117767. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  117768. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  117769. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  117770. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  117771. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  117772. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  117773. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  117774. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  117775. B._PathDirection_3KU = new A._PathDirection("above root");
  117776. B._PathDirection_8OV = new A._PathDirection("at root");
  117777. B._PathDirection_e7w = new A._PathDirection("reaches root");
  117778. B._PathDirection_yLX = new A._PathDirection("below root");
  117779. B._PathRelation_different = new A._PathRelation("different");
  117780. B._PathRelation_equal = new A._PathRelation("equal");
  117781. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  117782. B._PathRelation_within = new A._PathRelation("within");
  117783. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  117784. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  117785. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  117786. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  117787. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  117788. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  117789. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  117790. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  117791. B._StringStackTrace_uwd = new A._StringStackTrace("");
  117792. B._ZoneFunction_NIe = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  117793. B._ZoneFunction_QOa = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  117794. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  117795. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  117796. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  117797. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  117798. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  117799. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  117800. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  117801. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  117802. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  117803. B._ZoneFunction_kWM = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  117804. B._ZoneFunction_qxw = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  117805. B._ZoneSpecification_48t = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  117806. })();
  117807. (function staticFields() {
  117808. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  117809. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  117810. $.printToZone = null;
  117811. $.Primitives__identityHashCodeProperty = null;
  117812. $.BoundClosure__receiverFieldNameCache = null;
  117813. $.BoundClosure__interceptorFieldNameCache = null;
  117814. $.getTagFunction = null;
  117815. $.alternateTagFunction = null;
  117816. $.prototypeForTagFunction = null;
  117817. $.dispatchRecordsForInstanceTags = null;
  117818. $.interceptorsForUncacheableTags = null;
  117819. $.initNativeDispatchFlag = null;
  117820. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  117821. $._nextCallback = null;
  117822. $._lastCallback = null;
  117823. $._lastPriorityCallback = null;
  117824. $._isInCallbackLoop = false;
  117825. $.Zone__current = B.C__RootZone;
  117826. $._RootZone__rootDelegate = null;
  117827. $.Uri__cachedBaseString = "";
  117828. $.Uri__cachedBaseUri = null;
  117829. $._fs = null;
  117830. $._currentUriBase = null;
  117831. $._current = null;
  117832. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117833. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117834. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117835. $._realCaseCache = function() {
  117836. var t1 = type$.String;
  117837. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117838. }();
  117839. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117840. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117841. $._glyphs = B.C_UnicodeGlyphSet;
  117842. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117843. $._realCaseCache0 = function() {
  117844. var t1 = type$.String;
  117845. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117846. }();
  117847. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117848. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117849. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117850. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117851. })();
  117852. (function lazyInitializers() {
  117853. var _lazyFinal = hunkHelpers.lazyFinal,
  117854. _lazy = hunkHelpers.lazy;
  117855. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  117856. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  117857. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  117858. toString: function() {
  117859. return "$receiver$";
  117860. }
  117861. })));
  117862. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  117863. toString: function() {
  117864. return "$receiver$";
  117865. }
  117866. })));
  117867. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  117868. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117869. var $argumentsExpr$ = "$arguments$";
  117870. try {
  117871. null.$method$($argumentsExpr$);
  117872. } catch (e) {
  117873. return e.message;
  117874. }
  117875. }()));
  117876. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  117877. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117878. var $argumentsExpr$ = "$arguments$";
  117879. try {
  117880. (void 0).$method$($argumentsExpr$);
  117881. } catch (e) {
  117882. return e.message;
  117883. }
  117884. }()));
  117885. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  117886. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117887. try {
  117888. null.$method$;
  117889. } catch (e) {
  117890. return e.message;
  117891. }
  117892. }()));
  117893. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  117894. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117895. try {
  117896. (void 0).$method$;
  117897. } catch (e) {
  117898. return e.message;
  117899. }
  117900. }()));
  117901. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  117902. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  117903. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  117904. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  117905. var t1 = type$.dynamic;
  117906. return A.HashMap_HashMap(t1, t1);
  117907. });
  117908. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  117909. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  117910. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  117911. _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))));
  117912. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  117913. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  117914. return t1;
  117915. });
  117916. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  117917. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_QJv));
  117918. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  117919. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  117920. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  117921. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  117922. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  117923. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  117924. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  117925. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  117926. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  117927. _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)));
  117928. _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)));
  117929. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  117930. _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));
  117931. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  117932. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  117933. _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));
  117934. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  117935. var $name,
  117936. t1 = type$.SassColor,
  117937. t2 = type$.String,
  117938. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  117939. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117940. t2 = t1.get$current(t1);
  117941. $name = t2._0;
  117942. t3.$indexSet(0, t2._1, $name);
  117943. }
  117944. return t3;
  117945. });
  117946. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  117947. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  117948. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  117949. var t1 = type$.BuiltInCallable,
  117950. t2 = A.List_List$of($.$get$global0(), true, t1);
  117951. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  117952. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  117953. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  117954. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  117955. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  117956. B.JSArray_methods.addAll$1(t2, $.$get$global());
  117957. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  117958. return A.UnmodifiableListView$(t2, t1);
  117959. });
  117960. _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));
  117961. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117962. _lazyFinal($, "global", "$get$global0", () => {
  117963. var _s27_ = "$red, $green, $blue, $alpha",
  117964. _s19_ = "$red, $green, $blue",
  117965. _s37_ = "$hue, $saturation, $lightness, $alpha",
  117966. _s29_ = "$hue, $saturation, $lightness",
  117967. _s17_ = "$hue, $saturation",
  117968. _s15_ = "$color, $amount",
  117969. t1 = type$.String,
  117970. t2 = type$.Value_Function_List_Value;
  117971. 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);
  117972. });
  117973. _lazyFinal($, "module", "$get$module", () => {
  117974. var _s9_ = "lightness",
  117975. _s10_ = "saturation",
  117976. _s6_ = "$color", _s5_ = "alpha",
  117977. t1 = type$.String,
  117978. t2 = type$.Value_Function_List_Value;
  117979. 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);
  117980. });
  117981. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  117982. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  117983. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  117984. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  117985. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  117986. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  117987. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  117988. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  117989. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  117990. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  117991. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  117992. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  117993. _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));
  117994. _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));
  117995. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  117996. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  117997. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  117998. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  117999. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  118000. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  118001. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  118002. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  118003. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  118004. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  118005. _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));
  118006. _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));
  118007. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  118008. _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)));
  118009. _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)));
  118010. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  118011. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  118012. _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)));
  118013. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  118014. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  118015. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  118016. _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));
  118017. _lazyFinal($, "module2", "$get$module2", () => {
  118018. var _null = null;
  118019. 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);
  118020. });
  118021. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  118022. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  118023. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  118024. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  118025. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  118026. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  118027. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  118028. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  118029. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  118030. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  118031. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  118032. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  118033. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  118034. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  118035. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  118036. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  118037. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  118038. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  118039. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  118040. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  118041. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  118042. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  118043. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  118044. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  118045. _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));
  118046. _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));
  118047. _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));
  118048. _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));
  118049. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  118050. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  118051. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  118052. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  118053. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  118054. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  118055. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  118056. _lazyFinal($, "_parse0", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  118057. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  118058. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  118059. _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));
  118060. _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));
  118061. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  118062. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  118063. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  118064. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  118065. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  118066. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  118067. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  118068. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  118069. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  118070. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  118071. var _null = null;
  118072. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  118073. });
  118074. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  118075. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  118076. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  118077. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  118078. var t1 = $.$get$globalFunctions();
  118079. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  118080. t1.add$1(0, "if");
  118081. t1.remove$1(0, "rgb");
  118082. t1.remove$1(0, "rgba");
  118083. t1.remove$1(0, "hsl");
  118084. t1.remove$1(0, "hsla");
  118085. t1.remove$1(0, "grayscale");
  118086. t1.remove$1(0, "invert");
  118087. t1.remove$1(0, "alpha");
  118088. t1.remove$1(0, "opacity");
  118089. t1.remove$1(0, "saturate");
  118090. t1.remove$1(0, "min");
  118091. t1.remove$1(0, "max");
  118092. t1.remove$1(0, "round");
  118093. t1.remove$1(0, "abs");
  118094. return t1;
  118095. });
  118096. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  118097. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  118098. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  118099. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  118100. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  118101. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  118102. var t3, type,
  118103. t1 = type$.String,
  118104. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  118105. for (t1 = A.MapExtensions_get_pairs(B.Map_397RH, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118106. t3 = t1.get$current(t1);
  118107. type = t3._0;
  118108. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  118109. t2.$indexSet(0, t3.get$current(t3), type);
  118110. }
  118111. return t2;
  118112. });
  118113. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  118114. var _i, set, t2,
  118115. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  118116. for (_i = 0; _i < 5; ++_i) {
  118117. set = B.List_Eeh[_i];
  118118. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  118119. t1.$indexSet(0, t2.get$current(0), set);
  118120. }
  118121. return t1;
  118122. });
  118123. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  118124. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  118125. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  118126. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  118127. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  118128. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  118129. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  118130. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  118131. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  118132. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  118133. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  118134. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  118135. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  118136. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  118137. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  118138. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  118139. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  118140. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  118141. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  118142. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  118143. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  118144. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  118145. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  118146. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  118147. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  118148. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  118149. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  118150. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  118151. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  118152. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  118153. _lazyFinal($, "global6", "$get$global7", () => {
  118154. var _s27_ = "$red, $green, $blue, $alpha",
  118155. _s19_ = "$red, $green, $blue",
  118156. _s37_ = "$hue, $saturation, $lightness, $alpha",
  118157. _s29_ = "$hue, $saturation, $lightness",
  118158. _s17_ = "$hue, $saturation",
  118159. _s15_ = "$color, $amount",
  118160. t1 = type$.String,
  118161. t2 = type$.Value_Function_List_Value_2;
  118162. 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);
  118163. });
  118164. _lazyFinal($, "module5", "$get$module5", () => {
  118165. var _s9_ = "lightness",
  118166. _s10_ = "saturation",
  118167. _s6_ = "$color", _s5_ = "alpha",
  118168. t1 = type$.String,
  118169. t2 = type$.Value_Function_List_Value_2;
  118170. 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);
  118171. });
  118172. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  118173. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  118174. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  118175. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  118176. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  118177. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  118178. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  118179. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  118180. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  118181. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  118182. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  118183. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  118184. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  118185. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  118186. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  118187. 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));
  118188. return t1;
  118189. });
  118190. _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));
  118191. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  118192. var $name,
  118193. t1 = type$.SassColor_2,
  118194. t2 = type$.String,
  118195. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  118196. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118197. t2 = t1.get$current(t1);
  118198. $name = t2._0;
  118199. t3.$indexSet(0, t2._1, $name);
  118200. }
  118201. return t3;
  118202. });
  118203. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  118204. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  118205. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  118206. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  118207. var t1 = $.$get$globalFunctions0();
  118208. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  118209. t1.add$1(0, "if");
  118210. t1.remove$1(0, "rgb");
  118211. t1.remove$1(0, "rgba");
  118212. t1.remove$1(0, "hsl");
  118213. t1.remove$1(0, "hsla");
  118214. t1.remove$1(0, "grayscale");
  118215. t1.remove$1(0, "invert");
  118216. t1.remove$1(0, "alpha");
  118217. t1.remove$1(0, "opacity");
  118218. t1.remove$1(0, "saturate");
  118219. t1.remove$1(0, "min");
  118220. t1.remove$1(0, "max");
  118221. t1.remove$1(0, "round");
  118222. t1.remove$1(0, "abs");
  118223. return t1;
  118224. });
  118225. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  118226. var _i, deprecation, t2,
  118227. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  118228. for (_i = 0; _i < 20; ++_i) {
  118229. deprecation = B.List_OPz[_i];
  118230. if (deprecation !== B.Deprecation_Agq) {
  118231. t2 = deprecation.id;
  118232. t1.$indexSet(0, t2, {id: t2, status: new A.deprecations_closure(deprecation).call$0(), description: deprecation.description, deprecatedIn: deprecation.get$deprecatedIn(0), obsoleteIn: deprecation.get$deprecatedIn(0)});
  118233. }
  118234. }
  118235. return t1;
  118236. });
  118237. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  118238. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  118239. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  118240. var _null = null;
  118241. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  118242. });
  118243. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  118244. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  118245. var t1 = type$.BuiltInCallable_2,
  118246. t2 = A.List_List$of($.$get$global7(), true, t1);
  118247. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  118248. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  118249. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  118250. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  118251. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  118252. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  118253. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  118254. return A.UnmodifiableListView$(t2, t1);
  118255. });
  118256. _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));
  118257. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  118258. _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));
  118259. _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));
  118260. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  118261. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  118262. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  118263. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  118264. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  118265. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  118266. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  118267. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  118268. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  118269. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  118270. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  118271. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  118272. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  118273. 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));
  118274. return t1;
  118275. });
  118276. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  118277. _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));
  118278. _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));
  118279. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  118280. _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)));
  118281. _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)));
  118282. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  118283. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  118284. _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)));
  118285. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  118286. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  118287. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  118288. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  118289. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  118290. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  118291. 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));
  118292. return t1;
  118293. });
  118294. _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));
  118295. _lazyFinal($, "module8", "$get$module8", () => {
  118296. var _null = null;
  118297. 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);
  118298. });
  118299. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  118300. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  118301. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  118302. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  118303. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  118304. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  118305. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  118306. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  118307. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  118308. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  118309. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  118310. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  118311. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  118312. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  118313. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  118314. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  118315. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  118316. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  118317. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  118318. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  118319. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  118320. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  118321. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  118322. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  118323. _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));
  118324. _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));
  118325. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  118326. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  118327. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  118328. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  118329. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  118330. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  118331. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  118332. 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));
  118333. return t1;
  118334. });
  118335. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  118336. var t3, type,
  118337. t1 = type$.String,
  118338. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  118339. for (t1 = A.MapExtensions_get_pairs0(B.Map_397RH, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118340. t3 = t1.get$current(t1);
  118341. type = t3._0;
  118342. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  118343. t2.$indexSet(0, t3.get$current(t3), type);
  118344. }
  118345. return t2;
  118346. });
  118347. _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));
  118348. _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));
  118349. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  118350. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  118351. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  118352. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  118353. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  118354. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  118355. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  118356. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  118357. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  118358. var _i, set, t2,
  118359. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  118360. for (_i = 0; _i < 5; ++_i) {
  118361. set = B.List_Eeh[_i];
  118362. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  118363. t1.$indexSet(0, t2.get$current(0), set);
  118364. }
  118365. return t1;
  118366. });
  118367. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  118368. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  118369. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  118370. _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));
  118371. _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));
  118372. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  118373. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  118374. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  118375. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  118376. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  118377. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  118378. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  118379. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  118380. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  118381. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  118382. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  118383. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  118384. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  118385. return t1;
  118386. });
  118387. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  118388. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  118389. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  118390. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  118391. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  118392. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  118393. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  118394. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  118395. })();
  118396. (function nativeSupport() {
  118397. !function() {
  118398. var intern = function(s) {
  118399. var o = {};
  118400. o[s] = 1;
  118401. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  118402. };
  118403. init.getIsolateTag = function(name) {
  118404. return intern("___dart_" + name + init.isolateTag);
  118405. };
  118406. var tableProperty = "___dart_isolate_tags_";
  118407. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  118408. var rootProperty = "_ZxYxX";
  118409. for (var i = 0;; i++) {
  118410. var property = intern(rootProperty + "_" + i + "_");
  118411. if (!(property in usedProperties)) {
  118412. usedProperties[property] = 1;
  118413. init.isolateTag = property;
  118414. break;
  118415. }
  118416. }
  118417. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  118418. }();
  118419. 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});
  118420. 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});
  118421. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  118422. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118423. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118424. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  118425. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118426. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118427. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  118428. })();
  118429. Function.prototype.call$0 = function() {
  118430. return this();
  118431. };
  118432. Function.prototype.call$1 = function(a) {
  118433. return this(a);
  118434. };
  118435. Function.prototype.call$2 = function(a, b) {
  118436. return this(a, b);
  118437. };
  118438. Function.prototype.call$3$1 = function(a) {
  118439. return this(a);
  118440. };
  118441. Function.prototype.call$2$1 = function(a) {
  118442. return this(a);
  118443. };
  118444. Function.prototype.call$1$1 = function(a) {
  118445. return this(a);
  118446. };
  118447. Function.prototype.call$3 = function(a, b, c) {
  118448. return this(a, b, c);
  118449. };
  118450. Function.prototype.call$4 = function(a, b, c, d) {
  118451. return this(a, b, c, d);
  118452. };
  118453. Function.prototype.call$3$3 = function(a, b, c) {
  118454. return this(a, b, c);
  118455. };
  118456. Function.prototype.call$2$2 = function(a, b) {
  118457. return this(a, b);
  118458. };
  118459. Function.prototype.call$5 = function(a, b, c, d, e) {
  118460. return this(a, b, c, d, e);
  118461. };
  118462. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  118463. return this(a, b, c, d, e, f);
  118464. };
  118465. Function.prototype.call$2$0 = function() {
  118466. return this();
  118467. };
  118468. Function.prototype.call$1$0 = function() {
  118469. return this();
  118470. };
  118471. Function.prototype.call$1$2 = function(a, b) {
  118472. return this(a, b);
  118473. };
  118474. Function.prototype.call$2$3 = function(a, b, c) {
  118475. return this(a, b, c);
  118476. };
  118477. convertAllToFastObject(holders);
  118478. convertToFastObject($);
  118479. (function(callback) {
  118480. if (typeof document === "undefined") {
  118481. callback(null);
  118482. return;
  118483. }
  118484. if (typeof document.currentScript != "undefined") {
  118485. callback(document.currentScript);
  118486. return;
  118487. }
  118488. var scripts = document.scripts;
  118489. function onLoad(event) {
  118490. for (var i = 0; i < scripts.length; ++i) {
  118491. scripts[i].removeEventListener("load", onLoad, false);
  118492. }
  118493. callback(event.target);
  118494. }
  118495. for (var i = 0; i < scripts.length; ++i) {
  118496. scripts[i].addEventListener("load", onLoad, false);
  118497. }
  118498. })(function(currentScript) {
  118499. init.currentScript = currentScript;
  118500. var callMain = A.main2;
  118501. if (typeof dartMainRunner === "function") {
  118502. dartMainRunner(callMain, []);
  118503. } else {
  118504. callMain([]);
  118505. }
  118506. });
  118507. })();
  118508. }